/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Hero Gradient ──────────────────────────────── */
.hero-gradient {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 35%, #5eead4 60%, #fbbf24 100%);
}

/* ── Hero Animations ────────────────────────────── */
.hero-badge {
    animation: fadeDown 0.8s ease both;
}
.hero-title {
    animation: fadeUp 0.8s 0.15s ease both;
}
.hero-subtitle {
    animation: fadeUp 0.8s 0.3s ease both;
}
.hero-buttons {
    animation: fadeUp 0.8s 0.45s ease both;
}
.hero-orb {
    animation: float 8s ease-in-out infinite;
}
.hero-orb-2 { animation-delay: -3s; animation-duration: 10s; }
.hero-orb-3 { animation-delay: -5s; animation-duration: 12s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ── Navbar ─────────────────────────────────────── */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
#navbar.scrolled .nav-logo,
#navbar.scrolled .nav-link {
    color: #1e293b !important;
}
#navbar.scrolled .btn-primary {
    background: #0d9488 !important;
    color: white !important;
}
#navbar.scrolled .btn-primary:hover {
    background: #0f766e !important;
}

/* ── Section Shared ─────────────────────────────── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    background: #ccfbf1;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
}
.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────── */
.btn-primary {
    transition: all 0.3s ease;
}
.btn-secondary {
    transition: all 0.3s ease;
}

/* ── Feature Cards ──────────────────────────────── */
.feature-card {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ── Menu Cards ─────────────────────────────────── */
.menu-card {
    border: 1px solid #f1f5f9;
}

/* ── About Images ───────────────────────────────── */
.about-img-float {
    animation: float 6s ease-in-out infinite;
}

/* ── Gallery ────────────────────────────────────── */
.gallery-item {
    cursor: pointer;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* ── Visit Cards ────────────────────────────────── */
.visit-card {
    border: 1px solid #f1f5f9;
}

/* ── Form ───────────────────────────────────────── */
.input-field {
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder {
    color: #94a3b8;
}
.input-field:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}
.btn-submit:active {
    transform: translateY(0);
}

/* ── Scroll Reveal (progressive enhancement) ───── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .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; }
}

/* ── Mobile Menu ────────────────────────────────── */
.mobile-link {
    border-bottom: 1px solid #f1f5f9;
}
.mobile-link:last-child {
    border-bottom: none;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .about-img-float {
        display: none;
    }
    .about-badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 1rem;
        display: inline-flex;
    }
}
