:root {
    --primary: #5c6c5a;
    /* Sage Green */
    --primary-dark: #3a4b38;
    --secondary: #e6dfd3;
    /* Warm Beige / Neutral */
    --dark: #2c2c2c;
    --light: #f9f8f6;
    --text: #4a4a4a;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    font-weight: 500;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
}

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

/* Typography styles */
h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--primary);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.logo-img {
    height: 45px;
    width: auto;
    transition: filter 0.4s ease;
    display: block;
}

.logo-img-footer {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

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

.nav-links a {
    color: var(--white);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-btn {
    border: 1px solid var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

.navbar.scrolled .nav-btn {
    border-color: var(--primary);
    color: var(--primary);
}

.navbar.scrolled .nav-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

.navbar.scrolled .hamburger span {
    background-color: var(--dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('assets/seo/dji-0682-1600.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.landing-hero {
    min-height: 72vh;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 9rem 0 5rem;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.landing-hero .container {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.landing-hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.landing-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.seo-copy {
    max-width: 860px;
    margin: 0 auto;
}

.seo-copy p {
    margin-bottom: 1.3rem;
    font-size: 1.08rem;
}

.seo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.seo-list li {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 1rem 1.2rem;
}

/* Intro Section */
.intro {
    background-color: var(--secondary);
    text-align: center;
    padding: 5rem 0;
}

.intro-text {
    font-size: 1.5rem;
    color: var(--dark);
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 300;
}

/* Houses Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.house-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/5;
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.feature-card span {
    font-size: 1.5rem;
}

.capacity-note {
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

/* Discover Sanabria */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.discover-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.discover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.discover-img {
    height: 250px;
    overflow: hidden;
}

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

.discover-card:hover .discover-img img {
    transform: scale(1.05);
}

.discover-content {
    padding: 2rem;
    flex-grow: 1;
}

.discover-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.discover-content p {
    color: var(--text);
    font-size: 1.05rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

/* Local Life */
.life-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.life-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.life-text h2 {
    margin-bottom: 2rem;
}

.life-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Location */
.location-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.map-placeholder {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary);
    text-align: center;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.testimonial-card .stars {
    color: #DAA520;
    /* Goldenrod for stars */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card .review {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Emotional Quote */
.emotional-quote {
    text-align: center;
    padding: 8rem 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
}

.emotional-quote h2 {
    color: var(--white);
    font-weight: 300;
    font-size: 2.2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Rules */
.rules {
    background-color: var(--secondary);
    text-align: center;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 3rem auto 0;
    text-align: left;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 4px;
}

.rules-list span {
    font-size: 1.2rem;
}

/* Booking */
.booking-container {
    text-align: center;
    max-width: 600px;
}

.booking-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Instagram Feed */
.instagram-feed {
    background-color: var(--white);
    text-align: center;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    font-weight: 500;
}

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

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col .logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.logo-img-footer {
    filter: brightness(0) invert(1);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #bbb;
}

.contact-info a {
    color: var(--white);
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary);
}

/* Footer Buttons */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
}

.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #E1306C;
    border: 1px solid #E1306C;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.insta-btn:hover {
    background-color: #b92558;
    border-color: #b92558;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.copyright {
    text-align: center;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Seasons */
.seasons {
    background-color: var(--white);
    text-align: center;
}

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

.season-card {
    background-color: #fcfbf9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.season-card:hover {
    transform: translateY(-5px);
}

.season-card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active {
    color: var(--primary);
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text);
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: var(--light);
    padding: 3rem;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--dark);
}

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

.modal-card h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.modal-card ul {
    list-style-type: none;
}

.modal-card li::before {
    content: "• ";
    color: var(--primary);
}

.modal-card li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {

    .house-images,
    .life-container {
        grid-template-columns: 1fr;
    }
}

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

    .discover-content {
        padding: 1.5rem;
    }

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem 0;
        transition: left 0.4s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

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

    .nav-links a {
        color: var(--dark);
        margin: 1rem 0;
        font-size: 1.2rem;
        display: block;
        text-align: center;
    }

    .nav-btn {
        border-color: var(--primary);
        color: var(--primary);
        display: inline-block;
    }

    .hamburger {
        display: block;
        z-index: 100;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--dark);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--dark);
    }

    .emotional-quote h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 4rem 0;
    }
}