/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: #A67C52;
    color: #F4F1EA;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F4F1EA;
}

::-webkit-scrollbar-thumb {
    background: #A67C52;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8A6642;
}

/* ===== LOADING SCREEN ===== */
#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ===== NAVIGATION ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(244, 241, 234, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

#navbar.scrolled .nav-logo-text,
#navbar.scrolled .nav-link {
    color: #1A1A1A;
}

#navbar.scrolled .reserve-btn {
    border-color: #1A1A1A;
    color: #1A1A1A;
}

#navbar.scrolled .reserve-btn:hover {
    background: #1A1A1A;
    color: #F4F1EA;
}

#navbar:not(.scrolled) .nav-logo-text,
#navbar:not(.scrolled) .nav-link {
    color: #F4F1EA;
}

#navbar:not(.scrolled) .reserve-btn {
    border-color: rgba(244, 241, 234, 0.6);
    color: #F4F1EA;
}

#navbar:not(.scrolled) .reserve-btn:hover {
    background: #F4F1EA;
    color: #1A1A1A;
}

#navbar:not(.scrolled) .menu-icon {
    color: #F4F1EA;
}

#navbar.scrolled .menu-icon {
    color: #1A1A1A;
}

/* ===== PAGES ===== */
.page {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
}

/* ===== HERO ===== */
.hero-slide {
    transition: opacity 2s ease-in-out;
}

@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

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

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

/* Reveal animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== SUITE FILTER BUTTONS ===== */
.suite-filter.active,
.gallery-filter.active {
    background: #1A1A1A;
    color: #F4F1EA;
    border-color: #1A1A1A;
}

/* ===== SUITE CARDS ===== */
.suite-card {
    transition: all 0.4s ease;
}

.suite-card:hover {
    transform: translateY(-4px);
}

.suite-card:hover .suite-card-img {
    transform: scale(1.05);
}

.suite-card-img {
    transition: transform 0.7s ease;
}

/* ===== RESERVE STEPS ===== */
.reserve-step .step-circle {
    border-color: rgba(26, 26, 26, 0.15);
    color: rgba(26, 26, 26, 0.3);
}

.reserve-step.active .step-circle {
    border-color: #A67C52;
    background: #A67C52;
    color: #F4F1EA;
}

.reserve-step.completed .step-circle {
    border-color: #1A1A1A;
    background: #1A1A1A;
    color: #F4F1EA;
}

.reserve-step-content {
    display: none;
}

.reserve-step-content.active {
    display: block;
    animation: fadeUp 0.5s ease forwards;
}

/* ===== SUITE SELECTOR (Step 2) ===== */
.suite-select-item {
    transition: all 0.3s ease;
}

.suite-select-item.selected {
    border-color: #A67C52;
    background: rgba(166, 124, 82, 0.05);
}

.suite-select-item:hover {
    border-color: #A67C52;
}

/* ===== FLATPICKR CUSTOMIZATION ===== */
.flatpickr-calendar {
    border: 1px solid rgba(26, 26, 26, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    font-family: 'Inter', sans-serif !important;
    background: #F4F1EA !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #A67C52 !important;
    border-color: #A67C52 !important;
}

.flatpickr-day.inRange {
    background: rgba(166, 124, 82, 0.1) !important;
    border-color: rgba(166, 124, 82, 0.1) !important;
}

.flatpickr-day:hover {
    border-color: #A67C52 !important;
    background: rgba(166, 124, 82, 0.05) !important;
}

.flatpickr-months .flatpickr-month {
    color: #1A1A1A !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
}

.flatpickr-weekday {
    color: #A67C52 !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
}

/* ===== GALLERY ===== */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ===== LIGHTBOX ===== */
#lightbox.active {
    display: flex;
}

/* ===== FORM TOAST ===== */
.form-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    padding: 16px 24px;
    font-size: 14px;
    letter-spacing: 0.05em;
    transform: translateX(120%);
    transition: transform 0.4s ease;
}

.form-toast.show {
    transform: translateX(0);
}

.form-toast.success {
    background: #1A1A1A;
    color: #F4F1EA;
}

.form-toast.error {
    background: #C0392B;
    color: #F4F1EA;
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-slide img {
        object-position: center;
    }

    #site-footer iframe {
        height: 200px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}