/* ============================================
   MISSOURI WINE COUNTRY — Custom Styles
   ============================================ */

/* --- Geometric Decorations --- */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 230, 211, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: -50px;
    right: 30%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 248, 246, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 55%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 248, 246, 0.06) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-circle-5 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 230, 211, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 16s ease-in-out infinite;
}

.geo-circle-6 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-circle-7 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    animation: float-slow 17s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    border-radius: 24px;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(245, 230, 211, 0.12);
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(253, 248, 246, 0.06);
    bottom: 15%;
    left: 5%;
    transform: rotate(20deg);
    animation: spin-slow 20s linear infinite reverse;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(253, 248, 246, 0.07);
    top: 30%;
    left: 5%;
    animation: float-slow 13s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F5E6D3;
    color: #7B2D3B;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 45, 59, 0.2);
}

.btn-primary:hover {
    background: #FDF8F6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 59, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* --- Navigation --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5E6D3;
    transition: width 0.3s ease;
}

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

#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 248, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.1);
}

#navbar.scrolled .nav-link {
    color: #7B2D3B;
}

#navbar.scrolled .nav-link::after {
    background: #7B2D3B;
}

#navbar.scrolled .btn-primary {
    background: #7B2D3B;
    color: #F5E6D3;
}

#navbar.scrolled .btn-primary:hover {
    background: #5c1f2b;
}

/* --- Mobile Menu --- */
.mobile-link {
    border-bottom: 1px solid rgba(123, 45, 59, 0.1);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    animation: bounce-down 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Product Cards --- */
.product-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123, 45, 59, 0.15);
}

/* --- Feature Pills --- */
.feature-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #F5E6D3;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* --- Visit Cards --- */
.visit-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.06);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(123, 45, 59, 0.12);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Default state for reveal elements (visible by default for no-JS) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    .geo-circle, .geo-rect, .geo-triangle {
        animation: none;
    }
    .scroll-indicator {
        animation: none;
    }
    .product-card:hover, .visit-card:hover {
        transform: none;
    }
}

/* --- Hero Photo --- */
.hero-photo {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero-photo {
        display: none;
    }

    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }

    .geo-rect-1 {
        width: 60px;
        height: 60px;
    }

    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(253, 248, 246, 0.07);
    }
}

@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .geo-circle-1 {
        width: 200px;
        height: 200px;
        left: -80px;
    }

    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
}
