/* General Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
    --text-color: #334155;
    --light-text: #64748b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}
main.main-content {
    margin-top: 100px;
}
/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand h2 {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: url('../../assets/images/house-marker.png') center center/cover no-repeat;
    position: relative;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-content {
    background: url('../images/image.jpg') center center/cover no-repeat;
    position: relative;
    min-height: 400px;
}

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.property-card .card-body {
    padding: 1.5rem;
}

.property-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Location Cards */
.location-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card .card-img {
    height: 200px;
    object-fit: cover;
}

.location-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Loan Calculator */
#loan-calculator {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
}

#emi-result {
    background: var(--light-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* Smart Tools */
.smart-tools .card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.smart-tools .card:hover {
    transform: translateY(-5px);
}

/* Mobile App Section */
.app-section {
    background: var(--primary-color);
    color: white;
    border-radius: 1rem;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--dark-bg);
}

footer .social-links a {
    font-size: 1.25rem;
    transition: opacity 0.3s ease;
}

footer .social-links a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0;
    }

    .property-card .card-img-top {
        height: 180px;
    }

    .location-card .card-img {
        height: 150px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.bg-banner-backdrop {
    background: url('../images/banner-bg.jpg') center center/cover no-repeat;
}

.aspect-ratio-16-6 {
    aspect-ratio: 16 / 6;
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
} 