/* ==========================================================================
   Dakshinayan RESORT - STYLESHEET
   Eco-Luxury Wilderness Retreat styling system inspired by Relais Rossar.
   Colors: Wine Red (#850221) & Warm Cream/Ivory (#fefaef)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    /* Color Palette */
    --wine-red: #850221;
    --wine-red-hover: #6a011a;
    --wine-red-light: rgba(133, 2, 33, 0.08);
    --warm-cream: #fefaef;
    --sand: #f3efe2;
    --sand-border: #e6dfcb;
    --charcoal: #1f1e1b;
    --charcoal-light: #575551;
    --white: #ffffff;
    --black-overlay: rgba(0, 0, 0, 0.45);
    --card-shadow: 0 12px 30px rgba(31, 30, 27, 0.05);
    --glass-shadow: 0 8px 32px rgba(31, 30, 27, 0.08);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    /* Transition & Timing */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
    
    /* Layout Spacing */
    --max-width: 1200px;
    --max-width-narrow: 800px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--warm-cream);
    color: var(--charcoal);
    -webkit-font-smoothing: antialiased;
    cursor: url('assets/cursor.png'), auto;
}

body {
    font-family: var(--font-sans);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    cursor: url('assets/cursor.png'), auto;
}

/* Typography Headings */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.25;
    color: var(--charcoal);
}

p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    font-weight: 400;
}

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

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

ul {
    list-style: none;
}

/* Common Layout Components */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.container-narrow {
    width: 90%;
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

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

.section-header-center {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wine-red);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-desc {
    font-size: 1.05rem;
    color: var(--charcoal-light);
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    border: none;
}

.btn-wine {
    background-color: var(--wine-red);
    color: var(--warm-cream);
    border: 1px solid var(--wine-red);
}

.btn-wine:hover {
    background-color: var(--wine-red-hover);
    border-color: var(--wine-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(133, 2, 33, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

.btn-outline:hover {
    background-color: var(--wine-red);
    color: var(--warm-cream);
    border-color: var(--wine-red);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(243, 239, 226, 0.1);
}

.header-transparent {
    background-color: transparent;
    padding: 24px 0;
}

.header-scrolled {
    background-color: rgba(254, 250, 239, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 0;
    border-bottom: 1px solid var(--sand-border);
    box-shadow: var(--glass-shadow);
}

.header-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 0.95;
    text-decoration: none;
}

/* Logo image next to the brand text */
.nav-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    /* Invert to white when header is transparent (over hero image) */
    filter: invert(0) brightness(0.15);
    transition: filter 0.3s ease;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
}

.logo-subtext {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wine-red);
    margin-top: 4px;
}

/* Header transparent state logo color change */
.header-transparent .brand-logo {
    color: var(--white);
}

.header-transparent .logo-subtext {
    color: var(--white);
}

.header-transparent .nav-logo-img {
    filter: invert(1) brightness(2);
}

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    position: relative;
    padding: 6px 0;
}

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

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

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

/* Nav underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--wine-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-transparent .nav-link::after {
    background-color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-book-nav {
    padding: 10px 20px;
    font-size: 0.7rem;
}

.header-transparent .btn-book-nav {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.header-transparent .btn-book-nav:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--charcoal);
    transition: var(--transition-quick);
}

.header-transparent .mobile-menu-toggle .bar {
    background-color: var(--white);
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100svh;
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        padding: 100px 40px 60px;
        box-shadow: none;
        transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
        overflow-y: auto;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        color: rgba(254, 250, 239, 0.75) !important;
        width: 100%;
        text-align: left;
        padding: 18px 0;
        border-bottom: 1px solid rgba(254, 250, 239, 0.08);
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-link:hover,
    .nav-link:active {
        color: var(--warm-cream) !important;
        padding-left: 8px;
    }
    
    .btn-book-nav {
        width: 100%;
        margin-top: 32px;
        padding: 16px 24px !important;
        font-size: 0.85rem !important;
        background-color: var(--wine-red) !important;
        color: var(--warm-cream) !important;
        border-color: var(--wine-red) !important;
        text-align: center;
        border-radius: 4px;
    }
    
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--warm-cream) !important;
    }
    
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--warm-cream) !important;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding-bottom: 60px; /* Space for the booking bar */
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Ken Burns slow zoom-in animation */
    animation: kenBurns 20s infinite alternate;
}

