/* ==========================================================================
   COPPER BARREL DISTILLERY - Premium Craft Spirits Template
   Design: Sophisticated, Heritage, Craftsmanship
   Colors: Amber, Copper, Deep Brown, Cream
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand Colors - Amber/Copper Palette */
    --color-amber-50: #fffbeb;
    --color-amber-100: #fef3c7;
    --color-amber-200: #fde68a;
    --color-amber-300: #fcd34d;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-amber-700: #b45309;
    --color-amber-800: #92400e;
    --color-amber-900: #78350f;

    /* Copper Accent */
    --color-copper: #b87333;
    --color-copper-light: #cd8844;
    --color-copper-dark: #8b5a2b;

    /* Deep Browns */
    --color-espresso: #2c1810;
    --color-mahogany: #4a2c2a;
    --color-walnut: #5d4037;

    /* Cream/Neutrals */
    --color-cream: #faf6f1;
    --color-parchment: #f5efe6;
    --color-linen: #ebe4d8;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Typography Scale */
    --text-hero: clamp(3.5rem, 10vw, 7rem);
    --text-display: clamp(2.5rem, 6vw, 4.5rem);
    --text-h1: clamp(2rem, 4vw, 3rem);
    --text-h2: clamp(1.75rem, 3vw, 2.5rem);
    --text-h3: clamp(1.25rem, 2vw, 1.75rem);
    --text-h4: clamp(1.125rem, 1.5vw, 1.25rem);
    --text-body: 1rem;
    --text-small: 0.875rem;
    --text-xs: 0.75rem;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(44, 24, 16, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(44, 24, 16, 0.1), 0 2px 4px -1px rgba(44, 24, 16, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(44, 24, 16, 0.1), 0 4px 6px -2px rgba(44, 24, 16, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(44, 24, 16, 0.1), 0 10px 10px -5px rgba(44, 24, 16, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(44, 24, 16, 0.25);
    --shadow-glow: 0 0 40px rgba(184, 115, 51, 0.3);
    --shadow-glow-lg: 0 0 80px rgba(184, 115, 51, 0.4);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;
}

/* Dark Mode */
.dark {
    --color-cream: #1a1412;
    --color-parchment: #231a16;
    --color-linen: #2c221c;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-espresso);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dark body {
    color: var(--color-cream);
    background-color: var(--color-espresso);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.font-display {
    font-family: var(--font-display);
}

/* Selection */
::selection {
    background-color: var(--color-copper);
    color: white;
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--color-copper);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-espresso);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--duration-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1440px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 241, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
    transition: background var(--duration-normal), box-shadow var(--duration-normal);
}

.dark .nav {
    background: rgba(26, 20, 18, 0.9);
    border-bottom-color: rgba(250, 246, 241, 0.1);
}

.nav.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-espresso);
    text-decoration: none;
}

.dark .nav-logo {
    color: var(--color-cream);
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-amber-600) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-walnut);
    text-decoration: none;
    position: relative;
    padding: var(--space-2) 0;
    transition: color var(--duration-fast);
}

.dark .nav-link {
    color: var(--color-linen);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-copper);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
    color: var(--color-copper);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-cta {
    display: none;
    padding: var(--space-3) var(--space-6);
    background: var(--color-espresso);
    color: white;
    font-size: var(--text-small);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: background var(--duration-fast), transform var(--duration-fast);
}

.dark .nav-cta {
    background: var(--color-copper);
}

.nav-cta:hover {
    background: var(--color-copper);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-espresso);
    border-radius: var(--radius-full);
    transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.dark .nav-toggle span {
    background: var(--color-cream);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    padding: var(--space-8);
    z-index: 99;
}

.dark .mobile-menu {
    background: var(--color-espresso);
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--color-espresso);
    text-decoration: none;
}

.dark .mobile-menu-link {
    color: var(--color-cream);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-espresso) 0%, var(--color-mahogany) 50%, var(--color-walnut) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b87333' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(44, 24, 16, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(184, 115, 51, 0.2);
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-amber-300);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: var(--space-6);
    line-height: 1.05;
}

.hero-title span {
    display: block;
    color: var(--color-copper);
}

.hero-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-linen);
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero-image {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    opacity: 0.6;
}

@media (min-width: 1024px) {
    .hero-image {
        opacity: 1;
    }
}

/* Floating Bottle */
.floating-bottle {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) rotate(-2deg); }
    50% { transform: translateY(-55%) rotate(2deg); }
}

