/* ==========================================================================
   CSS DESIGN SYSTEM - PIRAEUS DRIVE
   ========================================================================== */

:root {
  --font-main: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Colors - Derived from the Blue Palette */
  --color-primary: #3b82f6;       /* Blue 500 */
  --color-primary-dark: #1d4ed8;  /* Blue 700 */
  --color-accent-blue: #2563eb;   /* Vibrant Blue 600 */
  --color-accent-blue-hover: #1e40af; /* Blue 800 */
  
  --color-dark-bg: #1e3a8a;        /* Deep Navy Blue for footer & admin */
  --color-dark-surface: #1e40af;   /* Blue 800 */
  --color-dark-border: #1d4ed8;    /* Blue 700 */
  
  --color-light-bg: #eff6ff;       /* Ice Blue 50 for main backgrounds */
  --color-light-surface: #ffffff;
  --color-light-border: #bfdbfe;   /* Light Blue border */
  
  --color-text-dark: #0c4a6e;      /* Deepest sky for dark text */
  --color-text-muted: #64748b;     /* Slate for readable mute */
  --color-text-light: #f8fafc;

  /* Layout Constants */
  --header-height: 80px;
  --max-width: 1400px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08);
  --shadow-premium: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  
}

body {
  font-family: var(--font-main);
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
  line-height: 1.5;
  overflow-x: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   APP HEADER & NAVIGATION
   ========================================================================== */

.app-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 2px;
  color: #0f172a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-links a.active, .nav-links a:hover {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.nav-links a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background-color: #cbd5e1;
}

.nav-links a#nav-login-btn {
  background-color: #f1f5f9;
  color: #1e293b;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid var(--color-light-border);
}

.nav-links a#nav-login-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Profile Dropdown Menu */
.user-profile-menu {
  position: relative;
  display: inline-block;
  cursor: pointer;
  background-color: #f1f5f9;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.user-profile-menu:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background-color: var(--color-light-surface);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  overflow: visible; /* Changed from hidden to show the hover bridge */
  border: 1px solid var(--color-light-border);
  z-index: 120;
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

.dropdown-content a {
  color: var(--color-text-dark);
  padding: 12px 16px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.dropdown-content a:hover {
  background-color: var(--color-light-bg);
}

/* ==========================================================================
   HERO SECTION (Image 1 Copy)
   ========================================================================== */

.hero-section {
  display: grid;
  grid-template-columns: 52% 48%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 40px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 50px;
  z-index: 10;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
}

/* Premium Buttons */
.btn {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-order {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: var(--color-text-dark);
  box-shadow: 0 4px 10px rgba(148, 163, 184, 0.3);
  padding: 14px 44px;
  font-size: 18px;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-order:hover {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  transform: translateY(-2px);
}

.btn-discover {
  font-weight: 600;
  color: #1e293b;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-discover i {
  transition: var(--transition-smooth);
}

.btn-discover:hover i {
  transform: translateX(6px);
}

/* Thumbnails */
.hero-thumbnails {
  display: flex;
  gap: 16px;
}

.thumb-card {
  width: 140px;
  height: 90px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: var(--shadow-sm);
}

#thumb-interior {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?q=80&w=300&auto=format&fit=crop');
}

#thumb-seats {
  background-image: url('https://images.unsplash.com/photo-1563720223185-11003d516935?q=80&w=300&auto=format&fit=crop');
}

.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.thumb-overlay span {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.thumb-card:hover .thumb-overlay {
  background: rgba(0,0,0,0.2);
}

/* HERO GRAPHICS - RIGHT PANEL (Photo 1 Stripes & Car) */
.hero-graphics {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  overflow: hidden;
}

.stripe {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px;
}

.stripe-1 {
  background-color: #0c1c38; /* Deep dark blue */
  display: flex;
  align-items: center;
}

.vertical-text {
  font-family: var(--font-display);
  font-size: 9vh;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: auto;
  margin-top: 100px;
  letter-spacing: 12px;
}

.stripe-info-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  font-style: italic;
  font-size: 14px;
  cursor: pointer;
}

.stripe-2 {
  background-color: #171d24; /* Near-black */
}

.stripe-3 {
  background-color: var(--color-primary); /* Sky blue/Cyan */
}

/* Floating overlay car with 3D shadow */
.hero-car-overlay {
  position: absolute;
  bottom: 12%;
  left: -20%;
  width: 125%;
  max-width: 720px;
  z-index: 20;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.55));
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ==========================================================================
   SEARCH BAR BAR (Photo 2 Copy)
   ========================================================================== */

.search-bar-section {
  max-width: var(--max-width);
  margin: -60px auto 80px auto;
  padding: 0 40px;
  position: relative;
  z-index: 30;
}

.search-card {
  background-color: var(--color-light-surface);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--color-light-border);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr 1.5fr 1fr;
  gap: 16px;
  align-items: flex-end;
  border-bottom: 1px solid var(--color-light-border);
  padding-bottom: 20px;
}

