/* --- Variables & Reset --- */
:root {
    /* Colors derived from your Logo */
    --color-rust: #B05036; /* The Terracotta E */
    --color-olive: #4C583B; /* The Green I */
    --color-cream: #F9F7F2; /* Soft background */
    --color-text: #2C2C2C;
    --color-text-light: #666;
    --color-white: #ffffff;
    
    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-cream { background-color: #f4f1ea; }
.text-center { text-align: center; }

/* Buttons */
.btn-primary, .btn-search {
    background-color: var(--color-rust);
    color: var(--color-white);
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-search:hover {
    background-color: #8f3e28;
}

.subheading {
    display: block;
    font-family: var(--font-sans);
    color: var(--color-rust);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-olive);
    margin-bottom: 20px;
}

/* --- Navigation --- */
.navbar {
    background-color: white;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px; /* Adjust based on your logo file */
}

.nav-links {
    display: flex;
    gap: 30px;  
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-olive);
}

.nav-links a:hover { color: var(--color-rust); }

.btn-nav {
    border: 1px solid var(--color-rust);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--color-rust) !important;
}

.btn-nav:hover {
    background-color: var(--color-rust);
    color: white !important;
}

.hamburger { display: none; cursor: pointer; color: var(--color-olive); font-size: 1.5rem; }

/* --- Hero Section --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1533105079780-92b9be482077?q=80&w=2574&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Search Bar */
.search-bar {
    background: white;
    padding: 10px 10px 10px 30px;
    border-radius: 50px; /* Rounded pill shape */
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.search-item {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.search-item.border-left {
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.search-item label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text);
}

.search-item select, .search-item input {
    border: none;
    outline: none;
    font-family: var(--font-sans);
    color: var(--color-text-light);
    width: 100%;
    margin-top: 2px;
}

.btn-search {
    border-radius: 40px;
    padding: 15px 30px;
}

/* --- Philosophy Section --- */
.philosophy {
    padding: 80px 0;
}

.philosophy p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.divider-img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.9;
}

/* --- Villas Grid --- */
.villas { padding: 80px 0; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.view-all {
    color: var(--color-rust);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}
.view-all:hover { border-bottom: 1px solid var(--color-rust); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }

.card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img { transform: scale(1.05); }

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-olive);
    border-radius: 4px;
}

.card-body { padding: 25px; }

.card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-olive);
    margin-bottom: 5px;
}

