/* ============================================
   StayKerkini - Main Stylesheet
   Modern, Minimal, Spacious, Clean Design
   WCAG AA Compliant
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #222222;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   COLOR PALETTE
   ============================================ */

:root {
    --color-main: #0A5C6E;
    --color-green: #375536;
    --color-brown: #7F572C;
    --color-gold: #CDAB6B;
    --color-beige: #F5EFD7;
    --color-white: #FFFFFF;
    --color-black: #222222;
    
    /* Semantic colors */
    --color-text: #222222;
    --color-text-light: #555555;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5EFD7;
    
    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-base: 0.3s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover,
a:focus {
    color: var(--color-green);
}

strong {
    font-weight: 700;
}

/* ============================================
   LAYOUT
   ============================================ */

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

.section-padding {
    padding: var(--space-2xl) 0;
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-main);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

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

/* Focus styles for keyboard navigation */
*:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    font-weight: 400;
    font-size: 1.125rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-main);
}

.nav-link.active {
    color: var(--color-main);
    font-weight: 700;
}

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

/* ============================================
   DROPDOWN MENU
   ============================================ */

/* Nav item with dropdown */
.nav-item.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Dropdown toggle button (chevron) */
.dropdown-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--color-text);
    transition: transform var(--transition-base), color var(--transition-base);
    display: flex;
    align-items: center;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    color: var(--color-main);
}

.has-dropdown:hover .dropdown-toggle,
.has-dropdown.open .dropdown-toggle {
    color: var(--color-main);
}

.has-dropdown.open .dropdown-toggle {
    transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 1001;
}

/* Show dropdown on hover (desktop) */
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown links */
.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text);
    font-size: 1rem;
    transition: background var(--transition-base), color var(--transition-base);
}

.dropdown-link:hover,
.dropdown-link:focus {
    background: var(--color-beige);
    color: var(--color-main);
}

/* Disabled dropdown link (Coming Soon) */
.dropdown-link--disabled {
    color: var(--color-text-light);
    cursor: default;
    position: relative;
}

.dropdown-link--disabled::after {
    content: " (Coming Soon)";
    font-size: 0.75rem;
    color: var(--color-gold);
}

.dropdown-link--disabled:hover {
    background: transparent;
    color: var(--color-text-light);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color var(--transition-base);
}

.lang-btn:hover,
.lang-btn:focus {
    color: var(--color-main);
}

.lang-btn.active {
    color: var(--color-main);
    font-weight: 700;
}

.lang-divider {
    color: var(--color-text-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    position: absolute;
    width: 26px;
    height: 2px;
    background: var(--color-main);
    transition: transform var(--transition-base), opacity var(--transition-base), top var(--transition-base);
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
    top: 13px;
}

.hamburger-line:nth-child(2) {
    top: 21px;
}

.hamburger-line:nth-child(3) {
    top: 29px;
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 102px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
        overflow-y: auto;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        top: 21px;
        transform: translateX(-50%) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        top: 21px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* Mobile dropdown adjustments */
    .nav-item.has-dropdown {
        flex-direction: column;
        width: 100%;
    }

    .nav-item.has-dropdown > .nav-link {
        width: auto;
    }

    /* Hide dropdown toggle on mobile - always show items */
    .dropdown-toggle {
        display: none;
    }

    /* Mobile dropdown - always visible */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        min-width: 100%;
        max-height: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0.5rem 0;
        background: var(--color-bg-light);
        border-radius: 0;
    }

    /* Override hover states for mobile */
    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-link {
        padding: 0.75rem 2rem;
        text-align: center;
        font-size: 0.95rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #7f572c87, #7f572c);
    z-index: 2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-title {
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-brown);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-main);
    color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-green);
    color: var(--color-white);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.bg-light {
    background: var(--color-bg-light);
}

.section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.section-title.centered {
    text-align: center;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 800px;
}

.section-intro.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.intro-section {
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* Justified text for all paragraphs site-wide */
p {
    text-align: justify;
}

/* Desktop: Center-align text instead of justify */
@media (min-width: 769px) {
    p {
        text-align: center;
    }

    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }

    .section-title {
        text-align: center;
    }

    .page-header .page-title,
    .page-header .page-intro,
    .page-header p {
        text-align: center;
    }

    .feature-content h2,
    .feature-content p {
        text-align: center;
    }

    .property-description p,
    .about-text p,
    .intro-text,
    .lead-text {
        text-align: center;
    }
}

