/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0a0f1e;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== Animated Blobs ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #059669;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #1e3a8a;
    top: 50%;
    right: -50px;
    animation-delay: -7s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #34d399;
    bottom: 10%;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

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

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid #34d399;
    border-radius: 50%;
    top: 15%;
    right: 10%;
    animation: geoRotate 30s linear infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: #34d399;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    opacity: 0.08;
    animation: geoPulse 8s ease-in-out infinite;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    border: 2px solid #4c6ef5;
    top: 30%;
    left: 8%;
    animation: geoRotate 25s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #34d399;
    opacity: 0.1;
    top: 60%;
    right: 15%;
    animation: geoFloat 12s ease-in-out infinite;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #34d399 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    bottom: 30%;
    right: 5%;
    animation: geoFloat 15s ease-in-out infinite reverse;
}

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

@keyframes geoPulse {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.3); opacity: 0.15; }
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ===== Wine Cards ===== */
.wine-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(52, 211, 153, 0.15);
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Mobile Menu ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    transition: color 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #0a0f1e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid #34d399;
    }
}
