/* --- 1. Global Styles & NEW "Coastal Joy" Theme --- */
:root {
    /* New light and joyful theme */
    --bg-color: #f8f9fa;         /* Light, soft gray background */
    --surface-color: #ffffff;   /* Pure white for cards */
    --text-color: #212529;      /* Dark charcoal for text */
    --text-color-light: #6c757d; /* Lighter gray for subtitles */
    --primary-color: #007bff;   /* Vibrant, joyful blue */
    --primary-color-hover: #0056b3; /* Darker blue for hover */
    
    /* Fonts (unchanged) */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Removed the dark SVG background pattern */

h1, h2, h3 { 
    font-family: var(--font-serif); 
    font-weight: 700; 
    color: var(--text-color);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color); /* Changed from primary-color */
    font-weight: 400; /* Softened weight */
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
    color: var(--text-color-light); /* Lighter text for subtitle */
    margin-top: -1rem;
    margin-bottom: 3rem;
}

/* Helper class for filtering (from your index.html) */
.showcase-card.hidden {
    display: none;
}


/* --- 2. Hero Section, Slider & Navigation --- */
.hero { 
    height: 100vh; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; /* Text on slides remains white */
}
.slider-container { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; z-index: 1; transform: scale(1.15); }
.slide.active { opacity: 1; z-index: 2; }
/* Dark overlay on images ensures white text is readable */
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1)); }
.slide-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); z-index: 3; max-width: 600px; }
.slide-title { font-size: 5rem; font-weight: 300; line-height: 1.1; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.slide-subtitle { font-family: var(--font-sans); font-size: 1rem; letter-spacing: 4px; text-transform: uppercase; margin-top: 1rem; color: #ffffff; opacity: 0.9; }
.slide-stats { display: flex; gap: 3rem; margin-top: 2rem; border-left: 2px solid #fff; padding-left: 1.5rem; }
.slide-stats span { font-size: 2.5rem; font-family: var(--font-serif); font-weight: 700; line-height: 1; }
.slide-stats p { font-size: 0.9rem; font-weight: 300; }

/* Navigation waisa ka waisa */
nav { position: absolute; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 2rem 4rem; z-index: 10; }
nav ul { list-style: none; display: flex; gap: 2rem; }

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

/* Logo Frame (Boundary) Changes */
.logo-frame {
    height: 60px;   
    width: 60px;       
    
    border: 3px solid #c9ab81; 
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo Image (Content) Changes */
.logo-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Scale aur Upar shift kiya: -4px se logo thoda upar chala jayega */
    transform: scale(1.5) translateY(-4px); 
}

.logo span {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

nav a { text-decoration: none; color: #fff; font-weight: 500; /* Bolder */ transition: color 0.3s ease; text-shadow: 1px 1px 5px rgba(0,0,0,0.3);}
nav a:hover { color: #f0f0f0; transform: scale(1.05); }

.slider-controls { position: absolute; bottom: 150px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 1.5rem; }
.slider-nav button { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.slider-nav button:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.slider-pagination { display: flex; gap: 10px; }
.pagination-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s ease; }
.pagination-dot.active { background: #fff; transform: scale(1.2); }

/* --- REQUEST 1: Booking Bar --- */
.booking-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: var(--surface-color); /* New white background */
    backdrop-filter: none; /* Removed blur */
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    border: none; /* Removed border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* New shadow for light theme */
    gap: 1rem;
}
.booking-field{
    flex:1 1 20%;
    min-width:120px;
    border-right: 1px solid #e0e0e0; /* Light border between fields */
    padding: 0 1rem;
}
.booking-field:last-of-type {
    border-right: none;
}
.booking-field label{
    display:block;
    font-size:0.8rem;
    font-weight: 500; /* Bolder label */
    margin-bottom:0.25rem;
    color: var(--text-color-light); /* Lighter text */
}
.booking-field input {
    width:100%;
    background:transparent;
    border:none;
    color: var(--text-color); /* Dark text */
    font-family:var(--font-sans, sans-serif);
    font-size:1rem;
    outline:none;
    padding:0.25rem 0;
}
.booking-field input::placeholder{
    color: #adb5bd; /* Lighter placeholder text */
}
.booking-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none; /* Reset invert filter */
    cursor: pointer;
}

/* --- REQUEST 1: Advanced Select Dropdown Styling --- */
.booking-field select {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-color); /* Dark text */
    font-family: var(--font-sans, sans-serif);
    font-size: 1rem;
    outline: none;
    padding: 0.25rem 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* New custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007bff'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1.5em 1.5em;
    padding-right: 1.5em; 
}
.booking-field select option {
    background-color: var(--surface-color); /* White background */
    color: var(--text-color); /* Dark text */
}
.booking-field select optgroup {
    font-style: italic;
    font-weight: bold;
    color: var(--primary-color); /* Blue for group titles */
}

.search-btn{
    background: var(--primary-color); /* New theme blue */
    color: #fff; /* White icon */
    border:none;
    width:50px;
    height:50px;
    border-radius: 50%; /* Changed to circle */
    font-size:1.5rem;
    cursor:pointer;
    transition: all 0.3s ease;
    flex-shrink:0;
}
.search-btn:hover{
    transform:scale(1.1);
    background: var(--primary-color-hover); /* Darker blue */
}

@media(max-width:900px){
    .booking-bar{
        flex-direction:column;
        align-items:stretch;
    }
    .booking-field {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
    }
    .slider-controls {
        bottom: 320px; /* Adjust for taller booking bar */
    }
}
@media(max-width:600px){
    .booking-bar{
        flex-direction:column;
        align-items:stretch;
    }
    .search-btn{
        align-self:center;
        margin-top:1rem;
        width: 100%; /* Full width button */
        border-radius: 8px;
    }
    .slider-controls {
        bottom: 380px; /* Adjust again */
    }
}

.fab { 
    position: fixed; 
    bottom: 2rem; 
    left: 2rem; 
    width: 60px; 
    height: 60px; 
    background-color: #25D366; 
    color: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 100; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    transition: transform 0.3s ease; 
}
.fab:hover { transform: scale(1.1); }
.fab svg { width: 30px; height: 30px; }

/* --- 3. Features Grid Section --- */
.features-grid-section { 
    padding: 6rem 4rem; 
    max-width: 1400px; 
    margin: 0 auto; 
}
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    margin-top: 3rem; 
}
.feature-card { 
    background-color: var(--surface-color); /* White cards */
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border: 1px solid #eee; /* Subtle border */
}
.feature-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}
.card-image-wrapper { height: 250px; overflow: hidden; }
.feature-card.large-image-card .card-image-wrapper { height: 480px; }
.feature-card.wide-card .card-image-wrapper { height: 250px; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feature-card:hover .card-image-wrapper img { transform: scale(1.05); }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-content h3 { 
    font-size: 1.8rem; 
    margin-bottom: 0.75rem; 
    color: var(--text-color); /* Dark text */
    font-weight: 400; 
}
.card-content p { 
    font-size: 0.95rem; 
    line-height: 1.6; 
    color: var(--text-color-light); /* Lighter gray text */
    font-weight: 300; 
}

/* --- 4. Showcase Villa Slider Section --- */
.showcase-section {
    position: relative;
    background-color: var(--bg-color); /* Light gray background */
    padding: 4.5rem 0 1.5rem 0;
    color: var(--text-color); /* Dark text */
    overflow: hidden;
}
.showcase-header { text-align: center; padding: 0 2rem 3rem 2rem; }
.showcase-header .section-title { color: var(--text-color); }
.showcase-header .section-subtitle { color: var(--text-color-light); }

/* --- REQUEST 2: Filter Bar CSS --- */
.villa-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: var(--text-color-light);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: #e9ecef; /* Light hover */
    border-color: #adb5bd;
    color: var(--text-color);
}
.filter-btn.active {
    background-color: var(--primary-color); /* Blue */
    color: #fff;
    border-color: var(--primary-color);
}


.showcase-viewport { 
    height: 80vh; 
    width: 100%; 
    overflow: hidden; 
    position: relative; 
}
.showcase-track { 
    display: flex; 
    height: 100%; 
    align-items: center; 
    will-change: transform; 
    width: 200%; 
}

.villa-pair {
    width: 100vw; 
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw; 
    padding: 0 5vw; 
}

.showcase-card { 
    flex-shrink: 0; 
    width: 45%; 
    max-width: 550px; 
    background: var(--surface-color); /* White card */
    border: 1px solid #e9ecef; /* Light border */
    border-radius: 16px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); /* Softer shadow */
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
}
.card-image-container { 
    height: 300px; 
    border-radius: 16px 16px 0 0; 
    overflow: hidden; 
    position: relative; 
    background-size: cover; 
    background-position: center; 
}
/* Removed reflection effect as it suits dark theme better */

.card-content-showcase { 
    padding: 1.2rem 1.4rem; 
    display:flex; 
    flex-direction:column; 
    gap: 0.2rem; 
}
.card-content-showcase h3 { 
    font-size: 1.8rem; 
    font-weight: 400; 
    color: var(--text-color); /* Dark text */
    margin: 0; 
}
.location { 
    color: var(--text-color-light); /* Light gray text */
    display:flex; 
    align-items:center; 
    gap:.4rem; 
    margin: .2rem 0 0 0; 
}
.location svg { width: 15px; height: 15px; fill: var(--text-color-light); }
.specs-bar { 
    display:flex; 
    justify-content: space-between; 
    align-items:center; 
    padding: .6rem 0; 
    border-top: 1px solid #e9ecef; /* Light border */
    border-bottom: 1px solid #e9ecef; 
    margin: .6rem 0 .8rem 0; 
    gap: .8rem; 
}
.specs-bar span { 
    display:flex; 
    align-items:center; 
    gap:.5rem; 
    color: var(--text-color); /* Dark text */
    font-size:.9rem; 
    flex:1; 
}
.specs-bar svg { 
    width:18px; 
    height:18px; 
    fill: var(--primary-color); /* Blue icon */
    flex-shrink:0; 
}
.price-row { 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    gap:1rem; 
    margin-top:0; 
}
.price-tag { 
    font-size:1.5rem; 
    font-weight:700; 
    color: var(--text-color); /* Dark text */
    white-space:nowrap; 
}
.price-tag span { 
    font-size: .9rem; 
    font-weight:300; 
    color: var(--text-color-light); 
    margin-left:.4rem; 
}
.btn-book-showcase { 
    background-color: var(--primary-color); 
    color: #fff; /* White text on blue */
    padding:.8rem 1rem; 
    border-radius:10px; 
    font-weight:700; 
    text-transform:uppercase; 
    letter-spacing: .8px; 
    transition: all .2s ease; 
    min-width:120px; 
    text-align:center; 
    text-decoration: none; 
    font-size: 0.9rem; 
}
.btn-book-showcase:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2); /* Blue shadow */
    background-color: var(--primary-color-hover);
}
.showcase-floor { 
    display: none; /* Removed floor reflection */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 1rem;
    margin-bottom: 0.5rem; 
}
.card-map-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: #f1f3f5; /* Light gray */
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    transition: all 0.2s ease-in-out;
}
.card-map-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff; /* White icon */
}
.card-map-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 900px) { 
    .showcase-viewport { height:auto; } 
    .showcase-track { 
        width: auto; 
        padding: 0 5vw; 
        overflow-x:auto; 
        scroll-snap-type:x mandatory; 
        padding-bottom:2rem; 
        /* Hide scrollbar */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .showcase-track::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .villa-pair { width: auto; } 
    .showcase-card { 
        width:80vw; 
        margin-right:4vw; 
        scroll-snap-align:center; 
    } 
    .section-title { font-size:1.6rem; } 
}


/* --- 5. Events Section --- */
.events-section {
    padding: 6rem 4rem;
    background-color: var(--surface-color); /* White background */
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}
.event-card {
    background-color: var(--bg-color); /* Light gray card */
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.event-image-wrapper {
    height: 300px;
    overflow: hidden;
}
.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.event-card:hover .event-image-wrapper img {
    transform: scale(1.05);
}
.event-content {
    padding: 1.5rem;
}
.event-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
}
.event-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color-light);
    margin: 0.75rem 0 1.5rem 0;
}
.stat-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--surface-color); /* White badge */
    color: var(--text-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 300;
    border: 1px solid #eee;
}