/* Age Counter */
.age-counter {
    display: flex;
    gap: var(--space-10);
    margin-top: var(--space-16);
    padding-top: var(--space-10);
    border-top: 1px solid rgba(184, 115, 51, 0.3);
}

.age-counter-item {
    text-align: center;
}

.age-counter-value {
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 700;
    color: var(--color-copper);
    line-height: 1;
}

.age-counter-label {
    font-size: var(--text-small);
    color: var(--color-linen);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-2);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn-primary {
    background: var(--color-copper);
    color: white;
}

.btn-primary:hover {
    background: var(--color-copper-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-cream);
    border: 2px solid rgba(250, 246, 241, 0.3);
}

.btn-secondary:hover {
    background: rgba(250, 246, 241, 0.1);
    border-color: var(--color-cream);
}

.btn-dark {
    background: var(--color-espresso);
    color: white;
}

.btn-dark:hover {
    background: var(--color-mahogany);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-espresso);
    border: 2px solid var(--color-espresso);
}

.dark .btn-outline {
    color: var(--color-cream);
    border-color: var(--color-cream);
}

.btn-outline:hover {
    background: var(--color-espresso);
    color: white;
}

.dark .btn-outline:hover {
    background: var(--color-cream);
    color: var(--color-espresso);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: 1.125rem;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: var(--space-24) 0;
}

.section-sm {
    padding: var(--space-16) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-copper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-display);
    color: var(--color-espresso);
    margin-bottom: var(--space-4);
}

.dark .section-title {
    color: var(--color-cream);
}

.section-text {
    font-size: var(--text-h4);
    color: var(--color-walnut);
    line-height: 1.7;
}

.dark .section-text {
    color: var(--color-linen);
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal);
}

.dark .product-card {
    background: var(--color-mahogany);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.product-card-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-parchment) 0%, var(--color-linen) 100%);
}

.dark .product-card-image {
    background: linear-gradient(135deg, var(--color-espresso) 0%, var(--color-mahogany) 100%);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-8);
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-2) var(--space-3);
    background: var(--color-copper);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.product-card-content {
    padding: var(--space-6);
}

.product-card-category {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-copper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.product-card-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--color-espresso);
    margin-bottom: var(--space-2);
}

.dark .product-card-title {
    color: var(--color-cream);
}

.product-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-small);
    color: var(--color-walnut);
}

.dark .product-card-meta {
    color: var(--color-linen);
}

.product-card-age {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.product-card-price {
    font-family: var(--font-display);
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-copper);
    margin-top: var(--space-4);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-amber-600) 100%);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 700;
    color: white;
}

.process-step-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--color-espresso);
    margin-bottom: var(--space-3);
}

.dark .process-step-title {
    color: var(--color-cream);
}

.process-step-text {
    font-size: var(--text-small);
    color: var(--color-walnut);
    line-height: 1.7;
}

.dark .process-step-text {
    color: var(--color-linen);
}

/* Connector Line */
@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        left: calc(50% + 50px);
        width: calc(100% - 100px);
        height: 2px;
        background: linear-gradient(90deg, var(--color-copper), transparent);
    }
}

/* ==========================================================================
   TASTING NOTES
   ========================================================================== */

.tasting-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.dark .tasting-card {
    background: var(--color-mahogany);
}

.tasting-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.tasting-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-copper);
}

.tasting-card-title {
    font-family: var(--font-display);
    font-size: var(--text-h4);
    color: var(--color-espresso);
}

.dark .tasting-card-title {
    color: var(--color-cream);
}

.tasting-notes-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tasting-note {
    padding: var(--space-2) var(--space-4);
    background: var(--color-parchment);
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    color: var(--color-walnut);
}

.dark .tasting-note {
    background: var(--color-espresso);
    color: var(--color-linen);
}

/* ==========================================================================
   HERITAGE SECTION
   ========================================================================== */

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (min-width: 1024px) {
    .heritage-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.heritage-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.heritage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(44, 24, 16, 0.3), transparent);
}

.heritage-year {
    position: absolute;
    bottom: var(--space-6);
    left: var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 700;
    color: white;
    z-index: 10;
}

.heritage-content {
    max-width: 500px;
}

.heritage-quote {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-style: italic;
    color: var(--color-espresso);
    line-height: 1.4;
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-8);
}

.dark .heritage-quote {
    color: var(--color-cream);
}

.heritage-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 4rem;
    color: var(--color-copper);
    opacity: 0.5;
    font-family: var(--font-display);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
}

