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

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
}

a { color: #5a8a7a; text-decoration: none; }
a:hover { color: #3d6b5c; }

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

/* Hero */
.hero-section {
    display: flex;
    flex-direction: column;
    padding-top: 48px; /* space for fixed nav */
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 450px;
    max-height: 650px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 20px;
    text-align: center;
}

.hero-logo {
    max-width: 400px;
    width: 70vw;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.hero-cta-bar {
    text-align: center;
    padding: 25px 20px;
    background: #c8d7d2;
}

/* Visually hidden but accessible to screen readers and search engines */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-book {
    display: inline-block;
    padding: 14px 40px;
    background: #5a8a7a;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #3d6b5c;
    color: #fff;
}

/* Welcome */
.welcome {
    padding: 80px 0;
    background: #3d4f4f;
    color: #ddd;
}

.welcome-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.welcome h2 {
    font-size: 2rem;
    color: #c8d7d2;
    margin-bottom: 20px;
}

.welcome p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.signoff {
    font-style: italic;
    color: #a8bdb5;
    margin-top: 10px;
}

.social-bar {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.social-bar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.social-bar img:hover {
    transform: scale(1.15);
}

.btn-contact {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #5a8a7a;
    color: #c8d7d2;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #5a8a7a;
    color: #fff;
}

.welcome-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hosts-photo-small {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Details (Property / Features / Hosts) */
.details {
    padding: 80px 0;
    background: #c8d7d2;
}

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

.detail-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.detail-card h3 {
    font-size: 1.4rem;
    color: #3d4f4f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5a8a7a;
}

.detail-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 4px 0;
    font-size: 0.9rem;
    padding-left: 18px;
    position: relative;
}

.detail-card li::before {
    content: "\2022";
    color: #5a8a7a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background: #f5f5f5;
}

.gallery h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    aspect-ratio: 3/2;
}

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

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

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

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0,0,0,0.6);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #eaf0ed;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonials-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

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

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.testimonial h4 {
    color: #5a8a7a;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    border-left: 3px solid #c8d7d2;
    padding-left: 15px;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-social {
    margin-top: 20px;
}

.contact-social a {
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5a8a7a;
    box-shadow: 0 0 0 2px rgba(90,138,122,0.2);
}

.btn-send {
    padding: 12px 40px;
    background: #5a8a7a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.btn-send:hover {
    background: #3d6b5c;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #2c3e50;
    color: #aaa;
    text-align: center;
}

.footer h3 {
    color: #c8d7d2;
    margin-bottom: 10px;
}

.footer h3 a {
    color: #c8d7d2;
}

.footer a {
    color: #aaa;
}

.footer a:hover {
    color: #fff;
}

.footer p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive */
@media (max-width: 900px) {
    .welcome-layout {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-logo {
        max-width: 210px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .btn-book {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Accessibility: visible focus for keyboard users */
.gallery-item:focus {
    outline: 3px solid #4A90D9;
    outline-offset: 3px;
    border-radius: 4px;
}

.lightbox button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid #4A90D9;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .welcome-video { display: none; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Skip link (for screen readers / keyboard users) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #333;
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-size: 1rem;
}

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

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px 0;
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #c8d7d2;
    letter-spacing: 1px;
}

.nav-brand:hover { color: #fff; }

/* Homepage: semi-transparent nav on desktop, no bar on mobile */
.is-homepage .nav-brand { display: none; }
.is-homepage .site-nav {
    background: rgba(44, 62, 80, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .is-homepage .site-nav {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        pointer-events: none;
    }
    .is-homepage .site-nav * {
        pointer-events: auto;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #c8d7d2;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    border-bottom: 2px solid #5a8a7a;
}

.nav-toggle {
    display: none;
    background: rgba(44, 62, 80, 0.5);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 80px 0 10px;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumbs a { color: #5a8a7a; }
.breadcrumbs a:hover { color: #3d6b5c; }
.breadcrumbs span { color: #aaa; margin: 0 6px; }

/* Content pages */
.content-page {
    padding-top: 60px;
}

.content-page .page-header {
    background: #3d4f4f;
    color: #c8d7d2;
    padding: 80px 0 40px;
    text-align: center;
}

.content-page .page-header h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.content-page .page-header p {
    font-size: 1.1rem;
    color: #a8bdb5;
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.content-section h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.content-section h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    color: #3d4f4f;
}

.content-section p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin: 10px 0 20px 24px;
    line-height: 1.8;
}

/* CTA buttons in content */
.cta-inline {
    display: inline-block;
    padding: 12px 32px;
    background: #5a8a7a;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    margin: 20px 0;
    transition: background 0.3s;
}

.cta-inline:hover {
    background: #3d6b5c;
    color: #fff;
}

.cta-banner {
    text-align: center;
    padding: 50px 20px;
    background: #3d4f4f;
    color: #c8d7d2;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-banner p {
    color: #a8bdb5;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Review cards */
.review-card {
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.review-card .stars {
    color: #f5a623;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.review-card .reviewer {
    font-weight: 600;
    color: #5a8a7a;
    margin-bottom: 8px;
}

.review-card blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    border-left: 3px solid #c8d7d2;
    padding-left: 15px;
    margin: 0;
}

/* Aggregate rating display */
.rating-hero {
    text-align: center;
    padding: 40px 20px;
    background: #eaf0ed;
    border-radius: 12px;
    margin-bottom: 40px;
}

.rating-hero .big-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
}

.rating-hero .stars-large {
    font-size: 2rem;
    color: #f5a623;
    margin: 10px 0;
}

.rating-hero .review-count {
    font-size: 1.1rem;
    color: #666;
}

/* FAQ accordion */
.faq-section details {
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.faq-section summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    background: #f8f9fa;
    font-size: 1rem;
    color: #2c3e50;
    list-style: none;
}

.faq-section summary::-webkit-details-marker { display: none; }

.faq-section summary::before {
    content: "+";
    display: inline-block;
    width: 20px;
    font-weight: bold;
    color: #5a8a7a;
}

.faq-section details[open] summary::before {
    content: "\2212";
}

.faq-section details[open] summary {
    border-bottom: 1px solid #e0e0e0;
}

.faq-section .faq-answer {
    padding: 16px 20px;
    line-height: 1.7;
    color: #555;
}

/* Comparison table (Book Direct) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background: #3d4f4f;
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table .highlight-row {
    background: #eaf0ed;
    font-weight: 600;
}

/* Weather/data tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 10px 14px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.data-table th {
    background: #5a8a7a;
    color: #fff;
}

.data-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 62, 80, 0.98);
        padding: 15px 20px;
        gap: 12px;
    }
    .nav-links.open { display: flex; }
    .content-page .page-header { padding: 70px 0 30px; }
    .content-page .page-header h1 { font-size: 1.6rem; }
    .breadcrumbs { padding-top: 70px; }

    /* Hero adjustments for mobile — restore the good mobile layout */
    .hero-section { padding-top: 0; }
    .hero-logo { max-width: 230px; }
    .hero-image-wrap {
        height: 70vh;
        min-height: 450px;
        max-height: none;
    }
    .hero-overlay { padding-top: 15px; }
    .hero-cta-bar { padding: 18px; background: #c8d7d2; }
    .site-nav { padding: 6px 0; }
    .btn-book { padding: 12px 28px; font-size: 0.95rem; }

    /* Welcome section mobile */
    .welcome { padding: 50px 0; }
    .welcome h2 { font-size: 1.6rem; }
    .welcome-video { max-height: 300px; }
    .hosts-photo-small { max-width: 100%; }

    /* Details cards mobile */
    .details { padding: 50px 0; }
    .detail-card { padding: 22px; }
    .detail-card h3 { font-size: 1.2rem; }

    /* Gallery mobile */
    .gallery { padding: 50px 0; }
    .gallery h2 { font-size: 1.6rem; margin-bottom: 25px; }

    /* Testimonials mobile */
    .testimonials { padding: 50px 0; }
    .testimonials h2 { font-size: 1.6rem; }
    .testimonial { padding: 22px; }

    /* Contact section mobile */
    .contact { padding: 50px 0; }
    .contact h2 { font-size: 1.6rem; }

    /* Footer mobile */
    .footer { padding: 30px 0; }

    /* Data tables scroll on mobile */
    .comparison-table, .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* CTA banner mobile */
    .cta-banner { padding: 35px 15px; }
    .cta-banner h2 { font-size: 1.4rem; }

    /* Content sections mobile */
    .content-section { padding: 40px 0; }
    .content-section h2 { font-size: 1.4rem; }

    /* Rating hero mobile */
    .rating-hero .big-number { font-size: 3rem; }
    .rating-hero .stars-large { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
    }
    .hero h1 {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    .hero-logo { max-width: 220px; }
    .hero-overlay { padding-top: 15px; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .social-bar { justify-content: center; }
    .social-bar img { width: 30px; height: 30px; }

    .detail-card li { font-size: 0.85rem; }
    .testimonial blockquote { font-size: 0.9rem; }

    /* Stack form fully */
    .form-row { grid-template-columns: 1fr; }
    .btn-send { width: 100%; text-align: center; }

    /* Review cards mobile */
    .review-card { padding: 20px; }

    /* FAQ mobile */
    .faq-section summary { padding: 14px 16px; font-size: 0.95rem; }
    .faq-section .faq-answer { padding: 14px 16px; }
}