.search-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-input-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #3b82f6;
  font-size: 16px;
  z-index: 10;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 15px;
  color: var(--color-text-dark);
  font-weight: 550;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.input-wrapper input:focus {
  border-color: #3b82f6;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-submit-wrapper {
  display: flex;
}

/* Red Search Pill Button */
.btn-search {
  background-color: var(--color-accent-blue);
  color: white;
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-search:hover {
  background-color: var(--color-accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Search Bottom options */
.search-options {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-dark);
}

.label-free-cancellation {
  color: #16a34a;
  font-weight: 600;
}

.label-free-cancellation i {
  font-size: 14px;
}

.flex-checkbox {
  cursor: pointer;
}

.flex-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-accent-blue);
}

.flex-checkbox label {
  cursor: pointer;
  user-select: none;
}

/* ==========================================================================
   FLEET & CATEGORY GRID
   ========================================================================== */

.fleet-section {
  max-width: var(--max-width);
  margin: 0 auto 100px auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #0f172a; /* Deep black/slate */
}
.section-subtitle {
  color: #64748b;
  font-size: 16px;
  margin-top: 10px;
}


.category-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  color: var(--color-text-muted);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.category-pill:hover, .category-pill.active {
  background-color: var(--color-dark-bg);
  border-color: var(--color-dark-bg);
  color: white;
}

/* Card layout grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
}

.car-card {
  background-color: var(--color-light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: #cbd5e1;
}

.car-image-container {
  height: 200px;
  background-color: #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.car-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
  transition: var(--transition-smooth);
}

.car-card:hover .car-image-container img {
  transform: scale(1.04);
}

.car-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-dark-bg);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.car-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.car-title-row h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.car-card-rating {
  font-size: 14px;
  font-weight: 600;
}

.car-card-rating i {
  color: #fbbf24;
}

.car-specs-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--color-light-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.spec-icon-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.car-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-box .price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1;
}

.price-box .unit {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.btn-rent {
  background-color: var(--color-dark-bg);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-pill);
}

.btn-rent:hover {
  background-color: var(--color-primary-dark);
}

/* ==========================================================================
   MODAL OVERLAY & CONTAINERS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition-smooth);
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-container {
  background-color: var(--color-light-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-light-border);
  position: relative;
  max-width: 90%;
  overflow: hidden;
  animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: #e2e8f0;
}

/* ==========================================================================
   CAR DETAIL MODAL (Left: Info, Right: Booking Form)
   ========================================================================== */

.detail-modal {
  width: 950px;
}

.modal-body-split {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 600px;
}

/* Left Side: Info */
.detail-gallery-pane {
  padding: 40px;
  border-right: 1px solid var(--color-light-border);
  overflow-y: auto;
}

.detail-image-wrapper {
  height: 220px;
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  margin-bottom: 24px;
}

.detail-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15));
}

.detail-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-dark-bg);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.detail-thumbnail {
  width: 60px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  background-color: #f1f5f9;
}

.detail-thumbnail:hover {
  border-color: var(--color-light-border);
}

.detail-thumbnail.active {
  border-color: var(--color-primary);
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.spec-item-box {
  background-color: #fafbfd;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.spec-item-box i {
  font-size: 20px;
  color: var(--color-primary-dark);
}

.spec-text {
  display: flex;
  flex-direction: column;
}

.spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.spec-lbl {
  font-size: 11px;
  color: var(--color-text-muted);
}

.detail-description-block h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-description-block p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Right Side: Booking Panel */
.detail-booking-pane {
  padding: 40px;
  background-color: #fafbfd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.booking-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.booking-pane-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-dark);
}

.price-display {
  text-align: right;
}

.price-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-dark);
}

.price-unit {
  font-size: 13px;
  color: var(--color-text-muted);
}

.booking-summary-fields {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.summary-label {
  color: var(--color-text-muted);
}

.summary-val {
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: black;
  margin-bottom: 6px;
}

.checkbox-flex-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 500 !important;
  cursor: pointer;
  font-size: 14px !important;
}

