/*!
Theme Name: Business Class TV
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: business-class-tv
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. VARIABLES & BASE STYLES
   ========================================================================== */
:root {
    --primary-navy: #0B1021;
    --accent-gold: #C6A87C;
    --bg-light: #F7F7F7;
    --text-dark: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
    font-weight: 400; 
    letter-spacing: 2px; 
}

a { text-decoration: none; color: inherit; }

/* ==========================================================================
   2. NAVIGATION & HEADER
   ========================================================================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5%;
    background: transparent;
    z-index: 100;
}

.logo { 
    font-family: var(--font-heading); 
    font-size: 1.5rem; 
    letter-spacing: 3px; 
}

header .logo, 
header nav ul li a {
    color: #fff;
}

nav ul { display: flex; list-style: none; gap: 2rem; }
nav ul li a { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-gold);
}
/* Hamburger Icon (Hidden on Desktop) */
.menu-toggle { display: none; }
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
/* Ensure icon is dark on light-nav pages */
body.theme-light-nav .menu-toggle .bar,
body.theme-boy-curious .menu-toggle .bar {
    background-color: var(--primary-navy);
}

/* ==========================================================================
   3. REUSABLE COMPONENTS (Grids, Cards, Buttons)
   ========================================================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.card { background: transparent; }
.card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1rem; }
.card-category { font-size: 0.8rem; color: var(--accent-gold); text-transform: uppercase; }
.card-title { font-size: 1.8rem; margin: 0.5rem 0; }
.card-meta { font-size: 0.8rem; color: #777; }

.btn-outline {
    display: block;
    width: max-content;
    margin: 2rem auto;
    padding: 1rem 3rem;
    border: 1px solid var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-outline:hover { background: var(--primary-navy); color: #fff; }

.btn-gold {
    display: block;
    width: max-content;
    margin: 2rem auto;
    padding: 1rem 3rem;
    background-color: var(--accent-gold);
    color: #fff;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-gold:hover {
    background-color: #fff;
    color: var(--primary-navy);
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
footer {
    background-color: var(--primary-navy);
    color: #fff;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo { color: #fff; text-transform: uppercase; }

.footer-links { 
    text-align: right; 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links a:hover { color: var(--accent-gold); transition: color 0.3s ease; }

.footer-socials { display: flex; gap: 1.5rem; justify-content: center; }

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-socials a:hover {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-4px);
}

/* ==========================================================================
   5. PAGE LAYOUTS & EDITORIAL STYLING
   ========================================================================== */
.article-hero { 
    min-height: 75vh; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    text-align: center;
    background-color: rgba(11, 16, 33, 0.75); 
    background-blend-mode: multiply;
}

.article-content { max-width: 800px; margin: 4rem auto; padding: 0 2rem; }
.dropcap::first-letter { font-family: var(--font-heading); font-size: 4rem; float: left; line-height: 1; padding-right: 1rem; }
.pull-quote { font-family: var(--font-heading); font-size: 1.8rem; color: var(--accent-gold); border-left: 2px solid var(--accent-gold); padding-left: 2rem; margin: 3rem 0; font-style: italic; }

.page-header { 
    text-align: center; 
    padding: 8rem 5% 4rem; 
    background-color: var(--primary-navy); 
    color: #fff; 
}
.page-header h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.page-header p { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

.content-narrow { max-width: 800px; margin: 4rem auto; padding: 0 5%; }
.content-narrow h2 { 
    font-family: "Playfair Display", "Times New Roman", Georgia, serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: #222;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}
.content-narrow p { 
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}
.content-narrow p.has-drop-cap:first-letter {
    font-family: "Playfair Display", "Times New Roman", Georgia, serif;
    font-size: 4.8rem;
    font-weight: 400;
    color: #444;
    float: left;
    margin-top: 0.1rem;
    margin-right: 0.8rem;
    line-height: 0.8;
}

/* ==========================================================================
   6. CONTACT PAGE
   ========================================================================== */
.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    max-width: 1200px; 
    margin: 4rem auto; 
    padding: 0 5%; 
}

.contact-info h3 { font-size: 2rem; margin-bottom: 1.5rem; }
.contact-info p { color: #555; margin-bottom: 1rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--primary-navy);
}
.form-control { 
    width: 100%; 
    padding: 1rem; 
    border: 1px solid #ccc; 
    background: transparent; 
    font-family: var(--font-body); 
    transition: border-color 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--primary-navy); }
