/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1c2d37;    /* Elegant Slate Blue */
    --accent: #bfa15f;     /* Subtle Luxury Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9fa;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography & Layout utilities */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.m-top-40 { margin-top: 40px; }

.sub-heading {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* About Typography Spacing Fix */
.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #a68a4e;
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
}

.btn-block {
    width: 100%;
}

/* Hero Header Section */
.hero {
    height: 90vh;
    background: url('Front_Header.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(28, 45, 55, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Grid Framework */
.grid-2, .grid-3 {
    display: grid;
    gap: 40px;
}

@media(min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* About Elements */
.about-image-placeholder {
    background: #e2e8f0;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--text-light);
}

/* Cards */
.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border-top: 3px solid var(--accent);
}

.card h3 { margin-bottom: 15px; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* Floor Plans */
.fp-card {
    background: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.fp-img-placeholder {
    height: 250px;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.fp-details {
    padding: 25px;
}

.fp-details .price {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Contact Form */
.contact-info p {
    margin-bottom: 15px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: var(--font-sans);
    border-radius: 4px;
}

.contact-form select option {
    background: var(--primary);
}

/* Footer */
footer {
    background: #111e25;
    padding: 30px 0;
    color: #718096;
    font-size: 0.9rem;
}

/* Massive Contact Text Modification */
#contact {
    align-items: center;
}

#contact .sub-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 4px;
    word-spacing: 100vw;
    margin-bottom: 0;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px 15px;
        gap: 8px;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav-links li a {
        margin: 0 8px;
        font-size: 0.8rem;
    }

    .hero {
        height: 80vh;
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }

    #contact .sub-heading {
        word-spacing: normal;
        text-align: center;
        margin-bottom: 30px;
    }
}