/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background: #EBDDBF; /* Warm Beige */
    font-family: 'Inter', sans-serif;
    color: #3A3A3A;
    overflow-x: hidden;
    transition: background-color 0.4s ease;
}

/* Noise Texture Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" opacity="0.02"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="400" height="400" filter="url(%23noise)"/></svg>');
    pointer-events: none;
    z-index: 100;
    mix-blend-mode: overlay;
}

h1, h2, h3, h4 {
    font-family: 'Italiana', serif;
    color: #C43A2A; /* Deep Red Accent */
    letter-spacing: 1px;
    margin-top: 0;
}

p {
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 999;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.6rem 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    transition: all 0.4s ease-in-out;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled {
    top: 0 !important;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 20px;
    background: rgba(106, 27, 26, 0.9); /* Deep Red Theme */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 45px;
    width: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-links {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-links::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.navbar-links:hover::after {
    width: 100%;
}

.navbar-links:hover {
    color: #000;
}

/* Navbar Button */
.bttn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bttn:hover {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: 95%;
        padding: 0.5rem 1rem;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(40, 40, 40, 0.95);
        backdrop-filter: blur(40px);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
        margin-top: 10px;
        align-items: center;
        gap: 0;
    }

    .navbar-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .navbar-item {
        width: 100%;
        text-align: center;
    }
    
    .navbar-links {
        display: block;
        padding: 1rem;
        color: white;
    }

    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.fullscreen-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-category {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-category.active {
    opacity: 1;
    z-index: 2;
}

.hero-images {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-images::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    z-index: 4;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-family: 'Italiana', serif;
    color: white !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-category.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.category-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
    padding: 15px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* =========================================
   4. PROPERTY CARDS (HORIZONTAL SCROLL)
   ========================================= */
.property-cards {
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1400px;
}

.property-cards h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.property-cardsp p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
}

.realestate-premium__scroll-container {
    position: relative;
    padding: 20px 0;
}

.realestate-premium__card-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.realestate-premium__card-track::-webkit-scrollbar {
    display: none;
}

.realestate-premium__card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.realestate-premium__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.realestate-premium__image-wrapper {
    position: relative;
    height: 350px;
    width: 100%;
}

.realestate-premium__image,
.realestate-premium__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.realestate-premium__video {
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.realestate-premium__image-wrapper:hover .realestate-premium__video {
    opacity: 1;
}

.realestate-premium__overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 3;
}

.realestate-premium__card-content {
    padding: 20px;
    text-align: center;
}

.realestate-premium__subtitle {
    font-family: 'Italiana', serif;
    font-size: 1.5rem;
    color: #0d1b2a;
    margin: 0;
}

.realestate-premium__description {
    color: #666;
    margin: 5px 0 15px;
    font-size: 0.9rem;
}

.card-btn {
    padding: 0 20px 20px;
    text-align: center;
}

.card-btnn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.card-btnn:hover {
    background: #C43A2A;
}

.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: all 0.3s ease;
}

.scroll-nav:hover {
    background: #333;
    color: #fff;
}

.scroll-left { left: 0; }
.scroll-right { right: 0; }

@media (max-width: 768px) {
    .realestate-premium__card-track {
        padding: 10px;
        gap: 15px;
    }
    .realestate-premium__card {
        flex: 0 0 280px;
    }
    .scroll-nav { display: none; }
}

/* =========================================
   5. FAQ SECTION
   ========================================= */
.faqpro {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.image_cont {
    flex: 1;
}

.image_cont img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.faq-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-heading {
    text-align: left;
    margin-bottom: 5px;
}

.faq-subtitle {
    margin-bottom: 30px;
    color: #555;
}

.faq-container details {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.faq-container details[open] {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.faq-container summary {
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-container summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    font-weight: 300;
    top: -5px;
}

.faq-container details[open] summary::after {
    content: '-';
}

@media (max-width: 900px) {
    .faqpro {
        flex-direction: column;
        padding: 40px 20px;
    }
    .image_cont img {
        display: none;
    }
}

/* =========================================
   6. CONTACT SECTION
   ========================================= */
.contactpro {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: #312e28;
    color: white;
}

.contact-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.contact-heading {
    color: white;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #ccc;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: #25D366; /* WhatsApp Green */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #1ebd59;
}

.contact_cont {
    display: none;
}

@media (min-width: 900px) {
    .contactpro {
        gap: 50px;
    }
    .contact_cont {
        display: block;
        max-width: 400px;
    }
    .contact_cont img {
        width: 100%;
        border-radius: 15px;
    }
}

/* =========================================
   7. FOOTER (NEW LUXURY REDESIGN)
   ========================================= */
.luxury-footer {
    background-color: #121212; /* Deep Black */
    color: #EBDDBF; /* Brand Beige */
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #333;
}

/* --- Newsletter Section --- */
.footer-newsletter {
    border-bottom: 1px solid rgba(235, 221, 191, 0.1);
    padding-bottom: 60px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
}

.newsletter-content h3 {
    font-family: 'Italiana', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: #999;
    margin-bottom: 30px;
    font-weight: 300;
    /* ADD THESE TWO LINES */
    font-family: 'Inter', sans-serif; /* Forces it to match the Index page */
    font-weight: 600; /* Makes it bold */
}

.newsletter-form {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-bottom-color: #C43A2A; /* Brand Red */
}

.newsletter-form button {
    background: none;
    border: none;
    color: #C43A2A;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

/* --- Main Footer Content --- */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 0 40px;
}

.footer-col h4 {
    font-family: 'Italiana', serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
    /* Adjust logo brightness for dark background */
    filter: brightness(0) invert(1) sepia(0.2) saturate(0.5) hue-rotate(20deg); 
}

.brand-desc {
     color: #888;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: bold;
    /* ADD THESE TWO LINES */
    font-family: 'Inter', sans-serif; /* Forces it to match the Index page */
    font-weight: 600; /* Makes it bold */
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-col a:hover {
    color: #C43A2A; /* Brand Red */
    padding-left: 5px;
}

.phone-link {
    display: block;
    margin-top: 15px;
    font-size: 1.1rem;
    color: #fff !important;
}

/* --- Social Icons --- */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #C43A2A;
    border-color: #C43A2A;
    color: #fff;
    transform: translateY(-3px);
}

/* --- Bottom Bar --- */
.footer-bottom {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}


/* Add this to about.css to fix the copyright font */
.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Optional: adjust weight if needed */
    letter-spacing: 0.5px; /* Optional: improves readability for small text */
}

.legal-links a {
    color: #666;
    margin-left: 20px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #C43A2A;
}

/* --- Responsive Footer --- */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-newsletter {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    
    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-links a {
        margin: 0 10px;
    }
}

/* =========================================
   8. UTILITIES
   ========================================= */

/* Back to Top */
#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#goTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 9999;
    max-width: 300px;
    display: none;
    border: 1px solid #eee;
}

.cookie-popup.show {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content button {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
}