:root {
    --gold: #800000;
    --dark: #1a1a1a;
    --light-grey: #f9f9f9;
    --white: #ffffff;
    --transition: all .4s ease-in-out;
}

* { 
    margin: 0;
     padding: 0;
     box-sizing: border-box;
}

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2 { 
    font-family: 'Playfair Display', serif; 
}

p{
    font-family: 'Poppins', sans-serif; 
}

.container { 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 50px;
}
/************************************************************** --- Global Section Spacing --- *****************************************************************8*/
section {
    padding: 80px 0;
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    border-radius: 30px;
    padding: 10px 8px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 10px;
}
/***************************************************************** Navigation Styling **********************************************************************/
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 5px 0;
    height: 85px;
}

.logo img{
    width:70px;
    height: 70px; 
}

nav {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.nav-links { 
    display: flex;
    list-style: none;
    gap: 20px; 
}

.nav-links a {
    text-decoration: none;
    color: #800000;
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:hover{
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 20px 50px rgb(128, 0, 0, 0.2);
}

.nav-links a .btn-cta{
    background: #800000;
    color: var(--white);
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a .btn-cta:hover{
    background: #800000;
    color: white;
    padding: 6px 8px;
    border: 1px solid white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transform: scale(1.1);
    transition: var(--transition);
}
/************************************************************************* HERO SECTION *********************************************************/
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}
/* HERO CAROUSEL */
.hero-carousel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* DARK OVERLAY */
.hero-overlay {
    height: 90vh;
    display: flex;
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: var(--white);
    text-align: center;
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content span{
    color: #800000;
    font-weight: 600;
}

.hero-content h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-button{
    background: #800000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.hero-button:hover{
    background: #800000;
    color: white;
    padding: 15px 30px;
    border: 1px solid white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);

}
/* SEARCH CONTAINER */
.search-container {
    margin-top: 30px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-container input {
    border: none;
    padding: 12px;
    width: 250px;
}

.filter-toggle {
    background: #eee;
    border: none;
    padding: 12px;
    cursor: pointer;
}

/* DROPDOWN FILTER PANEL */
.filters {
    display: none;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
}

.filters.active {
    display: flex;
}
/************************************************************************* ABOUT SECTION *********************************************************/
.about-premium {
    padding: 120px 20px;
    background: #f9f9f9;
}

.about-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* IMAGE STACK (different from services) */
.about-images {
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.img-accent {
    position: absolute;
    width: 70%;
    bottom: -40px;
    right: -40px;
    border-radius: 20px;
    border: 6px solid white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* CONTENT SIDE */
.about-tag {
    color: #800000;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif; 
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.8rem;
    margin: 20px 0;
}

.about-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.about-highlights {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.about-highlights div strong {
    font-size: 1.8rem;
    color: #800000;
    display: block;
}

.about-highlights div span {
    font-size: 0.9rem;
    color: #555;
}

/* CTA BUTTON (premium feel) */
.about-cta {
    display: inline-block;
    background: #800000;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.about-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(128,0,0,0.3);
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .img-accent {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        width: 100%;
    }
}

/****************************************************** --- Services (Grid Layout) --- ****************************************************************/
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #800000;
    font-weight: bold;
}

.service-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px #80000015; /* Modern "offset" shadow */
}
/************************************* --- Stats Section Refinement --- ************************************************************************/
.stats {
   display: flex;
     justify-content: space-around;
    background: var(--white);
    padding: 60px 20px;
/*    margin-top: -50px;  Overlaps hero slightly for a modern look */
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: #800000;
    font-family: 'Playfair Display', serif;
}

.stat-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 600;
}
/************************************************************************************PROPERTY CARDS********************************************************/
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}
.prop-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
cursor: pointer;
    position: relative;
}
.prop-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(128,0,0,0.2);
}
.prop-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}
.prop-img span{
    color: white;
    font-weight: 700;
    background-color: #800000;
    border-radius: 30px;
    padding: 5px 5px;
}

.prop-card::after {
    content: "View Property →";
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #800000;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    opacity: 0;
    transition: 0.3s;
}

.prop-card:hover::after {
    opacity: 1;
}
/******************************************************** --- Property Details Styling --- ********************************************************************/
.prop-details {
    padding: 20px;
}

.prop-details h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.price {
    color: #800000;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.location {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.icons {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: #555;
}

/*************************************************************************************SCROLL ANIMATION *********************************************************/
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/*************************************************************************************CALCULATOR**********************************************/
.calculator {
    padding: 80px 0;
}
.calc-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.calc-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.calc-result { 
    grid-column: span 2; 
    background: var(--light-grey); 
    padding: 20px; 
    border-radius: 10px; 
    text-align: center;
    border-left: 5px solid var(--gold);
}

/*************************************************************************************CONTACT FORM***********************************************/
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
input, select, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}
input:focus, textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.btn-primary {
    background: var(--dark);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--gold);
}
/********************************************************************* TESTIMONIALS**********************************************************/
.testimonials {
    padding: 100px 20px;
    text-align: center;
    background: #f9f9f9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-style: italic;
}

.testimonial-card h4 {
    margin-top: 15px;
    font-style: normal;
    color: #800000;
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/********************************************************************* --- Footer & Bottom Bar --- **********************************************************/
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-info .logo {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info span { color: #800000; }

.footer-grid h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #800000;
}

.bottom-bar {
    text-align: center;
    padding-top: 30px;
    font-size: 0.8rem;
    color: #888;
}
/******************************************************************* Responsive Fixes *****************************************************************/
@media (max-width: 768px) {
    .grid-2, .calc-body, .form-row {
        grid-template-columns: 1fr;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    padding: 22px;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
/************************************************************************* PROPERTY DETAILS PAGE *********************************************************/
/* HERO */

/* LAYOUT */
.property-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 20px;
    max-width: 100%;
    margin: auto;
}

.property-hero{
    height: 50vh;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.property-main h1 {
    font-size: 2.5rem;
}

.property-main .price {
    color: #800000;
    margin: 10px 0;
}

.desc {
    margin-top: 20px;
    line-height: 1.6;
}

/* SIDEBAR */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-form {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.quick-form input,
.quick-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .property-container {
        grid-template-columns: 1fr;
    }
}