.checkbox-flex-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-dark-bg);
}

.price-breakdown-card {
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breakdown-row.total-row {
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.btn-block {
  width: 100%;
}

.auth-warning-alert {
  background-color: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-warning-alert a {
  text-decoration: underline;
  font-weight: 600;
}

/* Map Mockup */
.map-mockup {
  height: 90px;
  background-color: #e2e8f0;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: radial-gradient(#cbd5e1 15%, transparent 16%), radial-gradient(#cbd5e1 15%, transparent 16%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}

.map-circle-ping {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
  border: 2px solid white;
}

.map-circle-ping::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-blue);
  animation: ping 1.5s infinite ease-out;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.map-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  z-index: 10;
  margin-top: 25px;
}

.map-subtext {
  font-size: 10px;
  color: var(--color-text-muted);
  z-index: 10;
}

/* ==========================================================================
   AUTHENTICATION MODAL
   ========================================================================== */

.auth-modal-box {
  width: 420px;
  padding: 40px;
}

.modal-title-custom {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-light-border);
  margin-bottom: 28px;
}

.auth-tab-btn {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
}

.auth-tab-btn.active {
  color: var(--color-text-dark);
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-dark-bg);
}

.auth-form-body {
  display: flex;
  flex-direction: column;
}

.auth-form-body input[type="email"],
.auth-form-body input[type="password"],
.auth-form-body input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-smooth);
}

.auth-form-body input:focus {
  border-color: var(--color-dark-bg);
}

.auth-error-msg {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

.demo-credentials {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.demo-credentials code {
  background-color: #cbd5e1;
  padding: 2px 4px;
  border-radius: 3px;
  color: var(--color-text-dark);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   CUSTOMER MY BOOKINGS PROFILE
   ========================================================================== */

.profile-container {
  max-width: var(--max-width);
  margin: var(--header-height) auto 100px auto;
  padding: 40px;
}

.profile-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-light-border);
  padding-bottom: 20px;
}

.profile-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: black;
}

.profile-header p {
  color: var(--color-text-muted);
}

