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

:root {
    /* Logo/Brand Color - Update this if logo color changes */
    --logo-color: #091e3b;
    --primary-color: var(--logo-color);
    --text-color: #2c2c2c;
    --bg-color: #fff9eb;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 1000;
    min-height: 165px;
    transition: min-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 100px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Ensure container maintains height during transitions */
    min-height: inherit;
}

.header.scrolled .header-container {
    padding: 0.25rem 2rem;
    gap: 1rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    order: 1;
}

.header.scrolled .logo-section {
    gap: 0.25rem;
    min-width: 72.5px;
}

.logo {
    height: 145px;
    width: auto;
    max-width: 145px;
    object-fit: contain;
    display: block;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.header.scrolled .logo {
    height: 72.5px;
    width: auto;
    max-width: 72.5px;
}

.logo:hover {
    transform: scale(1.05);
}

.header.scrolled .logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Merriweather', serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
    transition: var(--transition);
    order: 2;
}

.header.scrolled .nav {
    gap: 1.5rem;
}

/* Social media container - positioned after nav */
.social-media-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 3;
    transition: var(--transition);
}

.header.scrolled .social-media-container {
    gap: 0.25rem;
}

.nav-link {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: var(--logo-color);
    text-decoration: none;
    position: relative;
    transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.7rem 0;
}

.header.scrolled .nav-link {
    font-size: 0.9rem;
    padding: 0.35rem 0;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

/* Social in mobile menu (hidden on desktop) */
.nav-social-mobile {
    display: none;
}

.instagram-icon {
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.header.scrolled .instagram-icon {
    transform: scale(0.65);
}

.header.scrolled .instagram-icon svg {
    width: 24.7px;
    height: 24.7px;
}

.instagram-icon:hover {
    transform: scale(1.1);
    color: #E4405F;
}

.header.scrolled .instagram-icon:hover {
    transform: scale(0.715);
}

.youtube-icon {
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.header.scrolled .youtube-icon {
    transform: scale(0.65);
}

.header.scrolled .youtube-icon svg {
    width: 24.7px;
    height: 24.7px;
}

.youtube-icon:hover {
    transform: scale(1.1);
    color: #FF0000;
}

.header.scrolled .youtube-icon:hover {
    transform: scale(0.715);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: var(--transition);
    order: 4;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Gallery Section */
.hero-gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem 2rem;
    position: relative;
}

.gallery-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.gallery-main {
    position: relative;
    width: 100%;
    padding-bottom: 42.5%; /* 1440x612 aspect ratio (2.35:1) */
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-image:hover {
    opacity: 0.95;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 10;
    pointer-events: none;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gallery-btn:active {
    transform: scale(0.95);
}

.gallery-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

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

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.gallery-link {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(9, 30, 59, 0.3);
}

.gallery-link:hover {
    background: var(--logo-color);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 30, 59, 0.4);
}

.gallery-link:active {
    transform: translateY(0);
}

/* Interior Images Section */
.interior-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.interior-section .property-title {
    margin-bottom: 1.5rem;
}

.interior-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.interior-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.interior-image-wrapper[data-hero-slide] {
    cursor: pointer;
}

.interior-image-wrapper[data-hero-slide]:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.interior-image-wrapper[data-hero-slide]:hover::after {
    content: 'Click to view full screen';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(9, 30, 59, 0.9);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}

.interior-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 59, 0);
    transition: var(--transition);
    z-index: 1;
}

.interior-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.interior-image-wrapper:hover::before {
    background: rgba(9, 30, 59, 0.1);
}

.interior-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition);
}

.interior-image-wrapper:hover .interior-image {
    transform: scale(1.05);
}

/* Facilities Section */
.facilities-section {
    width: 100%;
    padding: 3rem 2rem;
    background: var(--white);
}

.facilities-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.facilities-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
   /* max-width: 1200px; */
    margin: 0 auto;
}

