:root {
    --primary-bg: #fdfaf6;
    --text-main: #1a1a1a;
    --text-muted: #555;
    --accent: #b48c6b;
    /* Warm earth tone from the image */
    --accent-light: #e6d5c5;
    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --font-family: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tango Theme */
    --tango-red: #B22222;
    --tango-charcoal: #121212;
    --tango-dark-grey: #1a1a1a;
    --tango-cream: #fdfaf6;
    --tango-gold: #c5a059;
}

/* The Big Four Interactivity */
.tango-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.tango-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    border-color: var(--tango-gold);
}

.btn-listen-maestro {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--tango-gold);
    color: var(--tango-red);
    background: transparent;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tango-card:hover .btn-listen-maestro {
    background: var(--tango-gold);
    color: white;
    box-shadow: 0 0 15px var(--tango-gold);
}

.tango-card h3 {
    transition: color 0.3s ease;
}

.tango-card:hover h3 {
    color: var(--tango-gold) !important;
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Journal Timeline Layout */
.journal-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    padding-left: 2rem;
    border-left: 1px solid rgba(178, 34, 34, 0.3);
}

.timeline-event {
    position: relative;
    margin-bottom: 6rem;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--tango-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--tango-red);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

.tango-text-serif { font-family: var(--font-serif); }
.tango-red-accent { color: var(--tango-red); }

/* Tango Card Styles */
.tango-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(178, 34, 34, 0.1);
    transition: var(--transition);
}

.tango-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(178, 34, 34, 0.1);
    border-color: var(--tango-red);
}

.btn-tango {
    background: var(--tango-red);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-tango:hover {
    background: #8b1a1a;
    box-shadow: 0 10px 20px rgba(178, 34, 34, 0.3);
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 2000;
    background: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(180, 140, 107, 0.1);
}

header.header-hidden {
    transform: translateY(-80%);
}

header:hover {
    transform: translateY(0) !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Dropdown Logic */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 10px;
    padding: 0.5rem 0;
    top: 100%;
    border: 1px solid rgba(180, 140, 107, 0.1);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

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

/* Tango Sub-Nav Styles */
.tango-sub-nav {
    background: rgba(253, 250, 246, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(180, 140, 107, 0.1);
    padding: 1.2rem 0;
    position: sticky;
    top: 75px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.tango-sub-nav a {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.tango-sub-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--tango-red);
    transition: var(--transition);
}

.tango-sub-nav a:hover,
.tango-sub-nav a.active {
    color: var(--tango-red);
}

.tango-sub-nav a:hover::after,
.tango-sub-nav a.active::after {
    width: 100%;
}

.nav-links a {
    font-weight: 400;
    position: relative;
    font-size: 0.95rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.nav-links a.active {
    background: #7a5535;
    color: #fff !important;
    font-weight: 600;
}

/* Generic Section Styles */
section {
    padding: 10rem 0 5rem;
    min-height: 100vh;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

/* Home Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-tagline {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-tagline span {
    color: var(--accent);
}

.hero-image-container {
    flex: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--accent-light);
    background: var(--primary-bg);
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.btn {
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(180, 140, 107, 0.3);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-tagline {
        font-size: 3rem;
    }
}

/* WIP Badge */
.wip-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Mobile Menu Toggle (Mollie Menu) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 3000;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
    margin-left: 1rem;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--accent-light);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-menu-toggle.toggle-hidden {
    transform: translateY(-100px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-bg);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-menu-links a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 14px;
        right: 16px;
        margin-left: 0;
        width: 36px;
        height: 36px;
        z-index: 3000;
    }

    .tango-sub-nav {
        top: 60px;
        padding: 0.8rem 0;
        gap: 1.5rem;
    }

    .tango-sub-nav a {
        font-size: 0.9rem;
    }

    header .container nav .nav-links {
        display: none;
    }

    /* Floating Heel Menu */
    .heel-menu-trigger {
        display: flex;
        position: fixed;
        bottom: 25px;
        left: 20px;
        width: 60px;
        height: 60px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        z-index: 4500;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        cursor: pointer;
        border: 2px solid var(--tango-red);
        transition: all 0.3s ease;
    }

    .heel-menu-overlay {
        display: none;
        position: fixed;
        bottom: 95px;
        left: 20px;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        z-index: 4500;
        flex-direction: column;
        gap: 1rem;
        border: 1px solid rgba(178,34,34,0.3);
        min-width: 200px;
    }

    .heel-menu-overlay.active {
        display: flex;
        animation: fadeInUp 0.3s ease forwards;
    }

    .heel-menu-overlay a {
        color: white;
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 1.2rem;
        padding: 0.8rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .tango-sub-nav {
        display: none !important;
    }
}