/* ========================================
   ARCHITECTURAL STUDIO - RACING RED & CARBON GREY THEME
   Primary: #D32F2F (Racing Red)
   Secondary: #424242 (Carbon Grey)
   ======================================== */

/* ========================================
   ROOT VARIABLES & BASE STYLES
   ======================================== */
:root {
  --racing-red: #D32F2F;
  --carbon-grey: #424242;
  --dark-grey: #212121;
  --light-grey: #757575;
  --white: #FFFFFF;
  --light-bg: #F5F5F5;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-grey);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6,
.display-2, .display-4, .display-5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-grey) !important;
}

.lead {
  font-size: 1.15rem;
  color: var(--light-grey) !important;
}

.text-muted {
  color: var(--light-grey) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-danger {
  color: var(--racing-red) !important;
}

.text-dark {
  color: var(--dark-grey) !important;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */
.navbar {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--light-bg) !important;
  transform: scale(1.05);
}

.navbar-dark .navbar-toggler {
  border-color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-nav .nav-item {
  margin: 0 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--white);
  transform: translateX(-50%);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
}

.btn:not(.btn-outline-secondary):not(.btn-link):not(.filter-btn):not(.btn-outline-danger) {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
  border: 2px solid var(--racing-red) !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn:not(.btn-outline-secondary):not(.btn-link):not(.filter-btn):not(.btn-outline-danger):hover {
  background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-outline-secondary {
  border: 2px solid var(--carbon-grey) !important;
  color: var(--carbon-grey) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary.active {
  background: var(--carbon-grey) !important;
  color: var(--white) !important;
  border-color: var(--carbon-grey) !important;
}

.btn-link {
  color: var(--racing-red) !important;
  text-decoration: none;
  background: transparent !important;
}

.btn-link:hover {
  color: #B71C1C !important;
  text-decoration: underline;
}

/* ========================================
   CAROUSEL STYLES
   ======================================== */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out;
}

.carousel-inner {
  height: 100vh;
  min-height: 600px;
}

.carousel-item {
  height: 100%;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.85) 0%, rgba(66, 66, 66, 0.85) 100%);
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  z-index: 2;
  left: 10%;
  right: 10%;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  text-align: left;
}

.carousel-caption .display-2 {
  color: var(--white) !important;
  font-size: 4rem;
  font-weight: 900;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: slideInLeft 1s ease-out;
}

.carousel-caption .fs-4 {
  color: var(--white) !important;
  font-size: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  animation: slideInLeft 1s ease-out 0.2s both;
}

.carousel-indicators {
  z-index: 3;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.5;
  transition: var(--transition);
}

.carousel-indicators .active {
  opacity: 1;
  background-color: var(--racing-red);
  transform: scale(1.2);
}

/* ========================================
   CARD STYLES
   ======================================== */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: linear-gradient(135deg, var(--carbon-grey) 0%, var(--dark-grey) 100%);
  color: var(--white) !important;
  border: none;
  padding: 1.25rem;
  font-weight: 700;
}

.card-body {
  padding: 1.5rem;
  background: var(--white);
}

.card-title {
  color: var(--dark-grey) !important;
  font-weight: 700;
}

.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

/* ========================================
   BADGE STYLES
   ======================================== */
