:root {
    /* --primary-color: #2C5F2D;

    --primary-light: #4A7C59;
    --secondary-color: #97BC62; */

    /* --primary-color: #507500;
    --primary-light: #bec60d;
    --secondary-color: #27ce1a; */

    --primary-color: #15803D;
    --primary-light: #4ADE80;
    --secondary-color: #F59E0B;

    /* Fresh Leaf Green */
    --secondary-dark: #749B45;
    --accent-color: #E27D60;
    /* Earthy accent */
    --bg-light: #F9FBF8;
    /* Very subtle nature white */
    --bg-white: #ffffff;
    --text-dark: #2A3626;
    /* Dark olive text */
    --text-muted: #6B7763;
    --text-light: #fdfdfd;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(44, 95, 45, 0.05);
    --shadow-md: 0 10px 30px rgba(44, 95, 45, 0.08);
    --shadow-lg: 0 20px 40px rgba(44, 95, 45, 0.12);
}

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

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

html,
body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-dark {
    background-color: var(--primary-color);
}

.text-light {
    color: var(--text-light);
}

/* --- HEADER & NAV (Perfect View) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.98); */
    background: rgb(255 255 255 / 54%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.2rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop */
.logo img {
    height: 100px;
    transition: var(--transition);
}

/* Mobile */
@media (max-width: 576px) {
    .logo img {
        height: 63px;
    }
}



.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links li a:not(.btn):hover::after,
.nav-links li a:not(.btn).active::after {
    width: 100%;
}

.nav-links li a:not(.btn):hover,
.nav-links li a:not(.btn).active {
    color: var(--primary-color) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    /* Offset for fixed header */
    height: calc(100vh - 70px);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(44, 95, 45, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%); */
    background: linear-gradient(135deg, rgb(44 88 95 / 47%) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 4;
}

.slide-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.slide-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(151, 188, 98, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(44, 95, 45, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- TYPOGRAPHY & HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.title-separator {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* --- GRIDS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* --- FEATURE CARDS --- */
.feature-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(44, 95, 45, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--secondary-color);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- COTTAGE CARDS --- */
.cottage-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cottage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.cottage-card-list {
    flex-direction: row;
}

.cottage-card-list.reverse {
    flex-direction: row-reverse;
}

.cottage-card-list .card-img-wrapper {
    flex: 1;
    min-height: 400px;
}

.cottage-card-list .card-body {
    flex: 1;
    justify-content: center;
    padding: 4rem;
}

.cottage-card-list .card-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cottage-card:hover .card-img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(44, 95, 45, 0.1);
    padding-top: 1.5rem;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-amount small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.author span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- PAGE HEADER --- */
.page-header {
    margin-top: 70px;
    padding: 10rem 0 6rem;
    /* background: var(--primary-color); */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, rgba(44, 95, 45, 0.9), rgba(44, 95, 45, 0.7)); */
    background: linear-gradient(135deg, rgb(44 88 95 / 47%) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- COTTAGE DETAILS & GALLERY --- */
.cottage-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.cottage-grid>div {
    min-width: 0;
    /* Prevents grid blowout from non-wrapping content */
}

/* Custom Gallery Setup as requested */
.detail-gallery {
    margin-bottom: 3rem;
    width: 100%;
}

.gallery-swiper {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #eee;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.gallery-thumb {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--secondary-color);
}

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

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.facilities-list li {
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    font-weight: 500;
    border-left: 3px solid var(--secondary-color);
    color: var(--text-dark);
}

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

.landmark-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(44, 95, 45, 0.05);
}

.landmark-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.landmark-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--secondary-color);
}

/* --- CONTACT PAGE --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(151, 188, 98, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(44, 95, 45, 0.1);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--bg-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(151, 188, 98, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- FOOTER --- */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 5rem 0 0;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    background: #1e421f;
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .cottage-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cottage-card-list,
    .cottage-card-list.reverse {
        flex-direction: column;
    }

    .cottage-card-list .card-img-wrapper {
        min-height: 300px;
    }

    .cottage-card-list .card-body {
        padding: 2rem;
    }

    .cottage-card-list .card-title {
        font-size: 1.8rem;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .card-footer .btn {
        width: 100%;
        padding: 0.8rem 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        color: var(--text-dark) !important;
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .gallery-swiper {
        height: 300px;
    }
}