/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ========== NAV ========== */
.nav-text { transition: color 0.3s; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

#nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
#nav.scrolled .nav-text { color: #1e293b; }
#nav.scrolled .nav-link { color: #475569; }

/* Mobile menu */
#mobileMenu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { transition: color 0.3s; }

/* ========== HERO ========== */
.hero-badge {
    animation: fadeInDown 0.8s ease both;
}
.hero-card-main {
    animation: floatMain 6s ease-in-out infinite;
}

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

.floating-card {
    animation: floatCard 4s ease-in-out infinite;
}
.card-coffee { animation-delay: 0s; }
.card-pastry { animation-delay: 1.5s; }
.card-loc { animation-delay: 0.8s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

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

/* ========== GEOMETRIC SHAPES ========== */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.circle-1 {
    width: 500px; height: 500px;
    background: #0d9488;
    border-radius: 50%;
    top: -100px; right: -100px;
}
.circle-2 {
    width: 200px; height: 200px;
    background: #2dd4bf;
    border-radius: 50%;
    bottom: 100px; left: 5%;
}
.triangle-1 {
    width: 0; height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #0d9488;
    top: 30%; right: 5%;
    opacity: 0.06;
}
.rect-1 {
    width: 120px; height: 120px;
    background: #14b8a6;
    border-radius: 24px;
    top: 60%; left: 8%;
    transform: rotate(45deg);
    opacity: 0.06;
}
.dot-grid {
    width: 200px; height: 200px;
    background-image: radial-gradient(circle, #0d9488 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 20%; left: 40%;
    opacity: 0.1;
}

/* About section shapes */
.about-circle-1 {
    width: 400px; height: 400px;
    background: white;
    border-radius: 50%;
    top: -100px; left: -100px;
    opacity: 0.05;
}
.about-circle-2 {
    width: 250px; height: 250px;
    background: white;
    border-radius: 50%;
    bottom: -50px; right: 10%;
    opacity: 0.05;
}
.about-dots {
    width: 150px; height: 150px;
    background-image: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 16px 16px;
    top: 20%; right: 5%;
    opacity: 0.15;
}

/* CTA shapes */
.cta-circle-1 {
    width: 600px; height: 600px;
    background: #0d9488;
    border-radius: 50%;
    top: -200px; right: -200px;
    opacity: 0.1;
}
.cta-circle-2 {
    width: 300px; height: 300px;
    background: #2dd4bf;
    border-radius: 50%;
    bottom: -100px; left: -50px;
    opacity: 0.08;
}

/* ========== MARQUEE ========== */
.marquee-track {
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== MENU CARDS ========== */
.menu-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover {
    transform: translateY(-4px);
}

/* ========== GALLERY ========== */
.gallery-item {
    cursor: pointer;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,148,136,0);
    transition: background 0.3s;
    border-radius: inherit;
}
.gallery-item:hover::after {
    background: rgba(13,148,136,0.1);
}
.gallery-item { position: relative; }

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== CONTACT FORM ========== */
#contactForm .form-group input,
#contactForm .form-group textarea {
    transition: border-color 0.3s, box-shadow 0.3s;
}
#contactForm .form-group input:focus,
#contactForm .form-group textarea:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
    outline: none;
}
.form-success {
    animation: fadeInUp 0.5s ease both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    .floating-card { display: none; }
    .hero-card-main { animation: none; }
}
