/* =====================
   GLOBAL RESET
===================== */

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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fafafa;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    height: 70px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 20px;
    font-weight: 500;
    color: #333;
    transition: 0.3s ease;
}

.nav a:hover {
    color: #b68c62;
}

/* highlight Gallery tab */
.nav a.active {
    background: #e0b084;
    padding: 8px 14px;
    border-radius: 6px;
    color: #000;
}

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

.hero {
    height: 90vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background: rgba(0,0,0,0.45);
    padding: 40px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 20px;
}

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

.btn {
    background: #c8a27a;
    color: white;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 30px;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #a8845f;
}

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

.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section.light {
    background: #f2efe9;
    border-radius: 20px;
}

/* =====================
   GALLERY (OLD GRID)
===================== */

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

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

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

.amenities {
    list-style: none;
    columns: 2;
}

/* =====================
   BOOKING FORM
===================== */

.booking-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-form input,
.booking-form textarea {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.booking-form textarea {
    min-height: 100px;
}

/* =====================
   BOOKING PAGE LAYOUT
===================== */

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.calendar-box,
.booking-form-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* =====================
   AIRBNB STYLE CALENDAR
===================== */

#availability-calendar {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.fc-daygrid-day-number {
    font-weight: 500;
}

.fc-day-today {
    background: #fafafa !important;
}

.fc-bg-event {
    background: #ff6b6b !important;
    opacity: 0.4;
}

.fc-toolbar-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.fc-button {
    background: #e0b084 !important;
    border: none !important;
}

.fc-button:hover {
    background: #d19b6a !important;
}

/* =====================
   BENEFITS SECTION
===================== */

.benefits {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    max-width: 700px;
    margin: 30px auto;
    text-align: center;
    font-weight: 500;
}

/* =====================
   FANCY GALLERY (OLD)
===================== */

.gallery-masonry {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px 80px;
    column-count: 3;
    column-gap: 20px;
}

.gallery-masonry figure {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-masonry img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

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

.gallery-masonry figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top,rgba(0,0,0,0.6),transparent);
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-masonry figure:hover figcaption {
    opacity: 1;
}

/* =====================
   REVIEW SLIDER
===================== */

.review-slider {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
}

.slide {
    display: none;
    text-align: center;
    font-style: italic;
    padding: 30px;
}

.slide.active {
    display: block;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

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

/* =====================
   GALLERY PAGE HERO
===================== */

.gallery-hero {
    height: 50vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero .overlay {
    background: rgba(0,0,0,0.4);
    padding: 40px;
    color: white;
    text-align: center;
    border-radius: 10px;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* =====================
   GALLERY PAGE GRID
===================== */

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    background: #eee;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-item span {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

/* =====================
   LIGHTBOX
===================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* =====================
   WHATSAPP BUTTON
===================== */

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-weight: bold;
    z-index: 999;
}

/* =====================
   STICKY BOOK NOW
===================== */

.sticky-book-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #c8a27a, #b68c62);
    color: white;
    padding: 15px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    z-index: 999;
    transition: all 0.3s ease;
}

.sticky-book-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

/* =====================
   MOBILE
===================== */

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

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

    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.2rem;
    }

    .gallery-hero .overlay {
        padding: 25px;
    }

    .sticky-book-btn {
        left: 20px;
        right: 20px;
        bottom: 80px;
        text-align: center;
        display: block;
        font-size: 16px;
        padding: 16px 20px;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 1;
    }

    .amenities {
        columns: 1;
    }

    .nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav a {
        margin-left: 10px;
        font-size: 14px;
    }

    .logo img {
        height: 50px;
    }
}

/* =====================
   HOMEPAGE UPGRADE
===================== */

.hero-subtitle {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #f4e7d8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.intro-section {
    padding-top: 80px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.intro-text p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #555;
}

.intro-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-heading.center {
    flex-direction: column;
    text-align: center;
}

.section-heading h2 {
    font-size: 2rem;
}

.section-heading p {
    color: #666;
    max-width: 700px;
    line-height: 1.7;
}

.text-link {
    font-weight: 600;
    color: #b68c62;
}

.home-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.home-gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: white;
    font-size: 0.95rem;
}

.amenities-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.amenity-card {
    background: white;
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    font-weight: 500;
}

.location-section .section-heading {
    margin-bottom: 25px;
}

.map-card {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.final-cta {
    text-align: center;
    margin-top: 40px;
}

.final-cta h2 {
    margin-bottom: 15px;
}

.final-cta p {
    margin-bottom: 25px;
    color: #555;
}

/* =====================
   MOBILE HOMEPAGE
===================== */

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

    .home-gallery {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-content {
        padding: 28px 22px;
    }

    .section-heading h2,
    .intro-text h2,
    .final-cta h2 {
        font-size: 1.7rem;
    }
}