/* --- Home Page Core Layout System Configuration --- */
:root {
    --primary-bg: #fdf3ef; 
    --accent-red: #d13e27;
    --text-main: #222222;
    --text-light: #555555;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --dark-charcoal: #1C1C1C;
    --primary-orange: #f0380a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- FIXED NAVBAR DESIGN (HOME FORMAT) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1010; /* Keeps branding content strictly above the dropdown sheet */
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 5%;
    background-color: var(--white);
    position: relative;
    z-index: 1015;
}

/* Logo Divider Alignment Rules */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-vertical-line {
    width: 2px;
    height: 28px;
    background-color: #1C1C1C;
    margin: 0 10px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    text-transform: lowercase;
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-orange);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

/* Link Style & Underline Hover Animation */
.nav-links a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-charcoal);
}

/* --- CONTACT WORKSPACE WRAPPER --- */
.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 5% 120px 5%; 
}

.contact-hero {
    margin-bottom: 80px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark-charcoal);
}

.italic-accent {
    font-style: italic;
    color: var(--primary-orange);
    font-weight: 400;
}

.accent-line {
    width: 140px;
    height: 3px;
    background-color: var(--primary-orange);
    margin-top: 30px;
}

/* Form Split Arrangement Layout */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8%;
    align-items: start;
}

/* Left Column Styling */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.block-number {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 6px;
}

.block-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--dark-charcoal);
    margin-bottom: 12px;
}

.info-detail {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-detail a:hover {
    color: var(--primary-orange);
}

/* .info-showcase-img {
    width: 100%;
    margin-top: 10px;
}

.info-showcase-img img {
    width: 100%;
    height: auto;
    align-items: center;
    object-fit: cover;
} */

/* Right Input Fields Styling */
.editorial-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 45px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #777777;
    margin-bottom: 8px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--dark-charcoal);
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #C0C0C0;
    font-weight: 300;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-bottom-color: var(--primary-orange);
}

.form-group textarea {
    resize: none;
}

.form-submit-container {
    grid-column: span 2;
    margin-top: 15px;
}

.submit-btn {
    background-color: #000000;
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 18px 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-orange);
}

/* --- FOOTER REGION --- */
.footer {
    background-color: var(--primary-bg);
    padding: 80px 20px 40px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.logo-text-red {
    font-family: var(--font-heading);
    color: var(--accent-red);
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.link-group h4 {
    font-size: 0.85rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* --- GLASSMORPHIC DROPDOWN SYSTEM (As referenced in WhatsApp Image 2026-07-04 at 16.52.08.jpeg) --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        font-size: 24px; 
        cursor: pointer;
        color: var(--dark-charcoal);
        background: transparent;
        border: none;
        outline: none;
        padding: 0;
    }

    /* Slides down cleanly directly *below* the static logo container */
    .nav-links {
        position: fixed;
        top: -100vh; 
        left: 0;
        width: 100%; 
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center; 
        gap: 30px;
        
        /* Premium Glassmorphism Setup */
        background: rgba(255, 255, 255, 0.82); 
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
        
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000; /* Behind the container, so the brand row is safe */
        transform: translateY(0);
    }
    
    /* Active Drawer State dropping into frame right under the nav row */
    .nav-links.slide-active {
        top: 79px; /* Matches the vertical footprint height of the navbar */
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px; 
        display: inline-block;
        color: var(--dark-charcoal);
        font-weight: 400;
        letter-spacing: 1px;
        transition: color 0.2s ease;
    }
    
    .nav-links a.active {
        color: var(--primary-orange);
    }

    /* Remove the desk-only underlines inside the glass overlay pane */
    .nav-links a::after {
        display: none !important;
    }

    /* Page Layout updates for responsive scaling */
    .contact-wrapper {
        padding-top: 130px;
    }

    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .editorial-form {
        column-gap: 20px;
        row-gap: 35px;
    }

    .footer-content, 
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 480px) {
    .editorial-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width, 
    .form-submit-container {
        grid-column: span 1;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}


/* --- Tally Button Custom Adjustment --- */
.contact-form-panel a.submit-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

@media screen and (max-width: 480px) {
    .contact-form-panel a.submit-btn {
        width: 100%;
    }
}