/* --- 6. Privé Section (Horizontal Scroll) --- */
.prive-section {
    background: var(--bg-color); /* Light gray */
    padding: 6rem 4rem;
    color: var(--text-color);
    max-width: 100vw; 
    overflow: hidden; 
}
.prive-header {
    display: grid;
    grid-template-columns: 200px 1fr 180px; 
    gap: 2rem;
    align-items: end; 
    margin-bottom: 3rem; 
    max-width: 1400px; 
    margin-left: auto;
    margin-right: auto;
}
.prive-logo {
    font-family: var(--font-serif);
    color: var(--primary-color); /* Blue */
    background-color: #e6f2ff; /* Light blue background */
    padding: 1rem 1.5rem;
    display: inline-block; 
    text-align: center;
    border-radius: 8px; 
}
.prive-logo span {
    display: block;
    font-size: 0.8rem; 
    letter-spacing: 3px;
    margin-bottom: 0.2rem;
    color: var(--primary-color-hover); /* Darker blue */
}
.prive-logo {
    font-size: 1.5rem; 
    font-weight: 700;
}
.prive-intro-text h3 {
    font-size: 1.5rem; 
    font-weight: 300;
    color: var(--text-color);
    margin-left: 2rem; 
}
.prive-explore-btn {
    text-align: right;
}
.prive-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 50px; 
    font-weight: 500;
}
.prive-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.prive-carousel-wrapper {
    position: relative;
    max-width: 100vw; 
    margin: 0 -4rem; 
    padding: 0 4rem; 
}
.prive-scroller-container {
    overflow: hidden; 
}
.prive-scroller {
    display: flex;
    gap: 2rem; 
    padding-bottom: 1.5rem; 
}
.prive-card {
    position: relative;
    flex-shrink: 0;
    width: 340px; 
    height: 460px; 
    background-color: var(--surface-color); /* White card */
    border-radius: 16px;
    overflow: hidden;
    color: #fff; /* Text on image is white */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}
.prive-card img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
}
.prive-card-overlay {
    position: absolute;
    bottom: 80px; 
    left: 20px;
    right: 20px; 
    display: flex;
    justify-content: space-around; 
    gap: 0.75rem; 
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(8px); 
    padding: 0.75rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem; 
    text-align: center;
}
.prive-card-overlay span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #eee;
}
.prive-card-overlay svg {
    width: 16px; 
    height: 16px;
    fill: #fff; /* White icon, not gold */
}
.prive-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent); 
}
.prive-card-info h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: #fff; /* White title */
}
.prive-card-info p {
    font-weight: 300;
    color: #ccc;
    font-size: 0.9rem;
}
.prive-nav {
    display: flex;
    justify-content: center; 
    gap: 1.5rem;
    margin-top: 3rem; 
}
.prive-nav button {
    background-color: var(--surface-color); /* White button */
    border: 1px solid var(--primary-color); /* Blue border */
    color: var(--primary-color); /* Blue arrow */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.prive-nav button:hover {
    background-color: var(--primary-color);
    color: #fff; 
    transform: translateY(-2px);
}

/* --- 7. Partner Section --- */
.partner-section {
    padding: 6rem 2rem; 
}
.partner-card {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 3rem;
    align-items: center;
    max-width: 100%; 
    margin: 0 auto; 
    background-color: #e6f2ff; /* Light blue background */
    padding: 4rem;
    border-radius: 24px; 
}
.partner-content .eyebrow-text {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--primary-color); /* Blue */
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.partner-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--text-color); /* Dark text */
}
.partner-content .description {
    color: var(--text-color-light); /* Lighter text */
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 450px; 
}
.btn-dark {
    background-color: var(--text-color); /* Dark button */
    color: #fff;
    border-color: var(--text-color);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-dark:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
}
.partner-image-wrapper {
    position: relative; 
    height: 500px;
}
.partner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.partner-card .partner-content h2,
.partner-card .partner-content .description {
    color: var(--text-color); /* Dark text */
}
.partner-card .partner-content .eyebrow-text {
    color: var(--primary-color); /* Blue */
}
.image-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--primary-color); /* Blue text */
    padding: 0.7rem 1.2rem;
    border-radius: 50px; 
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#tag-1 { top: 2rem; left: -3rem; }
#tag-2 { top: 15rem; right: -4rem; }
#tag-3 { bottom: 2rem; left: 4rem; }
.partner-image-wrapper{border-radius:16px; overflow: hidden;}
.partner-image-wrapper img{transition:transform .5s ease;}
.partner-card:hover .partner-image-wrapper img{transform:scale(1.05);}