.hero-image.active {
    opacity: 1;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31, 30, 27, 0.4) 0%, rgba(31, 30, 27, 0.7) 100%);
    z-index: 2;
}

.hero-content-container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
}

.hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--sand);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

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

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: rgba(254, 250, 239, 0.85);
    font-weight: 300;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.15rem;
    }
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sand);
    margin-top: 10px;
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
}

.scroll-arrow {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}



/* Our Story Section */
.section-story {
    background-color: var(--warm-cream);
}

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

@media (max-width: 991px) {
    .grid-editorial {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.editorial-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
    height: 510px; /* 480px image height + 30px padding */
    overflow: hidden;
}

@media (max-width: 768px) {
    .editorial-image-wrapper {
        height: 350px; /* 320px image height + 30px padding */
    }
}

.editorial-image {
    width: calc(100% - 30px);
    height: 480px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 2px;
    box-shadow: var(--card-shadow);
    transform: translateX(105%);
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

.editorial-image.active {
    transform: translateX(0%);
    z-index: 2;
}

.editorial-image.slide-out {
    transform: translateX(-105%);
    z-index: 1;
}

@media (max-width: 768px) {
    .editorial-image {
        height: 320px;
    }
}



.editorial-text-wrapper {
    display: flex;
    flex-direction: column;
}

.editorial-paragraph {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.75;
}

.editorial-signature {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.sig-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-light);
    margin-bottom: 4px;
}

.sig-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--wine-red);
    font-style: italic;
}

/* Rooms Section */
.section-rooms {
    background: radial-gradient(circle at 10% 10%, #fffbf2 0%, var(--warm-cream) 40%, #fdf5e6 100%);
    position: relative;
}

/* Room Category Header */
.rooms-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    margin-top: 50px;
}

.rooms-category-label {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--deep-charcoal);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.rooms-category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--sand-border), transparent);
}

/* Room Tile Grid - 3 cols for Premium (6 rooms), 4 cols for Deluxeee */
.rooms-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rooms-tile-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .rooms-tile-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .rooms-tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rooms-tile-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rooms-tile-grid,
    .rooms-tile-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Room Tile Card */
.room-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: var(--warm-cream);
    border: 1px solid var(--sand-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.room-tile:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(31, 30, 27, 0.1);
    border-color: var(--wine-red);
}

/* Premium Tile Theme */
.room-tile.room-tile-premium {
    background-color: #faf6ec;
    border-color: #e2d5a8;
}
.room-tile.room-tile-premium:hover {
    border-color: #d2b97a;
    box-shadow: 0 18px 40px rgba(180, 150, 60, 0.15);
}
.room-tile.room-tile-premium .room-tile-category { color: #b89a52; }
.room-tile.room-tile-premium:hover .room-tile-arrow { color: #b89a52; }

/* Deluxeee Tile Theme */
.room-tile.room-tile-deluxeee {
    background-color: #f4faf5;
    border-color: #b8d8bc;
}
.room-tile.room-tile-deluxeee:hover {
    border-color: #7daf82;
    box-shadow: 0 18px 40px rgba(80, 140, 90, 0.15);
}
.room-tile.room-tile-deluxeee .room-tile-category { color: #4a8050; }
.room-tile.room-tile-deluxeee:hover .room-tile-arrow { color: #4a8050; }

.room-tile-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.room-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.room-tile:hover .room-tile-img {
    transform: scale(1.07);
}

.room-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,30,27,0.45) 0%, transparent 60%);
}

.room-tile-info {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.room-tile-category {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--wine-red);
}

.room-tile-name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--deep-charcoal);
    margin: 0;
}

.room-tile-arrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--charcoal-light);
    transition: color 0.25s ease, letter-spacing 0.25s ease;
    margin-top: 4px;
}

.room-tile:hover .room-tile-arrow {
    color: var(--wine-red);
    letter-spacing: 0.13em;
}

.icon-svg {
    width: 14px;
    height: 14px;
    fill: var(--wine-red);
    flex-shrink: 0;
}



/* Resort Corners (Experience Section) - Sideways Scrolling Ribbon */
.section-corners {
    background-color: var(--warm-cream);
}

.places-ribbon-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    /* Fade out on left and right periphery (edges) */
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 100%);
}

.places-ribbon {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 16px 0;
    scrollbar-width: thin; scrollbar-color: var(--gold) rgba(210, 185, 122, 0.1);
    
}

