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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    height: 100vh;
    background: radial-gradient(circle at top, rgba(0,0,0,0.45), transparent 55%), #111;
}


body:has(.detail-page:not(:has(.story-image))) {
    overflow-y: hidden;
}


.page-fade {
    opacity: 0;
    transform: translateY(10px);
}

.page-loaded .page-fade {
    animation: pageFadeIn 700ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    position: relative;
    z-index: 10002;
}

.navbar-brand-link {
    text-decoration: none;
}

.navbar-logo {
    height: 54px;
    width: auto;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: -14px; /* pull text a bit closer to the logo */
}

.navbar-brand-line {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar:has(.language-selector-wrapper.active) .navbar-center {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.navbar-right {
    width: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.language-selector-wrapper {
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

.language-selector-button {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 0;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}

.language-selector-button:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.language-selector-text {
    display: inline-block;
}

.language-selector-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.language-selector-wrapper.active .language-selector-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.language-option {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 0;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
}

.language-selector-wrapper.active .language-option {
    opacity: 1;
    transform: translateX(0);
}

.language-option[data-lang-selected="true"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.language-selector-wrapper.active .language-option:nth-child(1) {
    transition-delay: 0.05s;
}

.language-selector-wrapper.active .language-option:nth-child(2) {
    transition-delay: 0.1s;
}

.language-selector-wrapper.active .language-option:nth-child(3) {
    transition-delay: 0.15s;
}

.language-selector-wrapper.active .language-option:nth-child(4) {
    transition-delay: 0.2s;
}

.language-selector-wrapper.active .language-option:nth-child(5) {
    transition-delay: 0.25s;
}

.language-selector-wrapper.active .language-option:nth-child(6) {
    transition-delay: 0.3s;
}

.language-option:hover {
    color: rgba(255, 255, 255, 0.9);
}

.language-option[data-lang-selected="true"] {
    display: none;
}

.nav-link {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar:has(.language-selector-wrapper.active) .nav-link {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Hamburger Menu Button */
.hamburger-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 7px;
    z-index: 10002;
    margin-left: auto;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger-menu-button.active .hamburger-line:nth-child(2) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger-menu-button.active .hamburger-line:nth-child(3) {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: #0a0a0a;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 0;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mobile-menu-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-link {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 24px;
    transition: color 0.2s ease;
    text-align: center;
    width: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-language-selector-wrapper {
    position: relative;
    width: 100%;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-language-selector-button {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 0;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}

.mobile-language-selector-button:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.mobile-language-selector-text {
    display: inline-block;
}

.mobile-language-selector-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
    pointer-events: none;
}

.mobile-language-selector-wrapper.active .mobile-language-selector-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    margin-top: 12px;
    pointer-events: auto;
}

.mobile-language-option {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 0;
    cursor: pointer;
    text-align: center;
    outline: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-language-selector-wrapper.active .mobile-language-option {
    opacity: 1;
    transform: translateY(0);
}

.mobile-language-selector-wrapper.active .mobile-language-option:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-language-selector-wrapper.active .mobile-language-option:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-language-selector-wrapper.active .mobile-language-option:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-language-selector-wrapper.active .mobile-language-option:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-language-selector-wrapper.active .mobile-language-option:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-language-selector-wrapper.active .mobile-language-option:nth-child(6) {
    transition-delay: 0.3s;
}

.mobile-language-option:hover {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

body.menu-open {
    overflow: hidden;
}

/* Properties Container */
.properties-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.properties-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 1; /* above cards, below navbar (which is 1000) */
    pointer-events: none;
}

.page-loaded .properties-container .property-card {
    animation: cardFadeIn 700ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-loaded .properties-container .property-card:nth-child(1) {
    animation-delay: 120ms;
}

.page-loaded .properties-container .property-card:nth-child(2) {
    animation-delay: 220ms;
}

.page-loaded .properties-container .property-card:nth-child(3) {
    animation-delay: 320ms;
}

/* Disable animations on mobile/tablet for card content */
@media (max-width: 1024px) {
    .page-loaded .properties-container .property-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Home Image Wrapper (for mobile) */
.home-image-wrapper {
    display: none;
}

/* Properties List Wrapper */
.properties-list {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Property Card */
.property-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;                /* start hidden to avoid initial flash */
    transform: translateY(14px);
    text-decoration: none;
    color: inherit;
}

.property-card:visited,
.property-card:link,
.property-card:hover,
.property-card:active,
.property-card:focus {
    text-decoration: none;
    border-bottom: none;
    outline: none;
}

.property-card:hover {
    z-index: 10;
}

.property-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Property Card Content (for mobile/tablet) - hidden on desktop */
.property-card-content {
    display: none;
}

/* Home Properties Title - hidden by default, shown only on mobile/tablet */
.home-properties-title {
    display: none;
}

/* Ensure it's hidden on desktop */
@media (min-width: 1025px) {
    .home-properties-title {
        display: none !important;
    }
}

/* Property Overlay (for desktop) - always visible on desktop */
@media (min-width: 1025px) {
    .property-card-content {
        display: none !important;
    }
    
    .property-overlay {
        display: flex;
    }
}

/* Property Overlay (for desktop) */
.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.property-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 80%;
    text-align: center;
}

.property-card:hover .property-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.property-name {
    color: white;
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.property-card:hover .property-name {
    opacity: 1;
    transform: translateY(0);
}

.property-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
    max-width: 32rem;
    margin: 0;
}

.property-card:hover .property-description {
    opacity: 1;
    transform: translateY(0);
}

.property-location {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.read-more {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    position: relative;
    cursor: pointer;
}

.property-card:hover .read-more {
    opacity: 1;
    transform: translateY(0);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.property-card:hover .read-more::after {
    width: 100%;
}

/* Property detail pages */
.detail-page {
    padding-top: 0;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(0,0,0,0.45), transparent 55%), #111;
}

.detail-page:has(.story-image) {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.page-loaded .detail-layout {
    animation: contentFadeIn 720ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-loaded .detail-title {
    animation: titleFadeIn 680ms cubic-bezier(0.4, 0, 0.2, 1) 120ms forwards;
}

.page-loaded .detail-lead {
    animation: contentFadeIn 680ms cubic-bezier(0.4, 0, 0.2, 1) 200ms forwards;
}

.page-loaded .detail-amenities {
    animation: contentFadeIn 680ms cubic-bezier(0.4, 0, 0.2, 1) 260ms forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-layout {
    display: flex;
    width: 100%;
    padding: 0;
    gap: 32px;
    align-items: stretch;
    flex-direction: row; /* image left, text/icons right */
    opacity: 0;                 /* base state to avoid flash */
    transform: translateY(10px);
}

.detail-image-wrapper {
    flex: 0 0 33.333vw; /* match approx width of one card on home */
    max-width: 33.333vw;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.detail-image-wrapper:has(.page-logo-wrapper) {
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    background-image: url('Assets/Bodrum.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.detail-image-wrapper:has(.page-logo-wrapper)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.page-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.page-logo {
    height: 120px;
    width: auto;
}

.page-brand-text {
    display: none;
}

.page-brand-line {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.detail-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.contact-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.contact-image-wrapper .detail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-image-wrapper .page-logo-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.story-image {
    object-fit: contain;
    transform: scale(2.8);
    background: transparent;
}

.story-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

.story-brand-line {
    display: block;
    line-height: 1.2;
}

.detail-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
    gap: 18px;
    padding: 104px 0 24px 0; /* extra space under navbar for back link, title and icons */
    overflow-y: auto;
    height: 100vh;
    position: relative;
}

.detail-booking {
    flex: 0 0 280px;
    max-width: 320px;
    padding: 104px 40px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px; /* vertical gap between Airbnb and Qasa cards */
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

.detail-booking .detail-section-title {
    margin-bottom: 0;
}

.detail-booking .booking-card {
    margin-top: 6px;
    width: 100%;
}

@media (max-width: 767px) {
    .detail-booking .booking-card {
        width: 100%;
        max-width: 100%;
    }
}

    .detail-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.72rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        margin-bottom: 10px;
    }
    
    @media (max-width: 767px) {
        .detail-back {
            font-size: 0.65rem;
            margin-bottom: 16px;
        }
    }

.detail-back-arrow {
    width: 14px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.detail-back-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
}

.detail-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(12px);
}

.detail-location {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 8px;
}

.detail-lead {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(10px);
}

.detail-body {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.8);
}

.detail-amenities {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 10px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(10px);
}

@media (max-width: 767px) {
    .detail-amenities {
        margin-top: 0;
    }
}

    .detail-section-title {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 10px;
        margin-bottom: 0; /* combined with icon row margin-top to 12px total */
    }
    
    @media (max-width: 767px) {
        .detail-section-title {
            font-size: 0.65rem;
            margin-top: 24px;
            margin-bottom: 4px;
        }
    }

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 48px;
}

.detail-gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-amenities-secondary {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 10px;
    margin-top: 6px;
}

@media (max-width: 767px) {
    .detail-amenities-secondary {
        margin-top: 0;
    }
}

/* Booking / Airbnb card */
.booking-card {
    margin-top: 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 12px 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -8px;
    margin-bottom: -8px;
}

.booking-logo {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.booking-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.booking-brand {
    display: none; /* logos replace brand titles in header */
}

.booking-title {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.booking-calendar {
    margin-top: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 12px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    row-gap: 6px;
    column-gap: 4px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
}

.booking-calendar-day {
    text-align: center;
    opacity: 0.65;
}

.booking-calendar-date {
    text-align: center;
    padding: 2px 0;
    border-radius: 999px;
}

.booking-calendar-date--active {
    background: rgba(255, 255, 255, 0.15);
}

.booking-actions {
    margin-top: 4px;
    display: flex;
    justify-content: stretch;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px; /* soft pill that fits inside 24px card radius */
    border: none;
    cursor: pointer;
    background: #ff5a5f;
    color: white;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
}

.booking-button-logo {
    display: none; /* no logos inside buttons anymore */
}

.booking-button-text {
    display: inline-block;
}

/* booking-button-icon removed: buttons are text-only now */

.booking-card.booking-card--qasa {
    background: transparent;
}

.booking-card--qasa .booking-brand {
    letter-spacing: 0.18em;
}

/* Contact page */
.contact-title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0 0 32px 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .contact-title {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        display: block;
    }
}


.contact-lead {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.detail-page .contact-inner {
    max-width: 70%;
}

.story-inner {
    max-width: 75%;
}

.story-title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0 0 24px 0;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,3 C15,1 30,4 50,2 C65,0.5 80,3.5 100,2' stroke='rgba(255,255,255,0.6)' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.story-lead {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px 0;
}

.story-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
}

.story-logo-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin-top: 32px;
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.story-content {
    overflow-y: auto;
    height: 100vh;
    position: relative;
}

.scroll-indicator {
    position: absolute;
    bottom: 8px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-indicator-text {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.scroll-indicator-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

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

.story-section-title {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0 0 24px 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    display: inline-block;
    width: fit-content;
}

.story-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,1.8 Q25,4.2 40,1.2 Q55,0 70,2.8 Q85,4.5 100,1.5' stroke='rgba(255,255,255,0.6)' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.story-properties-title {
    margin-bottom: 56px;
}

.story-content .story-inner .story-properties-title {
    margin: 0 0 48px 0 !important;
}

.detail-content .story-properties-title {
    margin-bottom: 16px;
}

.story-property {
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    margin-bottom: 28px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.detail-content .story-property {
    margin-bottom: 8px;
}

.story-property:hover {
    opacity: 0.85;
}

.story-property-image {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.detail-content .story-property-image {
    width: 140px;
    height: 95px;
}

.story-property-content {
    flex: 1;
}

.story-property-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.95);
}

.story-property-location {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-card {
    background: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

.contact-input {
    background: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
}

.contact-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-family: inherit;
}

.contact-textarea {
    border-radius: 0;
    resize: vertical;
    min-height: 96px;
    font-family: inherit;
}

.contact-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.contact-button {
    border-radius: 999px;
    padding: 8px 20px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #111;
}


.amenity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.amenity-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.95);
    fill: none;
    stroke-width: 1.4;
}

.amenity-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.amenity-value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */

/* Tablet and Mobile - Hide desktop navbar elements */
@media (max-width: 1024px) {
    .navbar-center,
    .navbar-right {
        display: none;
    }
    
    .hamburger-menu-button {
        display: flex;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 768px) {
    .navbar-logo {
        height: 48px;
    }
    
    .navbar-brand-line {
        font-size: 0.6rem;
    }
    
    /* Home page - properties container for tablet */
    .properties-container {
        height: auto;
        min-height: 100vh;
        padding: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }
    
    .properties-container::before {
        display: none;
    }
    
    /* Home image wrapper with logo - match mobile */
    .home-image-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 40vh;
        min-height: 280px;
        padding: 60px 20px;
        background-image: url('Assets/Bodrum.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
    }
    
    .home-image-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.65);
        z-index: 1;
    }
    
    .home-image-wrapper .page-logo-wrapper {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .home-image-wrapper .page-logo {
        height: 120px;
        width: auto;
    }
    
    .home-image-wrapper .page-brand-text {
        display: none;
    }
    
    .properties-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 38px 20px 32px 20px;
    }
    
    /* Show home properties title on tablet */
    .home-properties-title {
        display: block;
        margin-bottom: 32px !important;
        width: fit-content;
    }
    
    .story-title {
        width: fit-content;
        display: inline-block;
    }
    
    .story-section-title {
        width: fit-content;
        display: inline-block;
    }
    
    .property-card {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        border-radius: 0;
        overflow: visible;
        opacity: 1;
        transform: none;
        background: transparent;
        margin-bottom: 32px;
    }
    
    .property-image {
        width: 100%;
        height: 200px;
        flex: 0 0 200px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
    }
    
    /* Show card content on tablet - use mobile style */
    .property-card-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        gap: 4px;
    }
    
    /* Hide overlay on tablet */
    .property-overlay {
        display: none;
    }
    
    .property-name {
        font-family: 'Dancing Script', cursive;
        font-size: 1.75rem;
        font-weight: 300;
        letter-spacing: 2px;
        margin: 0 0 4px 0;
        opacity: 1;
        transform: none;
        text-align: left;
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
        border-bottom: none;
    }
    
    .property-location {
        font-size: 0.85rem;
        text-decoration: none;
        border-bottom: none;
    }
    
    .property-description {
        font-size: 0.9rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.8);
        opacity: 1;
        transform: none;
        text-align: left;
        margin: 0;
        text-decoration: none;
        border-bottom: none;
    }
    
    .read-more {
        display: none !important; /* Hide read more on tablet to match mobile */
    }
    
    .property-card .read-more {
        display: none !important;
    }
    
    .property-card:visited,
    .property-card:link,
    .property-card:hover,
    .property-card:active,
    .property-card:focus {
        text-decoration: none;
        border-bottom: none;
        outline: none;
    }
    
    /* Detail pages layout - use mobile layout for tablet too */
    .detail-page {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        background: #0a0a0a;
    }
    
    body {
        background: #0a0a0a;
    }
    
    .detail-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .detail-image-wrapper {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: 40vh;
        min-height: 280px;
        position: relative;
        overflow: hidden;
    }
    
    .detail-image-wrapper:has(.page-logo-wrapper) {
        padding: 60px 20px;
        height: 40vh;
        min-height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .detail-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .detail-content {
        order: 2;
        flex: 1;
        padding: 36px 20px 32px 20px;
        height: auto;
        overflow-x: hidden;
        gap: 16px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    /* Hide booking section from its original position on tablet */
    .detail-layout > .detail-booking {
        display: none;
    }
    
    /* Booking section when moved inside detail-content after gallery */
    .detail-content .detail-booking {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        padding: 0;
        padding-bottom: 32px;
        margin-top: 0;
        height: auto;
        overflow: visible;
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: stretch;
    }
    
    .detail-content .detail-booking .detail-section-title {
        margin-top: 24px;
        margin-bottom: 4px;
        width: 100%;
        flex: 0 0 100%;
        order: -1;
    }
    
    .detail-content .detail-booking .booking-card {
        flex: 1 1 calc(50% - 5px) !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .detail-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 0;
    }
    
    .detail-gallery-image {
        height: 140px;
    }
    
    .story-inner,
    .detail-page .contact-inner {
        max-width: 100%;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    /* Body adjustments */
    body {
        overflow-x: hidden;
    }
    
    body:has(.detail-page:not(:has(.story-image))) {
        overflow-y: auto;
    }
    
    /* Navbar */
    .navbar {
        height: 56px;
        padding: 0 12px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .navbar-logo {
        height: 42px;
    }
    
    .navbar-brand-text {
        margin-left: -12px;
    }
    
    .navbar-brand-line {
        font-size: 0.58rem;
        letter-spacing: 1px;
    }
    
    .hamburger-menu-button {
        width: 24px;
        height: 24px;
        gap: 6px;
    }
    
    .hamburger-line {
        height: 1.5px;
    }
    
    /* Home page - properties container */
    .properties-container {
        height: auto;
        min-height: 100vh;
        padding: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }
    
    .properties-container::before {
        display: none;
    }
    
    /* Home image wrapper with logo - match story page */
    .home-image-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 40vh;
        min-height: 280px;
        padding: 60px 20px;
        background-image: url('Assets/Bodrum.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
    }
    
    .home-image-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.65);
        z-index: 1;
    }
    
    .home-image-wrapper .page-logo-wrapper {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .home-image-wrapper .page-logo {
        height: 120px;
        width: auto;
    }
    
    .home-image-wrapper .page-brand-text {
        display: none;
    }
    
    .properties-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 36px 20px 32px 20px;
    }
    
    /* Show home properties title on mobile */
    .home-properties-title {
        display: block;
        margin-bottom: 32px !important;
    }
    
    .property-card {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        border-radius: 0;
        overflow: visible;
        opacity: 1;
        transform: none;
        background: transparent;
        margin-bottom: 32px;
    }
    
    .property-image {
        width: 100%;
        height: 200px;
        flex: 0 0 200px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
    }
    
    /* Show card content on mobile - use story-property style */
    .property-card-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        gap: 4px;
    }
    
    /* Hide overlay on mobile */
    .property-overlay {
        display: none;
    }
    
    .property-name {
        font-family: 'Dancing Script', cursive;
        font-size: 1.75rem;
        font-weight: 300;
        letter-spacing: 2px;
        margin: 0 0 4px 0;
        opacity: 1;
        transform: none;
        text-align: left;
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
        border-bottom: none;
    }
    
    .property-location {
        font-size: 0.85rem;
        text-decoration: none;
        border-bottom: none;
    }
    
    .property-description {
        font-size: 0.9rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.8);
        opacity: 1;
        transform: none;
        text-align: left;
        margin: 0;
        text-decoration: none;
        border-bottom: none;
    }
    
    .read-more {
        display: none; /* Hide read more on mobile to match story page */
    }
    
    .property-card:visited,
    .property-card:link,
    .property-card:hover,
    .property-card:active,
    .property-card:focus {
        text-decoration: none;
        border-bottom: none;
        outline: none;
    }
    
    /* Detail pages layout */
    .detail-page {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        background: #0a0a0a;
    }
    
    body {
        background: #0a0a0a;
    }
    
    .detail-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .detail-image-wrapper {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: 40vh;
        min-height: 280px;
        position: relative;
        overflow: hidden;
    }
    
    .detail-image-wrapper:has(.page-logo-wrapper) {
        padding: 60px 20px;
        height: 40vh;
        min-height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .home-image-wrapper .page-logo-wrapper {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .home-image-wrapper .page-logo {
        height: 120px;
        width: auto;
    }
    
    .home-image-wrapper .page-brand-text {
        display: none;
    }
    
    .page-logo {
        height: 120px;
    }
    
    .page-brand-line {
        font-size: 0.85rem;
    }
    
    .page-brand-text {
        display: none;
    }
    
    .page-logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .detail-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .detail-content {
        order: 2;
        flex: 1;
        padding: 36px 20px 32px 20px;
        height: auto;
        overflow-x: hidden;
        gap: 16px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    /* Hide booking section from its original position on mobile */
    .detail-layout > .detail-booking {
        display: none;
    }
    
    /* Booking section when moved inside detail-content after gallery */
    .detail-content .detail-booking {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        padding: 0;
        padding-bottom: 32px;
        margin-top: 0;
        height: auto;
        overflow: visible;
        gap: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .detail-content .detail-booking .detail-section-title {
        margin-top: 24px;
        margin-bottom: 4px;
    }
    
    .detail-content .detail-booking .booking-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        flex: 1 1 100% !important;
    }
    
    
    .detail-title {
        font-size: 2.5rem;
    }
    
    .detail-location {
        font-size: 0.9rem;
    }
    
    .detail-lead {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .detail-body {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .detail-amenities {
        column-gap: 20px;
        row-gap: 12px;
    }
    
    .detail-amenities-secondary {
        column-gap: 20px;
        row-gap: 12px;
    }
    
    /* Adjust gallery for mobile - match spacing to amenities section */
    .detail-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 0;
    }
    
    .detail-gallery-image {
        height: 140px;
    }
    
    /* Story content */
    .story-content {
        height: auto;
        overflow: visible;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .story-inner,
    .detail-page .contact-inner {
        max-width: 100%;
    }
    
    .story-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
        width: fit-content;
        display: inline-block;
    }
    
    .story-section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        width: fit-content;
        display: inline-block;
    }
    
    .home-properties-title {
        width: fit-content;
        display: inline-block;
    }
    
    .story-content .story-inner .story-properties-title {
        margin-bottom: 32px !important;
    }
    
    .story-property {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
        align-items: flex-start;
    }
    
    .story-property-image {
        width: 100%;
        height: 200px;
    }
    
    .detail-content .story-property-image {
        width: 100%;
        height: 180px;
    }
    
    .story-property-title {
        font-size: 1.75rem;
    }
    
    .story-logo-image {
        max-width: 100%;
    }
    
    /* Contact page */
    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: block;
    }
    
    .contact-card {
        margin-top: 32px;
    }
    
    /* Booking cards */
    .booking-card {
        padding: 14px 16px 14px;
    }
    
    .booking-logo {
        width: 60px;
        height: 60px;
    }
    
    .booking-title {
        font-size: 0.8rem;
    }
    
    .booking-calendar {
        padding: 8px 10px;
        font-size: 0.55rem;
    }
    
    .booking-button {
        padding: 10px 14px;
        font-size: 0.65rem;
    }
    
    /* Amenities */
    .amenity-icon {
        width: 16px;
        height: 16px;
    }
    
    .amenity-label {
        font-size: 0.65rem;
    }
    
    .amenity-value {
        font-size: 0.85rem;
    }
    
}

