:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --text-color: #333;
    --bg-light: #f4f6f9;
    --bg-dark: #343a40;
    --white: #fff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary-color);
    background-color: rgba(0, 86, 179, 0.1);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text .intro {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.features-list {
    margin-top: 20px;
}

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

.features-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

.about-image {
    flex: 1;
    height: 400px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #adb5bd;
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
}

/* Services Section */
.bg-light {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.service-card p {
    color: #666;
}

/* Properties Section */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.property-img {
    height: 200px;
    background-color: #ddd;
    position: relative;
}

.property-img .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ced4da;
    color: #6c757d;
    font-size: 1.2rem;
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tag.rent {
    background-color: var(--accent-color);
    color: #000;
}

.property-info {
    padding: 20px;
}

.property-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.property-info .location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.property-info .details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #555;
}

.property-info .price {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: bold;
}

.view-more {
    text-align: center;
}

.view-more .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.view-more .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* App Intro Section */
.bg-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.app-text {
    flex: 1;
}

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

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

.app-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.app-features i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 25px;
    text-align: center;
}

.app-buttons .btn {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.app-buttons .btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--text-color);
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 550px;
    background-color: #111;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 5px solid #333;
}

.phone-mockup .screen {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    display: block;
    width: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-col h3, .footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #343a40;
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        width: 100%;
        display: none;
    }

    .nav.active {
        display: block;
        margin-top: 20px;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        margin: 0;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-content, .app-content, .contact-wrapper {
        flex-direction: column;
    }

    .about-image {
        height: 300px;
        width: 100%;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}