.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--bg-color);
    border-radius: 12px;
    transition: var(--transition);
    cursor: default;
    text-align: center;
}

.facility-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.facility-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.facility-icon img {
    width: 53px;
    height: 53px;
    object-fit: contain;
    display: block;
}

.facility-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.3;
}

/* Booking Widget Section (Home Page) */
.booking-widget-section {
    width: 100%;
    padding: 3rem 2rem;
    background: var(--white);
}

.booking-widget-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.booking-widget-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.booking-widget {
    width: 100%;
}

/* Top Row: Date Inputs */
.booking-dates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Middle Row: Calendar Months */
.booking-calendars-row {
    margin-bottom: 2rem;
}

.booking-calendars-row .availability-calendar {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* Calendar months container - 2 months side by side */
.booking-calendars-row .calendar-months-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.calendar-month-wrapper {
    display: flex;
    flex-direction: column;
}

.calendar-month-title {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Bottom Row: Calendar Rules */
.booking-rules-row {
    margin-bottom: 2rem;
}

.booking-widget .calendar-rules {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
}

.view-calendar-btn {
    display: none;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.view-calendar-btn:hover {
    background: var(--logo-color);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 30, 59, 0.3);
}

.booking-widget #home-calendar-container,
.booking-widget #home-calendar-modal-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.booking-widget .price-summary {
    margin-top: 1.5rem;
}

.booking-widget-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.booking-widget-button:hover {
    background: var(--logo-color);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 30, 59, 0.3);
}

/* Large screens: 2-column layout — calendar left (2/3), sidebar right (1/3) */
@media (min-width: 1025px) {
    .booking-widget {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0 2rem;
        align-items: start;
    }

    .booking-dates-row {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0;
    }

    .booking-calendars-row {
        grid-column: 1;
        grid-row: 1 / 4;
        margin-bottom: 0;
    }

    .booking-rules-row {
        grid-column: 2;
        grid-row: 2;
        margin-bottom: 0;
    }

    .booking-widget #home-price-summary.price-summary,
    .booking-widget .price-summary {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
    }
}

/* Calendar Modal (Mobile) */
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow-y: auto;
}

.calendar-modal.active {
    display: block;
}

.calendar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.calendar-modal-content {
    position: relative;
    background: var(--white);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 2001;
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.calendar-modal-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.calendar-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
    border-radius: 8px;
}

.calendar-modal-close:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.calendar-modal-body {
    padding: 2rem;
    flex: 1;
}

.calendar-modal-body .calendar-rules {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.calendar-modal-body .calendar-legend {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .booking-widget-section {
        padding: 2rem 1rem;
    }
    
    /* Stack date inputs vertically on mobile */
    .booking-dates-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Stack calendar months vertically on mobile */
    .booking-calendars-row .calendar-months-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .booking-calendars-row .availability-calendar {
        padding: 1rem;
    }
    
    .booking-widget #home-calendar-container {
        width: 100%;
        max-width: 100%;
    }
    
    .calendar-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .calendar-modal-body {
        padding: 1.5rem;
    }
    
    .calendar-modal-body #home-calendar-modal-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

/* Reviews Section */
.reviews-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--bg-color);
}

.reviews-container {
    width: 100%;
}

.reviews-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.review-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.review-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Floor Plan Section */
.floor-plan-section {
    width: 100%;
    padding: 3rem 2rem;
    background: var(--white);
}

.floor-plan-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.floor-plan-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

.floor-plan-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.floor-plan-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
}

.floor-plan-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.floor-plan-label {
    padding: 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--bg-color);
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.floor-plan-details {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.floor-plan-details h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.floor-plan-list {
    list-style: none;
    padding: 0;
}

.floor-plan-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 2;
    color: var(--text-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.floor-plan-list li:last-child {
    border-bottom: none;
}

.floor-plan-list li strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Things to Do Section */
.things-to-do-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--bg-color);
}

.things-to-do-container {
    width: 100%;
}

