/* Custom CSS for ARS Property */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #E50914;
    --secondary: #06213A;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --whatsapp: #25D366;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}
.top-bar a:hover {
    color: var(--primary);
}
.top-bar .social-icons a {
    margin-left: 15px;
    font-size: 0.95rem;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 15px 0;
}
.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--secondary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img {
    height: 40px;
}
.nav-link {
    font-weight: 600;
    color: var(--secondary) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.btn-enquire {
    background-color: var(--primary);
    color: var(--white) !important;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s;
}
.btn-enquire:hover {
    background-color: #b5070f;
    transform: translateY(-2px);
}

/* Sticky Widget Buttons (Right edge) */
.sticky-widgets {
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sticky-widget-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 8px 0 0 8px;
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.72rem;
    width: 80px;
    text-align: center;
    box-shadow: -2px 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, background-color 0.2s;
    line-height: 1.2;
}
.sticky-widget-btn i {
    font-size: 1.6rem;
    margin-bottom: 5px;
}
.sticky-widget-btn:hover {
    transform: translateX(-5px);
}
.sticky-widget-btn.whatsapp {
    background-color: var(--whatsapp);
}
.sticky-widget-btn.call {
    background-color: var(--primary);
}

/* Floating Action Buttons for Mobile Viewports */
.floating-mobile-actions {
    display: none;
    position: fixed;
    bottom: 20px;
    width: 100%;
    z-index: 998;
    justify-content: space-around;
    padding: 0 20px;
}
.floating-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white) !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex: 1;
    margin: 0 8px;
    font-size: 0.9rem;
}
.floating-mobile-btn.whatsapp {
    background-color: var(--whatsapp);
}
.floating-mobile-btn.call {
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-bottom: 100px;
    background-color: var(--secondary);
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content h1 span.highlight {
    color: #FFC107;
}
.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
}
.btn-hero {
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-hero.whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    border: none;
    margin-right: 15px;
}
.btn-hero.whatsapp:hover {
    background-color: #1ebd54;
    transform: translateY(-2px);
}
.btn-hero.call {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}
.btn-hero.call:hover {
    background-color: #b5070f;
    transform: translateY(-2px);
}

/* Overlapping Info Cards */
.overlapping-cards {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}
.info-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.info-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5rem;
}
.info-card.buy .info-icon-wrapper {
    background-color: #0d6efd;
}
.info-card.sell .info-icon-wrapper {
    background-color: var(--primary);
}
.info-card.rent .info-icon-wrapper {
    background-color: var(--secondary);
}
.info-card h4 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}
.info-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.info-card .learn-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.info-card .learn-more:hover {
    color: var(--primary);
}

/* Section Header */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--secondary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title h2 span {
    color: var(--primary);
}
.main-section-title {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--secondary) !important;
}
.welcome-title {
    font-weight: 800;
    font-size: 2.4rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

/* Property Cards Section */
.properties-section {
    padding: 80px 0;
    background-color: var(--white);
}
.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .property-img-wrapper img {
    transform: scale(1.05);
}
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}
.property-badge.sale {
    background-color: var(--primary);
}
.property-badge.rent {
    background-color: var(--secondary);
}
.property-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.property-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 5px;
}
.property-location {
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.property-location i {
    color: var(--primary);
    margin-right: 5px;
}
.property-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 20px;
    text-align: center;
}
.spec-item {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}
.spec-item i {
    color: var(--primary);
    margin-right: 4px;
}
.property-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.btn-prop-action {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s;
}
.btn-prop-action.whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
}
.btn-prop-action.whatsapp:hover {
    background-color: #1ebd54;
}
.btn-prop-action.call {
    background-color: var(--primary);
    color: var(--white);
}
.btn-prop-action.call:hover {
    background-color: #b5070f;
}
.btn-view-more {
    background-color: var(--secondary);
    color: var(--white);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.btn-view-more:hover {
    background-color: #041221;
}

/* Gallery and Why Choose Us Section */
.gallery-why-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 33, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Why Choose Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.why-item {
    display: flex;
    gap: 15px;
}
.why-icon {
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1;
}
.why-info h5 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.why-info p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}
.contact-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
}
.contact-form-card h4 {
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}
.form-control, .form-select {
    padding: 12px 15px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(229, 9, 20, 0.15);
}
.contact-info-list {
    list-style: none;
    padding: 0;
}
.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-list li .info-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-list li .info-text h6 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}
.contact-info-list li .info-text p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}
.map-container {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
    font-size: 0.9rem;
}
footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}
footer .footer-logo {
    color: var(--white);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: inline-block;
    text-decoration: none;
}
footer .footer-logo span {
    color: var(--primary);
}
footer p {
    line-height: 1.7;
}
footer .social-icons a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
}
footer .social-icons a:hover {
    background-color: var(--primary);
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 12px;
}
footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}
footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.newsletter-form .form-control {
    border-radius: 4px 0 0 4px;
    margin-bottom: 0;
}
.newsletter-form .btn {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 0 4px 4px 0;
    font-weight: 700;
    padding: 12px 20px;
    border: none;
}
.newsletter-form .btn:hover {
    background-color: #b5070f;
}
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* Lightbox Modal CSS */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}
.lightbox-modal .modal-body {
    padding: 0;
}
.lightbox-modal img {
    max-height: 80vh;
    object-fit: contain;
}

/* Responsive adjust */
@media (max-width: 991.98px) {
    .top-bar {
        display: none;
    }
    .hero {
        min-height: 60vh;
        padding-bottom: 120px;
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .overlapping-cards {
        margin-top: -60px;
    }
    .why-grid {
        gap: 20px;
    }
    .sticky-widgets {
        display: none;
    }
    .floating-mobile-actions {
        display: flex;
    }
    .section-title h2,
    .main-section-title {
        font-size: 1.8rem;
    }
    .welcome-title {
        font-size: 1.9rem;
    }
}
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .section-title h2,
    .main-section-title {
        font-size: 1.4rem;
    }
    .welcome-title {
        font-size: 1.5rem;
    }
}

/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #06213A;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.preloader-content {
    text-align: center;
    color: #ffffff;
}
.house-loader {
    font-size: 4rem;
    color: #E50914;
    animation: bounceHouse 1.5s infinite ease-in-out;
    margin-bottom: 20px;
}
.brand-loading {
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.loader-line {
    width: 120px;
    height: 3px;
    background-color: rgba(255,255,255,0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #E50914;
    animation: loadingBar 1.5s infinite linear;
}
@keyframes bounceHouse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(0.95);
    }
}
@keyframes loadingBar {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* CTA Banner styling */
.cta-banner-section {
    background-color: var(--white);
}
.cta-banner {
    background: linear-gradient(135deg, #1d0726 0%, #06213A 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.cta-buttons .btn-hero {
    margin: 0 !important;
}

/* Why Choose Us Hover Animations */
.why-us-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.why-us-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.why-us-card:hover .rounded-circle {
    transform: scale(1.1);
    background-color: #E50914 !important;
    color: #ffffff !important;
}
