:root {
    /* Colors - High Contrast Monochrome */
    --primary-color: #000000;
    /* Pure Black */
    --secondary-color: #1a1a1a;
    /* Dark Grey */
    --accent-color: #d4af37;
    /* Keep Gold for "Premium" touch, or switch to White/Black mix */
    --text-dark: #000000;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-off-white: #f4f4f4;
    /* Crisp Light Grey */
    --bg-dark: #000000;

    /* Typography */
    --font-heading: 'Oswald Stencil', 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    /* Double safety */
    position: relative;
    width: 100%;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.btn,
.nav-list a {
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.5rem;
    /* Massive headings */
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
}

.accent-text {
    color: var(--accent-color);
    /* Option: Text Outline style for "Fast" look? */
    /* -webkit-text-stroke: 1px var(--primary-color); color: transparent; */
}

/* Utility */
.container {
    max-width: 1200px;
    /* Wider container */
    margin: 0 auto;
    padding: 0 2rem;
}

.center-text {
    text-align: center;
}

.section {
    padding: var(--spacing-lg) 0;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    /* Solid white header */
    border-bottom: 2px solid black;
    /* Hard line */
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-fast);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Slightly smaller, sharper */
    width: auto;
    filter: grayscale(100%);
    /* Monochrome logo */
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

/* Buttons - Sharp & Hollow (Stencil Style) */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid black;
    background: transparent;
    color: black !important;
    /* Force color to override nav links */
    transition: all var(--transition-fast);
    cursor: pointer;
    border-radius: 0;
}

.btn:hover {
    background: black;
    color: white !important;
}

/* Primary is now same as base (Outline) */
.btn-primary {
    border-color: black;
    /* Inherits transparent bg and black color */
}

.btn-primary:hover {
    background: black;
    color: white !important;
}

/* White Outline for Dark Backgrounds (Hero) */
.btn-white {
    border-color: white;
    color: white !important;
}

.btn-white:hover {
    background: white;
    color: black !important;
}

.btn-outline {
    background: transparent;
    color: black;
}

.btn-outline:hover {
    background: black;
    color: white;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
}

.full-width {
    width: 100%;
    display: block;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    /* slightly shorter */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
    /* High contrast */
}

.hero h1 {
    font-size: 6rem;
    /* HUGE */
    text-shadow: none;
    /* Clean */
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3rem;
    background: black;
    color: white;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3rem;
    background: white;
    color: black;
    display: inline-flex;
    padding: 1rem 2rem;
    /* border: 2px solid black; */
}

.separator {
    color: var(--accent-color);
}

/* Sections */
.bg-off-white {
    background-color: var(--bg-off-white);
}

.dark-bg {
    background-color: var(--bg-dark);
    color: white;
}

.dark-bg .section-title {
    color: white;
}

.dark-bg .lead {
    color: #ccc;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* No gap for split screen look */
    align-items: stretch;
    /* Stretch to fill */
}

/* Image Cards - Sharp */
.image-card,
.mark-image {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    transform: none !important;
    /* Remove any rotation */
}

.image-card img,
.mark-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Containers in Grids */
.about-text,
.mark-text {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Feature/Venue Grid */
.venue-grid,
.speakers-grid,
.itinerary-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Feature Cards - Minimalist */
.venue-feature {
    background: transparent;
    padding: 2rem;
    border: 2px solid black;
    /* Outline style */
    border-radius: 0;
    transition: all 0.2s;
}

.venue-feature:hover {
    background: black;
    color: white;
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0px var(--accent-color);
    /* Hard shadow */
}

.venue-feature:hover h3,
.venue-feature:hover p {
    color: white;
}

.venue-feature i {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 1.5rem;
}

.venue-feature:hover i {
    color: var(--accent-color);
}

.venue-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: black;
}

/* Venue Image - Responsive Fix */
.venue-image {
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
}

.venue-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    /* Ensure it never overflows */
}

/* Gallery - Sharp Grid */
.venue-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* Flush grid */
    margin-bottom: 3rem;
}

.gallery-item {
    height: 300px;
    border-radius: 0;
}

.gallery-item .overlay {
    background: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Speaker Cards - Sharp */
.speaker-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 0;
    text-align: left;
}

.speaker-img {
    width: 100%;
    height: 350px;
    /* Taller portrait aspect */
    border-radius: 0;
    border: none;
    margin: 0;
}

