body, html {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--brand-dark);
    overflow-x: hidden;
}

/* Top Transparent Navbar */
.navbar-custom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 1.2rem 2rem;
    width: 100%;
    transition: background 0.3s ease;
}

.navbar-custom.scrolled {
    background: var(--brand-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.navbar-brand {
    color: var(--text-light) !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand .logo-icon {
    color: var(--brand-primary);
    font-size: 1.8rem;
}
.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: var(--brand-primary) !important;
}
.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 5px;
}

/* Buttons */
.btn-brand {
    background-color: var(--brand-primary);
    color: var(--text-light) !important;
    border: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background-color: #d95e1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(242, 110, 34, 0.4);
}
.login-link {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}
.login-link:hover {
    color: var(--brand-primary);
}

/* Mobile Offcanvas Menu Styling */
@media (max-width: 991px) {
    .navbar-custom { padding: 1rem; background: var(--brand-dark); }
    
    .offcanvas-custom {
        width: 75% !important;
        min-width: 250px; 
        height: 100vh !important; 
        background-color: #0b1713 !important; 
        border-right: none;
    }
    .offcanvas-custom .offcanvas-header { padding: 1.5rem 1.5rem 0.5rem; }
    .offcanvas-custom .nav-link {
        padding: 12px 20px !important;
        margin: 4px 15px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 15px;
        color: rgba(255,255,255,0.7) !important;
        font-size: 0.9rem;
        font-weight: 600;
    }
    .offcanvas-custom .nav-link i { font-size: 1.1rem; }
    .offcanvas-custom .nav-link:hover {
        background-color: rgba(255,255,255,0.05);
        color: #fff !important;
    }
    .offcanvas-custom .nav-link.active {
        background-color: #ffffff !important;
        color: #0b1713 !important; 
    }
    .offcanvas-custom .nav-link.active i { color: var(--brand-primary) !important; }
    .mobile-action-area {
        padding: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 15px;
    }
    .mobile-action-area .btn { width: 100%; justify-content: center; }
}

/* Hero Slider Section */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: var(--brand-dark);
    overflow: hidden;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100vh;
    width: 100%;
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.85);
}

.carousel-control-prev, .carousel-control-next { width: 5%; z-index: 10; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(18, 18, 18, 0.6);
    padding: 25px;
    border-radius: 50%;
    background-size: 18px;
}

.hero-overlay-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(18,18,18,0.96) 0%, rgba(28,28,35,0.94) 100%);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
    z-index: 5;
    display: flex;
    align-items: center;
    padding-left: 6%;
    padding-right: 12%;
    border-right: 3px solid var(--brand-accent);
}

.hero-content { color: var(--text-light); max-width: 560px; margin-top: 50px; }
.hero-subtitle {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px;
    font-weight: 600; margin-bottom: 15px; display: block; color: #ccc;
}
.hero-title {
    font-size: 3.6rem; font-weight: 800; line-height: 1.15;
    margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero-desc {
    font-size: 1.1rem; color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px; line-height: 1.6;
}

.play-button-wrapper {
    position: absolute; top: 50%; left: 45%;
    transform: translate(-50%, -50%); z-index: 8;
}
.play-button {
    width: 80px; height: 80px; background-color: rgba(255, 255, 255, 0.9);
    color: var(--brand-primary); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 2rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.5); cursor: pointer;
    transition: all 0.3s ease; padding-left: 4px;
}
.play-button:hover {
    background-color: var(--brand-primary); color: var(--text-light); transform: scale(1.1);
}

