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

:root {
    --color-primary: #72a4ce;
    --color-secondary: #6f8a52;
    --color-accent: #caa46a;
    --color-light: #f6f1e8;
    --color-dark: #3d342c;
    --color-text: #443b33;
    --color-border: #d8cfc1;
    --color-stone: #ece4d6;
    --color-stone-deep: #e2d8c7;
    --color-wood: #8a6a4d;
    --shadow: 0 6px 18px rgba(61, 52, 44, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.4) 0 4px, transparent 4px),
        radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.25) 0 3px, transparent 3px),
        linear-gradient(180deg, #f1e8da 0%, #e5d9c8 100%);
    background-size: 120px 120px, 140px 140px, 100% 100%;
}

body.landing-active {
    overflow: hidden;
}

.landing-screen {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.landing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 24, 20, 0.4);
}

.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
}

.landing-logo {
    width: 680px;
    max-width: 82vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    color: #ffffff;
    opacity: 0.9;
    z-index: 2;
    animation: landing-bounce 1.6s ease-in-out infinite;
}

@keyframes landing-bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

h1,
h2,
h3,
.logo {
    font-family: Georgia, 'Times New Roman', serif;
}

::selection {
    background: rgba(114, 164, 206, 0.35);
    color: #2f2a24;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: #f8f3ea;
    box-shadow: 0 6px 20px rgba(61, 52, 44, 0.2), 0 3px 8px rgba(61, 52, 44, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-primary);
}

.header::before {
    content: '';
    display: block;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #5f8fb8 0,
        #5f8fb8 16px,
        #72a4ce 16px,
        #72a4ce 32px
    );
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    line-height: 1.1;
}

.logo-main {
    font-weight: bold;
    color: var(--color-primary);
}

.logo-subtitle {
    display: block;
    font-weight: 300;
    color: var(--color-text);
    font-size: 0.7em;
    opacity: 0.85;
    margin-top: 0.05rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
}

.nav-links a:hover {
    color: var(--color-primary);
    background: rgba(114, 164, 206, 0.12);
}

/* Gallery */
.hero {
    padding: 2.5rem 0 2rem;
}

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

.gallery-main {
    background: var(--color-stone);
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border: 0;
    box-shadow: 0 14px 24px rgba(61, 52, 44, 0.16);
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 1rem;
}

.gallery-nav-next {
    right: 1rem;
}

/* Gallery thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Modern scrollbar styling */
.gallery-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(68, 59, 51, 0.08);
    border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
    transition: background 0.3s ease;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1e3f5a, #52a741);
}

/* Firefox scrollbar */
.gallery-thumbnails {
    scrollbar-color: linear-gradient(180deg, var(--color-primary), var(--color-secondary)) rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
}

.thumbnail {
    width: 150px;
    height: 100px;
    min-width: 150px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #e9ddcd;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    position: relative;
}

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

.thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: 0;
    pointer-events: none;
}

.thumbnail:hover::after,
.thumbnail.active::after {
    background: rgba(0, 0, 0, 0.15);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-primary);
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(114, 164, 206, 0.35);
}

