:root {
  /* Honey-inspired mobile-first color palette */
  --bg: #FFF8E1; /* warm cream */
  --surface: #FFFDF6; /* near-white for cards */
  --brand: #FFC107; /* amber honey accent */
  --brand-dark: #BF8B00; /* deeper gold for CTA */
  --text: #3E2723; /* dark brown for primary text */
  --muted: #6D4C41; /* muted brown */
  --accent: #90A4AE; /* muted blue-gray for secondary */
  --success: #388E3C;
  --error: #D32F2F;
  --focus-ring: 0 0 0 0.15rem rgba(191,139,0,0.25);
}

/* Listing cards responsive helpers (applies to booking/listing pages) */
@media (max-width: 767.98px) {
  /* slightly shorter images on phones to reduce vertical scroll */
  .card-img-top { height: 180px !important; object-fit: cover; }
  /* stack action buttons and make them large enough for touch */
  .card .btn-group { display: flex; gap: .5rem; }
  .card .btn { flex: 1 1 auto; min-width: 0; }
  /* compact headings and form controls on small screens */
  h2 { font-size: 1.5rem; }
  .form-select, .form-control { font-size: .95rem; }
}

@media (min-width: 768px) {
  .card-img-top { height: 200px !important; object-fit: cover; }
}

.card { border-radius: 12px; overflow: hidden; }
.card-body { padding: 1rem; }
#listingContainer { margin-top: .5rem; }


