@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --primary: #5d6d3c;
    /* Olive green from the image */
    --secondary: #a67c52;
    /* Earthy brown */
    --bg-dark: #1a1a1a;
    --text-white: #ffffff;
    --text-muted: #e0e0e0;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-body);
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
.heading-font {
    font-family: var(--font-heading);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Hero Section Refined --- */
.hero {
    height: 45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-center-content {
    z-index: 10;
    color: white;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.discover-text {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: -10px;
    opacity: 0.9;
}

.hero-center-content h1 {
    font-size: 6.5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: -2px;
}

.authentic-text {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-top: -15px;
    opacity: 0.9;
}

/* Location Cards Row */
.location-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.location-card {
    width: 280px;
    height: 280px;
    border-radius: 25px;
    border: 3px solid white;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    width: 100%;
    height: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.card-text p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.card-text h3 {
    font-size: 2rem;
    font-weight: 400;
}

/* Hero Booking Form — Centered Horizontal Bar */
.hero-booking-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.booking-form-mini {
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    /* Pillow shape for the horizontal bar */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.booking-field {
    flex: 1;
    margin-bottom: 0;
    position: relative;
}

.booking-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    background: #eee;
}

.booking-field label {
    display: block;
    font-size: 0.6rem;
    color: #999;
    margin-bottom: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-left: 12px;
}

.booking-field select,
.booking-field input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    color: #333;
    background-color: transparent;
    font-family: inherit;
    font-weight: 500;
}

.booking-field select:focus,
.booking-field input:focus {
    outline: none;
}

.booking-row {
    flex: 2;
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.btn-book-now {
    padding: 14px 28px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.btn-book-now:hover {
    background-color: #835e39;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5% 30px 10%;
    /* Reduced right padding to move menu right */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo img {
    height: 120px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    margin-top: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 400;
    color: white;
    transition: var(--transition);
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

nav ul li a:hover {
    color: var(--secondary);
}

/* --- Section: An Offbeat Escape --- */
.offbeat-section {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: #fff;
}

.offbeat-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.offbeat-content h3 {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.offbeat-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #333;
}

.offbeat-content p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #4a5730;
    transform: scale(1.05);
}

/* --- Section: What's New banner --- */


/* --- Section: Properties --- */
.homes-section {
    padding: 100px 5%;
    text-align: center;
}

.homes-section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
}

.homes-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.home-card {
    width: 350px;
    text-align: left;
    transition: var(--transition);
}

.home-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.home-card h3 {
    margin-bottom: 10px;
}

.home-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Section: Testimonials --- */
.testimonials {
    padding: 60px 10%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.test-logo {
    font-size: 3rem;
    margin-bottom: 10px;
}

.testimonials h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.testimonial-container {
    padding-top: 20px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    min-height: 180px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.testimonial-date {
    font-size: 0.85rem;
    opacity: 0.7;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* --- Section: Property Spaces --- */
.spaces-section {
    padding: 100px 5%;
    background-color: #f8f6f2;
}

.spaces-container {
    max-width: 1200px;
    margin: 0 auto;
}

.space-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.space-row:nth-child(even) {
    flex-direction: row-reverse;
}

.space-image-card {
    flex: 1.2;
    overflow: hidden;
    max-width: 100%;
}

.space-image-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.space-text-card {
    flex: 1;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.space-text-card h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.space-text-card p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.amenity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    background: #f1efe9;
    border: 1px solid #e0ddd5;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

/* --- Footer --- */
footer {
    background-color: var(--primary);
    color: white;
    padding: 80px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h2 {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Floating Icons --- */
.floating-icons {
    position: fixed;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 9999;
}

.floating-icons a {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.icon-whatsapp {
    background-color: #25D366;
}

.icon-chat {
    background-color: #a67c52;
}

.floating-icons img {
    width: 30px;
    height: 30px;
}

/* --- Mobile Navigation --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-logo {
    margin-bottom: 30px;
    text-align: center;
}

.mobile-logo img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.mobile-nav-overlay ul {
    list-style: none;
    text-align: center;
}

.mobile-nav-overlay ul li {
    margin: 20px 0;
}

.mobile-nav-overlay ul li a {
    color: white;
    font-size: 2rem;
    font-family: var(--font-heading);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-center-content h1 {
        font-size: 4.5rem;
    }

    .offbeat-section {
        grid-template-columns: 1fr;
        padding: 60px 5%;
        /* Standardize padding */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amenities-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 5%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        height: 50px !important;
    }

    /* Hero section — full screen, scrollable */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 40px;
        justify-content: center;
    }

    .hero-center-content {
        padding: 0 16px;
        margin-top: 0;
    }

    .hero-center-content h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
        line-height: 1.1;
        margin: 10px 0;
    }

    .discover-text {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .authentic-text {
        font-size: 1.2rem;
        margin-top: 0;
    }

    /* Cards — Optimized Grid */
    .location-cards-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 16px;
        margin-top: 30px;
    }

    .location-card {
        width: 100%;
        height: 180px;
        border-radius: 18px;
    }

    .card-text h3 {
        font-size: 1.2rem;
    }

    /* Booking form — scroll below */
    .hero-booking-container {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        padding: 0 16px;
    }

    .booking-form-mini {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
    }

    .booking-row {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .booking-field:not(:last-child)::after {
        display: none;
    }

    .btn-book-now {
        width: 100%;
    }

    .offbeat-section {
        padding: 60px 5%;
        gap: 30px;
    }

    .offbeat-content h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .homes-section {
        padding: 60px 5%;
    }

    .homes-section h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .space-row {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 50px;
    }

    .space-image-card img {
        height: 300px;
    }

    .space-text-card {
        padding: 25px;
    }

    .space-text-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-center-content h1 {
        font-size: 2.2rem;
    }

    .discover-text,
    .authentic-text {
        font-size: 1rem;
    }

    .location-cards-container {
        grid-template-columns: 1fr;
    }

    .location-card {
        height: 200px;
    }

    .card-text h3 {
        font-size: 1.5rem;
    }

    .card-text p {
        display: block;
        font-size: 0.8rem;
    }

    .new-banner {
        height: 30rem;
        padding: 30px 5%;
    }

    .new-content {
        max-width: 100%;
    }
}

/* --- Amenities Premium Section --- */
.amenities-section {
    padding: 100px 10%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.amenities-content {
    flex: 1.2;
}

.amenities-subtitle {
    font-size: 1.8rem;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.amenities-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.1;
}

.amenities-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
}

.amenity-item {
    text-align: center;
    transition: var(--transition);
}

.amenity-item i {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

.amenity-item span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    display: block;
}

.amenity-item:hover {
    transform: translateY(-5px);
}

.amenity-item:hover i {
    color: var(--primary);
}

.amenity-visuals {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px;
}

.visual-main {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.visual-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-small {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.visual-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .amenities-section {
        flex-direction: column;
        text-align: center;
        gap: 60px;
        padding: 80px 5%;
    }

    .amenities-description {
        margin-left: auto;
        margin-right: auto;
    }

    .amenities-grid {
        justify-content: center;
    }

    .amenity-visuals {
        justify-content: center;
        padding: 20px 0;
        /* Reduced padding */
    }

    .visual-main {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 768px) {
    .amenities-content h2 {
        font-size: 3rem;
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .visual-main {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .visual-small {
        width: 150px;
        height: 150px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .visual-main {
        width: 100%;
        max-width: 260px;
        height: auto;
        aspect-ratio: 1/1;
    }

    .visual-small {
        width: 130px;
        height: 130px;
        right: 0;
        bottom: 10px;
    }
}