/* ==========================================================================
   EzyGo - Travel Discovery, Comparison & Affiliate Platform
   Base Stylesheet: Variables, Typography, Layout, Header, Hero, Footer
   Domain: https://ezygo.co.in | Brand: Dream Enterprises
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

:root {
  /* Brand Palette */
  --ezygo-primary: #004AAD;
  --ezygo-primary-hover: #003680;
  --ezygo-primary-light: #EBF3FC;
  --ezygo-primary-subtle: #F0F6FE;
  
  --ezygo-accent: #00BAF2;
  --ezygo-accent-gold: #FFB703;
  --ezygo-accent-green: #10B981;
  --ezygo-accent-red: #EF4444;
  --ezygo-accent-orange: #F97316;
  --ezygo-accent-purple: #8B5CF6;
  
  /* Category Colors */
  --cat-flights: #004AAD;
  --cat-hotels: #F97316;
  --cat-trains: #8B5CF6;
  --cat-bus: #10B981;
  --cat-cabs: #F59E0B;
  --cat-cars: #EF4444;
  --cat-holidays: #06B6D4;
  --cat-visa: #6366F1;

  /* Surfaces & Backgrounds */
  --ezygo-bg: #F8FAFC;
  --ezygo-card-bg: #FFFFFF;
  --ezygo-nav-dark: #051329;
  --ezygo-nav-border: #132746;
  --ezygo-footer-dark: #040D1D;
  --ezygo-footer-text: #94A3B8;
  --ezygo-footer-heading: #FFFFFF;
  
  /* Text */
  --ezygo-text: #0F172A;
  --ezygo-text-muted: #64748B;
  --ezygo-text-light: #94A3B8;
  --ezygo-text-inverse: #FFFFFF;
  
  /* Borders & Shadows */
  --ezygo-border: #E2E8F0;
  --ezygo-border-light: #F1F5F9;
  --ezygo-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ezygo-shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04);
  --ezygo-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --ezygo-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.10);
  --ezygo-shadow-floating: 0 20px 40px -10px rgba(0, 74, 173, 0.20);
  
  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  
  /* Layout Dimensions */
  --container-max: 1240px;
  --header-height: 68px;
  --mobile-bottom-nav-height: 64px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Baseline
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--ezygo-text);
  background-color: var(--ezygo-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--ezygo-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--ezygo-accent);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 56px;
  padding-bottom: 56px;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ezygo-text);
  letter-spacing: -0.5px;
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ezygo-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.section-link:hover {
  color: var(--ezygo-primary-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Desktop Navigation
   ========================================================================== */
.site-header {
  background-color: var(--ezygo-nav-dark);
  color: var(--ezygo-text-inverse);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid var(--ezygo-nav-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-badge-pill {
  background: var(--ezygo-accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.currency-selector:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.btn-help-link:hover {
  color: #FFFFFF;
}

.btn-user-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--ezygo-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.btn-user-action:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

/* Hamburger toggle for mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

/* Mobile Slide-in Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: var(--ezygo-nav-dark);
  color: #FFFFFF;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ezygo-nav-border);
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

.mobile-drawer-links {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: #E2E8F0;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-image: url('../images/hero/hero-hd.jpg'), url('../images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 70px;
  color: #FFFFFF;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 19, 41, 0.72) 0%, rgba(5, 19, 41, 0.40) 60%, rgba(5, 19, 41, 0.75) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.hero-title-area {
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ezygo-accent);
  margin-bottom: 6px;
}

.hero-main-heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #E2E8F0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-script-tagline {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  text-align: right;
  opacity: 0.95;
  transform: rotate(-3deg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

/* ==========================================================================
   Trust / Benefits Strip
   ========================================================================== */
.benefits-section {
  padding: 30px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--ezygo-border-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-2px);
}

.benefit-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ezygo-text);
  line-height: 1.2;
}

.benefit-text-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--ezygo-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--ezygo-footer-dark);
  color: var(--ezygo-footer-text);
  padding-top: 60px;
  padding-bottom: 24px;
  margin-top: auto;
  width: 100%;
  border-top: 1px solid #132746;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-brand {
  padding-right: 20px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0D2140;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--ezygo-primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--ezygo-footer-heading);
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 14px;
  color: #94A3B8;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid #132746;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-owner-text {
  color: #94A3B8;
  font-weight: 500;
}

.footer-credit-text {
  color: #94A3B8;
}

.footer-credit-link {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit-link:hover {
  color: #7DD3FC;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: var(--mobile-bottom-nav-height);
  background: #FFFFFF;
  border-top: 1px solid var(--ezygo-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ezygo-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--ezygo-primary);
}

.mobile-nav-item.active svg {
  transform: scale(1.1);
}
