/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --success-500: #22c55e;
  --success-600: #16a34a;
  --warning-500: #f59e0b;
  --error-500: #ef4444;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border: 2px solid var(--primary-600);
}

.btn-outline:hover {
  background: var(--primary-600);
  color: white;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.btn-email {
  background: var(--primary-600);
  color: white;
}

.btn-email:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
}

.btn-phone {
  background: var(--gray-800);
  color: white;
}

.btn-phone:hover {
  background: var(--gray-900);
  transform: translateY(-2px);
}

/* ============================
   Navigation
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1); /* White logo on dark background */
  transition: var(--transition);
}

.navbar.scrolled .logo-img {
  filter: none; /* Original colors when navbar is scrolled */
}

.logo-img-light {
  filter: brightness(0) invert(1); /* White logo for footer */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a:hover {
  color: var(--primary-400);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary-600);
}

.nav-links .btn {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.nav-links .btn:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--gray-800);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-left: 16px;
}

.lang-toggle {
  display: none;
}

.lang-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px 6px;
  line-height: 1;
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .lang-btn {
  background: var(--gray-100);
}

.navbar.scrolled .lang-btn:hover {
  background: var(--gray-200);
}

.navbar.scrolled .lang-btn.active {
  border-color: var(--primary-500);
  background: var(--primary-50);
}

/* ============================
   Hero Section
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%);
  background-image: url('https://images.unsplash.com/photo-1485291571150-772bcfc10da5?w=1920&h=1080&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-400), var(--primary-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-cta .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-cta .btn-outline:hover {
  background: white;
  color: var(--primary-700);
  border-color: white;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================
   Section Common Styles
   ============================ */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ============================
   Services Section
   ============================ */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary-600);
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ============================
   Fleet Section
   ============================ */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.fleet-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.fleet-image {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.fleet-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--primary-600);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
}

.fleet-info {
  padding: 24px;
}

.fleet-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.fleet-info > p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.fleet-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.fleet-features span {
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
  border-radius: 50px;
}

.fleet-price {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.fleet-price .price {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.fleet-price strong {
  color: var(--primary-600);
  font-size: 1.25rem;
}

.fleet-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================
   Why Us Section
   ============================ */
.why-us {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%);
}

.why-us .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-300);
}

.why-us .section-title {
  color: white;
}

.why-us .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-text {
  color: white;
}

.why-us-text p {
  color: rgba(255, 255, 255, 0.8);
}

.why-us-features {
  margin-top: 40px;
}

.feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-500);
  color: white;
  border-radius: 50%;
}

.feature-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.why-us-image {
  position: relative;
}

.why-us-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

/* ============================
   Reservation Section
   ============================ */
.reservation {
  background: var(--gray-50);
}

.reservation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.reservation-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.reservation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
}

.whatsapp-card .reservation-icon {
  background: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp);
}

.email-card .reservation-icon {
  background: var(--primary-50);
  color: var(--primary-600);
}

.phone-card .reservation-icon {
  background: var(--gray-100);
  color: var(--gray-700);
}

.reservation-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.reservation-card p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ============================
   Contact Section
   ============================ */
.contact {
  background: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
  text-align: left;
}

.contact-info > p {
  margin-bottom: 40px;
  color: var(--gray-600);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 12px;
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: var(--gray-50);
  padding: 40px;
  border-radius: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  text-align: center;
  padding: 40px;
}

.form-success svg {
  color: var(--success-500);
  margin-bottom: 24px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.hidden {
  display: none;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 80px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  height: 36px;
}

.footer-brand > p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--primary-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ============================
   WhatsApp Floating Button
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 1024px) {
  .why-us-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-image {
    order: -1;
  }

  .why-us-image img {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .lang-switcher {
    margin-left: auto;
    margin-right: 12px;
  }

  .lang-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 4px 6px;
    line-height: 1;
  }

  .navbar.scrolled .lang-toggle {
    background: var(--gray-100);
  }

  .lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    flex-direction: column;
    gap: 4px;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
  }

  .lang-dropdown.open {
    display: flex;
  }

  .lang-dropdown .lang-btn {
    background: var(--gray-50);
    border-color: transparent;
  }

  .lang-dropdown .lang-btn:hover {
    background: var(--gray-200);
  }

  .lang-dropdown .lang-btn.active {
    border-color: var(--primary-500);
    background: var(--primary-50);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px;
    gap: 24px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
    transform: translateX(100%);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    color: var(--gray-700) !important;
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat {
    flex: 1;
    min-width: 100px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  section {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .reservation-options {
    grid-template-columns: 1fr;
  }
}