.location {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.specs i { color: var(--color-rust); margin-right: 5px; }

.card-footer { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 600; color: var(--color-text); }

/* --- Experiences Section --- */
.experiences { padding: 100px 0; }

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text { flex: 1; }
.split-image { flex: 1; }

.split-image img {
    border-radius: 8px;
    box-shadow: 20px 20px 0px var(--color-rust); /* Offset stylistic border */
}

.exp-list { margin: 30px 0; }
.exp-list li { margin-bottom: 15px; font-size: 1.1rem; }
.exp-list i { color: var(--color-olive); margin-right: 10px; width: 25px; }

/* --- Footer --- */
footer {
    background-color: var(--color-olive);
    color: white;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { font-family: var(--font-serif); margin-bottom: 15px; }
.footer-col h4 { text-transform: uppercase; font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 1px; color: #dcdcdc; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { opacity: 0.8; }
.footer-col ul li a:hover { opacity: 1; color: #ffcccb; }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Add JS for hamburger menu toggle later */
    .hamburger { display: block; }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .search-bar {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 10px;
        padding: 0;
    }
    
    .search-item {
        background: white;
        padding: 15px;
        border-radius: 8px;
        width: 100%;
        border-left: none !important;
    }
    
    .btn-search { width: 100%; }
    
    .split-layout { flex-direction: column; }
    .split-image img { box-shadow: 10px 10px 0px var(--color-rust); }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

/* --- Villas Page Specific Styles --- */

/* Page Header (Small Hero) */
.page-header {
    background-color: var(--color-olive);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
}

.page-header p {
    max-width: 600px;
    margin: 10px auto 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Listing Layout (Sidebar + Grid) */
.listing-layout {
    display: flex;
    margin-top: 50px;
    margin-bottom: 80px;
    gap: 40px;
}

/* Sidebar Styles */
.sidebar {
    flex: 0 0 250px; /* Fixed width sidebar */
    padding-right: 20px;
    border-right: 1px solid #eee;
    height: fit-content;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-olive);
    margin-bottom: 15px;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.w-100 { width: 100%; }

/* Custom Checkbox Styling */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark { background-color: #ccc; }
.checkbox-container input:checked ~ .checkmark { background-color: var(--color-rust); }
.checkmark:after { content: ""; position: absolute; display: none; }
.checkbox-container input:checked ~ .checkmark:after { display: block; }
.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Property Grid Styles */
.property-grid { flex: 1; }

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.sort-bar select {
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-weight: 600;
    cursor: pointer;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Responsive Grid */
    gap: 30px;
}

/* Card Enhancements for Listing Page */
.card .region {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--color-rust);
    margin-bottom: 5px;
    font-weight: 600;
}

.card .description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-olive);
    border-bottom: 1px solid var(--color-olive);
}

.fav-icon {
    position: absolute;
    top: 15px;
    right: 15px; /* Adjust if tag is present */
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-rust);
    transition: 0.2s;
}
.fav-icon:hover { background: var(--color-rust); color: white; }

/* If a tag is present, move fav icon down or left. 
   Here we just position it differently if needed, 
   but simplistic absolute positioning works for now. */

/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
}

.pagination a.active, .pagination a:hover {
    background-color: var(--color-olive);
    color: white;
    border-color: var(--color-olive);
}

/* Mobile Responsiveness for Listing */
@media (max-width: 850px) {
    .listing-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .filter-group {
        display: inline-block;
        vertical-align: top;
        margin-right: 20px;
        width: 45%;
    }
    
    .btn-primary.w-100 {
        width: auto;
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .filter-group { display: block; width: 100%; }
    .grid-2-col { grid-template-columns: 1fr; }
}

/* --- Experiences Page Specific Styles --- */

/* Hero for Experiences (Different Image) */
.hero-experiences {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?q=80&w=2070&auto=format&fit=crop'); /* Dinner table image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-experiences h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* Intro Text */
.intro-text {
    padding: 80px 0;
}
.intro-text p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Category Menu (Sticky sub-nav) */
.category-menu {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 80px; /* Adjust based on navbar height */
    z-index: 900;
    text-align: center;
}

.cat-link {
    margin: 0 15px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text-light);
    position: relative;
    padding-bottom: 5px;
}

.cat-link:hover, .cat-link.active {
    color: var(--color-olive);
}

.cat-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-rust);
}

/* Section Styling */
.exp-section {
    padding: 80px 0;
    scroll-margin-top: 140px; /* Ensures title isn't hidden behind sticky nav on click */
}

.section-title {
    margin-bottom: 40px;
}

/* Experience Card specific adjustments */
.exp-card .card-img {
    height: 220px;
}

