/* CabConnect Base Styles */

/* Color Variables for Ride-Hailing Theme */
:root {
  --primary-color: #fd7e14; /* Orange theme color */
  --primary-dark: #e36c0a;
  --primary-light: #ff9142;
  --secondary-color: #1976D2; /* Blue accent */
  --accent-color: #28a745; /* Green for success states */
  --text-dark: #1A1A1A;
  --text-light: #666666;
  --text-muted: #999999;
  --background-light: #F8F9FA;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-color: rgba(253, 126, 20, 0.1);
  --border-color: #E5E5E5;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.w-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.w-layout-blockcontainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

.remove-top-padding {
  padding-top: 50px;
}

.remove-bottom-padding {
  padding-bottom: 50px;
}

/* Typography */
.display-heading-1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.heading-2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.heading-3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.heading-4 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.heading-5 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.heading-6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.body-text-18 {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
}

.body-text-16 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
}

.body-text-14 {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-light);
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: block;
}

/* Utility Classes */
.max-width-500 {
  max-width: 500px;
}

.width-530px {
  max-width: 530px;
}

.width-450px {
  max-width: 450px;
}

.max-width {
  max-width: 600px;
}

.text-neutral-01 {
  color: var(--white);
}

.medium {
  font-weight: 500;
}

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

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

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

/* Lists */
.w-list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-color);
  text-decoration: none;
  color: var(--white);
}

.button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.button-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button-text {
  margin: 0;
  font-weight: 600;
}

.secondary-button-text {
  margin: 0;
  font-weight: 600;
}

.button-icon-wrapper {
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
}

.button-right-icon {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.button:hover .button-right-icon {
  transform: translateX(4px);
}

/* Navigation */
.w-nav {
  position: relative;
  z-index: 1000;
}

.w-nav-brand {
  text-decoration: none;
}

.w-nav-menu {
  display: flex;
  align-items: center;
}

.w-nav-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.w-inline-block {
  display: inline-block;
  text-decoration: none;
}

.w-tab-link {
  cursor: pointer;
  text-decoration: none;
}

.w-tab-pane {
  display: none;
}

.w-tab-pane.w--tab-active {
  display: block;
}

.w-slider {
  position: relative;
  overflow: hidden;
}

.w-slider-mask {
  position: relative;
  overflow: hidden;
}

.w-slide {
  width: 100%;
  flex-shrink: 0;
}

.w-slider-arrow-left,
.w-slider-arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.w-slider-arrow-left {
  left: 20px;
}

.w-slider-arrow-right {
  right: 20px;
}

.w-slider-arrow-left:hover,
.w-slider-arrow-right:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.w-slider-arrow-left:hover img,
.w-slider-arrow-right:hover img {
  filter: brightness(0) invert(1);
}

/* Forms */
.w-form {
  margin: 0;
}

.w-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.3s ease;
}

.w-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.1);
}

.w-button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.w-button:hover {
  background: var(--primary-dark);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 991px) {
  .display-heading-1 {
    font-size: 3rem;
  }
  
  .heading-2 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .container,
  .w-container,
  .w-layout-blockcontainer {
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  .display-heading-1 {
    font-size: 2.5rem;
  }
  
  .heading-2 {
    font-size: 2rem;
  }
  
  .heading-3 {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .w-nav-button {
    display: block;
  }
  
  .w-nav-menu {
    display: none;
  }
  
  .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .display-heading-1 {
    font-size: 2rem;
  }
  
  .heading-2 {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
}

/* Utility Classes for Layout */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.d-flex {
  display: flex;
}

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

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

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

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Focus States */
.focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navigation,
  .footer,
  .button {
    display: none !important;
  }
}