/**
 * SUENO INVESTMENTS - Complete Master Stylesheet
 * Palette: Navy (#001f3f), Gold (#c5a059), Steel (#3a6ea5)
 * Standard: 15ms Target / 1400px Content Limit
 */

/* 1. CORE RESET & BASE */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    background: #ffffff; 
    color: #001f3f; 
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. LAYOUT CONSTRAINTS */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.king-section {
    padding: 80px 0;
    position: relative;
}

/* 3. SPLIT-NAVIGATION HEADER */
.main-header {
    width: 100%;
    padding: 15px 0;
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.split-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center; 
    align-items: center;     
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 40px;
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
}

.nav-left {
    margin-right: 60px; 
}

.nav-right {
    margin-left: 60px; 
}

.nav-links a {
    text-decoration: none;
    color: #001f3f;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #c5a059;
}

.brand-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 100px; 
    width: auto;
    display: block;
}
.hero-wrap {
    height: 85vh;
    position: relative;
    overflow: hidden;
    background: #001f3f;
}

.king-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: translate3d(0,0,0); /* Force GPU */
}

/* Centering Logic for Hero Text */
.slide .content-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 4. HERO SECTION (CENTERED STACKING) */
.hero-wrap {
    height: 85vh;
    background: #001f3f;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the container horizontally */
    position: relative;
    overflow: hidden;
}

/* This forces the H1 and P to stack and center inside the hero */
.hero-wrap .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centers children horizontally */
    justify-content: center; /* Centers children vertically */
    text-align: center;      /* Ensures text internal alignment is centered */
    z-index: 2;
}

.hero-wrap h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px; /* Space between Title and Subtitle */
}

.subtitle {
    color: #c5a059; 
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 5. PROPERTY GRID */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.prop-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    cursor: pointer;
}

.prop-card:hover {
    border-color: #c5a059;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.08);
}

.prop-image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f4f7f9;
    overflow: hidden;
}

.prop-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prop-meta {
    padding: 25px;
}

.location-tag {
    color: #c5a059;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 6. BUTTONS & UI */
.inquire-btn {
    color: #c5a059 !important;
    border: 2px solid #c5a059;
    padding: 8px 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.inquire-btn:hover {
    background: #c5a059;
    color: #ffffff !important;
}

/* 7. MODAL / SPA POP-OUT */
#prop-modal {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

.modal-hide { opacity: 0; pointer-events: none; }
.modal-show { opacity: 1; pointer-events: auto; }

.pop-out-window {
    width: 95%;
    max-width: 1300px;
    height: 90vh;
    background: #fff;
    padding: 60px;
    position: relative;
    overflow-y: auto;
    border-top: 8px solid #001f3f;
}

/* 8. RESPONSIVE */
@media (max-width: 1024px) {
    .nav-links { gap: 20px; }
    .nav-left { margin-right: 30px; }
    .nav-right { margin-left: 30px; }
}

@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .brand-center { flex: 1; justify-content: center; }
    .content-container { padding: 0 20px; }
    .property-grid { grid-template-columns: 1fr; }
}


    /* DESKTOP/TABLET INTERACTION */
    .footer-contact input:focus, .footer-contact textarea:focus { 
        border-color: #c5a059 !important; 
        background: rgba(255,255,255,0.1) !important; 
    }
    .footer-contact button:hover { 
        background: #fff !important; 
        color: #001f3f !important; 
    }

    /* RESPONSIVE STACKING LOGIC (TABLET) */
    @media (max-width: 1100px) {
        .footer-master-flex { 
            flex-direction: column; 
            gap: 60px !important; 
            align-items: center !important; /* CENTERED ON TABLET */
        }
        .footer-branding-zone { width: 100%; justify-content: center; }
        .footer-contact-zone { max-width: 100% !important; }
        .brand-capsule { margin-left: 0 !important; }
    }

    /* MOBILE DEAD-CENTER LOGIC */
    @media (max-width: 768px) {
        .footer-branding-zone { 
            flex-direction: column; 
            align-items: center !important; /* DEAD CENTER */
            text-align: center !important;
            gap: 30px !important; 
        }
        
        .footer-breadcrumbs { 
            border-left: none !important; 
            padding-left: 0 !important; 
            border-top: 1px solid #f4f4f4; 
            padding-top: 20px; 
            width: 100%; 
            display: flex;
            flex-direction: column;
            align-items: center; /* ALIGN LINKS CENTER */
        }
        
        .footer-breadcrumbs div {
            margin-bottom: 20px;
        }

        .form-row-mobile { 
            flex-direction: column; 
        }

        .footer-contact-zone h4 {
            text-align: center;
            border-left: none !important;
            border-bottom: 2px solid #c5a059;
            padding-left: 0 !important;
            padding-bottom: 10px;
            display: inline-block;
            margin: 0 auto 25px auto;
            width: fit-content;
        }

        .footer-legal {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }
    }