.exp-details {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.85rem;
    color: var(--color-text-light);
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.exp-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Custom Request Section */
.custom-request {
    padding: 100px 0;
    background-color: #768265;
    color: white;
}

.custom-request h2 {
    color: white; /* Override the default Olive color */
}

.custom-request p {
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* Adjust button for dark background */
.custom-request .btn-primary {
    background-color: white;
    color: var(--color-olive);
}

.custom-request .btn-primary:hover {
    background-color: var(--color-rust);
    color: white;
}

/* Mobile responsiveness for category menu */
@media (max-width: 600px) {
    .category-menu {
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 0;
    }
    
    .cat-link {
        display: inline-block;
        margin: 0 10px;
    }
}

/* --- About Page Specific Styles --- */

/* Hero Image - Soft and Personal */
.hero-about {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1498503182468-3b51cbb6cb24?q=80&w=2070&auto=format&fit=crop'); /* Tuscany Landscape */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-about h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
}

/* Founder Story Styling */
.founder-story {
    padding: 100px 0;
}

.founder-story p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

/* Handwritten Signature Style */
.signature {
    font-family: 'Dancing Script', cursive; /* Handwritten font */
    font-size: 2.5rem;
    color: var(--color-rust);
    margin-top: 30px;
    transform: rotate(-5deg); /* Slight tilt for realism */
    display: inline-block;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.mb-50 { margin-bottom: 50px; }

.value-card {
    text-align: center;
    padding: 30px;
    background: white; /* White card on cream background */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--color-olive);
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: var(--font-serif);
    margin-bottom: 15px;
    color: var(--color-text);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Simple CTA Banner */
.simple-banner {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.simple-banner h2 {
    font-size: 2rem;
    color: var(--color-rust);
    margin-bottom: 15px;
}

.simple-banner p {
    margin-bottom: 30px;
    color: var(--color-text-light);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Reverses order so image is on top on mobile */
    .reverse-mobile {
        flex-direction: column-reverse;
    }
    
    .hero-about { height: 40vh; }
    
    .signature {
        display: block;
        text-align: right;
    }
}
/* --- Inquire Page Specific Styles --- */

.inquire-section {
    padding: 80px 0;
}

.form-wrapper {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Sidebar (Left) */
.contact-sidebar {
    flex: 0 0 300px;
    background-color: var(--color-olive);
    color: white;
    padding: 40px;
}

.contact-sidebar h3 {
    font-family: var(--font-serif);
    margin-bottom: 20px;
    color: white;
}

.contact-sidebar p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.contact-list i {
    color: #cbcfc5; /* Very light green */
    width: 20px;
}

.opening-hours {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.opening-hours h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #cbcfc5;
}

/* Form Area (Right) */
.form-content {
    flex: 1;
    padding: 50px;
}

.form-content h3 {
    font-family: var(--font-serif);
    color: var(--color-olive);
    margin-bottom: 25px;
    margin-top: 30px;
    font-size: 1.5rem;
}

.form-content h3:first-child { margin-top: 0; }

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: #fafafa;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-rust);
    background: white;
    box-shadow: 0 0 0 3px rgba(176, 80, 54, 0.1);
}

.small-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-grid label {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.mt-20 { margin-top: 20px; }

/* Mobile Responsiveness for Form */
@media (max-width: 850px) {
    .form-wrapper {
        flex-direction: column;
    }
    
    .contact-sidebar {
        padding: 30px;
    }
    
    .form-content {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Thank You Page Styles --- */

.thank-you-section {
    padding: 120px 0 100px 0;
    min-height: 60vh; /* Ensures it takes up good screen space */
    display: flex;
    align-items: center;
}

.icon-box {
    margin-bottom: 30px;
}

.icon-box i {
    font-size: 4rem;
    color: var(--color-rust);
    /* Simple animation to make the paper plane float */
    animation: float 3s ease-in-out infinite;
}

.thank-you-section h1 {
    font-size: 3.5rem;
    color: var(--color-olive);
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.lead-text {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 10px;
    font-weight: 500;
}

.sub-text {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Keep Dreaming Section */
.keep-dreaming {
    padding: 80px 0;
    background: white;
}

.dream-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    display: block;
}

.dream-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Gradient Overlay */
.dream-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.dream-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
}

.dream-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.dream-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.dream-card:hover img {
    transform: scale(1.05);
}

/* Simple Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Mobile Menu Functionality --- */

/* This class is added by JavaScript when clicked */
.nav-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Adjust based on your navbar height */
    right: 0;
    width: 100%; /* Or 60% if you want a side drawer */
    background-color: white;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 999;
    animation: slideDown 0.3s ease forwards;
}

/* Style the links inside the mobile menu */
.nav-active li {
    margin: 15px 0;
    text-align: center;
    width: 100%;
}

.nav-active li a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    padding: 10px 0;
}

/* Simple slide down animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}