/* ─── Foxtrot Media — Child Theme Custom Styles ─── */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

/* ── GLOBAL ── */
*, *::before, *::after { box-sizing: border-box; }

/* ════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════ */
#foxtrot-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0B0B0B;
    height: 80px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#foxtrot-header.scrolled {
    background: rgba(11, 11, 11, 0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.foxtrot-header-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.foxtrot-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 10px;
}

.foxtrot-logo-link img {
    width: 250px;
    height: 57px;
    object-fit: contain;
}

/* ── NAV ── */
.foxtrot-nav {
    display: flex;
    align-items: center;
}

.foxtrot-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.foxtrot-nav ul li {
    margin: 0;
}

.foxtrot-nav ul li a {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0 30px;
    line-height: 80px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.foxtrot-nav ul li a:hover,
.foxtrot-nav ul li.current-menu-item a {
    color: #E2E2E2;
}

/* ── HAMBURGER ── */
.foxtrot-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.foxtrot-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.foxtrot-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.foxtrot-hamburger.open span:nth-child(2) { opacity: 0; }
.foxtrot-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.foxtrot-mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #0B0B0B;
    z-index: 9998;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.foxtrot-mobile-nav.open { display: block; }

.foxtrot-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foxtrot-mobile-nav ul li a {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}

.foxtrot-mobile-nav ul li a:hover { background: rgba(255,255,255,0.05); }

/* ── PUSH CONTENT DOWN ── */
body { padding-top: 80px; }

/* Elementor pages don't need extra push since Elementor handles page layout */
body.elementor-page { padding-top: 80px; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
#foxtrot-footer {
    font-family: 'STIXTwoText', Georgia, serif;
}

.foxtrot-footer-top {
    background: #E0E0E0;
    padding: 50px 0 0 0;
    max-width: 100%;
}

.foxtrot-footer-top-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

.foxtrot-footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 16px 0;
    padding-top: 0;
}

.foxtrot-footer-tagline {
    font-family: 'STIXTwoText', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #000000;
    max-width: 80%;
    line-height: 1.5;
    margin: 0 0 30px 0;
}

.foxtrot-footer-content {
    background: #E0E0E0;
    width: 80%;
    margin: 0 auto 0 0;
    padding: 30px 60px 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.foxtrot-footer-left {
    flex: 1 1 45%;
    min-width: 220px;
    padding-left: 30px;
}

.foxtrot-footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

.foxtrot-footer-address {
    font-family: 'STIXTwoText', Georgia, serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.7;
}

.foxtrot-footer-right {
    flex: 1 1 45%;
    min-width: 220px;
    padding-bottom: 30px;
}

/* ── CF7 FORM STYLING ── */
.foxtrot-footer-right .wpcf7 input[type="text"],
.foxtrot-footer-right .wpcf7 input[type="email"],
.foxtrot-footer-right .wpcf7 input[type="tel"],
.foxtrot-footer-right .wpcf7 textarea {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #888;
    padding: 10px 4px;
    font-family: 'STIXTwoText', Georgia, serif;
    font-size: 16px;
    color: #000;
    outline: none;
    margin-bottom: 16px;
    border-radius: 0;
}

.foxtrot-footer-right .wpcf7 textarea {
    min-height: 100px;
    resize: vertical;
}

.foxtrot-footer-right .wpcf7 input[type="submit"] {
    background: #FFFFFF;
    color: #000000;
    border: none;
    padding: 10px 32px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    float: right;
    transition: background 0.2s, color 0.2s;
}

.foxtrot-footer-right .wpcf7 input[type="submit"]:hover {
    background: #000;
    color: #fff;
}

.foxtrot-footer-right .wpcf7 .wpcf7-response-output {
    font-size: 14px;
    margin-top: 8px;
    clear: both;
}

/* ── FOOTER BOTTOM BAR ── */
.foxtrot-footer-bottom {
    background: #000000;
    padding: 20px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.foxtrot-footer-bottom-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.foxtrot-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
}

.foxtrot-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.foxtrot-footer-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.2s;
}

