/* Reset & Variables */
:root {
    --primary: #0f172a;
    /* Navy Blue */
    --accent: #cca43b;
    /* Gold/Bronze */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    color: var(--primary);
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary);
}

.text-white {
    color: var(--white);
}

.mb-5 {
    margin-bottom: 5rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-search {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-search:hover {
    background: #b59030;
}

.btn-outline {
    display: inline-block;
    padding: 10px 0;
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    transition: var(--transition);
}

.btn-outline:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.accent-text {
    font-style: italic;
    color: var(--accent);
}

/* Search Box */
.search-box {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.search-form {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr auto;
    gap: 20px;
    align-items: end;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.input-group label i {
    color: var(--accent);
    margin-right: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--accent);
}

/* Featured Properties */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

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

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(204, 164, 59, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
}

.card-image {
    position: relative;
    height: 250px;
}

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

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tag.rent {
    background: var(--primary);
}

.price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.price span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.card-content {
    padding: 25px;
}

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

.address {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-bottom: 20px;
}

.features span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 5px solid var(--white);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Neighborhoods Section */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.neighborhood-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

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

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

.neighborhood-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.neighborhood-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.neighborhood-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 40px;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.logo.text-white {
    color: var(--white);
}

.footer-brand p {
    margin-top: 20px;
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .search-form {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 50px;
    }

    .experience-badge {
        right: 20px;
    }

    .features-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simplified mobile handling */
    .menu-toggle {
        display: block;
        color: var(--primary);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

.menu-toggle {
    display: none;
}

/* Animations */
.animate-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Hero Animations */
.hero-content h1 {
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content p {
    animation: slideUp 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.search-box {
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
    opacity: 0;
    transform: scale(0.9);
}

/* Card Hover Effects */
.property-card .card-image {
    overflow: hidden;
}

.property-card .card-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.property-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Button & Link Animations */
.btn-primary,
.btn-search {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after,
.btn-search::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    z-index: -1;
}

.btn-primary:hover::after,
.btn-search:hover::after {
    width: 100%;
}

/* Staggered Animation Utilities */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}