:root {
    --primary-yellow: #D4AF37; /* Luxury Gold */
    --text-dark: #1A1A1A;
    --text-muted: #6C757D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark-glass: rgba(0, 0, 0, 0.4);
    --border-radius-lg: 35px;
    --border-radius-md: 20px;
    --border-radius-sm: 10px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.page-wrapper {
    padding: 10px; /* Outer white border */
    min-height: 100vh;
}

.hero-section {
    position: relative;
    background-image: linear-gradient(to right, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0.3) 100%), url('pc_ban.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    min-height: calc(100vh - 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* --- Navigation Header --- */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 10;
}

/* Center Nav Pill */
.center-nav {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 75px;
    padding: 0 50px;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Inverted Curves using Radial Gradients */
.center-nav::before,
.center-nav::after {
    content: "";
    position: absolute;
    top: 0;
    width: 35px;
    height: 35px;
}

.center-nav::before {
    left: -34px;
    background: radial-gradient(circle at 0% 100%, transparent 35px, #ffffff 35.5px);
}

.center-nav::after {
    right: -34px;
    background: radial-gradient(circle at 100% 100%, transparent 35px, #ffffff 35.5px);
}

.center-nav .nav-link {
    font-size: 0.95rem;
    transition: color 0.3s ease;
    color: var(--text-dark) !important;
}

.center-nav .nav-link:hover {
    color: var(--primary-yellow) !important;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    color: rgba(255,255,255,0.8) !important;
}

.nav-link:hover {
    color: var(--primary-yellow) !important;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-yellow) !important;
}

.profile-icon {
    color: var(--text-dark);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-icon:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-contact {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 30px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 229, 0, 0.4);
}

/* --- Hero Content --- */
.hero-content {
    flex-grow: 1;
    padding-top: 100px; /* Make space for header */
    padding-bottom: 50px;
    padding-left: 5%;
    padding-right: 5%;
    position: relative;
    z-index: 2;
}

.dots-container .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dots-container .dot.yellow {
    background-color: var(--primary-yellow);
}

.dots-container .dot.outlined {
    border: 1px solid var(--bg-white);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Stats Card */
.stats-card {
    border-radius: var(--border-radius-md) !important;
    max-width: 380px;
    background: #ffffff !important;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.stats-card h3, .stats-card p {
    color: var(--text-dark) !important;
}

.stats-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.avatar-group img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    margin-left: -10px;
}
.avatar-group img:first-child {
    margin-left: 0;
}

.hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

/* --- Phase 2: Full Website Sections --- */

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Featured Properties */
.property-card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}
.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-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}
.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.property-meta i {
    color: var(--primary-yellow);
    width: 20px;
}

/* About / Why Choose Us */
.about-section {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
}
.about-image {
    border-radius: var(--border-radius-lg);
    box-shadow: -20px 20px 0 var(--primary-yellow);
    width: 100%;
    max-width: 500px;
}
.layout-gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.layout-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}
.layout-gallery .card {
    border-radius: var(--border-radius-md);
}
.stat-box {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid var(--primary-yellow);
}
.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

/* Services / Amenities */
.service-card {
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.service-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-yellow);
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon {
    background: var(--primary-yellow);
    color: #111;
    transform: scale(1.1);
}

/* Footer */
.main-footer {
    background-color: #111;
    color: #f5f5f5;
    padding: 80px 0 30px;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    margin-top: 50px;
}
.footer-logo {
    color: var(--primary-yellow);
    font-size: 2rem;
}
.footer-text {
    color: #ddd;
    line-height: 1.8;
}
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-yellow);
}
.footer-bottom p {
    color: #aaa;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--primary-yellow);
    color: #111;
}
.newsletter-form .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary-yellow);
    box-shadow: none;
}
.newsletter-form .btn {
    background: var(--primary-yellow);
    color: #111;
    font-weight: 600;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding-top: 20px;
    color: #777;
}

/* Search Card (Lead Form) */
.search-card {
    border-radius: var(--border-radius-md) !important;
    background: #ffffff !important;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-top: 5px solid var(--primary-yellow) !important;
}

.bottom-lead-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bottom-lead-form .form-control {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
}

.bottom-lead-form .form-control:focus {
    background: #fff !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 229, 0, 0.2) !important;
}

.bottom-lead-form .btn-cta {
    min-height: 65px;
}

.search-card h4 {
    color: var(--text-dark) !important;
}
.search-card p {
    color: var(--text-muted) !important;
}

.custom-input {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: var(--text-dark) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: #ffffff !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 229, 0, 0.25) !important;
}

.form-floating label {
    padding-left: 1.25rem;
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-yellow);
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFCC00 100%);
    color: #111 !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 229, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 229, 0, 0.5);
    background: linear-gradient(135deg, #FFCC00 0%, var(--primary-yellow) 100%);
}

/* --- Bottom Logos Area --- */
.bottom-logos {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 100px;
    background-color: var(--bg-white);
    border-top-left-radius: var(--border-radius-lg);
    z-index: 5;
}

/* Inverted curve for Bottom Logos */
.bottom-logos::before {
    content: "";
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-bottom-right-radius: var(--border-radius-lg);
    box-shadow: 20px 20px 0 0 var(--bg-white);
}

/* Inverted curve on the left side of bottom logos */
.bottom-logos::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-bottom-right-radius: var(--border-radius-lg);
    box-shadow: 20px 20px 0 0 var(--bg-white);
}

.logo-item {
    transition: opacity 0.3s ease;
}
.logo-item:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-section {
        background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%), url('mob_ban1.png');
    }
    
    .main-header {
        height: auto;
        padding-bottom: 15px;
    }
    
    .center-nav {
        display: none !important;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-top: 40px;
    }
    
    .bottom-logos {
        width: 100%;
        position: relative;
        border-radius: 0;
        height: auto;
        border-bottom-left-radius: var(--border-radius-lg);
        border-bottom-right-radius: var(--border-radius-lg);
    }
    
    .bottom-logos::before,
    .bottom-logos::after {
        display: none;
    }
    
    .hero-right-col {
        margin-top: 2rem;
        justify-content: flex-start !important;
    }
}