textarea.form-control { resize: vertical; min-height: 150px; }

.btn-solid { 
    background: var(--primary-navy); 
    color: #fff; 
    padding: 1rem 3rem; 
    border: none; 
    cursor: pointer; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    transition: all 0.3s ease; 
    font-family: var(--font-body);
}
.btn-solid:hover { background: var(--accent-gold); color: var(--primary-navy); }

/* ==========================================================================
   7. SUB-BRAND THEMES (Boy Curious & Light Nav)
   ========================================================================== */
body.theme-boy-curious {
    --primary-navy: #2B2D42;
    --accent-gold: #FF5A5F;
    --bg-light: #F8F9FA;
    --font-heading: 'Montserrat', sans-serif;
}

body.theme-boy-curious header {
    position: relative;
    background-color: #FFFFFF;
    border-bottom: 3px dashed #8D99AE;
    padding: 1rem 5%;
}

body.theme-boy-curious header .logo {
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: lowercase;
    letter-spacing: 0;
    font-size: 1.8rem;
}

body.theme-boy-curious header nav ul li a {
    color: var(--primary-navy);
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

body.theme-boy-curious header nav ul li a:hover,
body.theme-boy-curious header nav ul li a[style*="color"] {
    background-color: var(--accent-gold) !important;
    color: #FFFFFF !important;
}

body.theme-boy-curious .article-hero {
    background-color: #1a1a1a; 
    background-image: url('boy-curious-doodles.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body.theme-boy-curious .hero-pill {
    background: #FFFFFF;
    color: var(--primary-navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    border: 3px solid var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

body.theme-boy-curious .article-hero h1 {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 5rem;
    color: #FFFFFF;
    text-shadow: 5px 5px 0px var(--accent-gold), -2px -2px 0 var(--accent-gold), 2px -2px 0 var(--accent-gold), -2px 2px 0 var(--accent-gold), 2px 2px 0 var(--accent-gold); 
    margin: 0;
}

body.theme-boy-curious .hero-subtitle {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.2rem;
    background: rgba(43, 45, 66, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

body.theme-boy-curious .card img {
    border-radius: 16px;
    border: 2px solid #EBEBEB;
}

body.theme-boy-curious footer {
    background-color: #8D99AE;
    border-top: 4px dashed #FFFFFF;
    color: #FFFFFF;
}

body.theme-boy-curious .footer-brand .logo {
    color: #FFFFFF;
    text-transform: lowercase;
    font-weight: 800;
}

body.theme-boy-curious .footer-socials a { background-color: #FFFFFF; color: #8D99AE; border: none; }
body.theme-boy-curious .footer-socials a:hover {
    background-color: var(--accent-gold);
    color: #FFFFFF;
    transform: scale(1.15) rotate(8deg);
}

body.theme-light-nav header { position: relative; background-color: transparent; }
body.theme-light-nav header .logo,
body.theme-light-nav header nav ul li a { color: var(--primary-navy); }
body.theme-light-nav header nav ul li a:hover { color: var(--accent-gold); }

/* ==========================================================================
   8. RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 900px) {
    footer { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .footer-brand p { margin: 0 auto; }
    .footer-links { text-align: center; align-items: center; }
}

@media screen and (max-width: 768px) {
    .grid-container,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 1rem 5%;
    }

    .article-hero h1 { font-size: 2.5rem !important; margin-top: 0.5rem; }
    .page-header h1 { font-size: 2.2rem !important; }
    
    .content-narrow p.has-drop-cap:first-letter {
        font-size: 3.5rem;
        margin-right: 0.5rem;
    }

    /* Mobile Header Layout */
    header {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 1.5rem 5%;
    }

    /* Show Hamburger Button */
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    /* Hide Navigation by Default (Dropdown styling) */
    .main-navigation {
        display: none;
        width: 100%;
        background-color: var(--primary-navy);
        margin-top: 1rem;
        padding: 1rem 0;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    /* Show Navigation when Toggled via JS */
    .main-navigation.toggled {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    header nav ul li { margin: 0; }
    
    /* Force white text on the dark dropdown for contrast */
    header nav ul li a { 
        color: #fff !important; 
        display: block;
        font-size: 1.1rem;
    }

    .content-narrow { padding: 1rem 5%; }
}