/* ============================================
   VintAuto Company - Tinting & Auto Spares
   Custom Stylesheet
   ============================================ */

/* ---------- CSS Variables / Theme ---------- */
:root {
  --primary: #1a2a3a;
  --primary-dark: #0f1c2e;
  --primary-medium: #1e3348;
  --secondary: #e8a825;
  --secondary-dark: #c48e1f;
  --accent: #2c8cff;
  --text-dark: #f0f0f0;
  --text-light: #f5f5f5;
  --text-muted: #a0aec0;
  --bg-light: #15253a;
  --bg-white: #1a2a3a;
  --bg-dark: #0b1520;
  --bg-card: #1e3348;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-dark);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.text-secondary-custom {
  color: var(--secondary) !important;
}

.bg-primary-custom {
  background-color: var(--primary) !important;
}

.bg-dark-custom {
  background-color: var(--bg-dark) !important;
}

.bg-light-custom {
  background-color: var(--primary-dark) !important;
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: var(--primary) !important;
  padding: 0.6rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled {
  padding: 0.4rem 0;
  background-color: var(--primary-dark) !important;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-light) !important;
  letter-spacing: 0.5px;
}

.navbar-brand span {
  color: var(--secondary);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  font-size: 0.95rem;
  transition: var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--secondary) !important;
}