.things-to-do-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.things-to-do-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.things-to-do-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.things-to-do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.things-to-do-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.things-to-do-item:hover {
    transform: translateY(-4px);
}

.things-to-do-item:hover .things-to-do-image-wrapper {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.things-to-do-item:hover .things-to-do-item-title {
    color: var(--primary-color);
}

.things-to-do-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    background: var(--white);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.things-to-do-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.things-to-do-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Inter', sans-serif;
    text-align: center;
    padding: 2rem;
    background: var(--bg-color);
}

.things-to-do-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.things-to-do-item-title {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin: 0;
    transition: var(--transition);
}

.things-to-do-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.things-to-do-link {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
    padding: 0.5rem 1rem;
}

.things-to-do-link:hover {
    color: var(--logo-color);
    transform: translateX(5px);
}

/* About section images - full width row above two-column block */
.about-section-images-section {
    width: 100%;
    padding: 2rem 2rem 3rem;
    background: var(--bg-color);
}
.about-section-images-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

/* About Extended Section: same width as other page containers (1400px) */
.about-extended-section {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem 2rem;
    background: var(--bg-color);
}

.about-house-facilities-title {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.about-property-details .floor-plan-title {
    margin-bottom: 1rem;
}

.about-extended-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 100%;
    align-items: start;
}

.about-extended-left {
    width: 100%;
    position: sticky;
    top: 2rem;
}

.about-extended-right {
    width: 100%;
}

.about-extended-container {
    max-width: 100%;
    margin: 0;
}

.about-extended-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-extended-content p {
    margin-bottom: 1.5rem;
}

/* About section images grid (left column: Ground floor, First floor, etc.) */
.about-section-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.about-section-images-grid.empty {
    display: block;
}

.about-section-images-grid .loading,
.about-section-images-empty {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    opacity: 0.9;
    padding: 1rem 0;
}

.about-section-image-slot {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 4/3;
    background: var(--bg-color);
}

.about-section-image-slot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-section-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-section-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .about-extended-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-extended-left {
        position: static;
    }
    
    .about-section-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section-images-section {
        padding: 2rem 1rem;
    }
    
    .about-extended-section {
        padding: 2rem 1rem;
    }
    
    .about-section-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Things to Do Content Pages */
.things-to-do-content-section {
    width: 100%;
    padding: 3rem 2rem;
    background: var(--white);
}

.things-to-do-content-container {
    max-width: 900px;
    margin: 0 auto;
}

.things-to-do-page-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.things-to-do-page-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.things-to-do-page-content p {
    margin-bottom: 1.5rem;
}

.things-to-do-page-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.things-to-do-page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.things-to-do-page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.things-to-do-page-content li strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .things-to-do-content-section {
        padding: 2rem 1rem;
    }
    
    .things-to-do-page-title {
        font-size: 2rem;
    }
    
    .things-to-do-page-content {
        font-size: 1rem;
    }
    
    .things-to-do-page-content h2 {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.footer-social:hover {
    opacity: 1;
}

.footer-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer payment / credit card logos */
.footer-payment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.footer-payment-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 34px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 4px;
}

.footer-payment-card svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Content Section */
.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.text-content {
    animation: fadeInUp 0.8s ease-out;
}

