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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #38b29b;
    color: #0F172A;
}

/* ===== Hero Background Circles ===== */
.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 178, 155, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(56, 178, 155, 0.08) 0%, transparent 70%);
    top: 40%;
    right: 30%;
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ===== Floating Shapes ===== */
.floating-shape {
    position: absolute;
    pointer-events: none;
    animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
    top: 20%;
    right: 5%;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.shape-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: -4s;
}

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

/* ===== Hero Image Wrapper ===== */
.hero-image-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.hero-image-main {
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.15), 0 10px 30px rgba(15, 23, 42, 0.1);
    animation: hero-image-float 6s ease-in-out infinite;
}

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

/* ===== Floating Stat Cards ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 178, 155, 0.2);
    border-radius: 16px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
    border-color: rgba(56, 178, 155, 0.4);
}

.card-1 { animation: stat-float 4s ease-in-out infinite; }
.card-2 { animation: stat-float 4s ease-in-out infinite 0.5s; }
.card-3 { animation: stat-float 4s ease-in-out infinite 1s; }

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

/* ===== Scroll Indicator ===== */
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ===== Navbar ===== */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 20px rgba(15, 23, 42, 0.04);
}

.navbar-scrolled .nav-link {
    color: rgba(15, 23, 42, 0.7) !important;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Menu Cards ===== */
.menu-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:nth-child(1) { transition-delay: 0s; }
.menu-card:nth-child(2) { transition-delay: 0.15s; }
.menu-card:nth-child(3) { transition-delay: 0.3s; }

/* ===== Gallery ===== */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: no-preference) {
    .no-js .reveal,
    .no-js .menu-card,
    .no-js .gallery-item {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-bg-circle {
        filter: blur(60px);
    }
    
    .circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .circle-3 {
        width: 150px;
        height: 150px;
    }
    
    .stat-card {
        padding: 10px 16px;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .hero-image-wrapper {
        max-width: 320px;
        margin-top: 2rem;
    }
}
