/* === Custom Styles for Fiesta Winery 290 === */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* === Geometric Shapes === */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.5);
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    top: 60%;
    right: 8%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3), transparent);
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    bottom: 15%;
    left: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.3);
    animation: float 10s ease-in-out infinite;
}

.shape-triangle-1 {
    top: 25%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(251, 191, 36, 0.15);
    animation: rotate 20s linear infinite;
}

.shape-square-1 {
    top: 70%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(236, 72, 153, 0.15);
    transform: rotate(45deg);
    animation: rotate 15s linear infinite reverse;
}

.shape-ring-1 {
    top: 40%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 255, 255, 0.1);
    animation: rotate 25s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* === Scroll Reveal Animations === */
/* Default state: visible (progressive enhancement) */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* === Navbar === */
.nav-text {
    color: #500724;
}

.nav-link {
    color: #500724;
}

/* Dark navbar state */
nav.scrolled .nav-text,
nav.scrolled .nav-link {
    color: #500724;
}

nav.scrolled {
    background: rgba(253, 244, 248, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 4px 30px rgba(157, 23, 77, 0.1);
}

/* === Mobile Menu === */
.mobile-nav-link {
    color: #500724;
}

/* === Cards Hover === */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf4f8;
}

::-webkit-scrollbar-thumb {
    background: #be185d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* === Selection === */
::selection {
    background: #fbcfe8;
    color: #500724;
}

/* === Focus Styles === */
:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