.navbar-collapse {
  transition: var(--transition);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-cta .nav-link {
  background-color: var(--secondary);
  color: var(--primary) !important;
  border-radius: 5px;
  padding: 0.45rem 1.2rem !important;
  font-weight: 600;
}

.nav-cta .nav-link:hover {
  background-color: var(--secondary-dark);
  color: var(--primary) !important;
}

/* Offcanvas-style slide-in from right on mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--primary-dark);
    padding: 1.5rem;
    z-index: 1050;
    display: flex !important;
    flex-direction: column;
    transform: translateX(100.1%); /* Slightly more to ensure hidden */
    transition: transform 0.35s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    /* Reset visibility if any */
    visibility: visible !important;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  /* Specific fix for browsers trying to show it */
  .navbar-collapse:not(.show) {
    pointer-events: none;
    opacity: 0;
  }
  
  .navbar-collapse.show {
    pointer-events: auto;
    opacity: 1;
  }

  .navbar-collapse .navbar-nav {
    margin-top: 3.5rem;
  }

  .navbar-collapse .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-collapse .nav-cta {
    margin-top: 1rem;
    margin-left: 0 !important;
  }

  .navbar-collapse .nav-cta .nav-link {
    text-align: center;
    border-bottom: none;
  }

  /* Overlay behind the menu */
  .navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .navbar-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-section h1 span {
  color: var(--secondary);
}

.hero-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background-color: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background-color: var(--secondary-dark);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 168, 37, 0.3);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--secondary);
  padding: 0.65rem 1.8rem;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-dark-custom {
  background-color: var(--bg-card);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-dark-custom:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background-color: var(--secondary);
  padding: 1.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- About Section ---------- */
.about-section {
  background-color: var(--primary);
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.about-text h2 {
  margin-bottom: 1.2rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.75);
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-features li {
  padding: 0.4rem 0;
  font-size: 1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-features li .material-icons {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* ---------- Service / Product Cards ---------- */
.card-custom {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg-card);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-custom .card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-custom .card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-custom .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.card-custom .card-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.card-stock {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.card-stock.in-stock {
  color: #28a745;
}

.card-stock.out-of-stock {
  color: #dc3545;
}

.card-footer-custom {
  padding: 0 1.4rem 1.4rem;
}

/* ---------- Why Choose Us ---------- */
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-box .feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(232, 168, 37, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.feature-box .feature-icon .material-icons {
  font-size: 1.6rem;
  color: var(--secondary);
}

.feature-box h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-light);
}

.feature-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ---------- Map Section ---------- */
.map-section {
  background-color: var(--primary);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-info-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

.contact-info-item .material-icons {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-top: 2px;
}

.contact-info-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--text-light);
}

.contact-info-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer h5 {
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer p,
.footer li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-contact-item .material-icons {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  margin-top: 40px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 100px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: var(--text-light);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.page-header .breadcrumb {
  background: none;
  justify-content: center;
  padding: 0;
  margin-top: 1rem;
}

.page-header .breadcrumb-item a {
  color: var(--secondary);
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Forms ---------- */
.form-section {
  background-color: var(--primary);
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.form-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--text-light);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-control,
.form-select {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(232, 168, 37, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.form-select option {
  background-color: var(--primary);
  color: var(--text-light);
}

/* ---------- Modal Customization ---------- */
.modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

.modal-header {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-title {
  font-weight: 700;
  color: var(--text-light);
}

.modal-body {
  color: var(--text-light);
}

.modal-footer {
  border-top: 1px solid var(--border-color);
}

/* ---------- Toast / Alert ---------- */
.alert-custom {
  border-radius: var(--radius);
  border: none;
  padding: 1rem 1.5rem;
}

/* ---------- Loading Spinner ---------- */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.loading-spinner .spinner-border {
  color: var(--secondary);
  width: 3rem;
  height: 3rem;
}

/* ---------- Filter / Search Bar ---------- */
.filter-bar {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}

.back-to-top:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.back-to-top.show {
  display: flex;
}

/* ---------- Services Page Specific ---------- */
.service-detail-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-detail-card .card-body {
  padding: 2rem;
}

/* ---------- Order Tracking ---------- */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.order-card:hover {
  box-shadow: var(--shadow);
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.confirmed {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.status-badge.completed {
  background-color: #cce5ff;
  color: #004085;
}

/* ---------- No Results ---------- */
.no-results {
  text-align: center;
  padding: 3rem;
  color: rgba(255, 255, 255, 0.5);
}

.no-results .material-icons {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}

.no-results h5 {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Smooth scroll offset for fixed navbar ---------- */
html {
  scroll-padding-top: 80px;
}

/* ---------- Floating Call Button ---------- */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 84px; /* Placed to the left of the back-to-top button */
  z-index: 1020;
  display: flex !important; /* Ensure it stays visible */
  flex-direction: column;
  gap: 0.6rem;
}

@media (max-width: 767.98px) {
  .floating-contact {
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top {
    bottom: 80px !important;
    right: 20px !important;
  }
}

.floating-contact .fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.floating-contact .fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.floating-contact .fab-call {
  background-color: var(--secondary);
  color: var(--primary-dark);
}

.floating-contact .fab-call .material-icons {
  font-size: 1.3rem;
}

/* ---------- Mobile Hero Image ---------- */
.hero-image-mobile {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section {
    min-height: auto;
    padding: 90px 0 50px;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-image-mobile {
    display: block;
    margin-top: 1.5rem;
  }

  .hero-image-mobile img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .section-padding {
    padding: 50px 0;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  .about-img-wrapper img {
    height: 300px;
  }

  /* Full-screen modal on tablet and below */
  .modal-dialog.modal-lg {
    margin: 0;
    max-width: 100%;
    min-height: 100vh;
  }

  .modal-dialog.modal-lg .modal-content {
    border-radius: 0;
    min-height: 100vh;
    border: none;
  }

  .modal-dialog.modal-lg .modal-body {
    padding: 1.2rem;
    overflow-y: auto;
  }
}

@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Full-width hero CTAs on mobile */
  .hero-content .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }

  .hero-content .d-flex.gap-3 .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .page-header {
    padding: 85px 0 40px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .page-header p {
    font-size: 0.92rem;
  }

  .form-card {
    padding: 1.3rem;
  }

  .form-card h3 {
    font-size: 1.2rem;
  }

  .card-custom .card-img-top {
    height: 180px;
  }

  .map-wrapper {
    height: 260px;
  }

  /* Improve feature boxes on mobile */
  .feature-box {
    padding: 1.5rem 1rem;
  }

  .feature-box .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
  }

  .feature-box .feature-icon .material-icons {
    font-size: 1.3rem;
  }

  .feature-box h5 {
    font-size: 0.95rem;
  }

  .feature-box p {
    font-size: 0.85rem;
  }

  /* Stats bar compact */
  .stats-bar {
    padding: 1rem 0;
  }

  .stat-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .stat-item p {
    font-size: 0.72rem;
    letter-spacing: 0.3px;
  }

  /* CTA section mobile */
  .cta-section {
    padding: 40px 0;
  }

  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  /* Contact info card mobile */
  .contact-info-card {
    padding: 1.3rem;
  }

  .contact-info-card h4 {
    font-size: 1.05rem;
  }

  /* Gallery images taller on mobile */
  .gallery-item img {
    height: 160px !important;
  }

  /* Filter bar stack on mobile */
  .filter-bar {
    flex-direction: column !important;
    padding: 1rem;
    gap: 0.6rem !important;
  }

  .filter-bar .flex-grow-1 {
    width: 100%;
  }

  .filter-bar > div:last-child {
    width: 100%;
  }

  .filter-bar .form-select {
    width: 100%;
  }

  /* About section mobile */
  .about-img-wrapper img {
    height: 220px;
  }

  .about-badge {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
    bottom: 12px;
    left: 12px;
  }

  .about-features li {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }

  /* Payment options stack on mobile */
  .payment-option {
    padding: 0.8rem !important;
  }

  /* Touch-friendly: larger tap targets */
  .form-control,
  .form-select {
    padding: 0.75rem 0.9rem;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Cards: better touch spacing */
  .card-footer-custom {
    padding: 0 1rem 1rem;
  }

  .card-custom .card-body {
    padding: 1.1rem;
  }

  .card-price {
    font-size: 1.15rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 1.4rem;
    line-height: 1.25;
  }

  .hero-section {
    padding: 80px 0 40px;
  }

  .hero-image-mobile img {
    height: 180px;
  }

  .navbar-brand {
    font-size: 1.05rem;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-dark-custom {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .page-header {
    padding: 78px 0 30px;
  }

  .page-header h1 {
    font-size: 1.35rem;
  }

  /* Order modal full screen */
  .modal-dialog.modal-lg {
    margin: 0;
  }

  .modal-dialog.modal-lg .modal-body {
    padding: 1rem;
  }

  /* Breadcrumb smaller */
  .breadcrumb {
    font-size: 0.82rem;
  }
}

/* ---------- Bootstrap Dark Overrides ---------- */
.text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-light);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}