.subscribe-form {
    display: flex; gap: 0; max-width: 450px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); border-radius: 4px;
    overflow: hidden; margin-bottom: 15px;
}
.subscribe-form input {
    border: none; padding: 15px 20px; font-size: 0.95rem;
    border-radius: 0; width: 100%; outline: none;
}
.subscribe-form button { border-radius: 0; padding: 15px 35px; white-space: nowrap; }
.login-helper { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.login-helper a { color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.login-helper a:hover { text-decoration: underline; }

/* Property Card Styles */
.property-section { padding: 80px 0; background-color: #ffffff; }
.property-card { background: #fff; width: 100%; font-family: 'Segoe UI', sans-serif; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s; }
.property-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.prop-img-wrap { position: relative; width: 100%; height: 240px; overflow: hidden; }
.prop-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.property-card:hover .prop-img-wrap img { transform: scale(1.05); }

.prop-badges { position: absolute; top: 15px; left: 15px; display: flex; gap: 8px; z-index: 2; }
.prop-badge { 
    padding: 4px 12px; font-size: 0.75rem; font-weight: 600; color: #fff; 
    background: var(--brand-primary); text-transform: capitalize; border-radius: 3px;
}
.prop-badge.dark { background: #1a1a24; }

.prop-overlay-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex; justify-content: space-between; align-items: flex-end; z-index: 2;
}
.prop-date { color: #fff; font-size: 0.8rem; font-weight: 500; display: flex; align-items: center; gap: 6px; }

.prop-actions { display: flex; gap: 6px; }
.prop-action-btn { 
    width: 32px; height: 32px; background: #fff; border: none; color: #333;
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
    transition: all 0.2s; cursor: pointer; border-radius: 3px;
}
.prop-action-btn:hover { background: var(--brand-primary); color: #fff; }

.prop-content { padding: 20px; }
.prop-type {
    display: inline-block; background-color: #2c2d3e; color: #fff;
    padding: 4px 12px; font-size: 0.75rem; margin-bottom: 12px; border-radius: 3px;
}
.prop-title { font-size: 1.15rem; font-weight: 700; color: #1a1a24; margin-bottom: 8px; }
.prop-location { font-size: 0.85rem; color: #888; margin-bottom: 15px; display: flex; align-items: center; gap: 6px; }

.prop-amenities {
    display: flex; align-items: center; gap: 15px; font-size: 0.8rem; color: #222;
    font-weight: 600; margin-bottom: 15px; padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0; flex-wrap: wrap;
}
.prop-amenities i { color: #555; font-size: 0.9rem; }

.prop-price-wrap { display: flex; align-items: baseline; gap: 4px; }
.prop-price { font-size: 1.5rem; font-weight: 700; color: #b08d57; }
.prop-price-suffix { font-size: 0.8rem; color: #888; }

/* Swiper Custom Navigation */
.swiper-nav-wrap { display: flex; gap: 10px; }
.custom-swiper-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e0e0e0;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: #fff; color: #333; transition: all 0.3s;
}
.custom-swiper-btn:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* About Page */
body {
    background-color: #f8f9fa;
}
.page-hero {
    background: linear-gradient(135deg, rgba(18,18,18,0.95), rgba(18,18,18,0.75)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    padding: 140px 0 90px;
}
.section-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,90,60,0.12);
    color: #FF5A3C;
    font-size: 1.5rem;
}

.property-card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.property-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.properties-page-hero {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.72)),
                url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1600&q=80') center/cover;
    padding: 140px 0 90px;
    color: #fff;
}
.properties-page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.55);
}
.properties-page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}
.properties-page-hero .breadcrumb-item.active {
    color: #fff;
}

/* Grid View Layouts */
#propertiesGrid.grid-2 .property-item { flex: 0 0 calc(50% - 0.5rem); }
#propertiesGrid.grid-3 .property-item { flex: 0 0 calc(33.333% - 0.67rem); }
#propertiesGrid.grid-4 .property-item { flex: 0 0 calc(25% - 0.75rem); }
#propertiesGrid.list .property-item { flex: 0 0 100%; }

#propertiesGrid.list .property-item .card {
    display: flex;
    flex-direction: row;
    height: auto;
}
#propertiesGrid.list .property-item .card > img {
    width: 300px !important;
    height: 200px !important;
    object-fit: cover;
    flex-shrink: 0;
}
#propertiesGrid.list .property-item .position-relative {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}
#propertiesGrid.list .property-item .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    #propertiesGrid.grid-3 .property-item { flex: 0 0 calc(50% - 0.5rem); }
    #propertiesGrid.grid-4 .property-item { flex: 0 0 calc(50% - 0.5rem); }
    #propertiesGrid.list .property-item .card { flex-direction: column; }
    #propertiesGrid.list .property-item .position-relative { width: 100%; }
}

/* Pagination Styling */
.pagination .page-link {
    color: var(--brand-primary);
    border-color: #ddd;
    transition: all 0.3s ease;
}

.pagination .page-link:hover:not(.disabled .page-link) {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.pagination .page-item.disabled .page-link {
    color: #999;
    pointer-events: none;
}

/* Breadcrumb Styling */
.breadcrumb-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-custom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-custom li {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.95rem;
}

.breadcrumb-custom li a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.breadcrumb-custom li a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.breadcrumb-custom li.active {
    color: var(--brand-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Gallery Image Styling */
.gallery-image {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
    filter: brightness(0.95);
}

/* Image Lightbox Modal */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 15px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.gallery-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}

.gallery-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Property Header Section */
.property-header-section {
    transition: all 0.3s ease;
}

.property-header-section .badge {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.property-header-section .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .gallery-lightbox-nav {
        padding: 10px 15px;
        font-size: 1.5rem;
    }
    .gallery-lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }
    
    .property-header-section {
        padding-bottom: 2rem;
    }
}

@media (max-width: 1200px) {
    .hero-overlay-panel { width: 65%; clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); }
    .play-button-wrapper { left: 55%; }
    .hero-title { font-size: 2.8rem; }
}
@media (max-width: 991px) {
    .hero-overlay-panel { 
        width: 100%; clip-path: none; background: rgba(18,18,18,0.85); padding: 5% 8%; 
    }
    .play-button-wrapper { display: none; }
    .hero-title { font-size: 2.4rem; }
}
