/* 
  Global Stylesheet for Premium Taxi Services 
  Defines the variables, global resets, typography, and reusable components.
  Theme: Modern Premium White & Blue.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-dark: #FFFFFF;           /* Clean white background */
  --bg-deep: #F8FAFC;           /* Off-white light slate */
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-input: #FFFFFF;
  --primary: #1E40AF;           /* Royal Blue */
  --primary-hover: #1D4ED8;     /* Brighter Blue */
  --primary-glow: rgba(30, 64, 175, 0.15);
  --accent: #3B82F6;            /* Sky Blue */
  --text-main: #0F172A;         /* Deep Navy/Charcoal */
  --text-muted: #64748B;        /* Slate gray */
  --text-dark: #FFFFFF;         /* White text on dark buttons/elements */
  --border-color: rgba(30, 64, 175, 0.12);
  --border-hover: rgba(30, 64, 175, 0.3);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Shadows and Borders */
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  --glow-shadow: 0 0 20px rgba(30, 64, 175, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Font Family */
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.glass-hover:hover {
  border-color: var(--border-hover);
  box-shadow: 0 15px 30px -5px rgba(30, 64, 175, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Common Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--accent));
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
  background: var(--bg-deep);
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: var(--glow-shadow);
}

/* Section Header */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title h2 span {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.logo span {
  color: var(--primary);
}

/* Wraps nav-menu + nav-buttons so both can be toggled together on mobile */
.nav-mobile-panel {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger menu toggle - hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

/* Mirrors .floating-actions but pinned to the left side, for the direct email button */
.floating-actions-left {
  right: auto;
  left: 30px;
}

.btn-email {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
  transition: all 0.3s ease;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-phone {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
}

/* Footer styling - Deep Navy for elegant contrast */
footer {
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 20px 30px;
  color: #94A3B8;
}

footer .logo {
  color: #FFFFFF;
}

footer .logo span {
  color: #3B82F6;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-col p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-info i {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - TABLET (<=992px)
   ============================================ */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (<=768px)
   ============================================ */
@media (max-width: 768px) {
  /* Prevent iOS Safari from zooming in on focused form inputs
     (it does this automatically for any input with font-size < 16px) */
  input, select, textarea {
    font-size: 16px !important;
  }

  .nav-toggle {
    display: block;
  }

  /* Mobile dropdown panel - becomes a full-width sheet below the header */
  .nav-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    pointer-events: none;
  }

  .nav-mobile-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 0;
  }

  .nav-link {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #F1F5F9;
  }

  .nav-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px 20px;
    gap: 10px;
  }

  .nav-buttons .btn {
    width: 100%;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1rem;
    padding: 0 10px;
  }

  footer {
    padding: 60px 20px 25px;
  }

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

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

/* ============================================
   RESPONSIVE - SMALL PHONES (<=480px)
   ============================================ */
/* FAQ Section Styles */
.faq-section {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  padding: 22px 26px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.06);
}

.faq-item h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h3 i {
  color: var(--primary);
  font-size: 1rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }

  .site-logo {
    height: 34px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.9rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
  }

  .floating-actions {
    bottom: 18px;
    right: 15px;
    gap: 12px;
  }

  .floating-actions-left {
    right: auto;
    left: 15px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}