.places-ribbon.auto-scrolling {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

.places-ribbon::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.place-tile {
    flex: 0 0 280px; /* fixed card width */
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    scroll-snap-align: start;
    cursor: pointer;
    background-color: var(--charcoal);
    
    /* Glass tile properties */
    border: 1px solid rgba(254, 250, 239, 0.12);
    opacity: 0.8;
    transition: opacity 0.4s ease, border-color 0.4s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.place-tile:hover {
    opacity: 1;
    border-color: rgba(133, 2, 33, 0.45); /* Wine Red glass highlight */
    box-shadow: 0 15px 35px rgba(133, 2, 33, 0.15), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.place-tile:hover .tile-image {
    transform: scale(1.15);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, transparent 50%);
    z-index: 1;
    transition: background 0.4s ease;
}

.place-tile:hover .tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, transparent 50%);
    z-index: 1;
    transition: background 0.4s ease;
}

.tile-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    padding: 24px;
    box-sizing: border-box;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    transition: transform 0.4s ease, background 0.4s ease;
}
.place-tile:hover .tile-content {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
}

.tile-title {
    font-family: \'Cormorant Garamond\', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.2;
}

.tile-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wine-red);
    letter-spacing: 0.1em;
}

.tile-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--charcoal-light);
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, margin-top 0.4s ease;
}

/* Hover States */
.place-tile:hover .tile-desc,
.place-tile:active .tile-desc {
    max-height: 180px;
    overflow-y: auto;
    opacity: 1;
    margin-top: 8px;
    pointer-events: auto;
}

/* Maps Link Button */
.btn-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wine-red);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.btn-maps-link:hover {
    color: var(--charcoal);
    gap: 8px;
    text-decoration: underline;
}

.btn-maps-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Ribbon Controls (Arrows) */
.ribbon-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.ribbon-btn {
    background-color: var(--white);
    border: 1px solid var(--sand-border);
    color: var(--wine-red);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.ribbon-btn:hover {
    background-color: var(--wine-red);
    color: var(--white);
    border-color: var(--wine-red);
    transform: translateY(-2px);
}

/* Offers Section */
.section-offers {
    background-color: var(--sand);
    border-top: 1px solid var(--sand-border);
    border-bottom: 1px solid var(--sand-border);
}

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

.offers-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .offers-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .offers-grid,
    .offers-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offers-grid,
    .offers-grid-4 {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background-color: var(--warm-cream);
    border: 1px solid var(--sand-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 30, 27, 0.08);
    border-color: var(--wine-red);
}

/* Retreat card image */
.offer-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--sand-border);
}

.offer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.offer-header {
    padding: 26px 30px 0;
}

.offer-tag {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--wine-red);
    display: inline-block;
    margin-bottom: 10px;
}

.offer-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.3;
}

.offer-body {
    padding: 16px 30px 0;
    flex: 1;
}

.offer-desc {
    font-size: 0.82rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.offer-duration {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--charcoal-light);
    background-color: var(--sand);
    padding: 6px 12px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.offer-footer {
    padding: 20px 30px 30px;
}


/* Testimonials Slider Section */
.section-testimonials {
    background-color: var(--warm-cream);
    text-align: center;
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--wine-red);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -10px;
}

.testimonials-slider {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .testimonials-slider {
        min-height: 280px;
    }
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1.35rem;
    }
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wine-red);
}

.author-location {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--charcoal-light);
    letter-spacing: 0.05em;
}

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

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--sand-border);
    border: none;
    cursor: pointer;
    transition: var(--transition-quick);
}

.slider-dot:hover, .slider-dot.active {
    background-color: var(--wine-red);
    transform: scale(1.25);
}

.footer-section {
    background-color: var(--charcoal);
    color: var(--warm-cream);
    border-top: 1px solid var(--wine-red);
    position: relative;
    overflow: hidden;
}

