:root {
    --primary: #2D4356;
    --secondary:  #D4AF37;
    /* --accent: #D4AF37; */
      --accent: #8B7355;
    --light: #F8F6F3;
    --dark: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* ========== NAVBAR ========== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary) !important;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent);
}

.navbar-brand i {
    color: var(--accent);
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* .btn-login {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
} */

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SEARCH BOX ========== */
.search-box {
    background: white;
    border-radius: 15px;
    padding: 35px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
}

.search-box .form-group {
    margin-bottom: 0;
}

.search-box .form-control {
    border: 2px solid #e0e0e0;
    padding: 18px 20px;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-box select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

.search-box .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    outline: none;
}

.search-box label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.search-box label i {
    color: var(--accent);
    margin-right: 8px;
}

.btn-search {
    background: linear-gradient(135deg, var(--accent), #c49b2e);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    margin-top: 25px;
    cursor: pointer;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* ========== FEATURED PROPERTIES ========== */
.featured-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-card-body {
    padding: 25px;
}

.property-card-body h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.property-badge {
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.property-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.price small {
    font-size: 1rem;
    color: #666;
}

.btn-view {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-view:hover {
    background: var(--secondary);
    text-decoration: none;
    color: white;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent);
}

.footer ul li {
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .search-box {
        padding: 25px 20px;
    }

    .search-box .col-md-4 {
        margin-bottom: 20px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 20px;
    }
}
/* ========== ABOUT CAROUSEL ========== */
.about-carousel-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
}

.about-carousel-section .section-title h2 {
    color: white;
}

.about-carousel-section .section-title p {
    color: rgba(255,255,255,0.9);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
}

.carousel-caption h5 {
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--accent);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--accent);
}

/* Mobile Responsive Carousel */
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-caption h5 {
        font-size: 1.3rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* DOUBLEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE */

/* ========== HERO SECTION WITH CAROUSEL BACKGROUND ========== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Background Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel .carousel-item {
    height: 100vh;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-carousel img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 60px;
    opacity: 0.95;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    animation: fadeInUp 1.2s ease-out;
}

/* Hide carousel controls for hero */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators {
    display: none;
}

/* ========== SEARCH BAR SECTION (Below Hero) ========== */
.search-bar-section {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    padding-bottom: 80px;
}

.search-box {
    background: white;
    border-radius: 15px;
    padding: 40px 45px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 1200px;
    margin: 0 auto;
}

.search-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.search-box .form-group {
    margin-bottom: 0;
}

.search-box .form-control {
    border: 2px solid #e0e0e0;
    padding: 18px 20px;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-box select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

.search-box .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    outline: none;
}

.search-box label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.search-box label i {
    color: var(--accent);
    margin-right: 8px;
}

.btn-search {
    background: linear-gradient(135deg, var(--accent), #c49b2e);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    margin-top: 25px;
    cursor: pointer;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .search-bar-section {
        margin-top: -80px;
        padding: 0 15px 60px;
    }

    .search-box {
        padding: 25px 20px;
    }

    .search-box h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .search-box .col-md-3 {
        margin-bottom: 20px;
    }
}

/* Hero Carousel Indicators */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.hero-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-indicators .active {
    background-color: var(--accent);
    border-color: white;
    width: 14px;
    height: 14px;
}

.hero-indicators li:hover {
    background-color: rgba(255,255,255,0.8);
}

/* ========== HERO SECTION WITH CAROUSEL BACKGROUND ========== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Background Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel .carousel-item {
    height: 100vh;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 2;
}

.hero-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Hero Content - MUST BE ABOVE IMAGE */
.hero-carousel .container {
    position: relative;
    z-index: 10;
    height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 10;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    z-index: 10;
    max-width: 800px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide carousel controls for hero */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    display: none;
}

/* Optional: Show indicators */
.hero-carousel .carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.hero-carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    margin: 0 6px;
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--accent);
    width: 14px;
    height: 14px;
}

/* ========== SEARCH BAR SECTION (Below Hero) ========== */
.search-bar-section {
    position: relative;
    z-index: 100;
    margin-top: -120px;
    padding-bottom: 80px;
}

.search-box {
    background: white;
    border-radius: 15px;
    padding: 40px 45px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 1200px;
    margin: 0 auto;
}

.search-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.search-box .form-group {
    margin-bottom: 0;
}

.search-box .form-control {
    border: 2px solid #e0e0e0;
    padding: 18px 20px;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-box select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

.search-box .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    outline: none;
}

.search-box label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.search-box label i {
    color: var(--accent);
    margin-right: 8px;
}

.btn-search {
    background: linear-gradient(135deg, var(--accent), #c49b2e);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .search-bar-section {
        margin-top: -80px;
        padding: 0 15px 60px;
    }

    .search-box {
        padding: 25px 20px;
    }

    .search-box h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .search-box .col-md-3 {
        margin-bottom: 20px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.brand-text .highlight {
    color: var(--accent);
}

@media (max-width: 768px) {
    .brand-text {
        display: none;
    }
    
    .navbar-logo {
        height: 40px;
    }
}
