/* Modern Color Scheme */
:root {
    --primary-maroon: #9e0000;
    --accent-gold: #e3a849;
    --secondary-orange: #e36a00;
    --dark-bg: #1e1e1c;
    --text-dark: #2b2b2b;
    --text-gray: #6c757d;
    --light-bg: #fafafa;
    --white: #ffffff;
    --gradient-brand: linear-gradient(135deg, var(--primary-maroon), var(--secondary-orange));
}

body {
    font-family: 'Mulish', sans-serif;
    color: var(--text-gray);
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: var(--dark-bg);
    font-weight: 700;
}

.cursive-font {
    font-family: 'Charmonman', cursive;
    color: var(--accent-gold);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    font-weight: 500;
}
.top-bar a {
    color: var(--white);
    margin-right: 20px;
}
.top-bar a:hover {
    color: var(--accent-gold);
}
.social-icons a {
    color: var(--accent-gold);
    margin-left: 15px;
    font-size: 15px;
}
.social-icons a:hover {
    color: var(--white);
}

/* Glassmorphism Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}
.navbar-brand {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--primary-maroon) !important;
    letter-spacing: 1px;
}
.navbar-brand span {
    color: var(--accent-gold);
}
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 12px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-maroon);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-maroon) !important;
}

/* Mobile Navbar Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 15px;
    }
    .nav-link {
        margin: 10px 0;
        font-size: 16px;
    }
}

/* Buttons */
.btn-brand {
    background: var(--gradient-brand);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(158, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(158, 0, 0, 0.4);
    color: var(--white);
}
.btn-outline-brand {
    border: 2px solid var(--primary-maroon);
    color: var(--primary-maroon);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}
.btn-outline-brand:hover {
    background: var(--primary-maroon);
    color: var(--white);
}

/* Hero Section */
.hero-section .carousel-item {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 30, 28, 0.9) 0%, rgba(158, 0, 0, 0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    top: 50%;
    transform: translateY(-50%);
    max-width: 800px;
}
.hero-content h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #eee;
    margin-bottom: 30px;
}

/* Section Formatting */
.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
}
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading h4 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-maroon);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}
.section-heading h4::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--accent-gold);
    bottom: -5px;
    left: 25%;
    border-radius: 2px;
}

/* How It Works (About) */
.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    z-index: 1;
}
.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: var(--gradient-brand);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}
.feature-box:hover {
    transform: translateY(-10px);
}
.feature-box:hover::before {
    opacity: 1;
}
.feature-box:hover h5, .feature-box:hover p, .feature-box:hover .feature-icon {
    color: var(--white);
}
.feature-icon {
    font-size: 55px;
    color: var(--primary-maroon);
    margin-bottom: 25px;
    transition: color 0.4s ease;
}
.feature-box h5 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

/* Property Cards */
.property-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(158, 0, 0, 0.1);
}
.property-img-wrapper {
    position: relative;
    overflow: hidden;
}
.property-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .property-img {
    transform: scale(1.05);
}
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-gold);
    color: var(--dark-bg);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.property-features {
    display: flex;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 20px 0;
    list-style: none;
    padding-left: 0;
}
.property-features li {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.property-features i {
    color: var(--secondary-orange);
    font-size: 16px;
}
.price-text {
    color: var(--primary-maroon);
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

/* Agents */
.agent-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 20px;
}
.agent-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-bottom: 4px solid var(--accent-gold);
}
.agent-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    color: var(--primary-maroon);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.agent-socials a:hover {
    background: var(--primary-maroon);
    color: var(--white);
    transform: translateY(-3px);
}

/* Testimonials */
.testimonial-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 15px;
    text-align: center;
    border-top: 5px solid var(--accent-gold);
}
.testimonial-box i.fa-quote-left {
    font-size: 45px;
    color: rgba(227, 168, 73, 0.3);
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
}
.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 28, 0.85);
}
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}
.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 15px;
    border-radius: 8px;
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(227, 168, 73, 0.5);
    background: var(--white);
}

/* Floating WhatsApp Button (Mobile Friendly) */
.fab-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.fab-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Back to top */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: var(--gradient-brand);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(158, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    padding: 40px 0 20px;
}
footer h5 { color: var(--white); }
.footer-links a {
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}
.footer-links a:hover { color: var(--accent-gold); }