.footer-section h4, 
.footer-section .section-title,
.footer-section .brand-logo {
    color: var(--warm-cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.footer-logo {
    font-size: 2.25rem;
    margin-bottom: 20px;
    align-self: flex-start;
}

.footer-logo::after {
    content: 'RESORT';
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--wine-red);
    margin-top: 6px;
    font-weight: 600;
}

.footer-about-text {
    font-size: 0.9rem;
    color: rgba(254, 250, 239, 0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-link {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-cream);
    font-weight: 500;
    opacity: 0.85;
}

.social-link:hover {
    color: var(--wine-red);
    opacity: 1;
}

.footer-col-title {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--wine-red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-link {
    font-size: 1.05rem;
    color: var(--warm-cream);
    font-family: var(--font-serif);
}

.footer-contact-link:hover {
    color: var(--wine-red);
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(254, 250, 239, 0.7);
    line-height: 1.5;
}

.link-gold {
    color: var(--sand);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.link-gold:hover {
    color: var(--white);
    transform: translateX(4px);
    display: inline-block;
}

.newsletter-text {
    font-size: 0.9rem;
    color: rgba(254, 250, 239, 0.7);
    margin-bottom: 24px;
}

/* Footer Quick Enquiry date fields layout */
.enquiry-dates {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.enquiry-date-field {
    flex: 1;
    min-width: 0; /* prevent overflow in flex */
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(254, 250, 239, 0.15);
    padding: 14px;
    color: var(--warm-cream);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    border-radius: 2px;
    outline: none;
    transition: var(--transition-quick);
    width: 100%;
}

.newsletter-input:focus {
    border-color: var(--wine-red);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-newsletter-submit {
    padding: 14px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 250, 239, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.copyright {
    font-size: 0.75rem;
    color: rgba(254, 250, 239, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: rgba(254, 250, 239, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--warm-cream);
}

/* Booking Modal Dialog Overlay */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 30, 27, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.booking-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.booking-modal-container {
    background-color: var(--warm-cream);
    border: 1px solid var(--sand-border);
    border-radius: 4px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--glass-shadow);
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal-overlay.open .booking-modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--charcoal-light);
    line-height: 0.5;
    transition: var(--transition-quick);
}

.modal-close-btn:hover {
    color: var(--wine-red);
}

.modal-body-wrapper {
    padding: 50px;
}

@media (max-width: 768px) {
    .modal-body-wrapper {
        padding: 30px;
    }
}

.modal-subtitle {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--wine-red);
    display: block;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    margin-bottom: 30px;
}

.booking-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--charcoal-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--white);
    border: 1px solid var(--sand-border);
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--charcoal);
    border-radius: 2px;
    outline: none;
    transition: var(--transition-quick);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--wine-red);
}

.form-submit-row {
    margin-top: 10px;
}

/* Success View */
.success-wrapper {
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--wine-red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    width: 48px;
    height: 48px;
    fill: var(--wine-red);
}

.success-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    font-weight: 400;
}

