/* ============================================
   GLOBAL CSS - City Ride Taxi Service
   ============================================ */

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

:root {
  --navy:    #003366;
  --gold:    #ffd700;
  --gold-dk: #e6c200;
  --white:   #ffffff;
  --light:   #f5f5dc;
  --gray:    #d3d3d3;
  --dark:    #0a1628;
  --body-bg: #f8f8f4;
  --text:    #1a1a2e;
  --text-muted: #6b7280;
  --card-shadow: 0 4px 24px rgba(0,51,102,.10);
  --card-shadow-hover: 0 12px 40px rgba(0,51,102,.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: .28s cubic-bezier(.4,0,.2,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --header-h: 78px;
  --section-py: 90px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

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

ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 600;
  font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dk); border-color: var(--gold-dk);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,215,0,.4);
}
.btn-navy {
  background: var(--navy); color: var(--gold); border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--dark); border-color: var(--dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy); color: var(--gold);
}
.btn-outline-gold {
  background: transparent; color: var(--gold); border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold); color: var(--navy);
}
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ---- SECTION STYLES ---- */
.section { padding: var(--section-py) 0; }
.section-gray { background: #f0efea; }
.section-navy { background: var(--navy); color: var(--white); }
.section-dark { background: var(--dark); color: var(--white); }
.section-cream { background: var(--light); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block; background: rgba(255,215,0,.15);
  color: var(--navy); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
  border-left: 3px solid var(--gold); margin-bottom: 14px;
}
.section-navy .section-header .label,
.section-dark .section-header .label {
  background: rgba(255,215,0,.2); color: var(--gold);
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 14px auto 0; font-size: 1.05rem; }
.section-navy .section-header p,
.section-dark .section-header p { color: rgba(255,255,255,.75); }

/* ---- CONTAINER ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-fluid { width: 100%; padding: 0 24px; }

/* ---- CARDS ---- */
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-5px);
}

/* ---- BADGE ---- */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-navy { background: var(--navy); color: var(--gold); }
.badge-green { background: #22c55e; color: #fff; }
.badge-red { background: #ef4444; color: #fff; }

/* ---- GRID ---- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- FORM CONTROLS ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; font-size: .87rem;
  color: var(--navy); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,215,0,.15); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23003366' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea.form-control { min-height: 120px; resize: vertical; }

/* ---- TOAST NOTIFICATION ---- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 280px; max-width: 380px; padding: 14px 20px;
  border-radius: var(--radius-sm); font-weight: 500; font-size: .9rem;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  animation: toastIn .3s ease forwards;
}
.toast-success { background: #fff; border-left: 4px solid #22c55e; color: var(--text); }
.toast-error   { background: #fff; border-left: 4px solid #ef4444; color: var(--text); }
@keyframes toastIn { from { opacity:0; transform: translateX(30px); } to { opacity:1; transform: translateX(0); } }

/* ---- BREADCRUMB ---- */
.breadcrumb-bar {
  background: var(--navy); padding: 56px 0 36px;
  text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.breadcrumb-bar::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/pattern-bg.svg') repeat;
  opacity: .06;
}
.breadcrumb-bar h1 { color: var(--white); font-size: clamp(1.8rem,4vw,2.6rem); }
.breadcrumb-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: .88rem; color: rgba(255,255,255,.7); }
.breadcrumb-nav a { color: var(--gold); }
.breadcrumb-nav span { color: rgba(255,255,255,.4); }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 30px 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem; transition: all var(--transition);
  border: 1.5px solid var(--gray); color: var(--text);
}
.pagination a:hover, .pagination .current {
  background: var(--navy); color: var(--gold); border-color: var(--navy);
}

/* ---- SCROLL TO TOP ---- */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,51,102,.3);
  opacity: 0; pointer-events: none; transition: all var(--transition);
  font-size: 1rem;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 84px; right: 28px; z-index: 800;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 40px rgba(37,211,102,.7); }
}

/* ---- CALL FLOAT ---- */
.call-float {
  position: fixed; bottom: 148px; right: 28px; z-index: 800;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: 0 4px 20px rgba(255,215,0,.4);
  transition: transform var(--transition);
}
.call-float:hover { transform: scale(1.12); }

/* ---- DIVIDER WAVE ---- */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-auto { margin-top: auto; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.mb-0 { margin-bottom: 0 !important; }
.hidden { display: none !important; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 36px; }
  .container { padding: 0 16px; }
}