/* --- 8. Platforms & Partners Section --- */
.platforms-section {
    padding: 2rem 0; 
}
.platforms-group {
    padding: 4rem 2rem;
    max-width: 1200px; 
    margin: 0 auto; 
}
.platforms-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 4rem;
    color: var(--text-color);
}
.logo-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 4rem 2rem;
    align-items: center;
}
.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; 
}
.logo-item svg {
    height: 40px;
    width: auto;
    max-width: 150px;
    opacity: 0.7; 
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.logo-item:hover svg {
    opacity: 1; 
    transform: scale(1.1); 
}

/* --- 9. Footer --- */
.footer {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a; /* Footer remains dark for contrast */
    color: #a0a0a0;
    padding: 4rem 4rem 2rem 4rem;
    border-top: 1px solid #2a2a2a;
}
.footer::before {
    content: 'Ozy Stays'; /* Updated text */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 -3px 20px rgba(0, 123, 255, 0.1); /* Blue glow */
    text-align: right;
}
.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; 
    gap: 2rem;
    align-items: start;
    padding-bottom: 3rem;
}
.footer-column h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 0.8rem; }
.footer-column ul a { text-decoration: none; color: #a0a0a0; transition: color 0.3s ease; }
.footer-column ul a:hover { color: var(--primary-color); }
.footer-center-cta {
    text-align: center;
    padding-top: 1rem; 
}
.footer-center-cta h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color); /* Blue */
}
.footer-center-cta p {
    font-weight: 300;
    margin-top: 1rem;
    color: #a0a0a0;
}
.footer-center-cta .email {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--primary-color); /* Blue */
}
.footer-social-column {
    display: flex;
    justify-content: flex-end; 
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}
.footer-social a { color: #888; transition: color 0.3s ease; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 24px; height: 24px; }
.footer-copyright {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
}
.footer-copyright p { margin: 0.25rem 0; }
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .footer-social-column { justify-content: center; margin: 2rem 0; }
    .footer-social { flex-direction: row; }
}