.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-item-card {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.booking-card-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.booking-item-img {
  width: 140px;
  height: 90px;
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.booking-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.booking-item-details h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 4px;
}

.booking-item-details p {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  gap: 16px;
}

.booking-item-details p span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.booking-card-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.booking-card-right .price {
  font-size: 20px;
  font-weight: 800;
}

.status-badge {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending { background-color: #fef3c7; color: #d97706; }
.status-approved { background-color: #dcfce7; color: #16a34a; }
.status-rejected { background-color: #fee2e2; color: #dc2626; }
.status-cancelled { background-color: #f1f5f9; color: #475569; }

/* ==========================================================================
   ADMIN CONSOLE PANEL
   ========================================================================== */

#admin-view {
  min-height: 100vh;
  background-color: #f8fafc;
  color: #334155;
}

.admin-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  padding-top: var(--header-height, 80px);
}

.admin-sidebar {
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-info {
  display: flex;
  flex-direction: column;
}

.admin-name {
  font-size: 15px;
  font-weight: 600;
}

.admin-role {
  font-size: 11px;
  color: #64748b;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #64748b;
  font-size: 14px;
  font-weight: 550;
  transition: var(--transition-smooth);
}

.admin-nav-item:hover, .admin-nav-item.active {
  background-color: #f1f5f9;
  color: #0f172a;
}

#admin-back-to-site {
  margin-top: auto;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

#admin-back-to-site:hover {
  color: #0f172a;
}

/* Content Pane */
.admin-content-pane {
  padding: 40px;
  overflow-y: auto;
}

.admin-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-pane-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

.pane-date {
  font-size: 14px;
  color: #64748b;
}

/* Stats Widgets */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.income { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-icon.bookings { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-icon.active-cars { background-color: rgba(236, 72, 153, 0.1); color: #ec4899; }
.stat-icon.conversion { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: #64748b;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

/* Subgrid for stats charts */
.admin-charts-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.admin-chart-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
}

.admin-chart-box h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0f172a;
}

/* Activity Timeline */
.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-left: 2px solid #e2e8f0;
  padding-left: 16px;
  position: relative;
}

.activity-item::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.activity-desc {
  color: #334155;
}

.activity-desc strong {
  color: #0f172a;
}

.activity-time {
  color: #64748b;
}

/* Category Distribution List */
.category-distribution-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-dist-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-dist-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.cat-dist-bar-bg {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.cat-dist-bar-fill {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: var(--radius-pill);
}

/* Table styles */
.admin-table-container {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.admin-table th, .admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
  background-color: #f8fafc;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.admin-table tbody tr:hover {
  background-color: #f1f5f9;
}

.admin-table-car-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-table-car-img {
  width: 60px;
  height: 40px;
  background-color: #f8fafc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.admin-table-car-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-table-car-name {
  font-weight: 600;
  color: #0f172a;
}

.admin-table-car-category {
  font-size: 11px;
  color: #64748b;
}

.admin-actions-cell {
  display: flex;
  gap: 8px;
}

.btn-action-small {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-approve { background-color: #10b981; color: white; }
.btn-approve:hover { background-color: #059669; }
.btn-reject { background-color: #ef4444; color: white; }
.btn-reject:hover { background-color: #dc2626; }
.btn-delete { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; }
.btn-delete:hover { background-color: #ef4444; color: white; }

/* Custom Modal Titles and Fields for Admin forms */
.modal-title-custom {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.modal-form-custom .form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-form-custom select,
.modal-form-custom input[type="number"],
.modal-form-custom input[type="text"],
.modal-form-custom textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 14px;
  background-color: #f8fafc;
}

.modal-form-custom select:focus,
.modal-form-custom input:focus,
.modal-form-custom textarea:focus {
  border-color: var(--color-dark-bg);
  background-color: white;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLETS)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
    padding: 100px 30px 30px 30px;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 60px;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-graphics {
    height: 380px;
    grid-template-columns: repeat(3, 1fr);
  }

  .stripe-1 {
    display: none;
  }

  .hero-graphics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-car-overlay {
    left: 5%;
    bottom: 5%;
    width: 90%;
  }

  .search-bar-section {
    margin-top: 20px;
  }

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-wrapper {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    height: auto;
    border-right: none;
    border-bottom: 1px solid #1e293b;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-charts-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .search-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .modal-body-split {
    grid-template-columns: 1fr;
    height: 90vh;
  }

  .detail-gallery-pane {
    border-right: none;
    border-bottom: 1px solid var(--color-light-border);
    padding: 20px;
  }

  .detail-booking-pane {
    padding: 20px;
  }

  .booking-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .booking-card-right {
    text-align: left;
    align-items: flex-start;
    width: 100%;
    border-top: 1px solid var(--color-light-border);
    padding-top: 16px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APP FOOTER
   ========================================================================== */

.app-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 40px 40px 40px;
  margin-top: 100px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  color: white;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 120px; /* Reduced from the huge 1fr spaces */
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-col a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
}

/* ==========================================================================
   HOMEPAGE SEARCH & PRIVACY STYLES
   ========================================================================== */

.search-bar-section-home {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 40px 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(80vh - var(--header-height));
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.4) 0%, rgba(248, 250, 252, 1) 90%);
}

.search-title-home {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.5px;
}

.search-bar-section-home .search-card {
  width: 100%;
  max-width: 1000px;
  border: 1px solid var(--color-light-border);
  box-shadow: var(--shadow-premium);
}

.privacy-content-card {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--color-text-dark);
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}

.privacy-content-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 24px;
}

.privacy-content-card h3:first-of-type {
  margin-top: 0;
}

.privacy-content-card p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.privacy-content-card p:last-of-type {
  margin-bottom: 0;
}

.homepage-section {
  padding: 80px 40px;
  border-top: 1px solid var(--color-light-border);
}


.homepage-section {
  scroll-margin-top: var(--header-height, 80px);
}


/* ==========================================================================
   NEW HERO & CAR DETAILS STYLES
   ========================================================================== */

/* Floating Header */
.floating-header {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  background-color: #1c1c1c;
  border-radius: 60px;
  padding: 15px 30px;
  display: flex;
  transition: all 0.3s ease;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

body.menu-open .floating-header {
  transform: none !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  padding: 10px 15px !important;
}

.floating-header .nav-links a, .floating-header .brand-logo {
  color: white !important;
}
.floating-header .nav-links a:hover {
  color: var(--color-primary) !important;
}
.header-auth {
  display: flex;
  gap: 15px;
  align-items: center;
}
.btn-outline-pill {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline-pill:hover {
  background: rgba(255,255,255,0.1);
}
.btn-fill-pill {
  background: white;
  color: black;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-fill-pill:hover {
  background: #f0f0f0;
}

/* Hero Section */
.hero-section {
  max-width: var(--max-width);
  margin: 60px auto 20px auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
}
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-line {
  width: 40px;
  height: 2px;
  background-color: var(--color-text-muted);
  border: none;
  margin: 0;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 800;
  line-height: 1.05;
  color: #111;
  margin-bottom: 30px;
  letter-spacing: -2px;
}
.hero-subtext {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 20px;
}
.btn-primary-dark {
  background-color: #1c1c1c;
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.btn-outline {
  background-color: transparent;
  color: #1c1c1c;
  border: 1px solid #1c1c1c;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}
.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.hero-car-image {
  max-width: 130%;
  height: auto;
  transform: scale(1.1) translateX(10%);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15));
}
.hero-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}
.faq-item {
  background: white;
  border: 1px solid var(--color-light-border);
  border-radius: 12px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  font-weight: 600;
  font-size: 18px;
  color: black;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--color-text-muted);
}
.faq-item[open] summary::after {
  content: '-';
}
.faq-answer {
  margin-top: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Car Details Page */
.car-details-page {
  background: var(--color-light-bg);
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 200px; /* space for sticky bar */
  position: relative;
}
.car-details-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.main-img-wrap {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-car-img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.car-thumbnails {
  display: flex;
  gap: 15px;
}
.thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  background: white;
  border-radius: 10px;
  padding: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}
.thumb.active {
  border-color: var(--color-primary);
}
.detail-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.detail-badge {
  font-size: 14px;
  background: #1c1c1c;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  vertical-align: middle;
}
.detail-location {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}
.detail-specs {
  display: flex;
  gap: 25px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.detail-specs span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-price-box {
  margin-bottom: 40px;
}
.detail-price {
  font-size: 36px;
  font-weight: 800;
  color: #111;
}
.detail-per-day {
  color: var(--color-text-muted);
  font-weight: 500;
  margin-left: 5px;
}
.detail-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
  margin-top: 30px;
}
.detail-description {
  color: var(--color-text-muted);
  line-height: 1.7;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.detail-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-light-border);
  color: var(--color-text-muted);
}
.detail-table tr td:first-child {
  font-weight: 600;
  color: #111;
}

/* Sticky Booking Bar */
.booking-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1c1c1c;
  padding: 20px 40px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  z-index: 1000;
}
.details-search-form {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
.details-search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex: 1;
}
.details-search-grid label {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.details-search-grid input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 10px 0;
  font-size: 16px;
}
.details-search-grid input:focus {
  outline: none;
  border-color: white;
}
.details-book-btn {
  background: white;
  color: #1c1c1c;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.hero-search-bar {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  margin-top: -60px;
  width: 100%;
  position: relative;
  z-index: 10;
}


/* Fix admin add car button clickability */
.admin-pane-header {
  position: relative;
  z-index: 5;
}
.admin-pane-header .btn-order {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

#admin-add-car-btn {
  color: #000000;
  background-color: #94a3b8; /* darker background */
  border: none;
}

#admin-add-car-btn:hover {
  background-color: #cbd5e1; /* lighter on hover */
}

/* Hide the floating customer header when admin panel is active */
#admin-view:not(.hidden) ~ .app-header.floating-header {
  display: none;
}

/* Fix modal z-index above floating header */
.modal-overlay {
  z-index: 2000 !important;
}






/* BUTTON HOVER ANIMATIONS */
/* Base scale for all buttons except close buttons */
button.btn, a.btn, .btn-outline-pill, .btn-fill-pill, .btn-search, .btn-rent, .btn-outline {
  transition: all 0.3s ease !important;
}

button.btn:hover, a.btn:hover, .btn-outline-pill:hover, .btn-fill-pill:hover, .btn-search:hover, .btn-rent:hover, .btn-outline:hover {
  transform: scale(1.05) !important;
}

/* Blue buttons specific styles: glow and lighter background */
.btn-search, .btn-rent {
  background-color: var(--color-primary);
  color: #0f172a;
}

.btn-search:hover, .btn-rent:hover {
  background-color: #38bdf8 !important; /* Lighter blue */
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6) !important;
}

/* Ensure black and white buttons DO NOT change background color darker */
.btn-outline, .btn-outline-pill {
  /* Retain their original color on hover, just scale */
}
.btn-outline:hover {
  background-color: transparent !important;
  color: #1c1c1c !important;
}


/* Mobile Burger Menu Styles */


@media (max-width: 1024px) {
  .nav-links {
    gap: 15px;
  }
}

@media (max-width: 1024px) {
  /* Moved burger-container display logic to the bottom to fix specificity */

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding: 20px;
    padding-bottom: 40px; /* More space before auth buttons */
  }
  
  .nav-links a::after {
    display: none;
  }

  .header-auth {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding-bottom: 20px;
  }

  .header-container.mobile-open {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; /* Fix spacing issue */
    background-color: black; /* User requested black */
    position: fixed; /* Use fixed to escape pill header bounds */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full screen menu */
    padding: 20px;
    z-index: 100000; /* Ensure it covers everything including the loader */
  }

  .header-container.mobile-open .brand-logo {
    margin-bottom: 20px;
  }

  .header-container.mobile-open .brand-logo .dark-logo { display: none !important; }
  .header-container.mobile-open .brand-logo .white-logo { display: block !important; }

  .header-container.mobile-open .header-logo-img {
    height: 80px; /* Make the logo bigger */
  }

  .header-container.mobile-open .nav-links,
  .header-container.mobile-open .header-auth {
    display: flex;
  }
}


/* Footer Hover Color Update */
.footer-links-group a:hover,
.footer-bottom a:hover,
.footer-socials a:hover {
  color: var(--color-primary) !important;
  transition: all 0.3s ease;
}

/* Navigation Active and Hover Colors */
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
  transition: all 0.3s ease;
}

.nav-links a {
  border-bottom: 2px solid transparent;
}


/* About Hero & Stats Banner */
.about-hero-section {
  position: relative;
  width: 100%;
  height: 500px;
  margin-bottom: 80px;
}

.about-hero-bg {
  width: 100%;
  height: 100%;
  background-image: url('about_hero.png');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.about-stats-container {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
  width: 90%;
  max-width: 1000px;
  justify-content: center;
}

.about-stat-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-light-border);
}

.stat-num-small {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.stat-num-large {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  color: #111;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
}

.about-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary-dark);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #111;
  margin-bottom: 24px;
}

.about-text {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .about-stats-container {
    flex-direction: column;
    position: relative;
    bottom: 0;
    transform: none;
    left: 0;
    width: 100%;
    padding: 0 20px;
    margin-top: -60px;
  }
  .about-hero-section {
    height: 400px;
    margin-bottom: 20px;
  }
  .about-stat-card {
    min-width: 100%;
  }
  .about-content-section {
    margin-top: 20px !important;
  }
}


/* Roadmap Styles */
.about-roadmap {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 600px;
  position: relative;
  text-align: left;
}

.about-roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--color-light-border);
}

