/* -----------------------------------------------------------
   1. FONT & VARIABLES
   ----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --brand-burgundy: #310308;
    --brand-white: #ffffff;
    --brand-gray: #f5f5f5;
    --text-dark: #1a1a1a;
    --font-main: 'Raleway', sans-serif;
}

/* -----------------------------------------------------------
   2. PROFESSIONAL RESET
   ----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* -----------------------------------------------------------
   3. GLOBAL LAYOUT
   ----------------------------------------------------------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* 1. The Standard Header (Used on internal pages) */
.main-header {
    background-color: var(--brand-burgundy);
    padding: 20px 0;
    width: 100%;
    z-index: 1000;
    position: relative;
}

/* 2. The Homepage Modifier */
.main-header.transparent {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 0.9rem;
    color: var(--brand-white);
    text-transform: capitalize;
    font-weight: 300;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -----------------------------------------------------------
   5. HERO SECTION
   ----------------------------------------------------------- */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    background: url('../images/home-background.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    color: var(--brand-white);
}

/* Search Bar in Middle */
.hero-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center with the image */
    align-items: center;
    padding-top: 100px;
    /* Safe buffer for absolute header */
    padding-bottom: 5vh;
    /* Adjust bias slightly upwards */
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    background: white;
    border: none;
    padding: 10px 40px;
    font-size: 0.6rem;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab.active {
    color: #310308;
}

.tab:first-child {
    border-radius: 5px 0 0 5px;
}

.tab:last-child {
    border-radius: 0 5px 5px 0;
}

.search-bar {
    display: flex;
    background: white;
    border-radius: 40px;
    width: 600px;
    padding: 12px 30px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.search-bar .search-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #888;
}

/* Bottom Project Text */
.hero-footer {
    padding-bottom: 50px;
    /* Consistently tight */
}

.project-details h1 {
    font-size: 5rem;
    /* Match Figma larger size */
    font-weight: 300;
    margin-bottom: 20px;
    /* Tighter layout */
    display: flex;
    align-items: center;
    gap: 30px;
}

.project-details p.description {
    font-size: 1.1rem;
    max-width: 800px;
    /* Better reading width */
    margin-bottom: 30px;
    /* Tighter layout */
    line-height: 1.6;
    font-weight: 300;
}

.stats {
    display: flex;
    gap: 50px;
    /* Increase space between stats */
    font-size: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* -----------------------------------------------------------
   6. HOMEPAGE CONTENT SECTIONS
   ----------------------------------------------------------- */

/* News & Properties Title */
.properties-section {
    padding: 100px 0 50px 0;
    /* Reduced top and bottom padding significantly */
    text-align: center;
}

.section-title {
    font-size: 5rem;
    font-weight: 200;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Specific styling for the curated launches section to make it match Figma */
.properties-section .section-title {
    color: #ccc;
    font-weight: 100;
    letter-spacing: 8px;
    /* Reduced space */
    opacity: 0.8;
    margin-left: 5%;
    margin-right: 5%;
    font-size: clamp(2rem, 4vw, 4.5rem);
    /* Responsive sizing */
}

@media (min-width: 1025px) {
    .properties-section .section-title {
        white-space: nowrap;
        /* Force one line on larger screens */
        margin-left: 0;
        margin-right: 0;
    }
}

/* Property Grid */
.property-grid {
    display: flex;
    width: 100vw;
    height: 300px;
    gap: 0;
    margin: 0;
    padding: 0;
    /* Set a consistent height for the row */
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 50px;
    align-items: center;
    /* Centers the shrunk image vertically */
}

.property-grid::-webkit-scrollbar {
    display: none;
}

.property-card {
    /* Use flex-basis to divide the screen. 
       If you have 5 images, 20vw makes it span exactly 100% of the window */
    flex: 0 0 20vw;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

/* Dark overlay logic */
.property-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* HOVER & ACTIVE EFFECTS: Shrink the image */
@media (hover: hover) {
    .property-card:hover img {
        width: 70%;
        height: 70%;
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
    }

    .property-card:hover::after {
        opacity: 0;
    }

    .property-card:hover .card-overlay {
        opacity: 0;
    }
}

.property-card.active img {
    width: 70%;
    height: 70%;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
}
.property-card.active::after {
    opacity: 0;
}
.property-card.active .card-overlay {
    opacity: 0;
}

/* Card Overlay Text */
.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* Carousel Controls */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    color: #310308;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-nav:hover {
    background: #310308;
    color: white;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}


/* --- RESPONSIVENESS --- */

/* Laptops & Small Monitors */
@media (max-width: 1366px) {
    .property-card { flex: 0 0 25vw; }
}

/* Tablets */
@media (max-width: 1024px) {
    .property-card { flex: 0 0 33.33vw; }
}

/* Phones */
@media (max-width: 600px) {
    .property-grid {
        height: 250px;
    }

    .property-card {
        flex: 0 0 85vw;
        /* Shows 1.2 images to hint that it's a scrollable carousel */
        margin-right: 0;
    }

    /* On mobile, shrink effect can be annoying, 
       we make it less drastic */
    .property-card:active img {
        width: 90%;
        height: 90%;
    }
}

/* Big Screens / TVs */
@media (min-width: 1920px) {
    .property-grid {
        height: 450px;
        /* Scale up height for 4K screens */
    }
}

.card-overlay h3 {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 0.7rem;
    font-weight: 300;
    opacity: 0.6;
}

/* Featured Detail Section */
.featured-property-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 5%;
    background: #fff;
    text-align: left;
    min-height: 400px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}

.featured-property-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-img-box {
    flex: 1.2;
    /* Slightly narrower than before to match second screenshot */
    border-radius: 0;
    /* Removing border radius to match sharp edges */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Subtler shadow */
}

.featured-img-box img {
    width: 100%;
    display: block;
}

.featured-info-box {
    flex: 1;
}

.featured-info-box h2 {
    font-size: 3rem;
    color: #310308;
    margin-bottom: 25px;
    font-weight: 300;
}

.featured-info-box p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-explore {
    background: var(--brand-burgundy);
    /* Dark burgundy button as requested */
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
    border-radius: 0;
}

.btn-explore:hover {
    background: #000;
}

/* Split Section (Image Left, Text Right) */
.featured-split {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 30px;
    text-align: left;
}

.split-image {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    display: block;
}

.split-content {
    flex: 0.8;
}

.split-content h2 {
    font-size: 2.5rem;
    color: #310308;
    margin-bottom: 20px;
    font-weight: 300;
}

.split-content p {
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.btn-burgundy {
    background: #310308;
    color: white;
    padding: 15px 60px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* CTA Background Section */
.cta-section {
    height: 700px;
    background: url('../images/luxury-real estate.png') center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    /* Move text to the top half */
    padding-top: 20px;
    /* Position it exactly in the solid white part */
    justify-content: center;
    text-align: center;
    position: relative;
    border: none;
    /* Remove blue borders */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Seamless white fade from the top */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.9) 12%, transparent 35%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle dark fade from the bottom for text legibility */
.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.cta-overlay {
    width: 100%;
    position: relative;
    z-index: 5;
}

.cta-overlay h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    /* Responsive sizing */
    color: #999;
    /* Darker grey for better readability against white fade */
    text-transform: uppercase;
    letter-spacing: 15px;
    margin-bottom: 15px;
    font-weight: 200;
}

.cta-overlay p {
    color: #310308;
    font-size: 1.2rem;
    margin-bottom: 80px;
    font-weight: 600;
    /* Bold burgundy */
}

.btn-white {
    background: white;
    color: #310308;
    padding: 22px 140px;
    text-decoration: none;
    border-radius: 0;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.cta-bottom-text {
    position: absolute;
    bottom: 30px;
    width: 100%;
    padding: 0 15%;
    font-size: 0.8rem;
    color: white;
    line-height: 1.6;
    font-weight: 300;
    z-index: 5;
    /* Ensure text is above bottom gradient */
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card img {
    border-radius: 10px;
    margin-bottom: 10px;
}

.news-image {
    width: 100%;
    aspect-ratio: 1;
    background: #e0e0e0;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-body {
    padding: 0 10px;
}

.news-body .date {
    font-size: 0.9rem;
    color: #B8B8B8;
    margin-bottom: 10px;
    display: block;
}

.news-body h3 {
    font-size: 1.2rem;
    color: #460B0F;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 400;
}

.news-body p {
    font-size: 0.95rem;
    color: #9F9F9F;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -----------------------------------------------------------
   7. NEWSLETTER & FOOTER
   ----------------------------------------------------------- */
.newsletter-section {
    padding-bottom: 50px;
}

.newsletter-box {
    background: #D9D9D9;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 1.8rem;
    color: #310308;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.4;
}

.newsletter-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 20px 25px;
    border: none;
    border-radius: 0;
    background: #EBEBEB;
    color: #310308;
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 300;
}

.newsletter-form input::placeholder {
    color: #88575a;
    font-weight: 300;
}

.newsletter-form .btn-burgundy {
    align-self: center;
    margin-top: 25px;
    padding: 20px 60px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 300;
    border-radius: 0;
    background-color: #310308 !important;
}

.main-footer {
    background: var(--brand-burgundy);
    color: white;
    padding: 40px 0 20px;
}

.footer-top {
    margin-bottom: 40px;
}

.contact-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
}

.contact-item {
    background-color: #310308 !important;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.75rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links img {
    width: 18px;
    filter: brightness(0) invert(1);
}

.lang-select {
    opacity: 0.8;
}

.listing-container {
    padding: 40px 0;
    background-color: #fff;
}

.breadcrumbs {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 30px;
}

/* Filter Bar */
.filter-section {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-section input,
.filter-section select {
    padding: 12px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 4px;
    font-family: var(--font-main);
}

.search-box {
    flex: 2;
}

.dropdowns {
    flex: 3;
    display: flex;
    gap: 10px;
}

.page-title {
    font-weight: 400;
    color: var(--brand-burgundy);
    margin-bottom: 30px;
}

/* The Grid System */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row */
    gap: 30px;
}

/* Card Styling */
.property-card-v2 {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.property-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    color: var(--brand-burgundy);
    margin-bottom: 10px;
}

.card-info p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.price {
    font-weight: 600;
    margin-top: 15px;
    color: #333;
}

.handover {
    font-size: 0.75rem;
    color: #999;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 500px;
    margin-bottom: 40px;
}

.side-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
}

/* Two Column Layout */
.details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2 parts left, 1 part right */
    gap: 40px;
    align-items: start;
}

/* Sticky Sidebar - The Pro Trick */
.details-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    /* Sticks 20px from top of screen when scrolling */
}

.sidebar-card {
    border: 1px solid #eee;
    padding: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.h-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
}

/* Ensure the link covers the whole card without changing colors */
.card-link {
    display: block;
    /* Makes the link fill the whole card area */
    color: inherit;
    /* Keeps your burgundy/gray text colors */
    text-decoration: none;
    /* Removes the underline */
}

.property-card-v2 {
    cursor: pointer;
    /* Shows the 'hand' icon when hovering */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Professional Hover Effect */
.property-card-v2:hover {
    transform: translateY(-8px);
    /* Card lifts up slightly */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-section {
    margin-top: 60px;
}

.detail-title {
    font-size: 1.8rem;
    color: var(--brand-burgundy);
    font-weight: 400;
    margin-bottom: 30px;
}

/* Payment Boxes */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.payment-box {
    padding: 30px 20px;
    border-radius: 4px;
    position: relative;
}

.payment-box.orange {
    background-color: #fdf6ec;
}

.payment-box.purple {
    background-color: #f6f1f8;
}

.payment-box.blue {
    background-color: #edf7ff;
}

.icon-top {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.5;
}

.payment-text h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.payment-text p {
    font-size: 0.85rem;
    color: #666;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 items per row */
    gap: 30px 20px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overview Text Styling */
.rich-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* Small Contact Bar in Left Column */
.contact-bar-small {
    display: flex;
    gap: 10px;
    margin: 40px 0;
}

.btn-burgundy-sm {
    background: var(--brand-burgundy);
    color: white;
    padding: 10px 25px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Page Specifics */
.contact-hero {
    height: 350px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/hero-bg.jpg.svg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    text-align: center;
}


.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-top: 20px;
}

.breadcrumbs-white {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Location Box */
.location-box {
    margin: 60px 0;
}

.location-details h3 {
    color: var(--brand-burgundy);
    margin-bottom: 20px;
}

.location-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.location-map {
    margin-top: 30px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

/* The Big Form */
.news-section {
    padding: 200px 0;
}

.form-section {
    text-align: center;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--brand-burgundy);
    margin-bottom: 40px;
}

.contact-form-container {
    background: #e0e0e0;
    /* Matches your gray box design */
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.main-contact-form .form-group {
    margin-bottom: 15px;
}

.main-contact-form input,
.main-contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: #f4f4f4;
    font-family: var(--font-main);
}

.centered {
    justify-content: center;
}

/* About Us Content Styling */
.about-content-section {
    padding: 80px 0;
    max-width: 900px;
    /* Keeps line length readable for long text */
    margin: 0 auto;
}

.about-text-wrapper p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-align: left;
    /* Design shows left-aligned text */
}

.about-text-wrapper p:first-of-type {
    font-size: 1.2rem;
    /* Make the intro slightly larger like the design */
    font-weight: 500;
}

/* News Page Layout */
.news-filter {
    margin: 40px 0;
}

.news-filter select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    color: #666;
}

/* Vertical News Item */
.news-item-large {
    display: flex;
    gap: 40px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
    background: #fff;
}

.news-img-box {
    flex: 1;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}


.news-content-box {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content-box h2 {
    font-size: 1.5rem;
    color: var(--brand-burgundy);
    margin-bottom: 15px;
}

.news-content-box .meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
}

.news-content-box .excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-read-more {
    display: inline-block;
    background: #aaa;
    /* Gray button from design */
    color: #333;
    padding: 10px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.btn-read-more:hover {
    background: var(--brand-burgundy);
    color: white;
}

/* More News Title */
.more-news-section .section-title {
    font-size: 3rem;
    color: #eee;
    margin: 100px 0 60px;
}

/* Narrow Container for Reading */
.small-container {
    max-width: 900px;
    /* Standard width for professional articles */
}

.article-header {
    margin-top: 40px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--brand-burgundy);
    font-weight: 500;
    margin-bottom: 30px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-info span {
    display: block;
    font-size: 0.9rem;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.publish-date {
    color: #999;
}

.article-featured-image {
    margin-bottom: 50px;
}

.article-featured-image img {
    width: 100%;
    border-radius: 8px;
}

/* Article Content Typography */
.article-content h3 {
    margin: 40px 0 20px;
    color: var(--brand-burgundy);
    font-size: 1.4rem;
}

.article-list {
    margin: 20px 0 20px 20px;
    color: #555;
}

.article-list li {
    margin-bottom: 10px;
}

/* -----------------------------------------------------------
   8. LISTING PAGE SPECIFIC
   ----------------------------------------------------------- */
.listing-container {
    padding: 60px 0;
    background: #fdfdfd;
}

.breadcrumbs {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
    font-weight: 300;
}

.filter-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-section .search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.filter-section .search-box input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: none;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #310308;
    font-weight: 500;
}

.filter-section .search-box input::placeholder {
    color: #310308;
    opacity: 0.7;
}

.filter-section .search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #310308;
}

.dropdowns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dropdowns select {
    padding: 12px 35px 12px 15px;
    border: none;
    background: #f8f8f8;
    font-size: 0.8rem;
    color: #310308;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23310308%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-btn-outline {
    background: #f8f8f8;
    border: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #310308;
    cursor: pointer;
}

.page-title {
    font-size: 1.8rem;
    color: #310308;
    margin-bottom: 20px;
    font-weight: 400;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.property-card-v2 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    border: 1px solid #f9f9f9;
}

.property-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.property-card-v2 .card-img {
    height: 240px;
}

.property-card-v2 .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-v2 .card-info {
    padding: 20px;
    text-align: left;
}

.property-card-v2 .card-info h3 {
    font-size: 1.25rem;
    color: #310308;
    margin-bottom: 12px;
    font-weight: 500;
}

.property-card-v2 .card-info p {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-card-v2 .card-info hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #eaeaea;
}

.property-card-v2 .card-info .price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.property-card-v2 .card-info .price-row svg {
    color: #999;
}

.property-card-v2 .card-info .price {
    font-size: 1.05rem;
    color: #310308;
    font-weight: 600;
}

.property-card-v2 .card-info .handover {
    font-size: 0.8rem;
    color: #aaa;
    margin-left: 24px;
}

.load-more-wrapper {
    text-align: center;
    margin: 40px 0;
}

.load-more {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 12px 60px;
    border-radius: 4px;
    color: #333;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.load-more:hover {
    background: #f9f9f9;
}

/* -----------------------------------------------------------
   9. PROPERTY DETAILS PAGE SPECIFIC
   ----------------------------------------------------------- */
.property-details-page {
    padding: 0 0 30px;
    background: white;
}

.property-hero-bg {
    background: url('../images/image 27.png') center/cover no-repeat;
    position: relative;
    padding: 60px 0 160px;
}

.property-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.property-hero-bg .container {
    position: relative;
    z-index: 2;
}

.property-hero-bg .breadcrumbs {
    color: #e0e0e0;
}

.property-hero-bg .breadcrumbs a:hover {
    color: white;
}

.property-main-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 15px 0 0;
    font-weight: 300;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Gallery Grid */
.gallery-grid {
    position: relative;
    margin-bottom: 80px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.overlap-gallery {
    margin-top: -120px;
    position: relative;
    z-index: 5;
}

.main-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-photos {
    position: relative;
    width: 32%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    z-index: 2;
}

.side-photos img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: block;
}

.view-more-photos {
    grid-column: span 2;
    background: #310308;
    color: white;
    border: none;
    padding: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    font-weight: 300;
}

/* Layout */
.details-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.details-left {
    flex: 2;
}

.details-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.detail-title {
    font-size: 1.5rem;
    color: #310308;
    margin-bottom: 30px;
    font-weight: 500;
}

.info-section {
    margin-bottom: 60px;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.h-card {
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.h-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-icon svg {
    width: 26px;
    height: 26px;
    stroke: #aaa;
    stroke-width: 1.2;
}

.h-text {
    display: flex;
    flex-direction: column;
}

.h-text span {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 3px;
    font-weight: 300;
}

.h-text strong {
    font-size: 0.95rem;
    color: #000;
    font-weight: 500;
}

/* Sidebar Card */
.sidebar-card {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-card .label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
}

.sidebar-card .price-tag {
    font-size: 1.8rem;
    color: #310308;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card .full-width {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
}

.btn-sidebar-enquire {
    background: #310308;
    color: #fff;
    border: none;
}

.btn-gray {
    background: #e3e3e3;
    border: 1px solid #ddd;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment-box {
    padding: 30px 25px;
    border-radius: 6px;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 140px;
}

.payment-box .icon-top {
    position: absolute;
    top: 20px;
    right: 20px;
}

.payment-box h3 {
    font-size: 2.2rem;
    margin-bottom: 2px;
    color: #000;
    line-height: 1;
}

.payment-box p {
    font-size: 0.9rem;
    color: #999;
}

.payment-box.orange {
    background: #fcf5ee;
}

.payment-box.purple {
    background: #fbf5fc;
}

.payment-box.blue {
    background: #eef8ff;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
}

.amenity-item {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 300;
}

.amenity-item svg {
    flex-shrink: 0;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-section .rich-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Bottom Contact Buttons */
.contact-actions-centered {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
}

.action-btn-box {
    background: #310308;
    color: white;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.action-btn-box:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* -----------------------------------------------------------
   10. SHARED PAGE COMPONENTS (BANNER, ACTIONS)
   ----------------------------------------------------------- */
.contact-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home-background.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    text-align: center;
}

.contact-hero .container {
    position: relative;
    padding-top: 40px;
}

.breadcrumbs-white {
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.contact-hero h1 {
    font-size: 3rem;
    letter-spacing: 5px;
    font-weight: 300;
}

.contact-sub-title {
    font-size: 1.5rem;
    color: #310308;
    margin: 40px 0;
    font-weight: 400;
}

/* Contact Us Specifics */
.location-box {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.location-details {
    flex: 1;
}

.location-details h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.location-details p {
    margin-bottom: 5px;
    color: #444;
}

.location-map {
    flex: 2;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.location-map img {
    width: 100%;
}

.form-section {
    padding: 30px 0;
}

.form-title {
    font-size: 2rem;
    color: #310308;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-container {
    background: #f2f2f2;
    padding: 40px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.main-contact-form .form-group {
    margin-bottom: 25px;
}

.main-contact-form label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 10px;
}

.main-contact-form input,
.main-contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background: white;
    font-family: inherit;
}

.main-contact-form textarea {
    height: 150px;
}

.main-contact-form .btn-burgundy {
    display: block;
    margin: 30px auto 0;
    padding: 12px 60px;
    font-size: 0.9rem;
}

/* About Us Specifics */
.about-content-section {
    padding: 40px 0;
}

.about-text-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-wrapper p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-bar-small.centered {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0 40px;
}

/* -----------------------------------------------------------
   11. NEWS PAGE SPECIFIC
   ----------------------------------------------------------- */
.news-page {
    padding-bottom: 40px;
}

.news-filter-box {
    padding: 15px 0;
    display: flex;
    justify-content: flex-start;
}

.news-filter-box select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #666;
}

.featured-news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
}

.news-featured-card {
    display: flex;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.news-featured-card:hover {
    transform: translateY(-5px);
}

.news-featured-card .featured-img {
    flex: 0 0 400px;
    height: 300px;
}

.news-featured-card .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-card .featured-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-card .featured-info h2 {
    font-size: 1.8rem;
    color: var(--brand-burgundy);
    margin-bottom: 15px;
    font-weight: 500;
}

.news-featured-card .featured-info .meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
}

.news-featured-card .featured-info .meta strong {
    color: var(--brand-burgundy);
    text-decoration: underline;
}

.news-featured-card .featured-info .description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 300;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 30px;
    background: #a3a3a3;
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: 0.3s;
}

.btn-read-more:hover {
    background: var(--brand-burgundy);
}

.more-news-title {
    font-size: 2.5rem;
    text-align: center;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.news-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .news-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-featured-card {
        flex-direction: column;
    }

    .news-featured-card .featured-img {
        flex: none;
        width: 100%;
    }

    .nav-menu ul {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.8rem;
    }

    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--brand-burgundy);
        display: block;
        padding: 100px 40px;
        transition: 0.4s;
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .hero-center {
        padding-top: 140px;
    }

    .search-bar {
        width: 90%;
        max-width: 500px;
    }

    .project-details h1 {
        font-size: 3rem;
        gap: 15px;
    }

    .section-title,
    .cta-overlay h2 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .properties-section {
        padding: 80px 0;
    }

    .newsletter-box {
        padding: 30px;
    }

    .news-item-large {
        flex-direction: column;
        gap: 20px;
    }

    .article-container {
        padding: 20px;
    }

    .news-article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    /* Global fixes */
    .container {
        padding: 0 20px;
    }

    .properties-section {
        padding: 60px 0;
    }

    .cta-overlay {
        padding: 60px 0;
    }

    .listing-container {
        padding: 60px 0;
    }

    /* Homepage Hero */
    .hero-center {
        padding-top: 120px;
    }

    .project-details h1 {
        font-size: 2.5rem;
        flex-wrap: wrap;
        gap: 15px;
    }

    .project-details p.description {
        font-size: 0.95rem;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .properties-section .section-title {
        font-size: 2rem;
        letter-spacing: 3px;
        margin-bottom: 40px;
    }

    .properties-section .property-grid {
        padding: 0 20px 40px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .properties-section .property-card {
        min-width: 85%;
        height: 250px;
    }

    .properties-section .property-card img {
        width: 100%;
        height: 100%;
    }

    .properties-section .property-card:hover img,
    .properties-section .property-card.active img {
        width: 80%;
        /* Shrink proportionally */
        height: 80%;
    }

    .properties-section .property-grid:hover .property-card.active:not(:hover) img {
        width: 100%;
        height: 100%;
    }

    .featured-split {
        flex-direction: column;
        gap: 30px;
    }

    .featured-property-detail {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        min-height: auto;
    }

    .featured-img-box,
    .featured-info-box {
        width: 100%;
    }

    .featured-info-box h2 {
        font-size: 2rem;
    }

    .btn-explore {
        width: 100%;
        text-align: center;
    }

    /* Listing Page */
    .filter-section {
        flex-direction: column;
    }

    .dropdowns {
        flex-wrap: wrap;
    }

    .dropdowns select {
        flex: 1;
        min-width: 45%;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    /* Property Details Page */
    .gallery-grid {
        display: flex;
        /* Stack instead of grid */
        flex-direction: column;
        height: auto;
    }

    .side-photos {
        height: auto;
    }

    .details-layout {
        flex-direction: column;
        display: flex;
    }

    .details-sidebar {
        position: static;
        width: 100%;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions-centered {
        flex-direction: column;
        padding: 40px 20px;
    }

    .action-btn-box {
        width: 100%;
        justify-content: center;
    }

    /* Contact Us Page */
    .location-box {
        flex-direction: column;
        gap: 30px;
    }

    .location-map {
        width: 100%;
        height: 250px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    /* About Us Page */
    .contact-bar-small.centered {
        flex-direction: column;
    }

    .contact-bar {
        flex-direction: column;
        padding: 40px 20px;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .news-grid,
    .news-grid-v2 {
        grid-template-columns: 1fr;
    }

    .project-details h1 {
        font-size: 2rem;
    }

    .section-title,
    .cta-overlay h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .search-bar {
        padding: 8px 15px;
        flex-direction: column;
        border-radius: 12px;
        gap: 10px;
        width: 100%;
    }

    .search-bar input {
        font-size: 0.9rem;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .search-bar .search-btn {
        width: 100%;
        padding: 10px;
        background: #f5f5f5;
        border-radius: 6px;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .tab {
        padding: 12px 15px;
        /* bigger tap target */
        font-size: 0.65rem;
        flex: 1;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        /* stack fully */
        font-size: 0.95rem;
    }

    .cta-bottom-text {
        padding: 0 5%;
        font-size: 0.75rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .news-featured-card .featured-img {
        height: 200px;
    }
}

/* -----------------------------------------------------------
   12. NEWS DETAILS PAGE SPECIFIC
   ----------------------------------------------------------- */
.news-details-page {
    padding-bottom: 80px;
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 50px;
}

.news-article-title {
    font-size: 2.5rem;
    color: var(--brand-burgundy);
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.2;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.author-box .author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
}

/* News Section */
.news-section {
    padding: 100px 5%;
    background: #ffffff;
}

.section-title-dark {
    font-size: 4rem;
    color: #9F9F9F;
    margin-bottom: 90px;
    font-weight: 200;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border: 1px solid white;
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.author-box .author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box .author-meta {
    font-size: 0.9rem;
    color: #666;
}

.author-box .author-meta strong {
    color: var(--brand-burgundy);
    margin-right: 10px;
}

.main-article-img {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.main-article-img img {
    width: 100%;
    display: block;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: var(--brand-burgundy);
    font-weight: 500;
}

.news-details-page .more-news-title {
    margin-top: 100px;
}

/* =========================================================================
   NEWS PAGE SPECIFIC STYLES
   ========================================================================= */

.news-hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/image 50.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}
.news-hero .breadcrumbs-white {
    text-align: left;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-weight: 300;
}
.news-hero .breadcrumbs-white a {
    color: #fff;
    text-decoration: none;
}
.news-hero h1 {
    font-size: 3.8rem;
    font-weight: 100;
    letter-spacing: 4px;
}

.news-filter-box {
    margin: 40px 0;
}
.news-filter-box select {
    padding: 12px 30px 12px 15px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 4px;
    color: #555;
    font-size: 0.85rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23222%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.featured-news-wrapper {
    margin-bottom: 60px;
}
.news-featured-card {
    display: flex;
    background: white;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
}
.news-featured-card .featured-img {
    width: 40%;
    min-height: 250px;
}
.news-featured-card .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-featured-card .featured-info {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.news-featured-card .featured-info h2 {
    font-size: 1.35rem;
    color: #310308;
    margin-bottom: 15px;
    font-weight: 500;
}
.news-featured-card .featured-info .meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
}
.news-featured-card .featured-info .meta strong {
    color: #310308;
    text-decoration: underline;
    font-weight: 500;
}
.news-featured-card .featured-info .description {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}
.news-featured-card .btn-read-more {
    background: #a0a0a0;
    color: #333;
    padding: 10px 25px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}
.news-featured-card .btn-read-more:hover {
    background: #888;
    color: white;
}

.more-news-title {
    text-align: center;
    font-size: 2.2rem;
    color: #aaa;
    font-weight: 200;
    margin: 60px 0 40px;
    letter-spacing: 2px;
}

.news-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.news-grid-v2 .news-card {
    background: transparent;
    border: none;
}
.news-grid-v2 .news-card .news-image {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.news-grid-v2 .news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-grid-v2 .news-card .news-body .date {
    font-size: 0.75rem;
    color: #ccc;
    display: block;
    margin-bottom: 8px;
}
.news-grid-v2 .news-card .news-body h3 {
    font-size: 0.9rem;
    color: #310308;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
}
.news-grid-v2 .news-card .news-body p {
    font-size: 0.75rem;
    color: #bbb;
    line-height: 1.4;
    font-weight: 300;
}

/* =========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================= */

.locations-section {
    margin: 60px 0;
}
.locations-section h2 {
    color: #310308;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 40px;
}
.location-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}
.location-details {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.location-details h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.location-details p {
    margin-bottom: 5px;
}
.location-map {
    width: 100%;
    max-width: 700px;
    height: 350px;
    min-height: 350px;
    margin-top: 10px; /* additional visual separation */
    border-radius: 8px;
    overflow: hidden;
    background: #e9e9e9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
    display: block;
}

.form-section {
    margin-bottom: 80px;
    text-align: center;
}
.form-title {
    color: #310308;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.contact-form-card {
    background: #dcdcdc;
    padding: 50px 60px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-form-card .form-group {
    margin-bottom: 15px;
    text-align: left;
}
.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 4px;
    background: #ebebeb;
    font-size: 0.95rem;
    font-family: inherit;
    color: #310308;
    font-weight: 300;
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #88575a;
    font-weight: 300;
}
.contact-form-card textarea {
    resize: vertical;
}
.contact-form-card .btn-connect {
    background: #310308;
    color: white;
    padding: 16px 60px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}
.contact-form-card .btn-connect:hover {
    background: #4a050d;
}