@charset "utf-8";
/* CSS Document */

/* -- MAIN SITE STYLES.CSS (INLINED) -- */

/* --- 1. GLOBAL RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* --- 2. BRAND VARIABLES --- */
:root {
--color-primary:#0b3d33;
--color-secondary:#c5a059;
--color-text:#333333;
--color-light-bg:#f5f5f5;
--color-white:#ffffff;
--color-border:#cccccc;
}

        body {
            font-family: var(--font-body);
            margin: 0;
            padding: 0;
            color: var(--color-text);
            background-color: var(--color-white);
        }

        h1, h2, h3, h4 {
            font-family: var(--font-heading);
            color: var(--color-primary);
        }

        /* --- 2. Top Banner & Header --- */
        .top-banner {
            background-color: var(--color-primary);
            color: var(--color-white);
            padding: 8px 20px;
            font-size: 0.85em;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            text-align: center;
        }
        .top-banner span {
            padding: 5px 10px;
        }
        .highlight {
            font-weight: bold;
            color: var(--color-secondary);
        }

        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background-color: var(--color-white);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo-container {
            line-height: 1;
        }

        .logo-text {
            margin: 0;
            font-size: 1.8em;
            color: var(--color-primary);
        }

        .tagline {
            margin: 0;
            font-size: 0.8em;
            color: var(--color-text);
        }

        /* --- 3. Navigation (Hamburger Logic) --- */
        .hamburger-menu {
            display: none; /* Hidden on desktop */
            font-size: 1.5em;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--color-primary);
        }

        .main-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
        }

        .main-nav ul li a {
            text-decoration: none;
            color: var(--color-text);
            padding: 10px 15px;
            display: block;
            transition: background-color 0.3s;
            font-weight: bold;
        }

        .main-nav ul li a:hover {
            background-color: var(--color-light-bg);
            color: var(--color-primary);
        }

        /* --- 4. Hero Section & Media --- */
        .property-hero {
            padding: 20px;
            background-color: var(--color-light-bg);
        }

        .property-hero h2 {
            font-size: 1.2em;
            text-align: center;
            margin-bottom: 20px;
            color: var(--color-text);
        }

        .property-hero h2 .arrow-link {
            font-size: 0.9em;
            color: var(--color-primary);
            text-decoration: none;
            border-bottom: 1px solid var(--color-primary);
            transition: color 0.3s;
        }
        .property-hero h2 .arrow-link:hover {
            color: var(--color-secondary);
        }

        .hero-media-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .main-image-box {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin-bottom: 10px;
            border: 1px solid var(--color-border);
        }

        .main-property-image {
            width: 100%;
            height: auto;
            display: block;
        }

        .image-counter {
            position: absolute;
            bottom: 10px;
            left: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            color: var(--color-white);
            padding: 5px 10px;
            font-size: 0.8em;
            border-radius: 3px;
        }

        .thumbnail-strip {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            max-width: 800px;
            padding: 10px 0;
        }

        .thumbnail {
            width: 80px;
            height: 60px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.3s;
        }

        .thumbnail.active, .thumbnail:hover {
            border-color: var(--color-secondary);
        }

        /* --- 5. Area Gallery Strip (Horizontal Scroll) --- */
        .area-gallery-strip {
            padding: 20px;
            background-color: var(--color-white);
        }

        .image-strip-container {
            position: relative;
            display: flex;
            align-items: center;
        }

        .image-strip-wrapper {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding: 10px 0;
            gap: 15px;
            scrollbar-width: none; /* Firefox */
        }

        .image-strip-wrapper::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }

        .strip-item {
            flex: 0 0 auto;
            width: 250px;
            scroll-snap-align: start;
            text-align: center;
        }

        .strip-item img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 5px;
        }

        .prev-button, .next-button {
            background-color: rgba(0, 0, 0, 0.5);
            color: var(--color-white);
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 1.2em;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
        }

        .prev-button { left: 0; }
        .next-button { right: 0; }

        /* --- 6. Property Details Grid (DMI Section) --- */
        .property-details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            padding: 30px 20px;
            background-color: var(--color-light-bg);
        }

        .detail-box {
            background-color: var(--color-white);
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .detail-box .icon {
            font-size: 2em;
            display: block;
            margin-bottom: 10px;
            color: var(--color-secondary);
        }

        /* --- 7. Solutions Section & Buttons --- */
        .financial-solutions {
            padding: 30px 20px;
            text-align: center;
        }

        .solution-options {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .solution-box {
            background-color: var(--color-light-bg);
            padding: 20px;
            border-radius: 5px;
            flex: 1 1 45%;
            max-width: 300px;
        }

        .button {
            display: inline-block;
            padding: 10px 20px;
            margin-top: 15px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s;
        }

        .button-primary {
            background-color: var(--color-primary);
            color: var(--color-white);
            border: 2px solid var(--color-primary);
        }

        .button-primary:hover {
            background-color: #00695c; 
            border-color: #00695c;
        }

        .button-secondary {
            background-color: var(--color-white);
            color: var(--color-primary);
            border: 2px solid var(--color-primary);
        }

        .button-secondary:hover {
            background-color: var(--color-primary);
            color: var(--color-white);
        }

        /* --- 8. Key Info & Contact --- */
        .key-info-contact {
            display: flex;
            flex-wrap: wrap;
            padding: 30px 20px;
            background-color: var(--color-white);
            gap: 40px;
        }

        .key-information {
            flex: 2 1 60%;
            min-width: 300px;
        }

        .key-information ul {
            list-style: none;
            padding: 0;
            margin-top: 15px;
        }

        .key-information ul li {
            padding: 5px 0;
            border-bottom: 1px dashed var(--color-border);
        }

        .floorplan-box img {
            max-width: 150px;
            height: auto;
            margin-top: 20px;
            border: 1px solid var(--color-border);
        }

        .contact-agent {
            flex: 1 1 30%;
            min-width: 250px;
            background-color: var(--color-light-bg);
            padding: 20px;
            border-radius: 5px;
            text-align: center;
        }

        .contact-agent img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 10px;
        }

        /* --- 9. Pricing Plans --- */
        .pricing-plans {
            padding: 30px 20px;
            background-color: var(--color-light-bg);
            text-align: center;
        }

        .plans-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .plan-card {
            background-color: var(--color-white);
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 300px;
            text-align: left;
        }

        .plan-card h4 {
            font-size: 1.5em;
            margin-top: 0;
        }

        .plan-card .price {
            font-size: 1.8em;
            font-weight: bold;
            color: var(--color-secondary);
            margin: 10px 0 20px;
        }

        .plan-card ul.features {
            list-style: none;
            padding: 0;
            margin-bottom: 20px;
        }

        .plan-card ul.features li {
            padding: 5px 0;
            border-bottom: 1px dotted var(--color-border);
        }

        .plan-card .button {
            display: block;
            text-align: center;
        }

        /* --- 10. Footer --- */
        .main-footer {
            background-color: var(--color-primary);
            color: var(--color-white);
            padding: 20px;
            text-align: center;
            font-size: 0.9em;
        }

        .footer-links a {
            color: var(--color-secondary);
            text-decoration: none;
            margin: 0 10px;
        }

        .footer-info {
            margin: 10px 0;
        }

        .copyright {
            margin-top: 15px;
        }

        /* --- 11. Modal Styles --- */
        .modal {
            display: none; 
            position: fixed; 
            z-index: 2000; 
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgba(0,0,0,0.7); 
        }

        .modal-content {
            background-color: var(--color-white);
            margin: 10% auto; 
            padding: 20px;
            border: 1px solid #888;
            width: 90%; 
            max-width: 500px;
            border-radius: 8px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .modal-content h2 {
            color: var(--color-primary);
            margin-top: 0;
        }

        .close-button {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .close-button:hover,
        .close-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }

        .modal form input {
            width: calc(100% - 20px);
            padding: 10px;
            margin: 8px 0;
            display: inline-block;
            border: 1px solid var(--color-border);
            border-radius: 4px;
            box-sizing: border-box;
        }

        .modal form button {
            width: 100%;
            margin-top: 15px;
        }

        .modal .privacy {
            font-size: 0.8em;
            margin-top: 10px;
            color: #666;
        }

        /* Full Gallery Modal Specifics */
        .full-gallery-modal .modal-content {
            max-width: 900px;
            margin: 5% auto;
            padding: 0;
            background: none;
            border: none;
            box-shadow: none;
            overflow: hidden;
        }

        .gallery-slideshow-container {
            position: relative;
            background-color: #111;
            border-radius: 8px;
        }

        .full-gallery-close {
            position: absolute;
            top: 10px;
            right: 20px;
            z-index: 200;
            color: var(--color-white);
            text-shadow: 0 0 5px #000;
        }

        .gallery-slide {
            text-align: center;
            padding: 40px 20px;
            color: var(--color-white);
            height: 400px; /* Example height */
            line-height: 400px;
            font-size: 2em;
            display: none; /* Controlled by JS */
        }

        /* Slideshow Navigation */
        .gallery-slideshow-container .prev, .gallery-slideshow-container .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -22px;
            color: var(--color-white);
            font-weight: bold;
            font-size: 18px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            background-color: rgba(0,0,0,0.4);
            z-index: 100;
        }

        .gallery-slideshow-container .next {
            right: 0;
            border-radius: 3px 0 0 3px;
        }

        .gallery-slideshow-container .prev:hover, .gallery-slideshow-container .next:hover {
            background-color: rgba(0,0,0,0.8);
        }

        /* --- 12. Media Queries (Mobile View) --- */
        @media (max-width: 768px) {
            .top-banner {
                justify-content: center;
            }
            .top-banner span {
                width: 100%;
                text-align: center;
            }

            .main-header {
                flex-wrap: wrap;
                padding-bottom: 0;
            }
            
            .hamburger-menu {
                display: block;
            }

            .main-nav {
                width: 100%;
                display: none; /* Hidden by default */
                order: 3; /* Push menu below logo/button */
            }

            .main-nav.active {
                display: block; /* Show when active */
            }

            .main-nav ul {
                flex-direction: column;
                width: 100%;
                border-top: 1px solid var(--color-border);
            }

            .main-nav ul li a {
                padding: 12px 20px;
                border-bottom: 1px solid var(--color-light-bg);
            }
            
            .solution-options {
                flex-direction: column;
                align-items: center;
            }
            
            .key-info-contact {
                flex-direction: column;
            }
            
            .key-information, .contact-agent {
                width: 100%;
                min-width: unset;
            }

            .plans-container {
                flex-direction: column;
                align-items: center;
            }
        }


/* CSS Document */


/* --- 1. GLOBAL RESET & GAP KILLER --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    width: 100%; 
    overflow-x: hidden; 
    background-color: white; 
    font-family: Arial, sans-serif;
    line-height: 1.6;
}



/* --- 2. TOP BANNER (FLUSH) --- */
.top-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    font-size: 13px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}
.highlight { font-weight: bold; color: var(--color-secondary); }

