/* 
===========================================
  Custom Styles for Premium Landing Page
  Typography-Driven Architecture
===========================================
*/

/* 1. Local Font Declarations (From your CDR list) */
@font-face {
    font-family: 'LEMON MILK';
    src: url('fonts/lemonmilkmedium-mlzyv.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/gotham-book.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/gotham-medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/gotham-bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/gotham-black.otf') format('opentype');
    font-weight: 900;
}

/* 2. CSS Variables */
:root {
    /* Brand Colors */
    --brand-primary: #b1893c; /* Gold/Bronze */
    --brand-secondary: #f7efe1; /* Soft Cream */
    --text-dark: #1a1a1a;
    
    /* Typography System mapping all requested fonts */
    --font-display: 'LEMON MILK', sans-serif;
    --font-gotham: 'Gotham', Arial, sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', Arial, sans-serif;
}

/* 3. Global Styles */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    padding-bottom: 0;
    -webkit-font-smoothing: antialiased;
}

.bg-cream {
    background-color: var(--brand-secondary) !important;
}

.text-brand {
    color: var(--brand-primary) !important;
}

/* 4. Typography Utility Classes */
.display-title {
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.gotham-title {
    font-family: var(--font-gotham);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gotham-num {
    font-family: var(--font-gotham);
    font-weight: 900; /* Gotham Black */
    font-size: 3.5rem;
    line-height: 1;
    opacity: 0.2; /* Watermark effect */
    display: block;
    margin-bottom: -15px;
}

.montserrat-heading {
    font-family: var(--font-montserrat);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.body-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 5. Navbar (Gotham) */
.site-navbar {
    padding: 15px 0;
}
.navbar-brand {
    font-family: var(--font-gotham);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}
.nav-link {
    font-family: var(--font-gotham);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin: 0 10px;
}
.nav-link:hover, .nav-link.active {
    color: var(--brand-primary) !important;
}

/* 6. Buttons */
.btn-brand {
    background-color: var(--brand-primary);
    color: #fff;
    border: 1px solid var(--brand-primary);
    border-radius: 0; /* Architectural sharp edges */
    font-family: var(--font-gotham);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.btn-brand:active {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.btn-outline-brand {
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    background-color: #fff;
}

/* 7. Hero Section */
/* .hero-img {
    height: 75vh;
    object-fit: cover;
} */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
}
.hero-overlay .display-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

/* 8. Overview UI Layout */
.border-end-lg {
    border-right: 1px solid rgba(177, 137, 60, 0.2);
}
@media (max-width: 991px) {
    .overview-box, .border-end-lg {
        border-right: none !important;
        border-bottom: none !important;
    }
    
    /* 2. Apply the vertical border directly to the left-side columns */
    /* This hits the exact 50% center mark of the screen */
    .col-6:nth-child(odd) {
        border-right: 1px solid rgba(177, 137, 60, 0.2);
    }
    
    /* 3. Add some breathing room between the top and bottom rows */
    .col-6:nth-child(1), 
    .col-6:nth-child(2) {
        padding-bottom: 2rem;
    }
}

/* 9. Amenities Grid (No Icons) */
.border-brand-grid {
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
}
.amenity-block {
    padding: 3rem 2rem;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    height: 100%;
    background-color: #fff;
    transition: background-color 0.4s ease;
}
.amenity-block:hover {
    background-color: var(--brand-secondary);
}

/* 10. Forms */
.custom-input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 0;
    font-family: var(--font-body);
}
.custom-input:focus {
    box-shadow: none;
    border-color: var(--brand-primary);
    background-color: transparent;
}

/* 11. Gallery Layout */
/* 16. Expandable Gallery Enhancements */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--text-dark); /* Prevents white flashes during hover transition */
}

.gallery-img {
    /* height: 350px; */
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(177, 137, 60, 0.85); /* Brand color with opacity */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
    opacity: 0.4;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal Tweaks */
#imageModal .modal-backdrop.show {
    opacity: 0.95;
    background-color: #0f0f0f;
}
#lightboxImage {
    max-height: 85vh;
    object-fit: contain;
}

/* 12. Location List */
.loc-list {
    list-style: none;
}
.loc-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Mobile Footer Reset */
@media (max-width: 767px) {
    body { padding-bottom: 60px; }
    /*.hero-img { height: 60vh; }*/
    .main-img, .sub-img { height: 250px; }
}
/* 15. Floor Plan Tabs */
.plan-tabs .nav-link {
    color: var(--text-muted);
    background-color: transparent;
    border-radius: 0;
    padding: 10px 30px;
    margin: 0 10px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.plan-tabs .nav-link:hover {
    color: var(--text-dark);
}

.plan-tabs .nav-link.active {
    color: var(--brand-primary);
    background-color: transparent;
    border-bottom: 2px solid var(--brand-primary);
}

/* Floor Plan Images */
.plan-img {
    max-height: 500px;
    object-fit: contain;
}

/* Helps white background floor plans blend into the cream background */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.plan-details li span.gotham-title {
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}
/* 17. Custom Architectural Accordion */
.custom-accordion .accordion-button {
    box-shadow: none !important;
    transition: color 0.4s ease;
}

/* Remove default Bootstrap icons from accordion */
.custom-accordion .accordion-button::after {
    display: none;
}

/* Hover and Active states */
.custom-accordion .accordion-button:hover,
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-primary) !important;
    background-color: transparent !important;
}

/* Ensure columns break properly on mobile */
@media (max-width: 767px) {
    .custom-accordion .spec-list {
        column-count: 1 !important;
    }
}
/* 18. Intro Section Background Illustration */
#intro{
    background-image:url(./images/about.jpg);
    background-size: cover;
    background-position: center;
}

.intro-bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
    max-height: 95%; /* Prevents the image from touching the section boundaries */
    max-width: 55%;  /* Keeps it on the right side on desktop */
    object-fit: contain;
    object-position: bottom right;
    mix-blend-mode: multiply; /* Blends perfectly with the cream background */
    pointer-events: none; /* Allows users to select text right over the image */
}

/* Mobile Adjustments for Readability */
@media (max-width: 991px) {
    #intro{
        background-image: none;
    }
    html,body{
        overflow-x: hidden;
    }
}
/* 19. Gated Floor Plans (Lead Generation) */
.gated-plan-container {
    overflow: hidden;
    border: 1px solid #eaeaea;
    background-color: var(--brand-secondary); /* Cream background */
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.gated-plan-container:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
}

.blurred-plan {
    /* Apply a strong blur and slight grayscale to obscure the layout */
    filter: blur(12px) grayscale(30%);
    opacity: 0.6;
    transition: filter 0.4s ease;
    /* min-height: 400px; */
    object-fit: cover;
}

.gated-plan-container:hover .blurred-plan {
    filter: blur(16px) grayscale(30%);
}

.gated-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Soft white overlay to ensure the typography stands out */
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    transition: background 0.4s ease;
}

.gated-plan-container:hover .gated-overlay {
    background: rgba(255, 255, 255, 0.6);
}

.cursor-pointer {
    cursor: pointer;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}
#home{
    padding-top: 133px;
}
@media (max-width:575px){
    #home{
    padding-top: 0;
}
}