.about-roadmap li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.about-roadmap li:last-child {
  margin-bottom: 0;
}

.roadmap-marker {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  z-index: 2;
}

.roadmap-content h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.roadmap-content p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Hide about hero image and add dark background for stats */
.about-hero-bg {
  display: none !important;
}

.about-hero-section {
  background-color: #111; /* Dark background to keep stats visible */
}




/* Straight Timeline Styles */
.zigzag-timeline {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 600px;
  position: relative;
  text-align: left;
}

.zigzag-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--color-light-border);
}

.zigzag-item {
  position: relative;
  padding: 0 0 40px 60px;
  width: 100%;
}

.zigzag-item:last-child {
  padding-bottom: 0;
}

.zigzag-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  z-index: 2;
}

/* Ensure no zigzag borders remain */
.zigzag-item {
  border: none !important;
  border-radius: 0 !important;
}

.zigzag-content {
  background: white;
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--color-light-border);
  width: 100%;
  
  /* Initial state for slide-in animation */
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.zigzag-content.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.zigzag-content h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.zigzag-content p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Car Pattern Background */
.about-hero-section {
  background-color: #111;
  background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22rgba%28255%2C255%2C255%2C0.05%29%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%2016H9m10%200h3v-3.15a1%201%200%200%200-.84-.99L16%2011l-2.7-3.6a1%201%200%200%200-.8-.4H8.4c-.35%200-.69.18-.88.48L5%2011.2V16H2v-2m0%200V9.5a.5.5%200%200%201%20.5-.5h2.4a.5.5%200%200%201%20.4.2l1.6%202.1M17%2016a2%202%200%201%201-4%200%202%202%200%200%201%204%200zm-10%200a2%202%200%201%201-4%200%202%202%200%200%201%204%200z%22%3E%3C/path%3E%3C/svg%3E');
  background-size: 40px 40px;
  background-repeat: repeat;
}