/* Intro Image Banner */
.intro-image-banner {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-image-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-image-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .intro-image-banner {
        margin-top: 2rem;
        padding: 0 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-image-banner {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   IMAGE MARQUEE
   ============================================ */

.image-marquee {
    width: 100%;
    overflow: hidden;
    margin: var(--space-lg) 0;
    position: relative;
    /* Fade edges for smooth appearance */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
}

.image-marquee__track {
    display: flex;
    gap: var(--space-sm);
    width: max-content;
    animation: marquee-scroll 80s linear infinite;
}

/* Pause animation on hover */
.image-marquee:hover .image-marquee__track,
.image-marquee:focus-within .image-marquee__track {
    animation-play-state: paused;
}

/* Pause when lightbox is open */
body.marquee-lightbox-open .image-marquee__track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.image-marquee__item {
    flex-shrink: 0;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.image-marquee__item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.image-marquee__item:focus {
    outline: none;
}

.image-marquee__item:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
    transform: scale(1.05);
}

.image-marquee__item img {
    height: 150px;
    width: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive: Smaller images on tablet */
@media (max-width: 768px) {
    .image-marquee__item img {
        height: 120px;
    }

    .image-marquee__track {
        gap: var(--space-xs);
        animation-duration: 60s;
    }
}

/* Responsive: Smaller images on mobile */
@media (max-width: 480px) {
    .image-marquee__item img {
        height: 100px;
    }

    .image-marquee__track {
        animation-duration: 50s;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .image-marquee__track {
        animation: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: var(--space-sm);
    }

    .image-marquee__item {
        scroll-snap-align: start;
    }

    .image-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ============================================
   MARQUEE LIGHTBOX (Close Only)
   ============================================ */

.marquee-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.marquee-lightbox[aria-hidden="false"],
.marquee-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.marquee-lightbox__container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-lightbox__image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-lightbox.active .marquee-lightbox__image {
    opacity: 1;
    transform: scale(1);
}

.marquee-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
    color: white;
}

.marquee-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.marquee-lightbox__close:focus {
    outline: none;
}

.marquee-lightbox__close:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.marquee-lightbox__close svg {
    width: 24px;
    height: 24px;
}

/* Lightbox responsive */
@media (max-width: 768px) {
    .marquee-lightbox__close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }

    .marquee-lightbox__image {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Body scroll lock when marquee lightbox is open */
body.marquee-lightbox-open {
    overflow: hidden;
}

/* Reduced motion for lightbox */
@media (prefers-reduced-motion: reduce) {
    .marquee-lightbox,
    .marquee-lightbox__image {
        transition: none;
    }
}

/* ============================================
   FEATURE HIGHLIGHTS
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-main);
    border-radius: 50%;
    color: var(--color-white);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    color: var(--color-main);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

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

/* ============================================
   PROPERTIES GRID
   ============================================ */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.property-preview {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.property-preview:hover,
.property-preview:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.property-image {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.property-info {
    padding: 2rem;
}

.property-title {
    color: var(--color-main);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.property-summary {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ============================================
   PROPERTY SINGLE PAGE
   ============================================ */

.breadcrumb {
    background: var(--color-bg-light);
    padding: 1rem 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--color-text-light);
}

.breadcrumb-list a {
    color: var(--color-main);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--color-text-light);
}

.property-single {
    background: var(--color-white);
    padding-top: var(--space-lg);
}

.property-header {
    text-align: center;
    margin-bottom: 3rem;
}

.property-title-large {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-main);
    margin-bottom: 1rem;
}

.property-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.property-registry {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #777777;
    margin-bottom: 0;
    text-align: center;
}

.property-gallery {
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-main {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-main {
        grid-column: span 1;
    }
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.property-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 968px) {
    .property-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.property-description h2 {
    margin-bottom: 1.5rem;
}

.property-description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

.property-features h2 {
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-beige);
}

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

.features-list strong {
    display: block;
    color: var(--color-main);
    margin-bottom: 0.25rem;
}

.property-cta {
    text-align: center;
    padding: 3rem;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.property-cta h2 {
    margin-bottom: 1rem;
}

.property-cta p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* ============================================
   ACCOMMODATION LIST PAGE
   ============================================ */

.page-header {
    text-align: center;
    background: var(--color-bg-light);
}

/* Page Header with Background Image */
.page-header.has-bg-image {
    position: relative;
    background: none;
    overflow: hidden;
}

.page-header.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}

/* Page-specific hero backgrounds */
.page-header.bg-location::before {
    background-image: url('../../img/location-hero.jpg');
}

.page-header.bg-accommodation::before {
    background-image: url('../../img/diamoni-hero.jpg');
}

.page-header.bg-about::before {
    background-image: url('../../img/about-us-hero.jpg');
}

.page-header.bg-contact::before {
    background-image: url('../../img/contact-hero.jpg');
}

.page-header.bg-rates::before {
    background-image: url('../../img/prices-hero.jpg');
}

.page-header.has-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 92, 110, 0.15), rgba(10, 92, 110, 0.25));
    z-index: 1;
}

.page-header.has-bg-image .container {
    position: relative;
    z-index: 2;
}

.page-header.has-bg-image .page-title,
.page-header.has-bg-image .page-intro {
    color: var(--color-text);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.page-intro {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

.properties-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Property Card - Base Styles */
.property-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Vertical Cards (Homepage - properties-grid) */
.properties-grid .property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.properties-grid .property-card:hover .property-image-large img {
    transform: scale(1.05);
}

/* Horizontal Cards (Accommodation - properties-list) */
.properties-list .property-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 0;
    padding-bottom: 24px;
}

.properties-list .property-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.properties-list .property-card:hover .property-image-large img {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .properties-list .property-card {
        grid-template-columns: 1fr;
    }

    .properties-list .property-details {
        padding: 0 1.5rem 1.5rem;
    }
}

.property-image-large {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 8px;
}

.property-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

/* Coming Soon Badge */
.property-image,
.property-image-large {
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(117, 145, 71, 0.9); /* Accent color with transparency */
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Disabled button state */
.btn-disabled,
.btn-disabled:hover,
.btn-disabled:focus {
    background-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Renovation Badge */
.renovation-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(180, 83, 9, 0.95);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Property Details - Vertical Cards (Homepage) */
.properties-grid .property-details {
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
}

.properties-grid .property-details h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.properties-grid .property-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* Property Details - Horizontal Cards (Accommodation) */
.properties-list .property-details {
    padding: 0 24px;
    text-align: center;
}

.properties-list .property-details h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.properties-list .property-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
}

/* ============================================
   LOCATION PAGE
   ============================================ */

.location-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.location-feature {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.location-feature:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.location-feature:nth-child(even) .feature-image {
    order: 2;
}

@media (max-width: 968px) {
    .location-feature,
    .location-feature:nth-child(even) {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .location-feature:nth-child(even) .feature-image {
        order: 0;
    }

    /* Reorder: h2 first, gallery second, paragraph third */
    .location-feature .feature-content {
        display: contents;
    }

    .location-feature .feature-content h2 {
        order: 1;
        margin-bottom: 0;
    }

    .location-feature .feature-gallery-grid {
        order: 2;
    }

    .location-feature .feature-content p {
        order: 3;
    }
}

.feature-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content h2 {
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* Feature Gallery Grid - 2x2 Layout */
.feature-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--color-bg-light);
    aspect-ratio: 4 / 3;
}

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

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

.gallery-item:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: -3px;
    z-index: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Alternating layout for even sections */
.location-feature:nth-child(even) .feature-gallery-grid {
    order: 2;
}

/* Feature Lightbox */
.feature-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feature-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.feature-lightbox__container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-lightbox__image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-lightbox.active .feature-lightbox__image {
    opacity: 1;
    transform: scale(1);
}

.feature-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.feature-lightbox__close:hover,
.feature-lightbox__close:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.feature-lightbox__close:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.feature-lightbox__close svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.feature-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.feature-lightbox__nav:hover,
.feature-lightbox__nav:focus {
    background: rgba(255, 255, 255, 0.2);
}

.feature-lightbox__nav:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.feature-lightbox__nav--prev {
    left: 1rem;
}

.feature-lightbox__nav--next {
    right: 1rem;
}

.feature-lightbox__nav svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.feature-lightbox__counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Lightbox responsive */
@media (max-width: 768px) {
    .feature-lightbox__close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
    }

    .feature-lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .feature-lightbox__nav--prev {
        left: 0.5rem;
    }

    .feature-lightbox__nav--next {
        right: 0.5rem;
    }

    .feature-lightbox__image {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Gallery fade-in animation on scroll */
.feature-gallery-grid {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-gallery-grid.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .gallery-item img,
    .feature-lightbox,
    .feature-lightbox__image,
    .feature-gallery-grid {
        transition: none;
    }

    .gallery-item:hover img,
    .gallery-item:focus img {
        transform: none;
    }
}

/* Body scroll lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

.alternative-tip {
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 3rem;
    margin-top: 4rem;
}

.tip-content {
    max-width: 900px;
    margin: 0 auto;
}

.tip-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--color-text);
    font-style: italic;
}

.tip-footer {
    font-style: normal;
    font-weight: 700;
    color: var(--color-main);
    margin-top: 2rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.about-cta h2 {
    margin-bottom: 2rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

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

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-method {
    background: var(--color-white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid rgba(10, 92, 110, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-method--link {
    text-decoration: none;
    cursor: pointer;
}

.contact-method--link:hover .contact-method__icon {
    background: var(--color-main);
    color: var(--color-white);
    transform: scale(1.1);
}

.contact-method--link:hover .contact-method__detail {
    color: var(--color-main);
}

.contact-method__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-main);
    transition: all var(--transition-base);
}

.contact-method__icon svg {
    width: 28px;
    height: 28px;
}

.contact-method__title {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: var(--color-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-method__detail {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    transition: color var(--transition-base);
}

.contact-method__social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.contact-method__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    background: var(--color-bg-light);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.contact-method__social-link:hover {
    background: var(--color-main);
    color: var(--color-white);
}

.contact-method__social-link svg {
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--color-beige);
    border-radius: 4px;
    background: var(--color-white);
    transition: border-color var(--transition-base);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--color-main);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

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

.footer-brand img {
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-beige);
    text-align: left;
}

.footer-heading {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: left;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--color-white);
    font-weight: 300;
    transition: color var(--transition-base);
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-gold);
}

.contact-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.contact-list a {
    color: var(--color-white);
    font-weight: 300;
}

.contact-list a:hover,
.contact-list a:focus {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-white);
    font-weight: 300;
}

.social-links a:hover,
.social-links a:focus {
    color: var(--color-gold);
}

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

.copyright,
.credits {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-beige);
    margin-bottom: 0.5rem;
    text-align: center;
}

.credits a {
    color: var(--color-gold);
    font-weight: 400;
}

.credits a:hover,
.credits a:focus {
    color: var(--color-white);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.centered {
    text-align: center;
}

.text-light {
    color: var(--color-text-light);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }

/* ============================================
   RESPONSIVE IMAGES
   ============================================ */

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

/* ============================================
   GALLERY - AIRBNB STYLE
   ============================================ */

/* Gallery Hero Grid */
.gallery-hero {
    position: relative;
    margin-bottom: 2rem;
}

.gallery-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.gallery-hero-main {
    grid-row: span 2;
}

.gallery-hero-item,
.gallery-hero-main {
    cursor: pointer;
    border: none;
    padding: 0;
    overflow: hidden;
    background: var(--color-bg-light);
}

.gallery-hero-item img,
.gallery-hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-hero-item:hover img,
.gallery-hero-main:hover img {
    transform: scale(1.05);
}

.gallery-hero-item:focus-visible,
.gallery-hero-main:focus-visible {
    outline: 3px solid var(--color-main);
    outline-offset: -3px;
}

/* Show All Photos Button */
.btn-show-all {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-show-all:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.btn-show-all:focus-visible {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}

.btn-show-all-icon {
    display: grid;
    grid-template-columns: repeat(2, 6px);
    grid-template-rows: repeat(2, 6px);
    gap: 2px;
}

.btn-show-all-icon span {
    background: currentColor;
    border-radius: 1px;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: 1000;
    overflow-y: auto;
    padding: 0;
}

.gallery-modal[hidden] {
    display: none;
}

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

.gallery-modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.gallery-modal-close {
    font-size: 1.5rem;
    background: var(--color-bg-light);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: background var(--transition-base), color var(--transition-base);
}

.gallery-modal-close:hover {
    background: var(--color-main);
    color: var(--color-white);
}

.gallery-modal-close:focus-visible {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}

.gallery-modal-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Room Sections */
.gallery-room-section {
    margin-bottom: 3rem;
}

.gallery-room-section:last-child {
    margin-bottom: 0;
}

.gallery-room-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-main);
    display: inline-block;
}

.gallery-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-room-item {
    aspect-ratio: 4 / 3;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-room-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-room-item:focus-visible {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}

.gallery-room-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 10;
    transition: opacity var(--transition-base);
    opacity: 0.7;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.lightbox-counter {
    color: white;
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Gallery Responsive */
@media (max-width: 968px) {
    .gallery-hero-grid {
        grid-template-columns: 1fr 1fr;
        aspect-ratio: 4 / 3;
    }

    .gallery-hero-main {
        grid-row: span 1;
        grid-column: span 2;
    }

    .gallery-hero-item:nth-child(n+4) {
        display: none;
    }

    .btn-show-all {
        bottom: 1rem;
        right: 1rem;
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .gallery-modal-header {
        padding: 1rem 1.5rem;
    }

    .gallery-modal-content {
        padding: 1.5rem;
    }

    .gallery-room-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .gallery-hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }

    .gallery-hero-main {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .gallery-hero-item {
        display: none;
    }

    .gallery-hero-item:nth-child(2) {
        display: block;
        aspect-ratio: 4 / 3;
    }

    .btn-show-all {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .gallery-room-section h3 {
        font-size: 1.25rem;
    }

    .gallery-room-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .gallery-room-item {
        border-radius: 4px;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .gallery-hero-item img,
    .gallery-hero-main img,
    .gallery-room-item {
        transition: none;
    }
}

/* Body scroll lock when modal/lightbox open */
body.gallery-open {
    overflow: hidden;
}

/* ============================================
   RATES TABLE & PRICING SECTIONS
   ============================================ */

.property-rates {
    margin-top: 4rem;
    padding-top: 0;
}

.property-rates h2 {
    margin-bottom: 1rem;
}

.rates-intro {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    max-width: 700px;
}

.rates-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rates-table thead {
    background: var(--color-main);
    color: var(--color-white);
}

.rates-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rates-table tbody tr {
    border-bottom: 1px solid var(--color-beige);
    transition: background var(--transition-base);
}

.rates-table tbody tr:last-child {
    border-bottom: none;
}

.rates-table tbody tr:hover {
    background: var(--color-bg-light);
}

.rates-table td {
    padding: 1.25rem 1.5rem;
    font-size: 1.0625rem;
}

.rates-table .duration {
    font-weight: 700;
    color: var(--color-main);
}

.rates-table .price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text);
}

.rates-table .per-night {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

@media (max-width: 640px) {
    .rates-table th,
    .rates-table td {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .rates-table .price {
        font-size: 1rem;
    }
}

/* Rates Note */
.rates-note {
    background: rgba(180, 83, 9, 0.08);
    border-left: 4px solid var(--color-brown);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.rates-note p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
}

.rates-note strong {
    color: var(--color-brown);
}

/* Rates Highlights */
.rates-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.rates-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-text);
}

.rates-highlights .check-icon {
    color: var(--color-green);
    font-weight: 700;
    font-size: 1.125rem;
}

@media (max-width: 640px) {
    .rates-highlights {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Pricing Philosophy */
.pricing-philosophy {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.pricing-philosophy h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-main);
}

.pricing-philosophy p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.pricing-philosophy p:last-child {
    margin-bottom: 0;
}

.philosophy-emphasis {
    font-weight: 700;
    font-style: italic;
    color: var(--color-main);
}

/* Ideal For Section */
/* Property Notice */
.property-notice {
    background: rgba(180, 83, 9, 0.08);
    border-left: 4px solid var(--color-brown);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.property-notice p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
}

.property-notice strong {
    color: var(--color-brown);
}

/* Final Note Section */
.property-final-note {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(205, 171, 107, 0.15) 100%);
    border-radius: 8px;
    border: 1px solid var(--color-beige);
}

.property-final-note h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-main);
}

.property-final-note p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.property-final-note p:last-child {
    margin-bottom: 0;
}

/* ============================================
   AMENITIES SECTION
   ============================================ */

.amenities-section {
    background: var(--color-brown);
    padding: var(--space-2xl) 0;
    margin-top: 4rem;
    border-radius: 8px;
}

.amenities-section .container {
    max-width: 1400px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

.amenities-category {
    color: var(--color-beige);
}

.amenities-category h3 {
    color: var(--color-beige);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(245, 239, 215, 0.3);
    text-align: left;
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenities-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    color: var(--color-beige);
    line-height: 1.4;
}

.amenities-list li:last-child {
    margin-bottom: 0;
}

.amenity-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-beige);
}

.amenities-note {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 239, 215, 0.2);
}

.amenities-note p {
    color: var(--color-beige);
    font-style: italic;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ============================================
   FOOTER MOBILE STYLES
   ============================================ */

@media (max-width: 768px) {
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-tagline {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .contact-list {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .site-header,
    .site-footer,
    .skip-link,
    .mobile-menu-toggle,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000;
    }
}