.dark .testimonial-card {
    background: var(--color-mahogany);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    color: var(--color-amber-400);
}

.testimonial-text {
    font-size: var(--text-h4);
    color: var(--color-espresso);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.dark .testimonial-text {
    color: var(--color-cream);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-espresso);
}

.dark .testimonial-name {
    color: var(--color-cream);
}

.testimonial-role {
    font-size: var(--text-small);
    color: var(--color-walnut);
}

.dark .testimonial-role {
    color: var(--color-linen);
}

/* ==========================================================================
   VISIT SECTION
   ========================================================================== */

.visit-section {
    position: relative;
    padding: var(--space-32) 0;
    background: linear-gradient(135deg, var(--color-espresso) 0%, var(--color-mahogany) 100%);
    overflow: hidden;
}

.visit-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' stroke='%23b87333' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.visit-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.visit-title {
    font-size: var(--text-display);
    color: var(--color-cream);
    margin-bottom: var(--space-6);
}

.visit-text {
    font-size: var(--text-h4);
    color: var(--color-linen);
    opacity: 0.9;
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.visit-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.visit-feature {
    text-align: center;
}

.visit-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 115, 51, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-copper);
}

.visit-feature-text {
    font-size: var(--text-small);
    color: var(--color-linen);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--color-espresso);
    color: var(--color-linen);
    padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-cream);
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: var(--text-small);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-cream);
    transition: background var(--duration-fast), transform var(--duration-fast);
}

.footer-social a:hover {
    background: var(--color-copper);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--color-cream);
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-small);
    color: var(--color-linen);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity var(--duration-fast), color var(--duration-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-copper);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: var(--text-small);
    opacity: 0.6;
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-small);
    color: var(--color-linen);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity var(--duration-fast);
}

.footer-legal a:hover {
    opacity: 1;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hover Effects */
.hover-lift {
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }

    .floating-bottle {
        animation: none;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.pt-nav { padding-top: 80px; }

.bg-cream { background-color: var(--color-cream); }
.bg-parchment { background-color: var(--color-parchment); }
.bg-espresso { background-color: var(--color-espresso); }

/* ==========================================================================
   PAGE-SPECIFIC STYLES
   ========================================================================== */

/* About Page */
.timeline {
    position: relative;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-copper), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-12);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) - 6px);
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--color-copper);
    border-radius: 50%;
    border: 3px solid var(--color-cream);
}

.dark .timeline-item::before {
    border-color: var(--color-espresso);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-copper);
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--color-espresso);
    margin-bottom: var(--space-3);
}

.dark .timeline-title {
    color: var(--color-cream);
}

.timeline-text {
    font-size: var(--text-body);
    color: var(--color-walnut);
    line-height: 1.7;
}

.dark .timeline-text {
    color: var(--color-linen);
}

/* Tours Page */
.tour-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal);
}

.dark .tour-card {
    background: var(--color-mahogany);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.tour-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}

.tour-card-content {
    padding: var(--space-6);
}

.tour-card-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--color-espresso);
    margin-bottom: var(--space-2);
}

.dark .tour-card-title {
    color: var(--color-cream);
}

.tour-card-duration {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: var(--color-copper);
    margin-bottom: var(--space-3);
}

.tour-card-text {
    font-size: var(--text-small);
    color: var(--color-walnut);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.dark .tour-card-text {
    color: var(--color-linen);
}

.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-linen);
}

.dark .tour-card-footer {
    border-top-color: var(--color-walnut);
}

.tour-card-price {
    font-family: var(--font-display);
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-copper);
}

/* Contact Page */
.contact-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.dark .contact-form {
    background: var(--color-mahogany);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-espresso);
    margin-bottom: var(--space-2);
}

.dark .form-label {
    color: var(--color-cream);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    background: var(--color-parchment);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-espresso);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.dark .form-input,
.dark .form-textarea,
.dark .form-select {
    background: var(--color-espresso);
    color: var(--color-cream);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-copper);
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Blog Page */
.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal);
}

.dark .blog-card {
    background: var(--color-mahogany);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--space-6);
}

.blog-card-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-copper);
    margin-bottom: var(--space-3);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: var(--color-espresso);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.dark .blog-card-title {
    color: var(--color-cream);
}

.blog-card-excerpt {
    font-size: var(--text-small);
    color: var(--color-walnut);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.dark .blog-card-excerpt {
    color: var(--color-linen);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--color-walnut);
}

.dark .blog-card-meta {
    color: var(--color-linen);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .nav,
    .footer,
    .mobile-menu,
    .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