/* --- 3. HEADER & NAVIGATION --- */
.main-header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-text { margin: 0; font-size: 24px; color: var(--color-primary); text-transform: uppercase; font-family: 'Georgia', serif; }
.tagline { margin: 0; font-size: 10px; color: #666; letter-spacing: 1px; }

.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav a { text-decoration: none; color: #333; font-weight: 600; font-size: 14px; transition: 0.3s; }
.main-nav a:hover { color: var(--color-primary); }

.hamburger-menu { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 28px; 
    cursor: pointer; 
    color: var(--color-primary); 
}

/* --- 4. HERO SLIDER (THE SPECTACULAR VIEW) --- */
.hero-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1902 / 620;
    overflow: hidden;
    background: #000;
}
.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-text h1 { 
    color: white; 
    font-size: clamp(1.5rem, 5vw, 3.5rem); 
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6); 
    font-family: 'Georgia', serif;
}

.nav-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(0,0,0,0.3); 
    color: white; 
    border: none; 
    padding: 20px; 
    cursor: pointer; 
    z-index: 10; 
}
.next { right: 0; }
.prev { left: 0; }

/* --- 5. PROPERTY INFO BAR --- */
.property-info-bar {
    padding: 20px;
    background: var(--color-light-bg);
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.property-info-bar h2 { font-size: 1.1rem; color: #333; }
.view-all-button { color: var(--color-primary); font-weight: bold; text-decoration: none; margin-left: 10px; }

/* --- 6. GRID & CONTENT --- */
.property-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px 20px;                     /* Bigger row gap than column gap → clearer separation */
    padding: 40px 15px;
    max-width: 1300px;
    margin: 0 auto;
    justify-items: center;              /* Centers boxes horizontally in their cells */
}

/* Medium screens (tablet / ~768–1199px) – aim for 3 columns → 2 rows of 3 */
@media (min-width: 768px) and (max-width: 1199px) {
    .property-details-grid {
        grid-template-columns: repeat(3, 1fr);  /* Forces 3 columns */
        gap: 35px 25px;
        padding: 50px 30px;
    }
}

/* Large screens (desktop, 19–21" feel) */
@media (min-width: 1200px) {
    .property-details-grid {
        grid-template-columns: repeat(3, 1fr);  /* Or change to repeat(6, 1fr) if you want single row */
        gap: 40px 30px;
        padding: 60px 40px;
    }
}

/* Small screens – full stack, generous spacing */
@media (max-width: 767px) {
    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 10px;
    }
}

