:root {
    --primary-dark: #2C3E50;
    --airbnb-red: #FF5A5F;
    --off-white: #F8F9FA;
    --white: #ffffff;
    --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */

nav {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

#menu-toggle {
    display: none;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    order: 3;
    flex-shrink: 0;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    transition: 0.3s;
}

.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 10px;
    flex-shrink: 0;
}

.airbnb-btn {
    background: var(--airbnb-red);
    color: white !important;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- MENU PANEL --- */

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    max-width: 80%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

#menu-toggle:checked ~ .nav-links {
    right: 0;
}

/* burger animation */
#menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
#menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* burger turns white */
#menu-toggle:checked ~ .hamburger span {
    background: #ffffff;
}

/* menu links */
.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    width: fit-content;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--airbnb-red);
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* CLOSE BUTTON */
.menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    z-index: 1003;
}

#menu-toggle:checked ~ .nav-links .menu-close {
    display: block;
}

/* --- HERO --- */

.hero {
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('../img/fourwinds_hero2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* --- TRUST BAR --- */

.trust-bar {
    background: var(--off-white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.trust-bar span {
    margin: 0 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #777;
}

/* --- STORY --- */

.story-section {
    padding: 80px 0;
    text-align: center;
}

.story-content {
    max-width: 750px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

/* --- AMENITIES --- */

.amenities {
    background: var(--off-white);
    padding: 80px 0;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* --- GRID --- */

.section {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border: 1px solid #eee;
    position: relative;
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-dark);
    color: white;
    padding: 4px 8px;
    font-size: 0.55rem;
    font-weight: 700;
    border-radius: 2px;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
}

/* --- EVENTS --- */

.events-cta {
    background: var(--primary-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.events-cta h2 {
    color: white;
    margin-bottom: 20px;
}

/* --- FOOTER --- */

footer {
    background: #1a252f;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 0.75rem;
}

/* COTTAGE LAYOUT */
.cottage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.cottage-img {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

.cottage-info h2 {
    margin-bottom: 10px;
}

.cottage-desc {
    margin-bottom: 20px;
    color: #666;
}

.cottage-rates {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cottage-includes ul {
    padding-left: 18px;
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .cottage {
        grid-template-columns: 1fr;
    }

    .cottage-img {
        height: 220px;
    }
}

/* CONTAINER */
.cottage-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    padding: 60px;
    margin-bottom: 60px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* subtle alternating background */
.cottage-card:nth-child(even) {
    background: #f8f9fa;
}

/* IMAGE */
.cottage-image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

/* CONTENT */
.cottage-content h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.cottage-sub {
    color: #777;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* DESCRIPTION */
.cottage-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #444;
}

/* RATES */
.cottage-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.cottage-meta .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
}

.cottage-meta .value {
    font-weight: 700;
    font-size: 1rem;
}

/* FEATURES (NO BULLETS ) */
.cottage-features {
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
    .cottage-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .cottage-image {
        height: 220px;
    }
}


/* GALLERY */
.cottage-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;

    border-top: 1px solid rgba(0,0,0,0.08); /*  soft divider */
    padding-top: 15px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    flex: 0 0 auto; /* prevents weird stretching */

    background-size: cover;
    background-position: center;
    border-radius: 6px;

    cursor: pointer;
    transition: 0.2s ease;
}

.gallery-thumb:hover {
    transform: scale(1.08);
}

.cottage-gallery::before {
    content: "Gallery";
    display: block;
    width: 100%;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

/* MODAL */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.gallery-modal.open {
    display: flex;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.cottage-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    padding: 60px;
    margin-bottom: 60px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* 👇 MAKE GALLERY SPAN FULL WIDTH */
.cottage-gallery-wrap {
    grid-column: 1 / -1;
    margin-top: 20px;
}

/* optional stronger separation */
.cottage-gallery {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 20px;
}

/* FULL WIDTH GALLERY */
.cottage-gallery-wrap {
    grid-column: 1 / -1;
    margin-top: 30px;
}

/* FEATURE IMAGE (BIG ONE) */
.gallery-feature {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.gallery-feature:hover {
    transform: scale(1.01);
}

/* HORIZONTAL SCROLL GALLERY */
.cottage-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.cottage-gallery::-webkit-scrollbar {
    height: 6px;
}

.cottage-gallery::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.gallery-thumb {
    min-width: 80px;
    height: 80px;
    flex: 0 0 auto;

    background-size: cover;
    background-position: center;
    border-radius: 6px;

    cursor: pointer;
    transition: 0.2s ease;
}

.gallery-thumb:hover {
    transform: scale(1.08);
}

/* HERO PLACEHOLDER */
.hero-experience {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../img/fourwinds.png'); /* placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* GRID */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.experience-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* DAY FLOW */
.day-flow div {
    margin-bottom: 15px;
    font-size: 1rem;
}

html {
    scroll-behavior: smooth;
}

.exp-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

.exp-item {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.exp-item:hover {
    transform: scale(1.02);
}

/* layout types */
.exp-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.exp-item.wide {
    grid-column: span 4;
    grid-row: span 1;
}

.exp-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

/* mobile */
@media (max-width: 768px) {
    .exp-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .exp-item.wide {
        grid-column: span 2;
    }
}

.exp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.exp-modal.open {
    display: flex;
}

.exp-img {
    max-width: 90%;
    max-height: 90%;
}

/* CLOSE BUTTON */
.exp-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    z-index: 5000;
}

/* ARROWS */
.exp-prev,
.exp-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 5000;
    padding: 10px;
    user-select: none;
}

.exp-prev {
    left: 20px;
}

.exp-next {
    right: 20px;
}

.exp-prev,
.exp-next,
.exp-close {
    opacity: 0.7;
    transition: 0.2s ease;
}

.exp-prev:hover,
.exp-next:hover,
.exp-close:hover {
    opacity: 1;
}

.things-to-do {
    background: #f8f9fa;
}

.things-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.thing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.thing-card:hover {
    transform: translateY(-5px);
}

.thing-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.thing-content {
    padding: 20px;
}

.thing-content h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.thing-content p {
    font-size: 0.85rem;
    color: #666;
}

.thing-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--airbnb-red);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.thing-link:hover {
    text-decoration: underline;
}

/* DISTANCE */
.thing-meta {
    margin-top: 10px;
}

.thing-distance {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    background: rgba(0,0,0,0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

/* MAP PREVIEW */
.map-preview {
    margin-top: 10px;
    height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.thing-card:hover .map-preview {
    height: 150px;
}

.map-preview iframe {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 6px;
}

.map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.hero-weddings {
    height: 65vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../img/wedding-hero.jpg'); /* placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* =========================================
   COTTAGES ONLY — SAFE FIX
========================================= */

/* DESKTOP (keep your look) */
.cottage-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

/* 🔥 MOBILE FIX ONLY */
@media (max-width: 768px){

    .cottage-card {
        display: block !important; /* force stack */
    }

    .cottage-image {
        width: 100% !important;
        height: 220px !important;
        margin-bottom: 20px;
    }

    .cottage-content {
        width: 100% !important;
    }

}

/* =========================================
   COTTAGES — MOBILE TIGHTENING
========================================= */

@media (max-width: 768px){

    /* shrink card padding */
    .cottage-card{
        padding: 18px !important;
        margin-bottom: 30px;
        border-radius: 12px;
    }

    /* reduce title spacing */
    .cottage-content h2{
        margin: 12px 0 6px;
        font-size: 1.4rem;
    }

    .cottage-sub{
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .cottage-desc{
        margin-bottom: 14px;
        font-size: 0.9rem;
    }

    /* tighten pricing */
    .cottage-meta{
        margin: 14px 0;
        gap: 10px;
    }

    .cottage-meta .value{
        font-size: 0.95rem;
    }

    /* tighten features */
    .cottage-features{
        margin-top: 10px;
        padding-top: 10px;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* tighten gallery spacing */
    .cottage-gallery-wrap{
        margin-top: 15px;
    }

}

@media (max-width: 768px){

    .cottage-image{
        height: 200px;
        border-radius: 10px;
    }

}

.location-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
                url('../img/location-hero.jpg'); /* placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-wrap iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

/* =========================
   CONTACT FORM
========================= */

.contact-container {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.contact-title {
    margin-bottom: 10px;
}

.contact-sub {
    color: #777;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.contact-form textarea {
    min-height: 100px;
}

.contact-btn {
    background: var(--airbnb-red);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.contact-success {
    background: #e6f9ec;
    color: #1e7d3a;
    padding: 12px;
    margin-bottom: 20px;
}

.contact-error {
    background: #fdecea;
    color: #b3261e;
    padding: 12px;
    margin-bottom: 20px;
}

/* MOBILE */

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
