/* --- CSS Variables / Design System --- */
:root {
    --primary-color: #111111; /* Black text/bg */
    --accent-color: #C9A24A; /* Gold */
    --accent-hover: #b08d3e; /* Darker Gold */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa; /* Light Gray for alternating sections */
    --text-color: #333333;
    --text-muted: #666666;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius: 8px;
}

/* --- Global Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography specifics */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }

/* --- Section Headers --- */
.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 162, 74, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Header / Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.header.scrolled .logo {
    color: var(--primary-color);
}

/* Desktop Nav */
.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--primary-color);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.header.scrolled .hamburger {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #f1f1f1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Trust Indicators --- */
.trust-indicators {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- About Us --- */
.about {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 100%;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--accent-color);
    border-right: 5px solid var(--accent-color);
    z-index: -1;
    transition: var(--transition);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid var(--accent-color);
    border-left: 5px solid var(--accent-color);
    z-index: -1;
    transition: var(--transition);
}

.about-image:hover::before { top: -10px; right: -10px; }
.about-image:hover::after { bottom: -10px; left: -10px; }

/* --- Property Listings --- */
.properties {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.property-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-location i {
    color: var(--accent-color);
}

.card-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.card-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-card i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.property-card:hover .btn-card i {
    transform: translateX(5px);
}
.btn-card:hover { color: var(--accent-color); }

/* --- Why Choose Us --- */
.features {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(201, 162, 74, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--accent-color);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    flex: 1;
    padding: 60px;
}

.contact-info > p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(201, 162, 74, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 50%;
}

.info-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text span {
    color: var(--text-muted);
}

.contact-map {
    flex: 1;
    min-height: 400px;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 30px;
    text-align: center;
}

.footer-logo {
    max-width: 500px;
    margin: 0 auto 40px;
}

.footer-logo .logo {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.footer-logo p {
    color: #aaaaaa;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    color: #777777;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

/* --- Animations (Fade In) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container { flex-direction: column; }
    .contact-wrapper { flex-direction: column; }
    .contact-map { min-height: 300px; height: 300px; }
    .hero h1 { font-size: 3.5rem; }
    .trust-indicators { margin-top: 0; width: 100%; border-radius: 0; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    
    .hamburger { display: block; }
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: right 0.4s ease;
        padding-top: 100px;
    }
    
    .navbar.active { right: 0; }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-link { color: var(--primary-color); }
    
    .section-title { font-size: 2rem; }
    .contact-info { padding: 40px 20px; }
}