/* Optional: Make boxes look less squashed – add breathing room inside */
.detail-box {
    padding: 25px 15px;                 /* More internal space */
    min-height: 160px;                  /* Prevents ultra-short boxes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.detail-box .icon {
    font-size: 2.8rem;                  /* Bigger icons help visual balance */
    margin-bottom: 12px;
}

.detail-box h4 {
    margin: 8px 0 4px;
    font-size: 1.15rem;
}

.detail-box p {
    margin: 4px 0;
    font-size: 0.95rem;
}
.detail-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
}
.detail-box .icon { font-size: 2rem; margin-bottom: 10px; display: block; }

/* --- 7. RESPONSIVE MEDIA QUERIES --- */

/* TABLET & MOBILE VIEW (The Fix) */
@media (max-width: 945px) {
    .hamburger-menu { display: block; }
    
    .main-nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1001;
        border-bottom: 2px solid var(--color-primary);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active { display: block; }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-nav ul li a {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
}

/* SMALL MOBILE VIEW */
@media (max-width: 600px) {
    .top-banner { display: none; }
    .hero-viewport { aspect-ratio: 1 / 1; }
    .hero-text h1 { font-size: 1.8rem; }
}

.property-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 across */
    gap: 10px;
    width: 100%;
}

.thumb-box img {
    width: 100%;
    aspect-ratio: 3 / 2; /* Maintains your 600x400 proportions */
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-radius: 4px;
}

