/* 
 * Sam Rental - Premium Design System v2.0
 * Minimalist, Modern, and Spacious
 */

:root {
  /* Color Palette - Royal Blue & Slate */
  --primary-color: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.1);
  
  --secondary-color: #059669;
  
  --dark-color: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --light-bg: #f8fafc;
  --white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.15);
  --shadow-premium: 0 25px 50px -12px rgba(37, 99, 235, 0.12);
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Spacing & Sizing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-600);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark-color);
  font-weight: 700;
}

/* --- Layout Components --- */

/* Modern Transparent Navbar */
.site-navbar {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 24px 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

body .sticky-wrapper.is-sticky .site-navbar {
  position: fixed !important;
  padding: 12px 0 !important;
  background: #0f172a !important; /* slate-900 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

body .sticky-wrapper.is-sticky .site-navbar .site-menu > li > a {
  color: rgba(255,255,255,0.8) !important;
}

body .sticky-wrapper.is-sticky .site-navbar .site-menu > li.active > a {
  color: var(--primary-light) !important;
}

body .sticky-wrapper.is-sticky .site-navbar .logo-text-nav {
  color: var(--white) !important;
}

.nav-logo {
  height: 45px;
  width: auto;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.logo-text-nav {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #ffffff;
  transition: all 0.3s ease;
  white-space: nowrap;
}

body .sticky-wrapper.is-sticky .site-navbar .logo-text-nav {
  color: #ffffff !important;
  font-size: 1.4rem;
}

body .sticky-wrapper.is-sticky .site-navbar .nav-logo {
  height: 38px;
}

/* Remove homepage-specific rules as they are now global */

.site-navbar.sticky .nav-link:hover {
  color: var(--primary-color) !important;
}

body .site-wrap .sticky-wrapper .site-navbar .site-menu > li > a,
body .site-wrap .site-navbar .site-navigation .site-menu > li > a,
body .site-navbar .site-menu > li > a {
  color: white !important;
}

/* Sticky State Link Colors - Must be white for dark background */
body .site-navbar.sticky .site-menu > li > a,
body .sticky-wrapper.is-sticky .site-navbar .site-menu > li > a {
  color: rgba(255, 255, 255, 0.8) !important;
}

body .site-navbar.sticky .site-menu > li.active > a,
body .sticky-wrapper.is-sticky .site-navbar .site-menu > li.active > a {
  color: var(--primary-light) !important;
}

body .site-wrap .site-navbar .site-menu > li.active > a {
  color: var(--primary-color) !important;
}

body .site-wrap .site-navbar .site-menu > li > a:hover {
  color: var(--primary-color) !important;
}

.site-menu > li > a {
  font-weight: 700;
  font-size: 0.78rem;
  padding: 10px 8px !important;
  margin: 0 !important;
  transition: var(--transition-fast);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Base link color at top (white for hero compatibility) */
.site-navbar:not(.sticky) .site-menu > li > a {
  color: #ffffff !important;
  font-weight: 700;
}

.site-navbar:not(.sticky) .site-menu > li.active > a,
.site-navbar:not(.sticky) .site-menu > li > a:hover {
  color: #06b6d4 !important; /* cyan */
}

.site-navbar:not(.sticky) .logo-text-nav {
  color: #ffffff !important;
}

.site-menu > li > a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #06b6d4; /* cyan */
  transition: all 0.3s ease;
}

.site-menu > li.active > a:after,
.site-menu > li > a:hover:after {
  width: 100%;
}

/* --- Hero Section - Premium Standardized --- */
.premium-hero {
  padding: 180px 0 120px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.premium-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.5rem);
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: white;
}

.premium-hero p {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.home-page .ftco-cover-1 {
  height: 100vh !important;
  min-height: 850px;
  display: flex;
  align-items: center;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ftco-cover-1 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0;
  min-height: 450px;
}

.home-page .ftco-cover-1 {
  height: 100vh !important;
  min-height: 850px;
  padding: 0;
}

.ftco-cover-1.overlay:before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

#titleSHow {
  position: relative;
  z-index: 2;
  text-align: center !important; 
}

#titleSHow h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 25px;
}

#titleSHow p {
  font-size: 1.25rem !important;
  color: rgba(255,255,255,0.8) !important;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto !important;
  font-weight: 400;
}