.foxtrot-footer-menu a:hover { color: #FFFFFF; }

/* ════════════════════════════════════════════════
   SINGLE POST
   ════════════════════════════════════════════════ */
.foxtrot-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.foxtrot-single-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-height: 500px;
    overflow: hidden;
}

.foxtrot-single-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.foxtrot-single-title {
    font-family: 'Roboto', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #000000;
    line-height: 1.15;
    margin: 40px 0 16px;
}

.foxtrot-single-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.foxtrot-single-meta .foxtrot-meta-sep {
    color: #ccc;
}

.foxtrot-single-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}

.foxtrot-single-content p { margin-bottom: 1.4em; }
.foxtrot-single-content h2 { font-family: 'Roboto', sans-serif; font-size: 28px; margin-top: 1.8em; }
.foxtrot-single-content h3 { font-family: 'Roboto', sans-serif; font-size: 22px; margin-top: 1.5em; }
.foxtrot-single-content img { max-width: 100%; height: auto; }

/* ── SHARE BUTTONS ── */
.foxtrot-share {
    margin: 40px 0;
    padding: 24px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.foxtrot-share-label {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.foxtrot-share-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.foxtrot-share-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.foxtrot-share-link:hover { opacity: 0.85; color: #fff; }
.foxtrot-share-fb  { background: #1877F2; }
.foxtrot-share-tw  { background: #1DA1F2; }
.foxtrot-share-li  { background: #0A66C2; }

/* ── POST NAVIGATION ── */
.foxtrot-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    padding: 24px 0;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.foxtrot-post-nav-item {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.foxtrot-post-nav-item.next { text-align: right; }

.foxtrot-post-nav-label {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.foxtrot-post-nav-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.foxtrot-post-nav-title:hover { color: #CF662D; }

/* ── RELATED POSTS ── */
.foxtrot-related {
    margin: 48px 0 0;
}

.foxtrot-related-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

.foxtrot-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.foxtrot-related-card {
    display: flex;
    flex-direction: column;
}

.foxtrot-related-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.foxtrot-related-card-body {
    padding: 12px 0;
}

.foxtrot-related-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.foxtrot-related-card-title:hover { color: #CF662D; }

.foxtrot-related-card-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #888;
}

/* ════════════════════════════════════════════════
   BLOG GRID (shortcode)
   ════════════════════════════════════════════════ */
.wpp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 40px;
    padding: 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

.wpp-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.wpp-card-thumb-link { display: block; overflow: hidden; }

.wpp-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wpp-card-thumb-link:hover .wpp-card-thumb { transform: scale(1.03); }

.wpp-card-body {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wpp-card-cat {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CF662D;
    margin-bottom: 8px;
}

.wpp-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 10px;
}

.wpp-card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.wpp-card-title a:hover { color: #CF662D; }

.wpp-card-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.wpp-card-excerpt {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.wpp-read-more {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.2s, border-color 0.2s;
}

.wpp-read-more:hover { color: #CF662D; border-color: #CF662D; }

.wpp-pagination {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.wpp-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: background 0.2s, color 0.2s;
}

.wpp-pagination .page-numbers.current,
.wpp-pagination .page-numbers:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.wpp-no-posts {
    padding: 40px;
    text-align: center;
    color: #666;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .foxtrot-nav { display: none; }
    .foxtrot-hamburger { display: flex; }
    .foxtrot-logo-link img { width: 150px; }
    .foxtrot-single-title { font-size: 36px; }
    .foxtrot-related-grid { grid-template-columns: repeat(2, 1fr); }
    .wpp-blog-grid { grid-template-columns: repeat(2, 1fr); padding: 30px; }
    .foxtrot-footer-content { width: 100%; padding-right: 20px; }
}

@media (max-width: 768px) {
    .foxtrot-single-title { font-size: 28px; }
    .foxtrot-related-grid { grid-template-columns: 1fr; }
    .wpp-blog-grid { grid-template-columns: 1fr; padding: 20px; }
    .foxtrot-footer-content { flex-direction: column; }
    .foxtrot-footer-tagline { max-width: 100%; }
    .foxtrot-footer-bottom-inner { flex-direction: column; }
}