/* Mobile Polish - Hero and Footer */
@media (max-width: 768px) {
  /* Hide the horizontal line in tagline */
  .hero-line {
    display: none !important;
  }
  
  /* Add more space between top menu and title */
  .hero-section {
    margin-top: 140px !important;
  }
  
  /* Center align hero content */
  .hero-left {
    align-items: center !important;
    text-align: center !important;
  }
  
  .hero-tagline {
    justify-content: center !important;
    width: 100%;
  }
  
  .hero-headline {
    text-align: center !important;
  }
  
  .hero-btns {
    justify-content: center !important;
    width: 100%;
    margin: 0 auto;
  }
  
  /* Ensure footer categories stay on one line */
  .footer-links-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  .footer-col {
    align-items: flex-start !important; /* keep text left aligned within column */
  }
  
  .footer-col h4 {
    font-size: 15px !important;
    margin-bottom: 15px !important;
  }
  
  .footer-col a {
    font-size: 14px !important;
  }
}


/* Hide hero tagline entirely on mobile and ensure center alignment */
@media (max-width: 768px) {
  .hero-tagline {
    display: none !important;
  }
  .hero-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Corrected Mobile Centering */
@media (max-width: 768px) {
  .hero-subtext {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .hero-actions {
    justify-content: center !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Navigation Dividers */
.nav-divider {
  color: var(--color-text-muted);
  opacity: 0.5;
  user-select: none;
  font-weight: 300;
  pointer-events: none;
}

.floating-header .nav-divider {
  color: rgba(255, 255, 255, 0.4) !important;
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-divider {
    display: none !important;
  }
}


/* PortCar Logo Visibility and Size */
.header-logo-img {
  height: 100px; /* Much larger */
  transition: all 0.3s ease;
  clip-path: inset(4px); /* Crops out edge artifacts from image generation */
}

/* Floating header logic */
.floating-header .brand-logo .dark-logo { display: none !important; }
.floating-header .brand-logo .white-logo { display: block !important; }

/* Adjust mobile sizing slightly */
@media (max-width: 768px) {
  .header-logo-img {
    height: 44px;
  }
}


/* Make select match input box */
.input-wrapper select {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text-dark);
  font-weight: 550;
  background-color: #ffffff;
  transition: var(--transition-smooth);
  appearance: none;
  user-select: none;
  cursor: pointer;
}
.input-wrapper select:focus {
  border-color: #3b82f6;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Make entire date box clickable and hide black browser icon */
.input-wrapper input[type="datetime-local"] {
  position: relative;
  cursor: pointer;
}
.input-wrapper input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}


/* PayPal Button Style */
.btn-paypal {
  background-color: #ffc439 !important;
  color: #003087 !important;
  border-color: #ffc439 !important;
  font-weight: 700 !important;
}
.btn-paypal:hover {
  background-color: #f4bb33 !important;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
  padding: 20px 5%;
  margin-top: 160px; /* More space from the selector */
  background: transparent; /* Removed background */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background: white;
  padding: 50px 30px 30px 30px;
  border-radius: 16px;
  border: 1px solid #e2e8f0; /* Subtle border instead of shadow */
  box-shadow: none; /* Removed shadow to fix clipping artifacts */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: none; border-color: #cbd5e1;
}

/* Big quote mark (optional, maybe remove if it clutters) */
.testimonial-card::before {
  display: none; /* Removed the quote mark to match your photo */
}

.testimonial-text {
  font-size: 14px;
  color: #64748b; /* Lighter grey text */
  line-height: 1.6;
  margin-bottom: 25px;
  margin-top: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.author-avatar {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.author-info {
  margin-top: 10px;
}

.author-info h4 {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}

.author-info span {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-stars {
  color: #f59e0b; /* Gold stars */
  margin-top: auto; /* Push to bottom */
  font-size: 12px;
  letter-spacing: 2px;
}

/* Testimonials Carousel Additions */
.carousel-viewport {
  width: 1130px;
  overflow: hidden;
  padding: 60px 0 40px 0;
}

.testimonials-carousel {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  width: max-content;
  transition: transform 0.5s ease-in-out;
}



.carousel-viewport {
  width: 1130px;
  overflow: hidden;
  padding: 60px 0 40px 0;
}

.testimonials-carousel {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  width: max-content;
  transition: transform 0.5s ease-in-out;
}

.testimonials-carousel .testimonial-card {
  width: 350px;
  flex: 0 0 350px; /* Force exact same width for all cards */
  scroll-snap-align: center;
  height: auto;
}

/* Carousel JS wrapper */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1250px; /* Limit width of wrapper */
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  color: #0f172a;
  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -20px;
}

.carousel-btn.next {
  right: -20px;
}

/* Hide scrollbar completely to enforce button usage */

.carousel-viewport {
  width: 1130px;
  overflow: hidden;
  padding: 60px 0 40px 0;
}

.testimonials-carousel {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  width: max-content;
  transition: transform 0.5s ease-in-out;
}

/* CUSTOM ANIMATED BURGER MENU */
.burger-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.burger-container {
  display: none; /* Hidden on desktop */
  position: relative;
  cursor: pointer;
  font-size: 20px;
  user-select: none;
  z-index: 1001;
}

@media (max-width: 1024px) {
  .burger-container {
    display: block;
  }
  .header-container.mobile-open .burger-container {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}

.burger-checkmark {
  position: relative;
  top: 0;
  left: 0;
  height: 1.3em;
  width: 1.3em;
}

.burger-checkmark span {
  width: 32px;
  height: 2px;
  background-color: white; /* Make the menu white as requested */
  position: absolute;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

.burger-checkmark span:nth-child(1) { top: 10%; }
.burger-checkmark span:nth-child(2) { top: 50%; }
.burger-checkmark span:nth-child(3) { top: 90%; }

.burger-container input:checked + .burger-checkmark span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -ms-transform: translateY(-50%) rotate(45deg);
  -o-transform: translateY(-50%) rotate(45deg);
}

.burger-container input:checked + .burger-checkmark span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  -webkit-transform: translateY(-50%) rotate(-45deg);
  -moz-transform: translateY(-50%) rotate(-45deg);
  -ms-transform: translateY(-50%) rotate(-45deg);
  -o-transform: translateY(-50%) rotate(-45deg);
}

.burger-container input:checked + .burger-checkmark span:nth-child(3) {
  transform: translateX(-50px);
  -webkit-transform: translateX(-50px);
  -moz-transform: translateX(-50px);
  -ms-transform: translateX(-50px);
  -o-transform: translateX(-50px);
  opacity: 0;
}


/* Site Loader */
.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner img {
  height: 120px;
  mix-blend-mode: multiply;
  clip-path: inset(4px);
  animation: spinLoader 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg) scale(0.9); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(0.9); }
}


/* User Dashboard Layout */
.user-dashboard-bg {
  background-color: #f8fafc;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}

.user-dashboard-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* Sidebar */
.dashboard-sidebar {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 30px 20px;
  height: fit-content;
}

.sidebar-user-info {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.user-avatar {
  width: 70px;
  height: 70px;
  background: var(--color-primary-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 15px auto;
}

.sidebar-user-info h3 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 5px;
}

.user-status {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16,185,129,0.4);
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-nav-item {
  padding: 12px 16px;
  border-radius: 10px;
  color: #475569;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  text-decoration: none;
}

.dash-nav-item i {
  width: 20px;
  text-align: center;
  font-size: 18px;
}

.dash-nav-item:hover, .dash-nav-item.active {
  background: #f1f5f9;
  color: var(--color-primary-dark);
}

.dash-nav-item.active {
  font-weight: 600;
  border-left: 4px solid var(--color-primary);
}

/* Dashboard Content */
.dashboard-content-area {
  background: transparent;
}

.dash-tab-content {
  animation: fadeIn 0.4s ease;
}

.dash-header {
  margin-bottom: 30px;
}

.dash-header h2 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 8px;
}

.dash-header p {
  color: #64748b;
}

/* Stats Grid */
.dash-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.dash-stat-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: #f1f5f9;
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.stat-info h4 {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 4px;
}

.stat-info p {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

/* Promo Card */
.dash-promo-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.dash-promo-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.promo-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.promo-content p {
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.dash-settings-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  text-align: center;
}

@media (max-width: 900px) {
  .user-dashboard-wrapper {
    grid-template-columns: 1fr;
  }
  .promo-content { max-width: 100%; }
}

@media (max-width: 600px) {
  .dash-stats-grid { grid-template-columns: 1fr; }
}

/* How it works */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step-card {
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 28px;
  color: #0f172a;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0f172a;
}

.step-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 15px;
}
