/* Global Variables */
:root {
    --primary: #0f172a;
    /* Navy Blue */
    --secondary: #c29d59;
    /* Gold */
    --accent: #334155;
    --light: #f8fafc;
    --dark: #020617;
    --text: #333;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.bg-light {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d45;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #25D366;
    /* WhatsApp Green */
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    background-color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('modern_apartment_exterior_1765433570741.png') no-repeat center center/cover;
    padding-top: 80px;
    /* Navbar height */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    color: var(--white);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: var(--secondary);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.agent-float {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 350px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.agent-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.agent-info h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.agent-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.stars {
    color: var(--secondary);
    margin: 5px 0;
}

.trust-badge {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem !important;
    display: inline-block;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cat-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.cat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cat-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.cat-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Featured Properties */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.prop-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.prop-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .prop-img-wrapper img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.sale {
    background-color: #ef4444;
}

.badge.rent {
    background-color: #3b82f6;
}

.badge.commercial {
    background-color: #8b5cf6;
}

.prop-details {
    padding: 20px;
}

.prop-price {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 5px;
}

.prop-loc {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.prop-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.prop-features li {
    background: var(--light);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* About Section */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-points {
    margin-top: 30px;
}

.about-points li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.about-stat {
    text-align: center;
    border: 2px solid var(--secondary);
    padding: 40px;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-stat h3 {
    font-size: 3rem;
    color: var(--secondary);
    line-height: 1;
}

/* Services */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.service-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.s-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Contact Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--accent);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

.small-text {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-card p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-container {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        box-shadow: var(--shadow);
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .agent-float {
        margin: 0 auto;
    }
}