.success-desc {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    max-width: 460px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Intersection Observer - Fade In Scroll Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered CSS Animation on load for Hero Section */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpAnim 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle.fade-in-up {
    animation-delay: 0.2s;
}

.hero-title.fade-in-up {
    animation-delay: 0.4s;
}

.hero-tagline.fade-in-up {
    animation-delay: 0.6s;
}

.scroll-indicator.fade-in-up {
    animation-delay: 0.8s;
}

.quick-booking-bar.fade-in-up {
    animation-delay: 1s;
}

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

/* Palash Flower Watermarks & Shower Animations */
.section-story, .section-corners, .section-testimonials {
    position: relative;
    overflow: hidden;
}

.section-story::before, .section-corners::before, .section-testimonials::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background-image: url('assets/falling/palash.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.035; /* Extremely subtle watermark */
    pointer-events: none;
    z-index: 0;
}

.section-story::before {
    bottom: -60px;
    right: -60px;
    transform: rotate(-15deg);
}

.section-corners::before {
    top: 100px;
    left: -80px;
    transform: rotate(45deg);
}

.section-testimonials::before {
    bottom: -40px;
    right: 15%;
    transform: rotate(20deg);
}

/* Viewport Flower Shower (Entrance Animation) */
.palash-shower-flower {
    position: fixed;
    top: -60px;
    z-index: 9999;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    will-change: transform, opacity;
    /* Only set name/timing/fill — JS controls duration & delay per flower */
    animation-name: fallAndSwayViewport;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes fallAndSwayViewport {
    0% {
        transform: translateY(0) translateX(0) rotate(var(--start-rot, 0deg));
        opacity: 0;
    }
    8% {
        opacity: 0.9;
    }
    92% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(110vh) translateX(var(--wind-x, 200px)) rotate(var(--end-rot, 540deg));
        opacity: 0;
    }
}

/* Footer Flower Shower (Settles at the bottom of the footer) */
.palash-footer-flower {
    position: absolute;
    top: -60px;
    z-index: 3;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    will-change: transform, opacity;
    /* Only set name/timing/fill — JS controls duration & delay per flower */
    animation-name: fallAndSwayFooter;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes fallAndSwayFooter {
    0% {
        top: -60px;
        transform: translateX(0) rotate(var(--start-rot, 0deg));
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    100% {
        top: calc(100% - var(--flower-size, 30px));
        transform: translateX(var(--wind-x, 250px)) rotate(var(--end-rot, 720deg));
        opacity: 0.85;
    }
}



.btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp:hover {
    background-color: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Adjust position on mobile screens so it doesn't block critical UI elements */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float-icon {
        width: 26px;
        height: 26px;
    }
}


/* ==========================================================================
   MOBILE OPTIMISATION — Comprehensive responsive layer for phones ≤ 768px
   ========================================================================== */

/* ── Performance: reduce animations on slow connections / battery-save mode ── */
@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-image { animation: none !important; }

    /* Flowers always animate regardless of device power-save mode */
    .palash-shower-flower,
    .palash-footer-flower {
        animation-duration: revert !important;
        animation-iteration-count: revert !important;
        transition-duration: revert !important;
    }
}

/* ── Prevent horizontal scrolling globally ── */
html {
    overflow-x: clip; /* clip does NOT create containing block, so position:fixed still works */
}
body {
    overflow-x: hidden;
    max-width: 100%;
}


/* ==========================================================================
   TABLET — 769px to 991px: Navigation panel & layout fixes
   ========================================================================== */
@media (max-width: 991px) {
    .nav-menu {
        overflow-y: auto;
    }

    /* Add a semi-transparent backdrop when mobile menu is open */
    .nav-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(31, 30, 27, 0.6);
        z-index: 990;          /* above page, below header (1000) */
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        pointer-events: none;
    }
    .nav-menu-backdrop.open {
        display: block;
        pointer-events: auto;
    }
}

/* ==========================================================================
   MOBILE — up to 768px: Core mobile layout & typography overrides
   ========================================================================== */
@media (max-width: 768px) {

    /* ── 1. HERO SECTION ── */
    .hero-section {
        height: 100svh;
        height: 100vh; /* fallback for older browsers */
        min-height: 100svh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 0;
    }

    .hero-bg-container {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%; /* Show building, not just sky */
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

    .hero-image.active {
        opacity: 1;
    }

    /* Stronger overlay on mobile for better text readability */
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(31, 30, 27, 0.35) 0%,
            rgba(31, 30, 27, 0.55) 50%,
            rgba(31, 30, 27, 0.75) 100%
        );
    }

    .hero-content-container {
        position: relative;
        z-index: 3;
        width: 92%;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 70px;
        padding-bottom: 40px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        margin-bottom: 16px;
    }

    .hero-tagline {
        font-size: clamp(1rem, 4vw, 1.2rem);
        padding: 0 8px;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .scroll-indicator {
        margin-top: 16px;
    }

    /* ── 7. TYPOGRAPHY ── */
    .hero-title {
        font-size: clamp(32px, 9vw, 40px) !important;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 34px) !important;
        line-height: 1.2;
    }

    .section-desc {
        font-size: clamp(15px, 4vw, 18px) !important;
        line-height: 1.6;
    }

    .hero-subtitle {
        font-size: clamp(10px, 2.5vw, 13px);
    }

    .editorial-paragraph {
        font-size: clamp(15px, 4vw, 17px) !important;
        line-height: 1.75;
    }

    /* ── 8. ALL IMAGES ── */
    img {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    /* ── 9. BUTTONS ── */
    .btn {
        font-size: 16px !important;
        min-height: 48px;
        padding: 14px 24px;
        width: auto;
        max-width: 100%;
    }

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

    /* ── 6. NAVIGATION ── */
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 0;
        font-size: 1rem;
    }

    .btn-book-nav {
        width: 100%;
        text-align: center;
        justify-content: center;
        min-height: 48px;
        margin-top: 16px;
    }

    /* ── 5. FOOTER ── */
    .footer-address,
    .footer-contact-link {
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        max-width: 100%;
    }

    .footer-contact-link {
        font-size: 1rem;
    }

    .footer-socials {
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-grid {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    /* Footer Quick Enquiry form */
    .enquiry-dates {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .enquiry-dates > div,
    .enquiry-date-field {
        width: 100% !important;
        flex: none !important;
    }

    .newsletter-input {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* prevent iOS zoom */
    }

    .btn-newsletter-submit {
        width: 100%;
        min-height: 48px;
    }

    /* ── 4. BOOKING MODAL FORM ── */
    .booking-modal-container {
        width: 95vw;
        max-width: 95vw;
        max-height: 94svh;
        max-height: 94vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 3vh auto;
    }

    .modal-body-wrapper {
        padding: 28px 20px 24px;
    }

    .modal-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* prevent iOS auto-zoom on focus */
        min-height: 44px;
    }

    .form-group textarea {
        min-height: unset;
    }

    #btn-submit-inquiry {
        width: 100%;
        min-height: 52px;
    }

    /* Safegaurd: ensure reveal-on-scroll elements don't get stuck hidden on mobile */
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: opacity 0.5s ease, transform 0.5s ease !important;
    }

    /* ── 2. Visitable Places — Horizontal Scrolling Inherited ── */

    .tile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .tile-content {
        position: absolute;
        bottom: 10px;
        left: 10px;
        width: calc(100% - 20px);
        padding: 14px 16px;
        box-sizing: border-box;
    }

    .tile-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    /* Show description text partially on mobile, expand on active */
    .tile-desc {
        font-size: 0.78rem;
        max-height: 60px !important;
        opacity: 1 !important;
        margin-top: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .place-tile:active .tile-desc,
    .place-tile:hover .tile-desc {
        max-height: 180px !important;
        display: block;
        overflow-y: auto;
        pointer-events: auto;
    }

} /* end @media max-width 768px */