/* --- 10. Responsiveness (UPDATED) --- */
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
    .feature-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
    .feature-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; flex-direction: row; align-items: center; text-align: left; }
    .feature-card:nth-child(4) .card-image-wrapper { width: 50%; height: 100%; border-radius: 0; border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
    .feature-card:nth-child(4) .card-content { width: 50%; }
    .prive-scroller { overflow-x: hidden; }
}

@media (max-width: 1023px) {
    .features-grid-section { padding: 4rem 2rem; }
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-card.large-image-card .card-image-wrapper, .feature-card.wide-card .card-image-wrapper { height: 250px; }
    .feature-card.wide-card { flex-direction: column; }
    .feature-card.wide-card .card-image-wrapper, .feature-card.wide-card .card-content { width: 100%; border-radius: 0; }
    .feature-card.wide-card .card-image-wrapper { border-top-left-radius: 12px; border-top-right-radius: 12px; }
    .feature-card.wide-card .card-content { text-align: left; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .prive-section { padding: 4rem 0; }
    .prive-header {
        grid-template-columns: 1fr; 
        text-align: center;
        padding: 0 2rem; 
        margin-bottom: 2rem;
    }
    .prive-logo-container {
        display: flex; 
        justify-content: center;
        margin-bottom: 1rem;
    }
    .prive-intro-text h3 {
        font-size: 1.3rem; 
        margin-left: 0; 
        margin-bottom: 1.5rem;
    }
    .prive-explore-btn { text-align: center; }
    .prive-carousel-wrapper { margin: 0; padding: 0 2rem; }
    .prive-scroller-container {
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory; 
    }
    .prive-scroller-container::-webkit-scrollbar { display: none; }
    .prive-card {
        scroll-snap-align: start; 
        width: 300px; 
        height: 450px; 
    }
    .prive-nav { margin-top: 2rem; }
}

@media (max-width: 768px) {
    nav { padding: 1.5rem 2rem; }
    nav ul { display: none; }
    .section-title { font-size: 2.5rem; }
    .features-grid-section { padding: 4rem 2rem; }
    .events-grid { grid-template-columns: 1fr; }
    .prive-card { width: 280px; height: 400px; }
}

@media (max-width: 1200px) {
    .partner-card {
        max-width: 95%; 
        padding: 3rem;
        grid-template-columns: 1fr; 
    }
    .partner-content { text-align: center; }
    .partner-content .description { margin-left: auto; margin-right: auto; }
    .partner-image-wrapper { margin-top: 2rem; height: 400px; }
    #tag-1, #tag-2, #tag-3 {
        position: static; 
        display: inline-block;
        margin: 0.5rem;
    }
    .partner-image-wrapper { text-align: center; }
}

