:root {
    --primary-color: #471645;
    /* Extracted from Logo */
    --secondary-color: #1A1A1A;
    /* Almost Black */
    --accent-color: #8B0000;
    /* Dark Red */
    --text-color: #333333;
    /* Dark Grey for body text */
    --bg-color: #FFFFFF;
    /* White background */
    --bg-secondary: #F4F4F4;
    /* Light Grey for sections */
    --header-bg: #FFFFFF;
    --header-text: #1A1A1A;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    /* Increased for readability */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid #E0E0E0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Sizing handled in HTML, but ensuring container is clean */
.logo a {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    /* Increased spacing */
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Optional: Hide icons for cleaner corporate look, or keep them subtle */
.nav-links li a i {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.nav-links li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links li a:hover:after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    padding: 8px 20px !important;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

.btn-nav:after {
    display: none;
    /* No underline for button */
}

/* Dropdown menus */
.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.6rem !important;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    min-width: 160px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--primary-color);
    z-index: 1001;
    padding: 6px 0;
}

/* Invisible bridge — fills the gap so the mouse doesn't lose hover */
.dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    white-space: nowrap;
}

.dropdown li a:hover {
    color: var(--primary-color);
    background: #faf7fa;
}

.dropdown li a:after {
    display: none;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    /* New Corporate Background */
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4)), url('../images/corporate-hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    padding: 120px 20px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::before {
    /* Subtle purple accent line at top */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
}

.hero h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: none;
    /* Clean text */
    letter-spacing: 2px;
    text-align: center;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-bottom: 3rem;
    font-weight: 300;
    color: #444;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    /* Slight radius, modern corporate */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(75, 0, 130, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-hover);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    margin: 0 15px;
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        padding: 20px;
        text-align: center;
        box-shadow: var(--shadow-hover);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* Content Section — used across all inner pages */
.content-section {
    padding: 60px 20px;
}

/* Homepage Hero Overrides - Previously in index.html, now consolidated here or removing overrides to use standard hero */
.home-page {
    background: var(--bg-color);
}

/* ── Responsive ── */

/* Collapse nav at 960px — 6 top-level items */
@media (max-width: 960px) {

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        padding: 20px;
        text-align: center;
        box-shadow: var(--shadow-hover);
        border-top: 1px solid #eee;
        gap: 4px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {

    /* Header */
    header {
        padding: 0.5rem 1rem;
    }

    .navbar {
        justify-content: space-between;
        gap: 0;
    }

    /* Shrink logo on mobile */
    .logo img {
        height: 60px !important;
    }

    /* Hero */
    .hero {
        padding: 60px 16px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Content sections */
    .content-section {
        padding: 40px 16px;
    }

    .container {
        padding: 0 16px;
    }

    /* Grids — force single column on narrow screens */
    .staff-grid,
    .merch-grid,
    .book-list {
        grid-template-columns: 1fr;
    }

    /* Dropdowns — flat/expanded in mobile menu */
    .dropdown {
        position: static;
        display: block;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--primary-color);
        border-radius: 0;
        background: #faf7fa;
        margin: 4px 0 8px 16px;
        padding: 4px 0;
    }

    .dropdown li a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .dropdown-arrow {
        display: none;
    }

    /* Footer */
    footer {
        padding: 40px 16px;
    }

    .social-links a {
        margin: 0 8px;
        font-size: 1.2rem;
    }
}