/* Features section */
.features-wrapper { background: linear-gradient(180deg, rgba(255,242,205,0.9), rgba(255,249,230,0.95)); padding: 34px 0; }
.features-wrapper { background: linear-gradient(180deg, rgba(255,242,205,0.95), rgba(255,249,230,1)); padding: 56px 0; }
.features-wrapper h2 { font-size: 36px; font-weight:800; margin-bottom: 1.25rem; letter-spacing: -0.5px; }
.features-grid { display:flex; gap:28px; justify-content:center; flex-wrap:wrap; padding: 10px 6px; align-items:stretch; }
.features-grid .feature-card { width: 300px; background: #ffffff; padding: 20px 18px; border-radius: 18px; box-shadow: 0 18px 40px rgba(62,39,35,0.06); display:flex; gap:14px; align-items:flex-start; }
.features-grid .feature-icon { width:52px; height:52px; flex:0 0 52px; display:flex; align-items:center; justify-content:center; border-radius:10px; background: rgba(255,255,255,0.98); box-shadow: 0 6px 18px rgba(62,39,35,0.03); }
.features-grid .feature-icon svg { width:22px; height:22px; }
.features-grid .feature-title { font-weight:800; color:var(--text); font-size:1.05rem; }
.features-grid .feature-desc { color:var(--muted); margin-top:6px; }

@media (max-width: 991.98px) {
  .features-grid { gap:18px; }
  .features-grid .feature-card { width: calc(50% - 18px); }
}

@media (max-width: 575.98px) {
  .features-wrapper { padding: 28px 0; }
  .features-grid .feature-card { width: 100%; }
  .features-wrapper h2 { font-size: 24px; }
}

/* Footer styles (dark version that matches honey theme) */
.site-footer { background: linear-gradient(180deg,#2b1f16, #1e1510); color: #fff; }
.footer-top { background: linear-gradient(180deg, rgba(62,39,35,0.98), rgba(50,36,29,0.96)); }
.footer-logo { max-width: 160px; height: auto; }
.footer-heading { color: #FFF2D9; font-weight: 700; margin-bottom: 0.75rem; }
.text-muted-light { color: rgba(255,255,255,0.78); }
.footer-links a { color: rgba(255,255,255,0.9); text-decoration: none; display: block; padding: 6px 0; }
.footer-links a:hover { color: var(--brand); }
/* Ensure all footer links (including visited/active) use theme color instead of browser defaults */
.site-footer a, .site-footer a:link, .site-footer a:visited {
  color: rgba(255,255,255,0.92) !important;
  text-decoration: none;
}
.site-footer a:hover, .site-footer a:focus, .site-footer a:active {
  color: var(--brand) !important;
  text-decoration: underline;
}
.social-link { color: rgba(255,255,255,0.9); text-decoration: none; padding: 6px; border-radius: 8px; background: rgba(255,255,255,0.03); }
.social-link:hover { background: rgba(255,255,255,0.06); color: var(--brand); }
.footer-input { background: rgba(255,255,255,0.06); border: none; color: #fff; }
.footer-input::placeholder { color: rgba(255,255,255,0.6); }
.btn-footer { background: var(--brand); color: #222; border: none; padding: 8px 12px; border-radius: 10px; }
.btn-footer:hover { background: var(--brand-dark); color: #fff; }
.footer-bottom { background: rgba(0,0,0,0.12); }

/* Footer bottom link color overrides */
.footer-bottom a, .footer-bottom a:visited { color: rgba(255,255,255,0.85) !important; }
.footer-bottom a:hover, .footer-bottom a:focus { color: var(--brand) !important; }

/* Specific contact link styling for email/phone in footer (ensure visibility on dark background) */
.site-footer .footer-top .contact a, .site-footer .footer-top .contact a:visited {
  color: rgba(255,255,255,0.92) !important;
}

@media (max-width: 767.98px) {
  .site-footer .footer-top .row { gap: 12px; }
}

/* Footer responsive tweaks */
@media (max-width: 576px) {
  .footer-links { display: block; }
  .footer-top .col-md-4, .footer-top .col-md-3, .footer-top .col-md-2 { flex: 0 0 100%; max-width: 100%; }
  .social-link svg { width: 26px; height: 26px; }
  .footer-input { min-width: 0; flex: 1 1 auto; }
  .btn-footer { padding: 10px 14px; border-radius: 12px; }
}

/* WhatsApp floating bubble */
.whats-app-bubble {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  z-index: 1090;
  background: transparent;
}
.whats-app-bubble svg { display: block; width:44px; height:44px; }
.whats-app-bubble:hover { transform: translateY(-3px); }

@media (max-width: 420px) {
  .whats-app-bubble { right: 12px; bottom: 12px; width: 64px; height: 64px; }
  .whats-app-bubble svg { width:40px; height:40px; }
}

/* Base typography - mobile first with fluid scaling */
:root {
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  --type-scale-min: 14px;
  --type-scale-max: 18px;
}

html {
  /* fluid font size between min and max based on viewport width */
  font-size: clamp(var(--type-scale-min), 2.4vw, var(--type-scale-max));
}

body {
  background: var(--bg);
  color: var(--text);
  position: relative;
  min-height: 100%;
  margin-bottom: 60px;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-sans);
  line-height: 1.35;
}

/* Navbar */
.navbar {
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.navbar .navbar-brand {
  color: var(--brand-dark);
  font-weight: 600;
}
.navbar .nav-link {
  color: var(--muted);
}
.navbar .nav-link:hover {
  color: var(--text);
}

/* Buttons */
.btn-primary {
  /* Use deeper gold for strong CTA and ensure WCAG contrast */
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-primary:hover {
  background-color: #9a6c00;
  border-color: #9a6c00;
}
.btn {
  border-radius: 10px;
  padding: 0.7rem 1rem;
  min-height: 44px; /* touch target */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  will-change: transform, box-shadow;
}

/* Reduce motion for those who prefer it */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  * { scroll-behavior: auto; }
}

/* Cards and surfaces */
.card, .card-body, .surface {
  background: var(--surface);
  border: 1px solid rgba(62,39,35,0.04);
  box-shadow: 0 1px 4px rgba(62,39,35,0.04);
  border-radius: 12px;
}

/* Forms */
.form-control {
  border-radius: 8px;
  border: 1px solid rgba(62,39,35,0.12);
  background: #fff;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
}
.form-control:focus {
  outline: none;
  box-shadow: var(--focus-ring);
  border-color: var(--brand);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--accent);
  text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Footer */
.footer {
  background: transparent;
  color: var(--muted);
}

/* Accessibility focus replacement for a few elements */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: var(--focus-ring);
}

/* Use focus-visible to avoid noisy outlines for mouse users */
*:focus { outline: none; }
*:focus-visible { box-shadow: var(--focus-ring); }

/* Mobile-friendly touch targets */
a, .btn, .nav-link {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Links and nav items become slightly larger on hover to feel responsive */
a, .nav-link {
  transition: transform 160ms ease, color 160ms ease;
}
.nav-link { padding: 0.6rem 0.75rem; min-height:44px; }
.nav-link:hover, a:hover { transform: translateY(-2px); }

/* Utility tweaks */

.container { padding-left: 1rem; padding-right: 1rem; }

/* Image rules */
img { max-width: 100%; height: auto; display: block; }
.hero-image img { width: 120px; height: 120px; object-fit: cover; }
/* Area navbar blue styles */
.area-navbar-blue { background: linear-gradient(90deg, #0b57a4, #0f63c4); }
.area-navbar-blue .navbar-brand, .area-navbar-blue .nav-link, .area-navbar-blue .btn-outline-light { color: #fff !important; }
.area-navbar-blue .nav-link { opacity: 0.95; }
.area-navbar-blue .btn-outline-light { border-color: rgba(255,255,255,0.25); }
.area-navbar-blue .btn-outline-light:hover { background: rgba(255,255,255,0.08); }

/* Admin navbar color variants */
.area-navbar-blue.variant-blue { background: linear-gradient(90deg,#0b57a4,#0f63c4); }
.area-navbar-blue.variant-black { background: linear-gradient(90deg,#111,#333); }
.area-navbar-blue.variant-green { background: linear-gradient(90deg,#1b7a3a,#2fb64b); }
.area-navbar-blue.variant-orange { background: linear-gradient(90deg,#d35400,#ff8a00); }
.area-navbar-blue.variant-darkblue { background: linear-gradient(90deg,#0a3f6b,#0b57a4); }

/* Admin toolbar styling */
.admin-toolbar { padding: 10px 0; background: linear-gradient(180deg, rgba(11,87,164,0.06), rgba(255,255,255,0)); border-bottom: 1px solid rgba(11,87,164,0.06); }
.admin-toolbar .btn { border-radius: 8px; padding: 6px 10px; }
.btn-admin-primary { background: #0b57a4; color: #fff; border: none; }
.btn-admin-primary:hover { background: #094a8f; }
.btn-admin-secondary { background: #222; color: #fff; border: none; }
.btn-admin-secondary:hover { background: #111; }
.btn-admin-success { background: #198754; color: #fff; border: none; }
.btn-admin-success:hover { background: #157347; }
.btn-admin-warning { background: #ff8c00; color: #fff; border: none; }
.btn-admin-warning:hover { background: #e67600; }

/* Make admin toolbar wrap nicely on small screens */
.admin-toolbar .container { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.admin-toolbar .btn { flex: 0 0 auto; }

/* Responsive tweaks for properties table */
.table-responsive { overflow-x:auto; }
.display.table td, .display.table th { vertical-align: middle; }
.display.table img { max-width: 80px; height: auto; border-radius:8px; }

@media (max-width: 767.98px) {
  .admin-toolbar .container { gap:10px; }
  .admin-toolbar .btn { padding: 8px 12px; font-size: 0.95rem; }
  /* Reduce table paddings and font on small screens */
  .display.table th, .display.table td { padding: 8px 6px; font-size: 0.9rem; }
  .display.table img { max-width: 64px; }
  /* Stack actions vertically for better tap targets */
  .btn.toggle-mobile { display:block; margin-top:6px; }

  /* spacing for stacked action buttons */
  .display.table .btn { min-width: 96px; }
}

/* Admin properties styles (moved from admin-properties.css)
   - Compact icon action buttons for tables
   - Styles to support DataTables toolbar DOM */
.display.table .action-btn {
  padding: 6px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(62,39,35,0.06);
  color: var(--muted);
  transition: background-color 120ms ease, transform 120ms ease, color 120ms ease;
}
.display.table .action-btn:hover {
  background: rgba(62,39,35,0.04);
  color: var(--text);
  transform: translateY(-2px);
}
.display.table .action-btn.icon-only {
  padding: 6px;
  min-width: 36px;
  width: 36px;
  height: 36px;
}
.display.table .btn-compact {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.95rem;
  min-width: 44px;
}

/* DataTables toolbar support - when using dom: 'B<\"dt-toolbar\"f>rtip' or similar */
.dataTables_wrapper .dt-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.dataTables_wrapper .dt-toolbar .left,
.dataTables_wrapper .dt-toolbar .right {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 767.98px) {
  .display.table .action-btn { width: 40px; height: 40px; }
  .display.table .btn-compact { min-width: 80px; }
}

/* Ensure dropdown menus appear above other elements */
.dropdown-menu { z-index: 2000; }

/* Ensure large hit targets for footer links and misc */
footer a { padding: 8px 6px; display: inline-block; }


/* Sticky announcement bar (opaque) */
.sticky-announcement {
  background: var(--bg);
  color: var(--text);
  padding: 8px 0;
  z-index: 1040;
}

/* Admin create page enhancements */
.card.p-4 { border-radius: 14px; }
.image-uploader { border: 1px dashed rgba(62,39,35,0.08); padding: 12px; border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96)); position:relative; }
.image-uploader.dragover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(191,139,0,0.06); }
.image-preview-container { position:relative; border-radius: 8px; overflow:hidden; }
.image-preview-container .remove-btn { position:absolute; top:8px; right:8px; backdrop-filter: blur(4px); }
.image-placeholder { border-radius:8px; background: linear-gradient(180deg, rgba(250,244,234,0.6), rgba(255,255,255,0.7)); border:1px solid rgba(62,39,35,0.04); }
.form-control-file { display:block; width:100%; }
.text-muted.small { font-size: 0.85rem; }

/* Sticky header that groups announcement + navbar together.
   Keep header size stable to avoid layout jumps when toggling sticky state. */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1060;
  will-change: box-shadow;
  transition: box-shadow 180ms ease;
}

/* When sticky, only apply a subtle shadow. Do NOT change padding or logo size to avoid content shifting. */
.sticky-header.is-sticky {
  box-shadow: 0 6px 18px rgba(62,39,35,0.06);
}

/* Header / hero */
.site-header .brand-name { color: var(--brand-dark); font-weight: 600; }
.site-logo { height: 60px; width: auto; }
.mobile-hero { background: var(--bg); padding: 12px 0; border-bottom: 1px solid rgba(62,39,35,0.03); }
.mobile-hero .hero-text h1 { color: var(--text); font-weight: 700; }
.mobile-hero .hero-text p { color: var(--muted); }
.mobile-hero .btn-primary { padding: 0.5rem 0.9rem; font-size: 0.95rem; border-radius: 10px; }

/* Reduce large spacing between hero images and text */
.mobile-hero .container { gap: 16px; justify-content: flex-start; }
.mobile-hero .hero-image { display: flex; gap: 12px; align-items: center; margin-left: 8px; }
.mobile-hero .hero-image img { width: 120px; height: 120px; object-fit: cover; margin: 0; }

@media (min-width: 1200px) {
  /* Slightly tighter grouping on very large screens */
  .mobile-hero .container { gap: 12px; }
  .mobile-hero .hero-image img { width: 110px; height: 110px; }
}

/* Hero carousel: fixed size, border, shadow and responsive hide */
#heroCarousel {
  width: 420px; /* fixed width for hero image area on desktop */
  max-width: 45vw;
}
#heroCarousel .carousel-inner {
  height: 200px; /* fixed height */
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(191,139,0,0.12);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(62,39,35,0.08);
}
#heroCarousel .carousel-item img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 991.98px) {
  #heroCarousel { width: 320px; }
  #heroCarousel .carousel-inner { height: 220px; }
  #heroCarousel .carousel-item img { height: 220px; }
}

@media (max-width: 575.98px) {
  /* hide hero carousel on very small screens to avoid overflow */
  .hero-image { display: none !important; }
}

/* Remove the entire mobile hero block on small phones (per request) */
@media (max-width: 575.98px) {
  .mobile-hero { display: none !important; }
}

/* Image frame scroller */
.image-frame { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); padding: 8px; border-radius: 12px; box-shadow: 0 4px 14px rgba(62,39,35,0.06); }
.image-scroller { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; padding: 4px; width: 420px; scroll-snap-type: x mandatory; }
.image-scroller::-webkit-scrollbar { display: none; }
.image-scroller { -ms-overflow-style: none; scrollbar-width: none; }
.image-scroller img { width: 160px; height: 160px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; scroll-snap-align: center; }
.img-scroll-btn { background: rgba(0,0,0,0.06); border: none; width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; }
.img-scroll-btn:hover { background: rgba(0,0,0,0.1); }

@media (max-width: 991.98px) {
  .image-scroller img { width: 120px; height: 120px; }
}

/* Mobile fixed CTA */
.mobile-bottom-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(191,139,0,0.18);
  z-index: 1050;
  font-weight: 700;
  text-decoration: none;
}

/* Admin properties specific visuals (migrated from admin-properties.css) */
.props-img { width:100%; height:160px; object-fit:cover; border-radius:8px; display:block; margin:0 auto; }
@media (min-width: 1200px){ .props-img { height:200px; } }
@media (max-width: 992px){ .props-img { height:150px; } }
@media (max-width: 576px){ .props-img { height:110px; } }

#propsTable { border-collapse: separate; border-spacing: 0 14px; }
#propsTable thead th { padding: 8px 12px; font-weight:700; color: #222; background: transparent; border-bottom: none; }
#propsTable tbody tr { background: #ffffff; box-shadow: 0 1px 6px rgba(17,24,39,0.03); border-radius: 10px; overflow: hidden; }
#propsTable tbody tr td { border: none; vertical-align: middle; padding: 18px; }
#propsTable tbody td:first-child { width: 260px; padding: 6px 12px; text-align: center; }
@media (max-width: 992px) { #propsTable tbody td:first-child { width: 200px; } }
@media (max-width: 768px) { #propsTable tbody td:first-child { width: 140px; } }

.props-actions { display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.props-actions .btn { min-width:82px; margin-bottom: 0; }

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter { margin-bottom: 10px; }
.dataTables_wrapper { display: block; }
.dataTables_wrapper .dt-toolbar{ display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:12px; }
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter{ display:inline-block; }
.dataTables_wrapper .dataTables_filter input{ padding:8px 10px; border-radius:6px; border:1px solid #e6e6e6; background:#fff; }
.dataTables_wrapper .dataTables_length select{ padding:6px 8px; border-radius:6px; border:1px solid #e6e6e6; }

.container > .d-flex > .btn-primary{ background:#b8860b; border-color:#b8860b; box-shadow:none; padding:10px 18px; border-radius:10px; }
.container > .d-flex > .btn-primary:hover{ background:#a77507; border-color:#a77507; }

#propsTable tbody tr{ transition: transform .12s ease, box-shadow .12s ease; }
#propsTable tbody tr:hover{ transform: translateY(-4px); box-shadow: 0 6px 18px rgba(17,24,39,0.06); }

.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate{ color:#6b6b6b; }
.dataTables_wrapper .dataTables_paginate .paginate_button{ border-radius:6px; border:1px solid transparent; padding:6px 10px; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current{ background:#0d6efd; color:#fff !important; }

@media (max-width: 576px){
  #propsTable tbody tr td{ padding:10px; }
  .props-actions{ gap:6px; }
}

/* Toggle icon pop animation */
.toggle-anim { display:inline-block; animation: toggle-pop 340ms cubic-bezier(.2,.9,.2,1); }
@keyframes toggle-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Button variants for toggle states */
.btn-toggle-inactive { background: #f8f9fa; border: 1px solid rgba(0,0,0,0.06); color: #6c757d; }
.btn-toggle-active { background: var(--brand); border-color: var(--brand); color: #222; }

/* Toolbar polish */
.dataTables_wrapper .dataTables_filter input{ min-width:180px; }

/* Icon buttons for actions */
.btn-icon { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border-radius:10px; }
.btn-icon .bi { font-size:18px; }
.props-actions .btn-text { display:none; }
.props-actions .btn-icon + .btn-text { display:none; }

@media (min-width: 768px){
  .props-actions .btn-text { display:inline-block; margin-left:8px; }
  .props-actions { flex-direction:row; align-items:center; }
  .props-actions .btn { min-width: auto; }
}

@media (min-width: 992px) {
  .mobile-bottom-cta { display: none; }
}

/* Navbar link adjustments for better tap targets on mobile */
.navbar .nav-link { color: var(--muted); padding: 0.6rem 0.8rem; white-space: nowrap; }
.navbar .nav-link:hover { color: var(--text); }
.navbar .dropdown-toggle { background: transparent; border: none; }
.btn-outline-light { color: var(--text); border-color: rgba(62,39,35,0.08); background: rgba(255,255,255,0.9); }
.btn-outline-light:hover { background: rgba(255,255,255,1); }

/* Tablet-specific improvements (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Make logo more prominent on tablet */
  .site-logo { height: 72px; }

  /* Stack hero content for comfortable reading on tablet */
  .mobile-hero .container { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
  .mobile-hero .hero-text { order: 1; }
  .mobile-hero .hero-image { order: 2; display: block; }
  .mobile-hero .hero-image img { width: 160px; height: 160px; object-fit: cover; }

  /* Show primary CTA on tablet so users can act without opening menu */
  .btn.d-lg-inline-block { display: inline-flex !important; }

  /* Improve navbar spacing and readable touch areas */
  .navbar { padding-top: 8px; padding-bottom: 8px; }
  .navbar .container-fluid { gap: 8px; }

  /* When nav is expanded on tablet, make it easier to scan */
  .collapse.show .navbar-nav { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; }
}

/* Auth / CTA button styles */
.navbar-auth .btn-login {
  background: transparent;
  border: 1px solid rgba(62,39,35,0.08);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}
.navbar-auth .btn-login:hover { background: rgba(255,255,255,0.95); }
.navbar-auth .btn-register {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
}
.navbar-auth .btn-register:hover { opacity: 0.95; transform: translateY(-2px); }

/* Logout button styling - default (standalone use) */
.btn-logout {
  background-color: #ff6f00; /* vivid orange */
  color: #fff;
  border: none;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
}
.btn-logout:hover {
  background-color: #e65a00;
  color: #fff;
}

/* In area navbars we prefer a transparent outlined logout to match the nav */
.area-navbar-blue .btn-logout {
  background-color: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.25rem 0.5rem;
}
.area-navbar-blue .btn-logout:hover {
  background-color: rgba(255,255,255,0.08);
  color: #fff !important;
}

/* When logout is used inside a dropdown menu (shared layout), use a red text for emphasis */
.dropdown-item.btn-logout {
  background-color: transparent;
  color: #d9534f; /* bootstrap danger color */
  border: none;
}
.dropdown-item.btn-logout:hover {
  background-color: rgba(217,83,79,0.06);
  color: #b52b2b;
}

/* Make sure stacked buttons don't look cramped on mobile */
.navbar-auth { gap: 8px; }
.navbar-auth .btn { min-height: 44px; }

/* 'More' dropdown multi-column on larger screens */
.dropdown-menu-columns { min-width: 220px; }
@media (min-width: 992px) {
  .dropdown-menu-columns { columns: 2; column-gap: 12px; }
}

/* Ensure dropdown items are touch-friendly */
.dropdown-item { padding: 10px 14px; }

/* Equal-width auth/CTA buttons on large screens */
:root { --auth-btn-width: 120px; }
@media (min-width: 992px) {
  .navbar-auth { display: flex; align-items: center; }
  .navbar-auth .btn {
    flex: 0 0 var(--auth-btn-width);
    width: var(--auth-btn-width);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-auth .d-flex .btn { flex: 0 0 var(--auth-btn-width); width: var(--auth-btn-width); }
}

/* Space between nav items and auth buttons on larger screens */
@media (min-width: 992px) {
  .container-fluid.align-items-center { align-items: center; }
}