.hidden-reserve {
    display: none; /* Keeps the other 6 invisible on the main page */
}

/* The "+6" styling */
.photo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
}


/* --- GALLERY LAYOUT FIXES --- */

.gallery-container {
    max-width: 1000px; /* Adjust to match your 23cm preference */
    margin: 0 auto;
    padding: 20px;
}

.main-image-box {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center; /* Centers the big coastal photo */
}

.main-image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.property-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 per row */
    gap: 10px;
    width: 100%;
}

.thumb-box {
    position: relative; /* Essential for the "+6 Photos" overlay */
    overflow: hidden;
    border-radius: 4px;
    background: none !important; /* Removes that grey background */
}

.thumb-box img {
    width: 100%;
    aspect-ratio: 3 / 2; /* Forces the 600x400 look */
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Fixes that dark bar in your screenshot */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    pointer-events: none; /* Let clicks go through to the image */
}

/* The Background Overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9); /* Black background with opacity */
}

/* The Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #bbb;
}

/* Container for the images inside the modal */
.modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    color: white;
}

/* The Grid that holds all 12+ photos */
.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Automatically fits images */
    gap: 15px;
    margin-top: 20px;
}

/* Style the images inside the modal grid */
.modal-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Keeps them from looking squashed */
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.modal-grid img:hover {
    border-color: #007bff;
    transform: scale(1.02);
}


