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

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

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== NAVIGATION ===== */
#nav {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    transition: color 0.4s ease;
}

#nav:not(.scrolled) .nav-logo-text {
    color: #1a3554;
}

#nav.scrolled .nav-logo-text {
    color: #1a3554;
}

.nav-link {
    position: relative;
}

/* ===== HERO ===== */
#hero {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(10, 17, 28, 0.82) 0%,
        rgba(45, 90, 142, 0.70) 50%,
        rgba(10, 17, 28, 0.85) 100%
    );
}

.hero-blobs {
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #74be9e;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #a8d5c0;
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #d0eadd;
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

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

.hero-headline {
    animation: heroFadeUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtext {
    animation: heroFadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-badge {
    animation: heroFadeUp 1s ease-out 0.1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-ctas {
    animation: heroFadeUp 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ===== SCROLL REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

/* ===== CAFÉ PATTERN ===== */
.cafe-pattern {
    background-color: rgba(255, 255, 255, 0.03);
}

/* ===== CTA BUBBLES ===== */
.cta-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: ctaFloat 6s ease-in-out infinite;
}

.cta-bubble-1 {
    width: 200px;
    height: 200px;
    top: -60px;
    left: 5%;
    animation-delay: 0s;
}

.cta-bubble-2 {
    width: 140px;
    height: 140px;
    bottom: -40px;
    right: 10%;
    animation-delay: -2s;
}

.cta-bubble-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #74be9e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
    background-color: #a8d5c0;
    color: #1a3554;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #74be9e;
}
