:root {
    --primary: #0f172a;       /* Dark Slate */
    --accent: #c5a059;        /* Rich Gold */
    --bg: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg);
    line-height: 1.7;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    font-weight: 300;
    color: var(--accent);
}

/* --- Layout --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f1f5f9;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.portal-btn {
    background: var(--primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 4px;
}

/* --- Hero --- */
.hero {
    /* Path adjusted to jump out of /css/ folder to find /images/ */
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.jpg');
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 80px;
}

.hero-content {
    max-width: 700px;
    margin-left: 10%;
}

.subtitle {
    display: block;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.btn {
    padding: 18px 35px;
    text-decoration: none;
    background: var(--accent);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: var(--transition);
    display: inline-block;
    border-radius: 2px;
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    margin-left: 15px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Property Cards --- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 100px;
}

.feature-card {
    background: white;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}

.feature-card:hover img {
    transform: scale(1.1);
}

.card-text {
    padding: 40px;
}

.card-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.card-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.text-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

/* --- LIGHT PROFESSIONAL FOOTER --- */
.site-footer {
    background: #f8f9fa; 
    color: var(--text-dark);
    padding: 80px 0 0;
    border-top: 1px solid #eef0f2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.brand-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 320px;
}

.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.links-col a:hover {
    color: var(--accent);
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.footer-bottom {
    background: #ffffff;
    padding: 25px 0;
    border-top: 1px solid #eef0f2;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content { margin-left: 5%; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Value Propositions */
.value-props {
    padding: 100px 0;
    background-color: #fcfbf9; /* Very light off-white */
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.prop-item h3 {
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
    margin: 20px 0 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.prop-item p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* About Split Section */
.about-split {
    padding: 120px 0;
}

.split-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-image {
    flex: 1;
    border-left: 4px solid #c5a059; /* Gold accent bar */
    padding-left: 20px;
}

.split-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: #1e293b;
    margin: 15px 0 25px;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .split-content {
        flex-direction: column;
        gap: 40px;
    }
    .about-split { padding: 60px 0; }
}

/* Residential Hero & Video Background */
.res-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #1e293b; /* Fallback */
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.res-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: white;
    background: rgba(15, 23, 42, 0.4); /* Darkens video for text readability */
    height: 100%;
    display: flex;
    align-items: center;
}

.res-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    margin: 10px 0;
}

/* Editorial Layout */
.editorial-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    padding: 100px 0;
    align-items: center;
}

.stat-card {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    margin-bottom: 20px;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-bottom: 100px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.3);
    padding: 5px 12px;
}

/* CTA Section */
.res-cta {
    background: #fcfbf9;
    padding: 120px 0;
    text-align: center;
}

.res-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .editorial-layout { grid-template-columns: 1fr; gap: 40px; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gallery-item.tall { grid-row: span 1; height: 300px; }
}