/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

.nav-cta {
    background: #2c5aa0;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #1e3f73 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafe 0%, #e8f4f8 100%);
    padding: 60px 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e3f73;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-placeholder,
.image-placeholder {
    background: linear-gradient(45deg, #2c5aa0, #4a90e2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.3);
}

.hero-placeholder {
    height: 400px;
}

/* Search Form */
.search-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.search-field input,
.search-field select {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.search-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    height: fit-content;
}

.search-btn:hover {
    background: #1e3f73;
}

.quiz-prompt {
    text-align: center;
    margin-top: 20px;
}

.quiz-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.quiz-link:hover {
    text-decoration: underline;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3f73;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: #f8fafe;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #1e3f73;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Featured Properties */
.featured-properties {
    padding: 80px 0;
    background: #f8fafe;
}

.featured-properties h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3f73;
    margin-bottom: 50px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
}

.property-image .image-placeholder {
    height: 100%;
    background: linear-gradient(45deg, #4a90e2, #2c5aa0);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-info {
    padding: 25px;
}

.property-info h3 {
    color: #1e3f73;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.property-details {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

.period {
    color: #666;
    font-size: 0.9rem;
}

.view-all {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2c5aa0;
    color: white;
}

/* Footer */
.footer {
    background: #1e3f73;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c5aa0;
    color: #ccc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .search-container {
        padding: 20px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-card {
        margin: 0 10px;
    }
}