@media (max-width: 768px) {
    .events-section,
    .partner-section {
        padding-left: 1.5rem;  
        padding-right: 1.5rem; 
    }
}

/* Date input placeholder fix */
input[type="date"] { position: relative; }
input[type="date"]::before {
    content: attr(placeholder);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd; /* Lighter placeholder text */
    pointer-events: none; 
}
input[type="date"]:focus::before,
input[type="date"]:valid::before {
    display: none;
}



/* additional css changes for dark mod */

/* --- 5. Dark Mode Toggle & Theme --- */

/* --- A. The Toggle Switch CSS --- */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 2rem; /* Add space next to nav links */
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px; /* Width of the switch */
    height: 28px; /* Height of the switch */
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px; /* Height of the circle */
    width: 20px; /* Width of the circle */
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Sun icon */
.slider:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1c40f'%3E%3Cpath d='M12 3.75a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5a.75.75 0 01.75-.75zM12 18a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0112 18zM5.109 6.859a.75.75 0 01.092 1.057l-1.06 1.06a.75.75 0 01-1.149-.96l1.06-1.06a.75.75 0 011.057-.097zM18.89 17.142a.75.75 0 01.092 1.057l-1.06 1.06a.75.75 0 01-1.149-.96l1.06-1.06a.75.75 0 011.057-.097zM19.96 5.89a.75.75 0 011.057-.092l1.06 1.06a.75.75 0 01-.96 1.149l-1.06-1.06a.75.75 0 01-.097-1.057zM4.038 18.11a.75.75 0 011.057-.092l1.06 1.06a.75.75 0 01-.96 1.149l-1.06-1.06a.75.75 0 01-.097-1.057zM3.75 12a.75.75 0 01.75-.75h1.5a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zM18 12a.75.75 0 01.75-.75h1.5a.75.75 0 010 1.5h-1.5A.75.75 0 0118 12zM6.858 5.108a.75.75 0 011.057.092l1.06 1.06a.75.75 0 01-.96 1.149l-1.06-1.06a.75.75 0 01-.097-1.057zM17.14 18.892a.75.75 0 011.057.092l1.06 1.06a.75.75 0 01-.96 1.149l-1.06-1.06a.75.75 0 01-.097-1.057zM12 7.5a4.5 4.5 0 100 9 4.5 4.5 0 000-9z'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
}