/* ==========================================================================
   SMALL PHONES — up to 480px: More compact layout
   ========================================================================== */
@media (max-width: 480px) {

    /* ── Layout base ── */
    html { font-size: 15px; }
    .section-padding { padding: 52px 0; }
    .container { width: 92%; }
    .section-header-center { margin-bottom: 36px; }

    /* ── 1. Hero ── */
    .hero-section { height: 100svh; }
    .hero-content-container { padding-top: 60px; }
    .hero-subtitle { letter-spacing: 0.15em; margin-bottom: 12px; }
    .hero-tagline { padding: 0 4px; }
    .scroll-indicator { margin-top: 12px; }

    /* ── 3. Festival & Seasonal Retreats ── */
    .offers-grid,
    .offers-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .offer-card {
        height: auto !important;
        min-height: unset !important;
        display: flex;
        flex-direction: column;
    }

    .offer-img-wrap {
        width: 100%;
        height: auto !important;
        aspect-ratio: 16 / 9;
        flex-shrink: 0;
    }

    .offer-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .offer-header {
        padding: 20px 20px 0;
    }

    .offer-title {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        line-height: 1.3;
    }

    .offer-body {
        padding: 12px 20px 0;
        flex: 1;
    }

    .offer-desc {
        font-size: 0.85rem;
        line-height: 1.65;
        white-space: normal;
        overflow: visible;
        max-height: none !important;
        opacity: 1 !important;
        margin-bottom: 12px;
    }

    .offer-footer {
        padding: 16px 20px 20px;
    }

    .offer-footer .btn {
        width: 100%;
        min-height: 48px;
    }

    /* ── Rooms ── */
    .rooms-tile-grid,
    .rooms-tile-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rooms-category-header {
        margin-top: 36px !important;
    }

    .room-tile-name { font-size: 1.3rem; }

    /* ── Story section ── */
    .grid-editorial { gap: 28px; }
    .editorial-image-wrapper { height: 260px; }
    .editorial-image { height: 230px; }
    .editorial-signature { margin-top: 20px; }
    .sig-name { font-size: 1.7rem; }

    /* ── Testimonials ── */
    .testimonial-text { font-size: 1.2rem; }
    .testimonials-slider { min-height: 300px; }

    /* ── 5. Footer ── */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
    }

    .footer-logo { font-size: 1.85rem; }
    .footer-about-text { font-size: 0.88rem; }

    .footer-col-title {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }

    .footer-socials {
        gap: 18px;
        margin-top: 16px;
    }

    .footer-contact-link {
        font-size: 0.95rem;
        word-break: break-all;
    }

    .footer-address {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .footer-bottom {
        padding-top: 28px;
        gap: 14px;
    }

    .copyright {
        font-size: 0.72rem;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 14px;
    }

    /* Footer enquiry form */
    .newsletter-form {
        gap: 10px;
    }

    .newsletter-input {
        padding: 12px 14px;
        font-size: 16px;
    }

    .btn-newsletter-submit {
        padding: 14px;
        font-size: 16px !important;
        min-height: 48px;
    }

    /* ── 4. Booking modal ── */
    .booking-modal-container {
        width: 98vw;
        max-height: 96svh;
        max-height: 96vh;
        border-radius: 8px;
    }

    .modal-body-wrapper {
        padding: 22px 16px 20px;
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .modal-title {
        font-size: 1.65rem;
    }

    .modal-desc {
        font-size: 0.82rem;
    }

    .booking-inquiry-form {
        gap: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 12px;
        font-size: 16px;
    }

    .form-group label {
        font-size: 0.68rem;
    }

    .modal-close-btn {
        top: 14px;
        right: 14px;
        font-size: 1.75rem;
    }

    /* Success state */
    .success-wrapper {
        padding: 40px 20px;
    }

    .success-title {
        font-size: 1.75rem;
    }

    .success-desc {
        font-size: 0.88rem;
    }

} /* end @media max-width 480px */

/* ==========================================================================
   EXTRA-SMALL PHONES — up to 360px
   ========================================================================== */
@media (max-width: 360px) {
    html { font-size: 14px; }

    .hero-title { font-size: clamp(28px, 8.5vw, 36px) !important; }
    .hero-tagline { font-size: 0.95rem; }

    .brand-logo-text { font-size: 1.1rem; }
    .logo-subtext { letter-spacing: 0.25em; }

    .place-tile { aspect-ratio: 4 / 3; }

    .offer-img-wrap { aspect-ratio: 4 / 3; }

    .modal-body-wrapper { padding: 18px 14px; }
    .modal-title { font-size: 1.5rem; }

    .footer-contact-link { font-size: 0.9rem; }
    .newsletter-input { padding: 10px 12px; }
    .btn-newsletter-submit { padding: 12px; }
}

/* ==========================================================================
   TABLET PORTRAIT — 481px to 768px: Mid-range adjustments
   ========================================================================== */
@media (min-width: 481px) and (max-width: 768px) {
    .section-title { font-size: clamp(28px, 6vw, 34px) !important; }
    .hero-title    { font-size: clamp(34px, 7vw, 42px) !important; }
    .hero-tagline  { font-size: clamp(1.05rem, 3vw, 1.2rem); }

    /* Places ribbon: show horizontal scroll on tablets, but smaller tiles */
    .place-tile { flex: 0 0 260px; height: 300px; }

    /* Offers: 2 columns on tablets */
    .offers-grid,
    .offers-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .offer-card {
        height: auto !important;
        min-height: 420px;
    }

    .offer-img-wrap {
        height: 160px;
    }

    .offer-desc {
        opacity: 1 !important;
        max-height: none !important;
    }

    /* Footer: 2 cols */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col-about {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   TOUCH DEVICES — hover states & tap targets
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {

    /* Touch-friendly tap targets */
    .nav-link        { min-height: 48px; display: flex; align-items: center; }
    .btn             { min-height: 48px; }
    .ribbon-btn      { min-height: 48px; min-width: 48px; }
    .slider-dot      { width: 12px; height: 12px; }

    /* Remove hover-only animations that don't work on touch */
    .place-tile:hover .tile-image  { transform: none; }
    .place-tile:hover              { opacity: 1; }
    .room-tile:hover               { transform: none; box-shadow: var(--card-shadow); }
    .offer-card:hover              { transform: none; }

    /* Always show tile description on touch (no hover) */
    .place-tile .tile-desc {
        max-height: 120px !important;
        opacity: 1 !important;
        margin-top: 6px;
    }

    /* Always show offer description on touch */
    .offer-card .offer-desc {
        opacity: 1;
        max-height: none !important;
        overflow: visible;
    }

    /* Suppress tap highlight */
    .room-tile, .place-tile, .offer-card, .btn, .nav-link {
        -webkit-tap-highlight-color: transparent;
    }
}


/* Accessibility: Skip to Main Content */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--wine-red);
    color: white;
    padding: 10px 15px;
    z-index: 10000;
    transition: top 0.2s ease;
    font-family: var(--font-sans);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}
