/* =====================================================
   RIVERBELLS RESORT — Premium CSS
   Design: Saguna Baug-inspired, Nature-luxury palette
   ===================================================== */

/* ============ CSS RESET & CUSTOM PROPERTIES ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --forest: #1a3c2a;
    --forest-dark: #0f261a;
    --forest-light: #2a5c40;
    --gold: #c8963e;
    --gold-light: #e0b860;
    --gold-dark: #a07830;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --cream-light: #faf7f2;
    --charcoal: #1e1e1e;
    --charcoal-light: #2a2a2a;
    --text-dark: #1a1a1a;
    --text-medium: #555;
    --text-light: #888;
    --white: #ffffff;
    --overlay: rgba(15, 38, 26, 0.6);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 90px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    --transition-slow: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Safe area for notched phones */
.navbar,
.footer,
.hero-content {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

/* Performance hints for animated elements */
.hero-slide,
.accommodation-card,
.gallery-item img,
.about-image img,
.dining-image img {
    will-change: transform;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 150, 62, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============ SECTION STYLES ============ */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--forest-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 38, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    z-index: 1001;
}

.logo-icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.logo-tagline {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 1px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(15, 38, 26, 0.4) 0%,
            rgba(15, 38, 26, 0.3) 40%,
            rgba(15, 38, 26, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.hero-welcome {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 1s 0.7s forwards;
}

.hero-desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s 1.1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-slider-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(12px);
        opacity: 0.3;
    }
}

/* ============ ABOUT ============ */
.about {
    background: var(--cream-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 38, 26, 0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.badge-rating {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.badge-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-label {
    text-align: left;
    display: block;
}

.about-text {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-dark);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest);
    display: block;
    line-height: 1.1;
}

.stat-number small {
    font-size: 0.7em;
    color: var(--gold);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

/* ============ ACCOMMODATIONS ============ */
.accommodations {
    background: var(--cream);
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.accommodation-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.accommodation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.accommodation-card:hover .card-image img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-badge.badge-alt {
    background: var(--forest);
}

.card-badge.badge-nature {
    background: #e07c3a;
}

.card-content {
    padding: 28px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.feature-icon {
    font-size: 1rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.price-from {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
}

.price-amount small {
    font-size: 0.55em;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 400;
}

/* ============ AMENITIES ============ */
.amenities {
    background: var(--forest-dark);
    color: var(--white);
}

.amenities .section-title {
    color: var(--white);
}

.amenities .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.amenity-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.amenity-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 150, 62, 0.3);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--gold);
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.amenity-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

/* ============ GALLERY ============ */
.gallery {
    background: var(--forest-dark);
    color: var(--white);
}

.gallery .section-title {
    color: var(--white);
}

.gallery .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 180px);
    gap: 8px;
}

/* Row 1: wide entrance + pier + river view */
.gallery-item:nth-child(1) {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

/* entrance - big */
.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
}

/* Row 2 */
.gallery-item:nth-child(4) {
    grid-column: 6 / 9;
    grid-row: 2 / 3;
}

.gallery-item:nth-child(5) {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
}

/* tall garden */
/* Row 3 */
.gallery-item:nth-child(6) {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
}

.gallery-item:nth-child(7) {
    grid-column: 5 / 9;
    grid-row: 3 / 4;
}

/* Row 4 */
.gallery-item:nth-child(8) {
    grid-column: 1 / 6;
    grid-row: 4 / 5;
}

/* wide camp */
.gallery-item:nth-child(9) {
    grid-column: 6 / 9;
    grid-row: 4 / 5;
}

.gallery-item:nth-child(10) {
    grid-column: 9 / 13;
    grid-row: 4 / 5;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 38, 26, 0.7) 0%, rgba(15, 38, 26, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 6px 16px;
    background: rgba(200, 150, 62, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 2rem;
    padding: 16px;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--gold);
}

/* ============ DINING ============ */
.dining {
    background: var(--cream-light);
}

.dining-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dining-content .section-title {
    text-align: left;
}

.dining-content .section-label {
    display: block;
    text-align: left;
}

.dining-text {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.8;
}

.dining-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.dining-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dining-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.dining-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--forest-dark);
    margin-bottom: 2px;
}

.dining-feature p {
    font-size: 0.88rem;
    color: var(--text-light);
}

.dining-extra p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.dining-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.dining-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.dining-image:hover img {
    transform: scale(1.04);
}

.dining-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: var(--cream);
}