.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* The dark tint */
    color: white;
    
    /* This is the magic for centering */
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    
    font-weight: bold;
    font-size: 1.2rem;
    pointer-events: none; /* Allows clicks to pass through to the div below */
}


/* This makes the 6th thumbnail a 'container' for the text */
.more-photos-trigger {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* This forces the '+6 Photos' to be perfectly centered */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darkens the 6th photo */
    color: white;
    
    /* Magic Centering Alignment */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s;
}

.more-photos-trigger:hover .photo-overlay {
    background: rgba(0, 0, 0, 0.4); /* Lightens slightly on hover */
}

/* The Modal Background */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000; /* Stays above everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Deep black */
    overflow-y: auto; /* Allows scrolling if you have 12+ photos */
}

/* The Container for the Gallery inside the modal */
.modal-content {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto; /* Space for the title and X button */
}

/* The Grid Layout */
.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 per row on desktop */
    gap: 20px;
}

.modal-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Prevents squashing */
    border-radius: 8px;
    border: 2px solid #444;
}

/* This centers everything inside the pop-up */
/* The container for the images in the pop-up */
.modal-content {
    margin: 60px auto; /* Gives space for the 'X' button */
    padding: 20px;
    width: 90%;
    max-width: 1200px;
}

/* This creates the 3-column layout you see on professional sites */
.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* This makes the images large and uniform */
.modal-grid img {
    width: 100%;
    height: 250px; /* Consistent height for all photos */
    object-fit: cover; /* Prevents images from looking squashed */
    border-radius: 10px;
    border: 2px solid #fff;
}

.thumb-box {
    position: relative; /* This is the 'anchor' */
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better text contrast */
    display: flex;
    justify-content: center;
    align-items: center;
}
    

/* This makes the 6th photo box the 'anchor' for the text */
.more-photos-trigger {
    position: relative; /* This is the most important line! */
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    height: 100%; /* Ensures it fills the grid slot */
}

/* This forces the overlay to cover the image exactly */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    
    /* Flexbox magic to center the text exactly in the middle */
    display: flex;
    justify-content: center;
    align-items: center;
    
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Fade effect smoother, delay 8s */
#mainPropertyImage {
    transition: opacity 0.8s ease;
}

#mainPropertyImage.fading {
    opacity: 0;
	}
	
	div {
    display: grid;
    place-items: center;
} 
	
/* IN PLACE OF THE ABOVE Try this later: .hero-slide { background-position: center center !important; } */



/* Start Explore the Property Area section horizontal scrollable image strip */

/* ─── EXPLORE PROPERTY AREA – Fully Responsive ─── */
.image-strip-section {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa; /* light bg – adjust to match site */
}