/* Dynamic Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.trust-item {
  background: rgba(255,255,255,0.08);
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-base);
}

.trust-item i { 
  color: var(--primary-light); 
}

.trust-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

/* --- Immersive Glassmorphism Booking Engine --- */
.glass-card {
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 30px !important;
  padding: 40px !important;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6) !important;
}

.custom-card.glass-card .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.custom-card.glass-card .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.05);
}

.custom-card.glass-card .btn-group-toggle {
  background: rgba(0,0,0,0.15);
  width: 100%;
}

.custom-card.glass-card .btn-group-toggle .btn {
  color: rgba(255,255,255,0.7);
}

.custom-card.glass-card .btn-group-toggle .btn.active {
  background: white !important;
  color: var(--primary-color) !important;
}

.custom-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-100);
}

/* Segmented Toggle Control */
.btn-group-toggle {
  background: var(--slate-100);
  padding: 6px;
  border-radius: 16px;
  display: inline-flex;
  gap: 6px;
  border: none;
}

.btn-group-toggle .btn {
  border: none !important;
  padding: 12px 30px;
  border-radius: 12px !important;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-500);
  background: transparent;
  transition: var(--transition-base);
}

.custom-card.glass-card .btn.active {
  background: white !important;
  color: var(--primary-color) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.custom-card.glass-card select option {
  background: var(--dark-color);
  color: white;
}

.custom-card.glass-card .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Input Styling */
.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 10px;
  display: block;
}

.form-control {
  border: 2px solid var(--slate-100);
  border-radius: 14px;
  padding: 14px 20px;
  background: var(--slate-100);
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition-base);
}

.form-control:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 5px var(--primary-glow);
}

/* --- Fleet Carousel --- */
.popular_veh {
  padding: 100px 0;
  background: var(--light-bg);
}

.item-1 .card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: var(--transition-slow);
}

.item-1 .card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-light);
}

.modern-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

/* --- Features - Creative Blocks --- */
.feature-box {
  background: var(--white);
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid var(--slate-100);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-glow);
  color: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 30px;
  transition: var(--transition-base);
}

.feature-box:hover .feature-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
}


/* --- Mobile Menu Fixes --- */
@media (max-width: 991px) {
  #titleSHow h1 { font-size: 3rem; letter-spacing: -2px; }
  .ftco-cover-1 { height: 80vh !important; min-height: 600px; }
  .custom-card { padding: 30px 20px; }
}

/* --- Premium Footer --- */
.site-footer {
  background: #020617 !important; /* slate-950 */
  color: #94a3b8 !important; /* slate-400 */
  padding: 100px 0 50px !important;
  border-top: 1px solid #1e293b;
}

.site-footer h2.footer-heading {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
}

.site-footer p {
  line-height: 1.8;
  font-size: 0.95rem;
}

.site-footer ul.list-unstyled li a {
  color: #94a3b8 !important;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 5px 0;
  text-decoration: none !important;
}

.site-footer ul.list-unstyled li a:hover {
  color: #06b6d4 !important;
  padding-left: 5px;
}

.footer-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: -1px;
}

.social-icon-btn {
  width: 45px;
  height: 45px;
  background: #0f172a;
  color: #94a3b8 !important;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  font-size: 1.2rem;
}

.social-icon-btn:hover {
  background: #06b6d4;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

.copyright-text {
  color: #64748b;
  font-size: 0.9rem;
}

.copyright-text a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 991px) {
  /* Mobile 2-Column Grid for How It Works (All items visible) */
  body .how-it-works { 
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 15px !important;
    padding-bottom: 20px !important;
  }
  body .how-it-works::before { display: none; }
  
  /* Scale down cards to fit 2 in a row on mobile */
  body .how-it-works .step {
    padding: 30px 10px 15px !important;
    height: 100%; /* Ensure equal height */
  }
  body .how-it-works .step .number {
    width: 40px;
    height: 40px;
    font-size: 15px;
    margin: -50px auto 10px;
  }
  body .how-it-works .step .step-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  body .how-it-works .step .caption {
    font-size: 0.9rem;
  }
  body .how-it-works .step p {
    font-size: 0.75rem;
  }
}

/* Animations */
[data-aos] {
  transition-duration: 800ms !important;
}