.speaker-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    font-size: 1.8rem;
}

.speaker-title {
    padding: 0 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.speaker-bio {
    padding: 1rem 1.5rem 2rem;
}

.placeholder-img {
    background-color: #f3f4f6;
    background-image: linear-gradient(45deg, #e5e7eb 25%, transparent 25%, transparent 75%, #e5e7eb 75%, #e5e7eb),
        linear-gradient(45deg, #e5e7eb 25%, transparent 25%, transparent 75%, #e5e7eb 75%, #e5e7eb);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img::after {
    content: '?';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: #d1d5db;
}

/* Itinerary - Timeline Style or Block? Let's do Block */
.day-card {
    background: white;
    border: 2px solid black;
    border-radius: 0;
    padding: 3rem;
    /* More padding inside content */
    border-left: 10px solid black;
    /* Thick marker */
    box-shadow: none;
    margin-bottom: 2rem;
    /* Ensure space if they stack */
    height: 100%;
    /* Uniform height in grid */
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 #ccc;
    /* Stronger shadow on hover */
}

.day-label {
    background: black;
    color: white;
    padding: 0.8rem 1.5rem;
    /* Larger label */
    border-radius: 0;
    font-weight: 700;
    margin-bottom: 2.5rem;
    /* More space below label */
    display: inline-block;
}

.schedule-item {
    margin-bottom: 2rem;
    /* More space between time slots */
    border-bottom: 1px dashed #ccc;
    padding-bottom: 1.5rem;
}

/* Pricing - Technical Look */
.pricing-card {
    border: 2px solid black;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    /* Ensure context */
    overflow: hidden;
    /* CLIP the ribbon so it doesn't cause scroll */
}

.card-header {
    background: black;
    color: white;
    border-bottom: none;
    text-align: center;
}

.pricing-card.featured {
    border: 4px solid black;
    transform: scale(1.02);
}

.ribbon {
    background: var(--accent-color);
    color: black;
    font-weight: 900;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: black;
    color: white;
    padding: 5rem 0;
    border-top: 5px solid var(--accent-color);
}

.footer-logo {
    /* filter: brightness(0) invert(1); Removed to restore original colors */
    height: 50px;
    background: white;
    /* White box to make the logo pop against black footer */
    padding: 5px 10px;
    border: 1px solid white;
}

.footer h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: #999;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Travel Info Box */
.travel-info {
    background: white;
    border: 2px solid black;
    border-radius: 0;
    color: black;
    text-align: left;
}

.travel-info h3 {
    border-bottom: 2px solid black;
    padding-bottom: 1rem;
    display: block;
}

/* Animations - keep them sharp */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        /* Reduce section padding */
        --spacing-xl: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
        /* Manageable title size */
    }

    .hero h1 {
        font-size: 3.5rem;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .event-details {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .separator {
        display: none;
    }

    /* Mobile Menu - Critical Fixes */
    .mobile-menu-btn {
        display: block;
        /* Ensure visible */
    }

    .nav-list {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 5px solid var(--accent-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-list.active {
        display: flex;
        /* Show when toggled */
    }

    .nav-list a {
        color: white;
        border-bottom: 1px solid #333;
        width: 100%;
        padding: 1.5rem 0;
        text-align: center;
        font-size: 1.2rem;
    }

    .nav-list a:last-child {
        border-bottom: none;
    }

    .nav-list a:hover {
        color: var(--accent-color);
    }

    /* Grids & Layouts */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Reorder text/image on mobile if needed (optional) */
    .grid-2>div:nth-child(2) {
        order: -1;
        /* Image first? Or keep text first? Keeping default is usually fine */
    }

    .venue-gallery {
        grid-template-columns: 1fr;
    }

    .about-text,
    .mark-text {
        padding: 2rem 1rem;
        /* Tighter padding */
    }

    /* Fix Image Stretching on Mobile */
    .image-card,
    .mark-image {
        height: auto;
        /* Allow natural height */
        min-height: 250px;
        /* Minimum visual weight */
        max-height: 400px;
        /* Cap height to prevent "too tall" look */
    }

    .image-card img,
    .mark-image img {
        height: 100%;
        object-fit: cover;
    }

    .pricing-card.featured {
        transform: none;
        /* Remove scale effect on mobile */
    }

    .section {
        padding: 3rem 0;
    }
}