.image-strip-section h2 {
    margin-bottom: 30px;
    color: var(--color-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.image-strip-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.image-strip-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;     /* Snaps to each item */
    padding: 10px 0;
    -webkit-overflow-scrolling: touch; /* Smooth on iOS */
    scrollbar-width: none;             /* Hide scrollbar Firefox */
}

.image-strip-wrapper::-webkit-scrollbar {
    display: none;                     /* Hide scrollbar Chrome/Safari */
}

.strip-item {
    flex: 0 0 45%;                     /* Mobile: ~2 visible */
    max-width: 320px;
    scroll-snap-align: start;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.strip-item:hover {
    transform: translateY(-6px);
}

.strip-item img {
    width: 100%;
    height: auto;                      /* Proportional resize – no squashing */
    aspect-ratio: 4 / 3;               /* Consistent shape – change to 16/9 if preferred */
    object-fit: cover;
    display: block;
}

.strip-item .caption {
    padding: 12px;
    margin: 0;
    text-align: center;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

/* Buttons – high z-index, outside overflow */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(11, 61, 51, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 50;                       /* On top of everything */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: auto;
}

.scroll-button:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-button { left: 0; }
.next-button { right: 0; }

/* Responsive visible count */
@media (min-width: 768px) {
    .strip-item {
        flex: 0 0 32%;                 /* Tablet: ~3 visible */
    }
}

@media (min-width: 1200px) {
    .strip-item {
        flex: 0 0 18%;                 /* Desktop/large: 5–6 visible */
        max-width: 260px;
    }
}
/* End of Explore the Property Area" section begin at L499 */

/* Protect upper gallery thumbnails from carousel image rules */
#mainPropertyImage,
.thumbnail,
.property-thumbnail-grid img {
    aspect-ratio: unset !important;     /* remove forced ratio */
    height: auto !important;            /* let natural height return */
    object-fit: cover !important;       /* keep good cropping */
}

/* Restore original thumbnail sizing – override carousel leak */
#mainPropertyImage,
.thumbnail,
.property-thumbnail-grid img,
.property-thumbnail-grid .thumb-box img {
    aspect-ratio: unset !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    width: 100% !important;
}

/* If thumbnails have a container forcing height, reset it */
.property-thumbnail-grid .thumb-box {
    aspect-ratio: unset !important;
    height: auto !important;
}

/* Hero slider fixes – ensure full coverage and perfect center */
.hero-viewport {
    overflow: hidden !important;
    position: relative !important;
}

.slider-wrapper,
.hero-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.hero-slide[style*="background-image"] {
    background-position: center !important;
}



@charset "utf-8";

/* Only one reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    width: 100%; 
    overflow-x: hidden; 
    background-color: white; 
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Fix hamburger visibility & clickability on mobile */
@media (max-width: 945px) {
    .hamburger-menu {
        display: block !important;
        pointer-events: auto !important;
        z-index: 1002 !important;
    }
    .main-nav {
        z-index: 1001 !important;
    }
}

/* Ensure carousel arrows are clickable */
.image-strip-container {
    overflow: visible !important;
    position: relative !important;
}

.scroll-button {
    pointer-events: auto !important;
    z-index: 1000 !important;
    cursor: pointer !important;
}


/* Below this line is experimentation */


/* Restore gallery thumbnails – specific override */
.property-thumbnail-grid img,
#mainPropertyImage {
    aspect-ratio: auto !important;
    height: auto !important;
}

/* Hero centering – safe, no aspect change */
.hero-slide {
    background-position: center center !important;
    background-size: cover !important;
}


/* Small screens – stack fully below ~640 px, 2 columns from ~640–767 px */
@media (max-width: 639px) {
    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 10px;
    }
}

/* Medium-small (tablet portrait / large phone) – 2 columns */
@media (min-width: 640px) and (max-width: 767px) {
    .property-details-grid {
        grid-template-columns: repeat(2, 1fr);   /* doubles here */
        gap: 28px 20px;
        padding: 40px 15px;
    }
}


/* RECTIFYING THE FINAQNCIAL SOLUTIONS AND TOOLS - This ensures the financial section can spread out on desktops */

