/* ============================================
   VITACAVA - Main Styles
   Premium Wine Cellar Aesthetic
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    /* Core Palette */
    --wine-black: #0D0507;
    --wine-void: #1A0A0E;
    --burgundy-deep: #2D1419;
    --wine-red: #5C1A2E;
    --wine-crimson: #7A1F3A;

    /* Gold System */
    --champagne-gold: #C9A96E;
    --light-gold: #E8D5A3;
    --bright-gold: #F0E2BC;
    --muted-gold: #8B7355;
    --dark-gold: #3D2E1F;

    /* Accent */
    --copper: #B87333;
    --copper-warm: #C4853F;
    --cream-warm: #F5E6D0;

    /* Overlays */
    --overlay-dark: rgba(13, 5, 7, 0.92);
    --overlay-wine: rgba(45, 20, 25, 0.8);
    --gold-glow: rgba(201, 169, 110, 0.12);
    --gold-glow-hover: rgba(201, 169, 110, 0.25);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing */
    --section-padding: clamp(100px, 14vh, 160px);
    --content-max-width: 1320px;
    --container-padding: clamp(24px, 6vw, 80px);
    --element-gap: clamp(32px, 4vw, 56px);

    /* Radii */
    --card-radius: 14px;
    --button-radius: 100px;
    --subtle-radius: 8px;

    /* Shadows */
    --shadow-gold: 0 0 50px rgba(201, 169, 110, 0.1);
    --shadow-gold-hover: 0 0 70px rgba(201, 169, 110, 0.2);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.6);

    /* Transitions */
    --transition-default: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-quick: all 0.3s ease-out;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--cream-warm);
    background-color: var(--wine-black);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Section Label ---- */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    font-family: var(--font-body);
    font-size: clamp(0.6rem, 0.7vw, 0.72rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-gold);
}

.label-line {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(201, 169, 110, 0.4);
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--element-gap);
}

.section-header .section-label {
    justify-content: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--light-gold);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted-gold);
    margin-top: 18px;
}

/* ---- Selection ---- */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: var(--bright-gold);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--wine-void); }
::-webkit-scrollbar-thumb { background: var(--dark-gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--champagne-gold); }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
