/* === CUSTOM STYLES === */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 25%, #6ee7b7 50%, #34d399 70%, #10b981 100%);
}

/* Hero blobs */
.hero-blob-1 {
    animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
    animation: float 10s ease-in-out infinite reverse;
}
.hero-blob-3 {
    animation: pulse-blob 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes pulse-blob {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

/* CTA blobs */
.cta-blob-1 {
    animation: float 9s ease-in-out infinite;
}
.cta-blob-2 {
    animation: float 11s ease-in-out infinite reverse;
}

/* Navigation */
.nav-scrolled {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #5fa85f;
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    width: 100%;
}

/* Text cards */
.text-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.text-card:hover {
    transform: translateY(-4px);
}

/* Room cards */
.room-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Contact form */
#contact-form input:focus,
#contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(95, 168, 95, 0.15);
}

/* Scroll reveal (progressive enhancement) */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 0;
    transform: translateY(24px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.mobile-link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(45, 110, 43, 0.1);
}
.mobile-link:last-child {
    border-bottom: none;
}

/* Navbar height */
nav {
    height: 72px;
}

/* Ensure hero doesn't get hidden behind nav */
#hero {
    padding-top: 72px;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #5fa85f;
    outline-offset: 2px;
    border-radius: 4px;
}
