/* ================================================================
   Bloomington Elite Rentals — Custom Styles
   Layered on top of Bootstrap 5.3
   ================================================================ */

/* ── Brand Colors (basketball-inspired) ── */
:root {
  --ur-primary:      #c2410c;   /* burnt orange */
  --ur-primary-dark: #9a3412;   /* deep orange */
  --ur-dark:         #111827;   /* near-black */
  --ur-accent:       #fbbf24;   /* court gold */
  --ur-accent-dark:  #d97706;
  --ur-border:       #fed7aa;   /* soft orange border */
  --ur-bg-warm:      #fff7ed;   /* warm cream */
  --ur-bg-dark:      #1c1917;   /* footer dark */
}

/* ── Google Font – Barlow (sporty, readable) ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;800&display=swap');

body {
  font-family: 'Barlow', sans-serif;
}

/* ── Bootstrap overrides ── */
.bg-primary,
.ur-navbar { background-color: var(--ur-dark) !important; }

.btn-primary {
  background-color: var(--ur-primary);
  border-color:     var(--ur-primary);
  font-weight:      600;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--ur-primary-dark);
  border-color:     var(--ur-primary-dark);
}
.btn-outline-primary {
  color:        var(--ur-primary);
  border-color: var(--ur-primary);
  font-weight:  600;
}
.btn-outline-primary:hover {
  background-color: var(--ur-primary);
  border-color:     var(--ur-primary);
}
.btn-warning {
  background-color: var(--ur-accent);
  border-color:     var(--ur-accent);
  color:            #111;
  font-weight:      700;
}
.btn-warning:hover {
  background-color: var(--ur-accent-dark);
  border-color:     var(--ur-accent-dark);
  color:            #fff;
}
.text-primary { color: var(--ur-primary) !important; }

/* ── Navbar ── */
.ur-navbar .navbar-brand {
  font-family:   'Barlow Condensed', sans-serif;
  font-size:     1.5rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.navbar .nav-link {
  font-weight: 500;
  letter-spacing: 0.02em;
}
.navbar .nav-link.active {
  font-weight: 700;
  color: var(--ur-accent) !important;
}
.navbar .btn-warning {
  font-family: 'Barlow Condensed', sans-serif;
  font-size:   1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Hero Section ── */
.hero-section {
  background: linear-gradient(135deg, #111827 0%, #7c2d12 100%);
  background-color: #111827;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section h1 {
  font-family:    'Barlow Condensed', sans-serif;
  font-size:      clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height:    1.05;
}
.hero-section .lead {
  font-size:   1.2rem;
  font-weight: 400;
}
.text-white-75 { color: rgba(255, 255, 255, 0.82); }
.text-accent   { color: var(--ur-accent) !important; }

/* ── Section headings ── */
.section-heading {
  font-family:    'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Rental Item Cards ── */
.item-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow:   hidden;
  border-radius: 0.75rem !important;
}
.item-card:hover {
  transform:  translateY(-5px);
  box-shadow: 0 12px 32px rgba(194,65,12,0.18) !important;
}
.item-card .card-body {
  border-top: 3px solid var(--ur-primary);
}

/* Placeholder when no photo is uploaded */
.item-card-placeholder {
  height:     220px;
  background: linear-gradient(135deg, #431407, #7c2d12);
  display:    flex;
  align-items: center;
  justify-content: center;
}
.item-card-placeholder .bi { color: rgba(251,191,36,0.4) !important; }

/* ── Price Badge ── */
.price-badge {
  background:    var(--ur-primary);
  color:         #fff;
  font-family:   'Barlow Condensed', sans-serif;
  font-weight:   700;
  font-size:     0.95rem;
  letter-spacing: 0.03em;
  padding:       0.25rem 0.7rem;
  border-radius: 999px;
  white-space:   nowrap;
}

/* ── How It Works Steps ── */
.step-circle {
  width:           64px;
  height:          64px;
  border-radius:   50%;
  background:      var(--ur-primary);
  color:           #fff;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     'Barlow Condensed', sans-serif;
  font-size:       1.8rem;
  font-weight:     800;
  margin:          0 auto 1rem;
  box-shadow:      0 4px 14px rgba(194,65,12,0.35);
}

/* ── Warm Background ── */
.bg-light-blue { background-color: var(--ur-bg-warm); }

/* ── Why Choose Us icons ── */
.feature-icon {
  width:           56px;
  height:          56px;
  border-radius:   50%;
  background:      #fff3e0;
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin:          0 auto 0.75rem;
  font-size:       1.5rem;
  color:           var(--ur-primary);
}

/* ── Booking Sidebar (item detail page) ── */
.booking-sidebar {
  position: sticky;
  top: 1.5rem;
}
.booking-sidebar .card {
  border-top: 4px solid var(--ur-primary) !important;
  border-radius: 0.75rem !important;
}

/* ── Footer ── */
.ur-footer {
  background-color: var(--ur-bg-dark);
}
.ur-footer .navbar-brand {
  font-family:    'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-link:hover { color: var(--ur-accent) !important; }

/* ── Admin Sidebar ── */
.admin-sidebar {
  width:        250px;
  min-width:    250px;
  background:   var(--ur-dark);
  color:        #fff;
  min-height:   100vh;
}
.admin-sidebar .nav-link {
  color:         rgba(255, 255, 255, 0.78);
  padding:       0.55rem 0.9rem;
  border-radius: 0.4rem;
  font-size:     0.9rem;
  transition:    background 0.15s;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(194, 65, 12, 0.35);
  color:      #fff;
}
.admin-sidebar .nav-link .bi {
  margin-right: 0.5rem;
  width:        1.1rem;
  text-align:   center;
}

/* ── Admin table row hover ── */
.table-hover tbody tr:hover { background-color: #f8f9fa; }

/* ── Responsive tweaks ── */
@media (max-width: 991.98px) {
  .admin-sidebar {
    width:     200px;
    min-width: 200px;
  }
}
@media (max-width: 767.98px) {
  .booking-sidebar { position: static; }
  .hero-section    { padding: 3rem 0; }
  .hero-section::before { display: none; }
}