/* Main Content Grid */
.infos {
    padding: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.info-col-main h1 {
    font-size: 2.5rem;
    color: #5d4f43;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.intro-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.intro-logo {
    width: 560px;
    max-width: 70vw;
    height: auto;
    display: block;
}

.description {
    font-size: 1.1rem;
    color: #5d544b;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.description-list {
    margin-bottom: 2rem;
}

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

/* Features & Amenities */
.characteristics,
.amenities {
    margin-bottom: 2rem;
}

.characteristics h2,
.amenities h2 {
    font-size: 1.5rem;
    color: #5d4f43;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

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

.amenities-grid {
    grid-auto-flow: row dense;
}

.feature-item,
.amenity-item {
    padding: 1rem;
    background: linear-gradient(180deg, #fcf8f1 0%, #f3ebdf 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 10px rgba(61, 52, 44, 0.08);
}

.item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.item-label {
    font-weight: 500;
}

.item-note {
    margin-top: 0.08rem;
    font-size: 0.84rem;
    font-style: italic;
    color: #6a6057;
}

.feature-item::before,
.amenity-item::before {
    content: "✓";
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sidebar */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card,
.location-card,
.contact-card {
    background: #fcfaf6;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.pricing-card::before,
.location-card::before,
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #5f8fb8 0%, #72a4ce 55%, #8bb7db 100%);
}

.pricing-card h3,
.location-card h3,
.contact-card h3 {
    color: #5d4f43;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.pricing-card p {
    font-size: 1rem;
    color: #5d544b;
    font-weight: 500;
    margin-bottom: 0.45rem;
}

.pricing-min-stay {
    font-size: 0.86rem !important;
    font-weight: 400 !important;
    color: #6a6057 !important;
    font-style: italic;
    margin-bottom: 0.7rem !important;
}

.pricing-subtitle {
    color: var(--color-primary) !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    margin-top: 0.55rem !important;
    margin-bottom: 0.4rem !important;
}

.pricing-week-note {
    font-size: 0.86rem !important;
    color: #6a6057 !important;
    font-style: italic;
    margin-bottom: 0.45rem !important;
}

.pricing-disclaimer {
    font-size: 0.8rem !important;
    color: #8a7f75 !important;
    font-weight: 400 !important;
    font-style: italic;
    margin-top: 0.5rem !important;
    margin-bottom: 0.8rem !important;
}

.btn-with-note {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    padding: 0.5rem 1.2rem 0.4rem !important;
}

.btn-main-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-note-text {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.85;
    font-style: italic;
    line-height: 1.2;
}

.location-card p,
.contact-card p {
    margin-bottom: 0.5rem;
}

.gite-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem !important;
}

.gite-badge {
    display: inline-block;
    background: #efe4d5;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    color: #5d4f43;
    font-size: 0.9rem;
    font-weight: 700;
}

.location-mini-map {
    width: 100%;
    height: 170px;
    border: 0;
    border-radius: 6px;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(180deg, #7caed7 0%, #5f8fb8 100%);
    color: white;
    border: 1px solid #5a8aaf;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #88b9e0 0%, #6799c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(114, 164, 206, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: #f0f7fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(114, 164, 206, 0.2);
}

/* House */
.house-inline {
    margin-bottom: 2rem;
}

.house-inline h2 {
    font-size: 1.5rem;
    color: #5d4f43;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.house-stats-text {
    margin-bottom: 1rem;
    color: #5d544b;
}

.house-stat-inline {
    display: inline;
    font-size: 0.98rem;
}

.house-stat-inline strong {
    color: #5f8fb8;
}

.house-rooms-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
}

.house-room-text-item {
    background: linear-gradient(180deg, #fcf8f1 0%, #f3ebdf 100%);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(61, 52, 44, 0.08);
    padding: 0.55rem 0.7rem;
    color: #5d544b;
}

.house-room-text-title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #5d4f43;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.house-room-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.house-room-beds {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.house-room-beds li {
    margin-bottom: 0.2rem;
    color: #5d544b;
    font-size: 0.92rem;
}

.house-bed-size {
    color: #6a6057;
}

.house-room-note {
    margin-top: 0.3rem;
    font-size: 0.88rem;
    font-style: italic;
    color: #6a6057;
}

/* Video Section */
.video-section {
    padding: 2rem 0;
    margin: 2rem 0;
}

.video-container {
    width: 100%;
    max-width: 100%;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Reviews */
.reviews {
    padding: 3rem 0;
    background: #f7f1e7;
    margin: 2rem 0;
    border-radius: 8px;
    padding: 3rem 2rem;
    border: 1px solid var(--color-border);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.reviews h2 {
    font-size: 2rem;
    color: #5d4f43;
    margin-bottom: 2rem;
}

.avg-rating {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rating-score {
    font-size: 3rem;
    font-weight: bold;
    color: #5f8fb8;
}

.rating-stars {
    font-size: 1.5rem;
}

#reviewCount {
    color: #666;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.9rem;
}

.review-card {
    background: #fffdf9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--color-primary);
    border-top: 1px solid #efe4d5;
}

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

.review-author {
    font-weight: bold;
    color: #5d4f43;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-rating {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.review-text {
    color: #666;
    line-height: 1.45;
    font-size: 0.95rem;
    white-space: pre-line;
}

.review-toggle {
    margin-top: 0.35rem;
    border: none;
    background: transparent;
    color: #5f8fb8;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

/* Contact (Owner) */
.host-contact {
    padding: 3rem 0;
    margin: 2rem 0;
}

.host-contact h2 {
    font-size: 2rem;
    color: #5d4f43;
    margin-bottom: 1.5rem;
}

.host-contact-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.host-contact-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(61, 52, 44, 0.18);
    flex-shrink: 0;
}

.host-contact-content {
    flex: 1;
    background: #f7f1e7;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(61, 52, 44, 0.08);
}

.host-contact-text {
    color: #5d544b;
}

.owner-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.host-contact-text p + p {
    margin-top: 0.8rem;
}

.owner-message {
    font-size: 0.94rem;
    line-height: 1.4;
    margin-top: 0.45rem !important;
}

.owner-contact-lines {
    font-size: 0.95rem;
    margin-top: 0.55rem !important;
}

.host-contact-text a {
    color: #5f8fb8;
    text-decoration: none;
}

.host-contact-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    padding: 3rem 2rem;
    background: linear-gradient(180deg, #fdfbf7 0%, #f6efe4 100%);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    color: #5d4f43;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d5cab9;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fffdf9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(114, 164, 206, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #4b4036 0%, #3a322b 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 4px solid var(--color-primary);
}

.footer-logo {
    width: 560px;
    max-width: 70vw;
    height: auto;
    display: block;
    margin: 0 auto 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-col-main h1 {
        font-size: 1.8rem;
    }

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

    .gallery-thumbnails {
        max-width: 100%;
    }

    #thumbnails {
        max-width: 100%;
    }

    .avg-rating {
        flex-direction: column;
        align-items: flex-start;
    }

    .host-contact-content {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-col-main h1 {
        font-size: 1.5rem;
    }

    .characteristics h2,
    .amenities h2 {
        font-size: 1.2rem;
    }

    .house-inline h2 {
        font-size: 1.2rem;
    }

    .host-contact {
        padding: 2rem 1.2rem;
    }

    .host-contact h2 {
        font-size: 1.6rem;
    }

    .host-contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .owner-name {
        font-size: 1.2rem;
    }

    .host-contact-photo {
        width: 130px;
        height: 130px;
    }

    .btn {
        padding: 0.6rem 1.5rem;
    }
}
