/*
Theme Name: realestate
Author: rasil
*/



* {
    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: #f4f4f4;
    padding-top: 70px;
}

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-top {
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #667eea;
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 1.5em;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #667eea;
    cursor: pointer;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    font-weight: bold;
    color: #333;
    font-size: 0.95em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #667eea;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #764ba2;
}

.header-btn {
    padding: 8px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    cursor: pointer;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.header-btn:hover {
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .phone {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.mobile-menu .social-links {
    margin-bottom: 20px;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    padding: 0 10px;
}

.hero-section p {
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.95;
    padding: 0 10px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 30px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 15px;
}

.modal {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

.modal-title {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold;
}

.modal p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95em;
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85em;
    color: #666;
}

.checkbox-group input {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group a {
    color: #667eea;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}

.form-notice {
    font-size: 0.75em;
    color: #999;
    margin-top: 15px;
    text-align: center;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 15px;
}

.success-message i {
    font-size: 2.5em;
    color: #4CAF50;
    margin-bottom: 15px;
}

.success-title {
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: bold;
}

/* Existing Styles */
.intro-section {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-section h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.intro-section p {
    margin-bottom: 12px;
    font-size: 1em;
    text-align: justify;
}

.price-info {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 5px solid #667eea;
}

.price-info h3 {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.price-list {
    list-style: none;
    padding: 0;
}

.price-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.95em;
}

.price-list li:last-child {
    border-bottom: none;
}

.complexes-section {
    margin: 30px 0;
}

.complexes-section h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.card-content {
    padding: 20px;
}

.card-title {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: bold;
}

.card-content p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.card-price {
    font-size: 1.2em;
    color: #764ba2;
    font-weight: bold;
    margin: 12px 0;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-features li {
    background: #f0f4ff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #667eea;
}

.card-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95em;
}

.card-btn:hover {
    opacity: 0.9;
}

/* Districts Section */
.districts-section {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.districts-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.district-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.district-name {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: bold;
}

.district-card .price {
    font-size: 1.3em;
    color: #764ba2;
    font-weight: bold;
    margin: 10px 0;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-section h2 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 16px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
}

.faq-question:hover {
    background: #f0f4ff;
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.95em;
}

.faq-answer.active {
    padding: 16px;
    max-height: 500px;
}

.faq-toggle {
    font-size: 1.1em;
    color: #667eea;
    flex-shrink: 0;
    margin-left: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 10px;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1em;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Info Section */
.info-section {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-section h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.6em;
}

.info-section h3 {
    color: #764ba2;
    margin: 20px 0 12px 0;
    font-size: 1.3em;
}

.info-section p {
    margin-bottom: 12px;
    text-align: justify;
    font-size: 1em;
}

.info-section ul {
    margin: 12px 0 12px 20px;
    font-size: 0.95em;
}

.info-section ul li {
    margin: 6px 0;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 30px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 8px;
}

.footer-section-title {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    color: white;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #667eea;
}

.footer-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: none;
    border-radius: 5px;
    font-size: 0.95em;
}

.footer-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s ease;
    font-size: 0.95em;
}

.footer-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #444;
    font-size: 0.8em;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: #667eea;
}

/* Media Queries */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-contact {
        display: none;
    }
    
    .logo {
        font-size: 1.1em;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 1.6em;
    }
    
    .hero-section p {
        font-size: 0.95em;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .districts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-section h2 {
        font-size: 1.6em;
    }
    
    .cta-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-section h1 {
        font-size: 1.4em;
    }
    
    .hero-btn, .cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }
    
    .intro-section, .districts-section, .faq-section, .info-section, .price-info {
        padding: 20px 15px;
    }
    
    .modal {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.3em;
    }
    
    .checkbox-group {
        font-size: 0.8em;
    }
    
    .form-notice {
        font-size: 0.7em;
    }
    
    .footer-bottom p {
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .hero-section h1 {
        font-size: 1.3em;
    }
    
    .card-features li {
        font-size: 0.8em;
        padding: 4px 8px;
    }
    
    .card-title {
        font-size: 1.2em;
    }
    
    .card-price {
        font-size: 1.1em;
    }
    
    .faq-question {
        font-size: 0.95em;
        padding: 14px;
    }
    
    .faq-answer {
        font-size: 0.9em;
        padding: 0 14px;
    }
    
    .faq-answer.active {
        padding: 14px;
    }
}



#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}