:root {
    /* Tastevia: Deep, Earthy, Sophisticated Dark Theme */
    --color1: #F3E9DD; /* Warm Off-White (Used for text on dark backgrounds and light section background) */
    --color2: #191919; /* Deep Charcoal (Primary Background) */
    --color3: #C38F00; /* Primary Gold/Ochre (Taste Accent - Main CTA, Logo, Lines) */
    --color4: #A0A0A0; /* Subtle Gray (Secondary Text, Borders, Minor Details) */
    --color5: #3A0E0E; /* Deep Burgundy/Sepia (Secondary Dark Accent/Text on light elements) */

    --font-serif: "Playfair Display", "Georgia", serif;
    --font-sans: "Inter", "Helvetica Neue", sans-serif;
}

/* Base Styles - Dark Gradient Background */
body {
    font-family: var(--font-sans);
    color: var(--color1); /* Default text color is light */
    background: linear-gradient(180deg, var(--color2) 0%, #0c0c0c 100%);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color1); /* Headings are off-white */
}

/* Header Specifics for Dark Theme */
#main-header {
    background-color: rgba(25, 25, 25, 0.95); /* Semi-transparent dark header */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#main-header.scrolled {
    background-color: var(--color2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.mobile-menu {
    background-color: var(--color2) !important;
}

/* Reusable Components and Effects */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.2s;
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
}

.parallax-bg {
    width: 100%;
    height: 130%;
    object-fit: cover;
    position: absolute;
    top: -15%;
    left: 0;
    will-change: transform;
    /* Darken images for dark theme contrast */
    filter: brightness(0.6) grayscale(0.2);
}

.deco-line {
    display: block;
    width: 100px;
    height: 2px;
    background-color: var(--color3); /* Gold accent line */
    transition-delay: 0.5s;
}

.deco-shape {
    position: absolute;
    z-index: -5;
    background-color: var(--color3);
    opacity: 0.3;
    transition: all 1s ease-out;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    will-change: transform;
}

.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(100%);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

/* Specific Section Styles for Dark Contrast */
.notification-form {
    background-color: var(--color5); /* Deep Burgundy background for the form */
    color: var(--color1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.notification-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color3);
    color: var(--color1);
}

.notification-form input::placeholder {
    color: var(--color4);
}

/* Toast/Cookie Banner Styles for Dark Theme */
.toast-container {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 200;
    pointer-events: none;
}
.toast {
    background: rgba(18, 18, 18, 0.98); 
    color: var(--color1);
    border: 1px solid var(--color3);
    border-radius: 9999px;
    padding: 12px 18px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 250ms ease, transform 250ms ease;
    pointer-events: auto;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

#cookie-banner {
    background: rgba(25, 25, 25, 0.98) !important;
    border-top: 1px solid var(--color5) !important;
    box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, 0.4);
}

/* Grid layout remains similar, colors are swapped */
.glitch-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
}
.glitch-item-1 {
    grid-column: 1 / span 3;
    grid-row: 1;
}
.glitch-item-2 {
    grid-column: 4 / span 3;
    grid-row: 2;
}
.glitch-item-3 {
    grid-column: 2 / span 4;
    grid-row: 3;
}
.glitch-item-4 {
    grid-column: 1 / span 2;
    grid-row: 2;
}
@media (max-width: 768px) {
    .glitch-grid {
        display: flex;
        flex-direction: column;
    }
}