/* Base & Typography */
html {
    scroll-behavior: smooth;
}

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

::selection {
    background-color: rgba(6, 78, 59, 0.15);
    color: #064e3b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #064e3b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Navigation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #d4a574;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line.open-1 {
    transform: translateY(6px) rotate(45deg);
}
.menu-line.open-2 {
    opacity: 0;
}
.menu-line.open-3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 5rem !important;
    margin-left: 0 !important;
}

/* Hero Animations */
.hero-eyebrow {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.65s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-image-wrapper {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Room Cards */
.room-card {
    transition: transform 0.4s ease;
}
.room-card:hover {
    transform: translateY(-4px);
}
.room-card-image {
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.4s ease;
}
.room-card:hover .room-card-image {
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.15);
}

/* Amenity Items */
.amenity-item {
    transition: transform 0.3s ease;
}
.amenity-item:hover {
    transform: translateX(4px);
}

/* Location Images */
.location-img-wrapper {
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}
.location-img-wrapper:hover {
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.15);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.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; }

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

/* Print styles */
@media print {
    header, #contact-form, .room-card {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