.testimonial-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.rating-stars {
    color: var(--gold);
    font-size: 1.4rem;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--forest);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(50% - 15px);
    background: var(--cream);
    border-radius: 20px;
    padding: 40px;
    flex-shrink: 0;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonial-author h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--forest-dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--forest);
    background: transparent;
    color: var(--forest);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--forest);
    color: var(--white);
}

/* ============ CONTACT ============ */
.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-item a {
    color: var(--gold-dark);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--forest-dark);
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--cream-dark);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: 0;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--gold);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-whatsapp {
    margin-top: 16px;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.footer-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============ BOOKING MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-slow);
    overscroll-behavior: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--forest-dark);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.92rem;
    color: var(--text-light);
}

.modal {
    position: relative;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.booking-form .form-group {
    margin-bottom: 18px;
}

.booking-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: 0;
}

.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
}

.booking-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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);
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1024px) {
    .accommodation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: 200px;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 38, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .hero-subtitle {
        letter-spacing: 4px;
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .about-content .section-title,
    .about-content .section-label {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .accommodation-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: 180px;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .dining-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dining-content .section-title,
    .dining-content .section-label {
        text-align: center;
    }

    .dining-text {
        text-align: center;
    }

    .dining-image {
        order: -1;
    }

    .dining-image img {
        height: 350px;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .testimonial-slider {
        padding: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.88rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .card-features {
        grid-template-columns: 1fr;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--forest);
}

/* ============ SELECTION ============ */
::selection {
    background: var(--gold);
    color: var(--white);
}

/* ============ FOCUS VISIBLE ============ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.slider-dot:focus-visible,
.testimonial-btn:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

/* ============ TYPOGRAPHY ENHANCEMENTS ============ */
.section-title {
    text-wrap: balance;
}

.price-amount,
.stat-number,
.badge-rating,
.rating-score {
    font-variant-numeric: tabular-nums;
}

/* ============ LIGHTBOX SCROLL LOCK ============ */
.lightbox {
    overscroll-behavior: contain;
}

/* ============ PREFERS REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-slide {
        transform: none !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============ PRELOADER ============ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--forest-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    color: var(--gold);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-text {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 16px;
    letter-spacing: 3px;
    animation: preloaderFade 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 120px;
    height: 2px;
    background: rgba(200, 150, 62, 0.2);
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes preloaderFade {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes preloaderSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

/* ============ PAGE FADE-IN ============ */
body.loading {
    overflow: hidden;
}

body.loaded .hero-content {
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(200, 150, 62, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(200, 150, 62, 0.5);
}

/* ============ COUNTER ANIMATION ============ */
.stat-number {
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-number.counting {
    transform: scale(1.1);
}

/* ============ CARD HOVER GLOW ============ */
.accommodation-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.accommodation-card:hover {
    box-shadow: 0 15px 50px rgba(200, 150, 62, 0.15), 0 0 0 1px rgba(200, 150, 62, 0.1);
}

/* ============ IMAGE SHIMMER / SKELETON ============ */
.card-image,
.gallery-item,
.about-image,
.dining-image {
    position: relative;
    background: linear-gradient(90deg, #e8e0d4 25%, #f5efe8 50%, #e8e0d4 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.card-image img,
.gallery-item img,
.about-image img,
.dining-image img {
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Stop shimmer once image loaded */
.card-image.loaded,
.gallery-item.loaded,
.about-image.loaded,
.dining-image.loaded {
    animation: none;
    background: none;
}

/* ============ STICKY MOBILE BOOKING BAR ============ */
.sticky-book-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--forest-dark);
    padding: 12px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 800;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 1px solid rgba(200, 150, 62, 0.3);
}

.sticky-book-bar.visible {
    transform: translateY(0);
}

.sticky-book-bar .bar-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.sticky-book-bar .bar-text span {
    color: var(--gold);
    font-weight: 600;
}

.sticky-book-bar .bar-btn {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sticky-book-bar .bar-btn:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
}

/* ============ ENHANCED MOBILE MENU ============ */
@media (max-width: 768px) {
    .sticky-book-bar {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 38, 26, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link {
        font-size: 1.1rem;
        padding: 14px 0;
        border-bottom: 1px solid rgba(200, 150, 62, 0.1);
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active .nav-link:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active .nav-link:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active .nav-link:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links.active .nav-link:nth-child(8) {
        transition-delay: 0.45s;
    }

    /* Menu overlay backdrop */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ============ SWIPE GALLERY (MOBILE) ============ */
@media (max-width: 480px) {
    .gallery-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 0 20px 16px;
        scrollbar-width: none;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        border-radius: 16px;
        height: 280px;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        -o-object-fit: cover;
        border-radius: 16px;
    }
}