.property-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.property-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-link {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: underline;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.about-link:hover {
    color: var(--logo-color);
    opacity: 0.9;
    transform: translateX(5px);
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    height: 500px;
}

.map {
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container {
        height: 400px;
    }
    
    .property-title {
        font-size: 2rem;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .floor-plan-images-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1.5rem;
        position: relative;
    }
    
    .header.scrolled .header-container {
        padding: 0.25rem 1.5rem;
    }
    
    .logo {
        height: 100px;
        width: auto;
        max-width: 100px;
        object-fit: contain;
    }
    
    .header.scrolled .logo {
        height: 50px;
        width: auto;
        max-width: 50px;
    }
    
    .header {
        min-height: 120px;
    }
    
    .header.scrolled {
        min-height: 80px;
    }
    
    .nav {
        order: 1;
    }
    
    /* Hide social in header on mobile; they appear in the mobile menu */
    .social-media-container {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .instagram-icon {
        width: 32px;
        height: 32px;
    }
    
    .instagram-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .youtube-icon {
        width: 32px;
        height: 32px;
    }
    
    .youtube-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        display: flex;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: block;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        padding-left: 1rem;
        color: var(--primary-color);
    }
    
    /* Social links inside mobile menu (bottom of drawer) */
    .nav-social-mobile {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: auto;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    
    .nav-social-mobile a {
        color: var(--primary-color);
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-social-mobile a:hover {
        color: #E4405F;
    }
    
    .nav-social-mobile a.youtube-icon:hover {
        color: #FF0000;
    }
    
    .nav-social-mobile .instagram-icon svg,
    .nav-social-mobile .youtube-icon svg {
        width: 28px;
        height: 28px;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .hero-gallery {
        padding: 1rem;
    }
    
    /* Double hero height on mobile */
    .gallery-main {
        padding-bottom: 85%;
    }
    
    .gallery-controls {
        padding: 0 0.5rem;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-link {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .interior-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .facilities-section {
        padding: 2rem 1rem;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .facility-item {
        padding: 1.25rem 0.75rem;
    }
    
    .facility-icon {
        font-size: 2rem;
    }
    
    .facility-icon img {
        width: 44px;
        height: 44px;
    }
    
    .facility-name {
        font-size: 0.85rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .about-extended-section {
        padding: 2rem 1rem;
    }
    
    .about-extended-content {
        font-size: 1rem;
    }
    
    .property-title {
        font-size: 1.75rem;
    }
    
    .property-description {
        font-size: 1rem;
    }
    
    .reviews-section {
        padding: 2rem 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .floor-plan-section {
        padding: 2rem 1rem;
    }
    
    .floor-plan-images-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .things-to-do-section {
        padding: 2rem 1rem;
    }
    
    .things-to-do-intro {
        margin-bottom: 2rem;
    }
    
    .things-to-do-intro p {
        font-size: 1rem;
    }
    
    .things-to-do-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .things-to-do-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        min-height: 100px;
    }
    
    .header.scrolled {
        min-height: 70px;
    }
    
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .header.scrolled .header-container {
        padding: 0.25rem 1rem;
    }
    
    .logo {
        height: 80px;
        width: auto;
        max-width: 80px;
        object-fit: contain;
    }
    
    .header.scrolled .logo {
        height: 50px;
        width: auto;
        max-width: 50px;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
    
    .nav {
        width: 100%;
        right: -100%;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }
    
    .instagram-icon {
        width: 28px;
        height: 28px;
    }
    
    .instagram-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .youtube-icon {
        width: 28px;
        height: 28px;
    }
    
    .youtube-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .gallery-link {
        bottom: 1rem;
        right: 1rem;
    }
    
    .gallery-indicators {
        bottom: 1rem;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .facility-item {
        padding: 1rem 0.5rem;
    }
    
    .facility-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .facility-icon img {
        width: 35px;
        height: 35px;
    }
    
    .facility-name {
        font-size: 0.8rem;
    }
    
    .reviews-title,
    .floor-plan-title,
    .things-to-do-title {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .floor-plan-details {
        padding: 1.5rem;
    }
    
    .things-to-do-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .things-to-do-item-title {
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease-out;
}

.lightbox-caption {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-top: 1.5rem;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) translateY(-50%);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
}

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

/* Performance Optimizations */
.gallery-image,
.interior-image {
    will-change: transform;
}

/* Loading States */
.gallery-slide:not(.active) {
    pointer-events: none;
}

/* Hide Google Maps default close button since we're using a custom one */
.gm-ui-hover-effect {
    display: none !important;
}