input:checked + .slider {
    background-color: #4a4a4a; /* Dark background for toggle */
}

input:checked + .slider:before {
    transform: translateX(22px); /* Move the circle */
    /* Moon icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9ab81'%3E%3Cpath fill-rule='evenodd' d='M11.54.022a.75.75 0 01.022.75 9.75 9.75 0 1011.668 11.668.75.75 0 01.75.022 11.25 11.25 0 11-12.44-12.44.75.75 0 01.75.022z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* --- B. Dark Mode Theme (Black & Gold) --- */

/* These variables are applied when the body has the 'dark-mode' class */
body.dark-mode {
    --bg-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-color-light: #b0b0b0;
    --primary-color: #c9ab81; /* Soft gold */
    --primary-color-hover: #e0c49f; /* Lighter gold */
}

/* --- General Overrides --- */
body.dark-mode {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a1a1a' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-opacity: 0.1;
}

/* --- Hero & Nav --- */
body.dark-mode .logo img { border-color: var(--primary-color); }
body.dark-mode .logo span { color: var(--primary-color); }
body.dark-mode nav a:hover { color: var(--primary-color); }
body.dark-mode .slider-nav button:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--bg-color); }
body.dark-mode .slide-subtitle { color: var(--primary-color); }
body.dark-mode .slide-stats { border-left-color: var(--primary-color); }