.badge {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   ICON STYLES
   ======================================== */
.bi {
  color: var(--racing-red) !important;
  transition: var(--transition);
}

.rounded-circle {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.rounded-circle .bi {
  color: var(--white) !important;
  font-size: 2rem;
}

/* ========================================
   IMAGE STYLES
   ======================================== */
.img-fluid {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.02);
}

.shadow {
  box-shadow: var(--shadow) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.hover-shadow {
  transition: var(--transition);
}

.hover-shadow:hover {
  box-shadow: var(--shadow-lg) !important;
}

/* ========================================
   BACKGROUND COLORS
   ======================================== */
.bg-light {
  background-color: var(--light-bg) !important;
}

.bg-white {
  background-color: var(--white) !important;
}

.bg-danger {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
}

.bg-warning {
  background: linear-gradient(135deg, #FFA000 0%, #FF6F00 100%) !important;
  color: var(--white) !important;
}

/* ========================================
   BORDER STYLES
   ======================================== */
.border {
  border: 1px solid #E0E0E0 !important;
}

.border-start {
  border-left: 4px solid var(--racing-red) !important;
}

.border-4 {
  border-width: 4px !important;
}

.border-bottom {
  border-bottom: 1px solid #E0E0E0 !important;
}

.border-secondary {
  border-color: var(--carbon-grey) !important;
}

.border-0 {
  border: none !important;
}

.rounded {
  border-radius: 8px !important;
}

.rounded-bottom {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-label {
  color: var(--dark-grey) !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select,
.form-control-lg {
  border: 2px solid #E0E0E0;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  color: var(--dark-grey) !important;
  background-color: var(--white) !important;
}

.form-control:focus,
.form-select:focus,
.form-control-lg:focus {
  border-color: var(--racing-red) !important;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
  outline: none;
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
}

.form-check-input {
  border: 2px solid var(--carbon-grey);
  width: 1.25rem;
  height: 1.25rem;
}

.form-check-input:checked {
  background-color: var(--racing-red) !important;
  border-color: var(--racing-red) !important;
}

.form-check-label {
  color: var(--dark-grey) !important;
  margin-left: 0.5rem;
}

.invalid-feedback {
  color: var(--racing-red) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ========================================
   ALERT STYLES
   ======================================== */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-info {
  background-color: #E3F2FD;
  color: #0D47A1 !important;
  border-left: 4px solid #2196F3;
}

.alert-warning {
  background-color: #FFF3E0;
  color: #E65100 !important;
  border-left: 4px solid #FF9800;
}

/* ========================================
   TABLE STYLES
   ======================================== */
.table {
  color: var(--dark-grey) !important;
  background-color: var(--white);
}

.table-bordered {
  border: 1px solid #E0E0E0;
}

.table thead {
  background: linear-gradient(135deg, var(--carbon-grey) 0%, var(--dark-grey) 100%);
  color: var(--white) !important;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background-color: rgba(211, 47, 47, 0.05);
}

/* ========================================
   ACCORDION STYLES
   ======================================== */
.accordion-item {
  border: 1px solid #E0E0E0;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background-color: var(--light-bg) !important;
  color: var(--dark-grey) !important;
  font-weight: 600;
  padding: 1.25rem;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
  border-color: var(--racing-red);
}

.accordion-button::after {
  filter: brightness(0) saturate(100%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  background-color: var(--white);
  color: var(--dark-grey) !important;
}

.accordion-collapse {
  border-top: 2px solid var(--racing-red);
}

/* ========================================
   PROGRESS BAR STYLES
   ======================================== */
.progress {
  height: 1.5rem;
  border-radius: 8px;
  background-color: #E0E0E0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.6s ease;
}

/* ========================================
   TIMELINE STYLES
   ======================================== */
.timeline-line {
  position: relative;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--racing-red) 0%, var(--carbon-grey) 100%);
}

/* ========================================
   FILTER BUTTON STYLES
   ======================================== */
.filter-btn {
  margin: 0.25rem;
  border: 2px solid var(--carbon-grey) !important;
  color: var(--carbon-grey) !important;
  background: transparent !important;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--carbon-grey) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ========================================
   TIME SLOT STYLES
   ======================================== */
.time-slot {
  padding: 0.75rem 1.25rem;
  border: 2px solid #E0E0E0;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--dark-grey) !important;
}

.time-slot:hover {
  border-color: var(--racing-red);
  background-color: rgba(211, 47, 47, 0.05);
  transform: translateY(-2px);
}

.time-slot.active {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
  border-color: var(--racing-red);
}

/* ========================================
   BOOKING STEP STYLES
   ======================================== */
.booking-step {
  padding: 1rem 1.5rem;
  border: 2px solid #E0E0E0;
  border-radius: 50px;
  background-color: var(--white);
  color: var(--light-grey) !important;
  font-weight: 600;
  transition: var(--transition);
}

.booking-step.active {
  background: linear-gradient(135deg, var(--racing-red) 0%, #B71C1C 100%) !important;
  color: var(--white) !important;
  border-color: var(--racing-red);
}

/* ========================================
   COMPARISON CONTAINER
   ======================================== */
.comparison-container {
  overflow-x: auto;
  padding: 1rem 0;
}

.horizontal-scroll-wrapper {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--light-bg);
  border-radius: 4px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--racing-red);
  border-radius: 4px;
}

.flex-shrink-0 {
  flex-shrink: 0;
  min-width: 250px;
}

/* ========================================
   FOOTER STYLES
   ======================================== */
footer {
  background: linear-gradient(135deg, var(--dark-grey) 0%, var(--carbon-grey) 100%);
  color: var(--white) !important;
  padding: 3rem 0 1rem;
}

footer h5,
footer h6 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer .list-unstyled li {
  margin-bottom: 0.75rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--white) !important;
  padding-left: 5px;
}

footer .bi {
  color: var(--white) !important;
  font-size: 1.5rem;
  transition: var(--transition);
}

footer .bi:hover {
  color: var(--racing-red) !important;
  transform: scale(1.2);
}

/* ========================================
   SERVICE PREVIEW/DETAILS
   ======================================== */
.service-preview,
.service-details {
  transition: var(--transition);
}

.expand-btn {
  cursor: pointer;
  transition: var(--transition);
}

.expand-btn:hover {
  color: var(--racing-red) !important;
}

.expand-text {
  font-size: 0.875rem;
  color: var(--light-grey) !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
  top: 76px;
  z-index: 1020;
}

.overflow-hidden {
  overflow: hidden;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.d-inline-block {
  display: inline-block;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.text-center {
  text-align: center;
}

.text-start {
  text-align: left;
}

.text-end {
  text-align: right;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-md-0 { margin-top: 0; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-lg-0 { margin-bottom: 0; }
.mb-md-0 { margin-bottom: 0; }

.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }
.ms-4 { margin-left: 1.5rem; }
.ms-auto { margin-left: auto; }

.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }

.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.p-md-5 { padding: 3rem; }

.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.pt-5 { padding-top: 3rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }

.ps-2 { padding-left: 0.5rem; }
.ps-md-5 { padding-left: 3rem; }
.ps-lg-5 { padding-left: 3rem; }

.pe-md-5 { padding-right: 3rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

.g-0 { gap: 0; }
.g-2 { gap: 0.5rem; }
.g-3 { gap: 1rem; }
.g-4 { gap: 1.5rem; }

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(211, 47, 47, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }

  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }

  .carousel-inner {
    height: 70vh;
    min-height: 500px;
  }

  .carousel-caption .display-2 {
    font-size: 2.5rem;
  }

  .carousel-caption .fs-4 {
    font-size: 1.2rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10 {
    margin-bottom: 1.5rem;
  }

  .order-lg-1,
  .order-lg-2 {
    order: 0;
  }

  .text-lg-start,
  .text-lg-end {
    text-align: center !important;
  }

  .ps-lg-5 {
    padding-left: 1rem;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 767px) {
  .carousel-inner {
    height: 60vh;
    min-height: 400px;
  }

  .carousel-caption {
    left: 5%;
    right: 5%;
  }

  .carousel-caption .display-2 {
    font-size: 2rem;
  }

  .carousel-caption .fs-4 {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .display-2 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .fs-3 {
    font-size: 1.5rem !important;
  }

  .fs-4 {
    font-size: 1.25rem !important;
  }

  .fs-5 {
    font-size: 1.1rem !important;
  }

  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8 {
    margin-bottom: 1rem;
  }

  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }

  .ps-md-5,
  .pe-md-5 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mb-md-0 {
    margin-bottom: 1rem;
  }

  .mt-md-0 {
    margin-top: 1rem;
  }

  footer {
    text-align: center;
  }

  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 2rem;
  }

  .table {
    font-size: 0.875rem;
  }

  .horizontal-scroll-wrapper {
    padding: 0.5rem;
  }

  .flex-shrink-0 {
    min-width: 200px;
  }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
   ======================================== */
@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .carousel-inner {
    height: 50vh;
    min-height: 350px;
  }

  .carousel-caption .display-2 {
    font-size: 1.5rem;
  }

  .carousel-caption .fs-4 {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 0.625rem 1.25rem;
  }

  .col-sm-6 {
    margin-bottom: 1rem;
  }

  .rounded-circle {
    width: 60px;
    height: 60px;
  }

  .rounded-circle .bi {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1rem;
  }

  .accordion-button {
    padding: 1rem;
  }

  .accordion-body {
    padding: 1rem;
  }

  .time-slot {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .booking-step {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  .carousel,
  .btn,
  footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus {
  outline: 2px solid var(--racing-red);
  outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--racing-red);
  outline-offset: 2px;
}

/* ========================================
   SCROLLBAR STYLES
   ======================================== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--racing-red) 0%, #B71C1C 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #B71C1C 0%, var(--racing-red) 100%);
}

/* ========================================
   SMOOTH SCROLL
   ======================================== */
html {
  scroll-behavior: smooth;
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner {
  border: 4px solid var(--light-bg);
  border-top: 4px solid var(--racing-red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   HOVER EFFECTS
   ======================================== */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ========================================
   SECTION SPACING
   ======================================== */
section {
  padding: 4rem 0;
}

@media (max-width: 767px) {
  section {
    padding: 2rem 0;
  }
}