/* ============================================
   Sweet Retreat — Custom Styles
   Classic & Elegant · Teal + Slate Palette
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background-color: #0d9488;
    color: #f8fafc;
}

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .nav-link {
    color: #1e293b;
}

#navbar.scrolled .nav-link:hover {
    color: #0d9488;
}

#navbar.scrolled .btn-primary {
    background: #0d9488;
    color: #f8fafc;
    border-color: #0d9488;
}

#navbar.scrolled .btn-primary:hover {
    background: #0f766e;
    border-color: #0f766e;
}

#navbar.scrolled .mobile-nav-link {
    color: #1e293b;
}

#navbar.scrolled .mobile-nav-link:hover {
    color: #0d9488;
}

#navbar.scrolled #menu-toggle {
    border-color: rgba(30, 41, 59, 0.2);
    color: #1e293b;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover {
    color: #ffffff;
}

/* ---------- Buttons ---------- */
.btn-primary {
    background: #0d9488;
    color: #f8fafc;
    border: 1.5px solid #0d9488;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0f766e;
    border-color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.25);
}

.btn-hero-primary {
    background: #ffffff;
    color: #042f2e;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #f0fdfa;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* ---------- Hero ---------- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: #2dd4bf;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: #14b8a6;
    bottom: -100px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-orb--3 {
    width: 200px;
    height: 200px;
    background: #5eead4;
    top: 40%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.8s ease forwards 1.2s;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---------- Menu Tabs ---------- */
.menu-tab {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.menu-tab.active {
    background: #0d9488;
    color: #f8fafc;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.menu-tab:not(.active):hover {
    color: #0d9488;
}

/* ---------- Reveal Animations ---------- */
.reveal-section {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-section {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal-section.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-section:nth-child(2) { transition-delay: 0.1s; }
    .reveal-section:nth-child(3) { transition-delay: 0.2s; }
    .reveal-section:nth-child(4) { transition-delay: 0.3s; }
}

/* ---------- Mobile Menu ---------- */
.mobile-nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.mobile-nav-link:hover {
    color: #ffffff;
}

/* ---------- Divider ---------- */
section[id="about"] + div.py-16 {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* ---------- Smooth Image Hover ---------- */
div.relative.overflow-hidden.rounded-2xl {
    overflow: hidden;
}

/* ---------- Form Styling ---------- */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ---------- Footer ---------- */
footer a {
    text-decoration: none;
}

/* ---------- Utility ---------- */
.border-gradient {
    border-image: linear-gradient(135deg, #0d9488, #14b8a6) 1;
}