/* --- Booking Bar --- */
body.dark-mode .booking-bar {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
}
body.dark-mode .booking-field { border-right-color: rgba(255,255,255,0.2); }
body.dark-mode .booking-field label { color: #ccc; }
body.dark-mode .booking-field input { color: #fff; }
body.dark-mode .booking-field input::placeholder { color: rgba(255,255,255,0.7); }
body.dark-mode .booking-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
body.dark-mode .booking-field select {
    color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9ab81'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
}
body.dark-mode .booking-field select option { background-color: var(--bg-color); color: var(--text-color); }
body.dark-mode .booking-field select optgroup { background-color: var(--surface-color); color: var(--primary-color); }
body.dark-mode .search-btn { background: var(--primary-color); color: var(--bg-color); }
body.dark-mode .search-btn:hover { background: var(--primary-color-hover); }

/* --- Features Grid --- */
body.dark-mode .feature-card {
    background-color: var(--surface-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: none;
}
body.dark-mode .feature-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
body.dark-mode .card-content h3 { color: var(--primary-color); }
body.dark-mode .card-content p { color: var(--text-color-light); }

/* --- Villa Showcase & Filter --- */
body.dark-mode .showcase-section { background-color: #0a0a0a; }
body.dark-mode .showcase-header .section-title { color: #fff; }
body.dark-mode .showcase-header .section-subtitle { color: var(--text-color-light); }
body.dark-mode .filter-btn {
    border-color: #555;
    color: var(--text-color-light);
}
body.dark-mode .filter-btn:hover {
    background-color: var(--surface-color);
    border-color: #777;
    color: var(--text-color);
}
body.dark-mode .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}
body.dark-mode .showcase-card {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    border: 1px solid #2a2a2a;
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}
body.dark-mode .card-content-showcase h3 { color: var(--primary-color); }
body.dark-mode .location { color: #999; }
body.dark-mode .location svg { fill: #777; }
body.dark-mode .specs-bar { border-color: #222; }
body.dark-mode .specs-bar span { color: #ddd; }
body.dark-mode .specs-bar svg { fill: var(--primary-color); }
body.dark-mode .price-tag { color: #fff; }
body.dark-mode .price-tag span { color: #9b9b9b; }
body.dark-mode .btn-book-showcase {
    background-color: var(--primary-color);
    color: #000;
}
body.dark-mode .btn-book-showcase:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    background-color: var(--primary-color-hover);
}
body.dark-mode .card-map-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #a0a0a0;
}
body.dark-mode .card-map-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #0a0a0a;
}

/* --- Events Section --- */
body.dark-mode .events-section { background-color: var(--surface-color); }
body.dark-mode .event-card {
    background-color: var(--bg-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: none;
}
body.dark-mode .event-content p { color: var(--text-color-light); }
body.dark-mode .stat-badge {
    background-color: var(--surface-color);
    color: var(--text-color);
    border: none;
}

/* --- Privé Section --- */
body.dark-mode .prive-section { background: #0a0a0a; color: #fff; }
body.dark-mode .prive-logo {
    color: var(--primary-color);
    background-color: #2b1f16; /* Dark brown */
}
body.dark-mode .prive-logo span { color: #b0b0b0; }
body.dark-mode .prive-intro-text h3 { color: #e0e0e0; }
body.dark-mode .prive-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
body.dark-mode .prive-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}
body.dark-mode .prive-card {
    background-color: var(--surface-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    border: none;
}
body.dark-mode .prive-card-overlay svg { fill: var(--primary-color); }
body.dark-mode .prive-card-info h4 { color: var(--primary-color); }
body.dark-mode .prive-card-info p { color: #ccc; }
body.dark-mode .prive-nav button {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
body.dark-mode .prive-nav button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* --- Partner Section --- */
body.dark-mode .partner-section { background-color: var(--bg-color); }
body.dark-mode .partner-card {
    background-color: #f5e7df; /* This was the light color from your original */
    /* Let's change it to a dark-theme-friendly color */
    background-color: #2b1f16; /* Dark brown from Privé logo */
}
body.dark-mode .partner-content .eyebrow-text { color: var(--primary-color); }
body.dark-mode .partner-content h2 { color: #fff; }
body.dark-mode .partner-content .description { color: var(--text-color-light); }
body.dark-mode .btn-dark {
    background-color: #252525;
    color: #fff;
    border-color: #252525;
}
body.dark-mode .btn-dark:hover { background-color: #333; border-color: #333; }
body.dark-mode .image-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* --- Platforms Section --- */
body.dark-mode .platforms-section { background-color: var(--bg-color); }
body.dark-mode .platforms-title { color: var(--primary-color); }

/* --- Footer --- */
body.dark-mode .footer::before { text-shadow: 0 -3px 20px rgba(201, 171, 129, 0.15); }
body.dark-mode .footer-center-cta h2 { color: var(--primary-color); }
body.dark-mode .footer-center-cta .email { color: var(--primary-color); }

/* --- Mobile Nav Fix for Toggle --- */
@media (max-width: 768px) {
    .theme-switch-wrapper {
        position: absolute;
        top: 1.5rem;
        right: 2rem;
        margin-left: 0;
    }
}




/* --- 1. Hero Text Fix (Light Mode) --- */
/* This makes the main hero text white and bold in light mode */
body:not(.dark-mode) .slide-title {
    color: #00e7ff; /* Always white */
    font-weight: 700; /* Bolder */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4); /* Add a simpler, cleaner shadow */
}

/* This makes the subtitle white in light mode */
body:not(.dark-mode) .slide-subtitle {
    color: #fff;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* This makes the stats white in light mode */
body:not(.dark-mode) .slide-stats {
    color: #00e7ff;
    border-left-color: #000000;
}


/* --- 2. Booking Bar Select Text (Light Mode) --- */
/* This forces the "All Locations & Villa" text to be black */
body:not(.dark-mode) .booking-field select {
    color: #000;
}


/* --- 3. Footer Text Position Fix --- */
.footer::before {
    /* This moves the background text "Ozy Stays" */
    transform: translate(calc(-50% - 0.3in), calc(-50% - 0.5in));
}



/* --- FIX 1: Make Card Content Responsive --- */

/* This makes the specs (guests, bedrooms) stack on small screens */
.specs-bar {
    flex-wrap: wrap;
}

/* This makes the price and "View More" button stack on small screens */
.price-row {
    flex-wrap: wrap;
}


/* This hides the empty villa pairs during filtering */
.villa-pair.pair-hidden {
    display: none;
}

