:root {
    --bg-dark: #09090b;
    --bg-light: #18181b;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent-gold: #ff5500;
    --accent-wine: #27272a;
    --border-color: #3f3f46;
}

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

body,
html {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav.scrolled {
    /* Maintained for JS class toggling compatibility */
}

.brand-logo {
    font-size: 1.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

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

/* Generic Button */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    cursor: pointer;
    background: transparent;
}

.btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-solid {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-solid:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* Horizontal Scroll Section */
.horizontal-scroll-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.horizontal-scroll-wrapper {
    display: flex;
    width: 400vw;
    /* 4 panels * 100vw */
    height: 100%;
}

.panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.panel-4::before {
    background: linear-gradient(to right, rgba(39, 39, 42, 0.95) 0%, rgba(24, 24, 27, 0.6) 100%);
}

.panel-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.panel-subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.panel h1 {
    font-size: 5.5vw;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.panel h2 {
    font-size: 4.5vw;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.panel p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Ambient backgrounds for panels */
.panel-1 {
    background-image: radial-gradient(circle at 70% 50%, #1f1f22, #000);
}

.panel-2 {
    background-image: radial-gradient(circle at 30% 50%, #3a1300, #000);
}

.panel-3 {
    background-image: radial-gradient(circle at 70% 50%, #27272a, #000);
}

.panel-4 {
    background-image: radial-gradient(circle at 50% 50%, #3a1300, #000);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    margin-top: 2rem;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% {
        left: -100%;
    }

    50% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

/* Normal Vertical Sections */
.vertical-section {
    padding: 8rem 5%;
    position: relative;
    background-color: var(--bg-dark);
}

.vertical-section.alt-bg {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: block;
    border-left: 2px solid var(--accent-gold);
    padding-left: 1rem;
}

.vertical-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.vertical-section p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 100%;
    height: 600px;
    background-color: #111;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #333;
    margin: 1rem;
}

.image-placeholder span {
    color: #444;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Contact Form */
.distributor-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-field {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

.input-field:focus {
    border-bottom-color: var(--accent-gold);
}

textarea.input-field {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero Section for standard pages */
.hero-standard {
    padding: 12rem 5% 6rem;
    background: radial-gradient(circle at 50% 0%, #1a1a1a, #0a0a0a);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-standard h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-standard p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.brand-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.brand-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card > * {
    position: relative;
    z-index: 2;
}

.brand-placeholder-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.brand-region {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.brand-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .grid-2-col {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .panel-content {
        width: 75vw;
    }

    .panel h1 {
        font-size: 3.5rem;
    }

    .panel h2 {
        font-size: 3rem;
    }

    .image-placeholder {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .panel {
        padding: 0 5%;
    }

    .panel h1 {
        font-size: 2.25rem;
    }

    .panel h2 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .grid-2-col,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .vertical-section h2, .hero-standard h1 {
        font-size: 2.5rem;
    }
}
