/* Bookright.ng Main Stylesheet */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Prevent horizontal overflow on admin pages */
.admin-layout {
  overflow-x: hidden;
}

/* User layout wrapper to prevent horizontal overflow */
.user-layout {
  overflow-x: hidden;
}

/* H1 specific font */
h1 {
    font-family: 'Tahoma', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
header {
    box-sizing: border-box;
    position: relative;
    width: 100%; /* align with page grid; avoid fixed width */
    min-height: 72px;
    background: #FFFFFF;
}

.navbar {
    padding: 12px 0;
    background-color: #FFFFFF !important;
    box-shadow: 0 0px 0px rgba(0,0,0,0.0) !important;
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    margin-left: -30px !important; 
    margin-right: 180px !important;
}

/* Ensure brand image aligns vertically to navbar center */
.navbar-brand img {
    display: block;
    height: 48px; /* harmonize visual height */
}
.mt-3 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}
/* Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Right side buttons */
.btn-link.text-dark {
    text-decoration: none !important;
    font-weight: 500;
}

.btn-link.text-dark:hover {
    color: #333 !important;
}

/* Button Styles per design system */
.btn-link { color: #000 !important; }
.btn-link:hover { color: #333 !important; }

.btn-dark {
    background-color: #000;
    border-color: #000;
    color: #fff;
}
.btn-dark:hover, .btn-dark:focus {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

/* Primary and Secondary as black */
.btn-primary, .btn-secondary {
    background-color: #000;
    border-color: #000;
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

/* Outline variants remain outline, black border/text; hover to #333 without background */
.btn-outline-primary, .btn-outline-secondary {
    color: #000;
    border-color: #000;
    background-color: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus,
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    color: #fff;
    border-color: #333;
    background-color: #333;
}

/* Disabled states */
.btn-primary:disabled, .btn-secondary:disabled, .btn-dark:disabled,
.btn.disabled.btn-primary, .btn.disabled.btn-secondary, .btn.disabled.btn-dark {
    background-color: #646464ff !important;
    border-color: #333 !important;
    color: #fff !important;
}
.btn-outline-primary:disabled, .btn-outline-secondary:disabled, .btn-link:disabled,
.btn.disabled.btn-outline-primary, .btn.disabled.btn-outline-secondary, .btn.disabled.btn-link {
    color: #646464ff !important;
    border-color: #333 !important;
    background-color: transparent !important;
}

/* Dark Sidebar Navigation (Admin & Host) */
.sidebar-nav {
    background-color: #000;
    color: #fff;
}

/* Sidebar layout relies on Bootstrap grid; avoid overriding flex-basis */
@media (min-width: 768px) {
    .sidebar-nav { width: 100%; }
}

/* Hide vertical scrollbar in sidebar while preserving scroll */
.sidebar-nav {
    -ms-overflow-style: none; /* IE and old Edge */
    scrollbar-width: none;    /* Firefox */
}
.sidebar-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sidebar.bg-light {
    background-color: #000 !important; /* override bootstrap bg-light */
}

.sidebar-nav .nav-item + .nav-item {
    margin-top: 8px;
}

.sidebar-nav .nav-link {
    color: #fff;
    opacity: 0.9;
    padding: 10px 14px;
    border-radius: 10px;
}

.sidebar-nav .nav-link:hover {
    background-color: #121212;
    opacity: 1;
}

.sidebar-nav .nav-link.active {
    background-color: #2e2e2e;
    color: #fff;
}

.sidebar-nav .nav-link .bi {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/images/RADISSON_BLU_BACKGROUND.jpeg');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 60vh;
    padding: 80px 0;
    margin-bottom: 0;
}
.text-center {
    text-align: left !important;
}

/* Listings cards: uniform thumbnail size */
.listing-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

/* Image modal navigation */
.image-modal-prev, .image-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.image-modal-prev { left: 10px; }
.image-modal-next { right: 10px; }
.image-modal-counter {
    position: absolute;
    bottom: 10px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.875rem;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-left: -130px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-left: -130px;
    margin-bottom: 0.3rem !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Responsive overrides for hero on tablets/phones */
@media (max-width: 992px) {
    .hero-section .text-center {
        text-align: center !important;
    }
    .hero-title,
    .hero-subtitle {
        margin-left: 0;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Image modal for full-size preview */
.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050; /* above bootstrap nav/cards */
}
.image-modal.open { display: flex; }
.image-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
.image-modal-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.image-modal-img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.image-modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 18px;
  background: #000;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Property Cards */
.property-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Room Categories Styling */
.room-categories {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.room-item {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.room-item:last-child {
    border-bottom: none;
}

.room-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.room-details {
    text-align: right;
}

/* Responsive tweaks for property cards */
@media (max-width: 768px) {
    .room-item {
        flex-direction: column !important; /* stack name and details */
        align-items: flex-start !important;
    }
    .room-details {
        text-align: left;
        margin-top: 4px;
    }
}

@media (max-width: 576px) {
    .property-card .card-img-top {
        height: 160px;
    }
    .room-categories {
        padding: 12px;
    }
    .price-range {
        padding: 8px 12px;
    }
}

/* Tablet-specific tweaks (iPad and similar widths) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .property-card .card-img-top {
        height: 180px;
    }
    .room-item {
        gap: 8px;
        flex-wrap: nowrap;
    }
    .room-name {
        flex: 1 1 auto;
        min-width: 0;
    }
    .room-details {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* Price Range Styling */
.price-range {
    background-color: #fff;
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

/* Enhanced Badge Styling */
.badge {
    font-size: 0.75rem;
    padding: 0.4em 0.6em;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
}

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.property-card .card-body {
    padding: 20px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff5a5f;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 1;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ff5a5f;
    margin: 15px auto 0;
}

/* Feature Boxes */
.feature-box {
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #ff5a5f;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #222;
}

footer a {
    color: #fff;
    opacity: 0.8;
}

footer a:hover {
    opacity: 1;
    color: #ff5a5f;
}

footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Sticky Search sizing (Homepage search container) */
.sticky-search {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.sticky-search .container {
    max-width: 1140px; /* enforce width */
}

/* Hero section background carousel */
.hero-section {
    min-height: 683px;
}
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    --bs-carousel-transition-duration: 0.5s;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
}
.hero-carousel .carousel-item img {
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.sticky-search {
    position: relative;
    height: 110px; /* reserve space equal to search bar height */
}

.sticky-search .search-bar {
    position: relative;
    top: 37px;
    left: 50%;
    transform: translateX(-50%);
    width: 1140px; /* enforce exact width */
    height: 90px; /* enforce exact height */
    z-index: 99;
    display: flex;
    align-items: center;
    padding-top: 18px;
}

.sticky-search .row {
    width: 100%;
}

/* Equal width columns for homepage search (5 items → 20% each) */
@media (min-width: 768px) {
  .sticky-search .search-bar .row > [class*="col"] {
    flex: 0 0 20%;
    max-width: 20%;
    margin-left: 0 !important; /* cancel global grid margin for this bar */
  }
  /* Add left spacing only before the Search button (last column) */
  .sticky-search .search-bar .row > [class*="col"]:last-child {
    padding-left: 15px;
  }
}

/* Responsive overrides for sticky search */
@media (max-width: 992px) {
  .sticky-search {
    height: auto;
  }
  .sticky-search .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .sticky-search .search-bar {
    position: static;
    top: 0;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    padding: 12px;
  }
  .sticky-search .search-bar .row {
    row-gap: .5rem;
  }
}
@media (max-width: 768px) {
  .sticky-search .search-bar .row > [class*="col"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sticky-search .search-bar .row > [class*="col"]:last-child {
    padding-left: 0;
  }
  .sticky-search .search-bar .row > [class*="col"]:last-child .btn {
    width: 100%;
  }
}

/* Form Styles: restore visible borders for inputs */
.form-control {
    border-radius: 5px;
    padding: 10px 15px;
    border: 1px solid #ced4da !important; /* Bootstrap default border */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    background-color: #fff;
}

.form-control:focus {
    border-color: #86b7fe !important; /* Bootstrap focus border color */
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.25) !important; /* Bootstrap focus ring */
    outline: 0;
}

/* Sticky behavior for search bar when fixed to top */
.search-bar.stuck {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1140px;
    z-index: 1000;
}
.search-bar-placeholder {
    display: block;
}

.btn {
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.btn-outline-primary {
    color: #000;
    border-color: #000;
    background-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    color: #333;
    border-color: #333;
    background-color: transparent;
}

/* Secondary filled and outline to match black scheme */
.btn-secondary {
    background-color: #000;
    border-color: #000;
    color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #333;
    border-color: #333;
    color: #fff;
}
.btn-outline-secondary {
    color: #000;
    border-color: #000;
    background-color: transparent;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    color: #333;
    border-color: #333;
    background-color: transparent;
}

/* Dashboard Styles */
.dashboard-sidebar {
    background-color: #000;
    border-radius: 10px;
    padding: 20px;
}

.dashboard-sidebar .nav-link {
    color: #fff !important;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: transparent !important;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background-color: #333 !important;
    color: #fff !important;
}

.dashboard-sidebar .nav-link i {
    margin-right: 10px;
}

/* Admin Sidebar Styles - Target actual classes used in admin pages */
.sidebar.bg-light {
    background-color: #000 !important;
    padding: 20px;
}

.sidebar .nav-link {
    color: #fff !important;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: transparent !important;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #333 !important;
    color: #fff !important;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

/* Override Bootstrap nav-pills default blue styling for admin sidebar */
.sidebar .nav-pills .nav-link {
    color: #fff !important;
    background-color: transparent !important;
}

.sidebar .nav-pills .nav-link:hover,
.sidebar .nav-pills .nav-link.active {
    background-color: #333 !important;
    color: #fff !important;
}

.dashboard-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dashboard-card .card-header {
    background-color: #ff5a5f;
    color: #fff;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .feature-box {
        margin-bottom: 30px;
    }
}

/* Featured badge for featured listings */
.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffc107;
    color: #212529;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: lowercase;
    z-index: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* City cards */
.city-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.city-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.city-card:hover .city-image {
    transform: scale(1.05);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    text-align: left;
}

.city-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.city-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Owners Section feature cards */
.owners-section .feature-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owners-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.owners-section .feature-icon {
    font-size: 2.5rem;
    color: #000;
}

/* Earning CTA Section */
.earning-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.earning-cta-section .btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Planning CTA styling */
.planning-section .rounded-3 {
    border: 1px solid #e9ecef;
}

.planning-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

/* Sticky search bar */
.sticky-search {
    position: relative;
    top: 0;
    background: transparent;
}

.search-bar {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    padding: 10px 12px;
}

.search-group {
    padding: 8px 12px;
    position: relative;
}

.search-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0px;
    text-align: left;
    padding-left: 15px;
}

.search-input::placeholder {
    color: #adb5bd;
}

/* Autocomplete dropdown */
.autocomplete-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    z-index: 1100;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 280px;
    overflow-y: auto;
    display: none;
    color: #000; /* Ensure strong contrast for suggestions */
}

.autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
    color: #000; /* Maintain dark text for readability */
}

.autocomplete-item:hover {
    background-color: #f8f9fa;
    color: #000; /* Keep text dark on hover */
}

.search-bar .col-6.col-md-3 .search-group,
.search-bar .col-6.col-md-2 .search-group {
    border-right: 1px solid #e9ecef;
}

.search-bar .col-12.col-md-2 .search-group {
    border-right: none;
}

@media (max-width: 768px) {
    .search-bar .col-6,
    .search-bar .col-12 {
        border-right: none !important;
    }
}

/* Bootstrap Grid Column Override - Add left margin to all columns */
    .search-group {
        border-bottom: 0px;
        border-right: 0px;
    }
    .search-bar {
        border-radius: 10px;
    }
}
/* Auth tabs (User/Host) - Flowbite-style pills */
.auth-pills .nav-link {
  border: 1px solid #e5e7eb; /* gray-200 */
  background: #ffffff;
  color: #374151 !important; /* gray-700; override link blue */
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.auth-pills .nav-link:hover {
  background: #f3f4f6; /* gray-100 */
  border-color: #d1d5db; /* gray-300 */
  color: #111827 !important; /* gray-900 */
}
.auth-pills .nav-link.active {
  background: #000000; /* brand black */
  color: #ffffff !important;
  border-color: #000000;
}
.auth-pills .nav-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(0,0,0,0.25);
}

/* About page tile image hover effect (Mailgun-like subtle zoom) */
.tile-img {
  transition: transform 200ms ease-in-out;
}
.card:hover .tile-img {
  transform: scale(1.02);
}

/* About page — screenshot style */
.about-hero {
  background: #000000;
  color: #ffffff;
  padding: 220px 0 48px;
}
.about-hero .hello-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-hero .subtext {
  font-size: 1.2rem;
  opacity: 0.9;
}
.about-content {
  padding: 40px 0 24px;
}
.section-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.about-headline {
  font-size: 3rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
  margin-bottom: 18px;
}
.about-body p {
  color: #6c757d;
  margin-bottom: 14px;
  font-size: 18px;
}
/* Policy lists spacing for readability */
.about-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.about-body li {
  margin-bottom: 8px;
}
/* Meta line under headlines (Effective Date) */
.policy-meta {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
/* Property gallery layout */
.property-gallery .main-image-container { position: relative; }
.property-gallery .discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc3545;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.thumbnail-tile { overflow: hidden; border-radius: 6px; }
.thumbnail-tile img { display: block; }
.see-all-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
/* Navbar dropdown viewport alignment tweaks */
.navbar .dropdown-menu {
  max-width: 95vw;
}
.navbar .dropdown.position-static .dropdown-menu {
  inset: auto !important; /* allow responsive alignment classes to work without popper transforms */
}

/* Mobile: adjust navbar brand left margin */
@media (max-width: 576px) {
  .navbar .navbar-brand {
    margin-left: -5px !important;
  }
}
