/* ==========================================================================
   Monsur LLC — Shared Styles
   ========================================================================== */

:root {
  --black: #0d0d0d;
  --near-black: #161616;
  --charcoal: #232323;
  --gold: #c9a227;
  --gold-light: #e0c05c;
  --white: #ffffff;
  --off-white: #f4f2ec;
  --gray: #8a8a8a;
  --max-width: 1160px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
}

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

h1, h2, h3,
.logo-text,
.pricing-card .price,
.stat h3,
.vehicle-thumb {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.25);
}

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

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

.logo-tagline {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gray);
  font-weight: 400;
  margin-top: 2px;
}

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

.nav-links a {
  position: relative;
  color: var(--off-white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.btn::after {
  display: none;
}

.logo {
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo-mark {
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.06);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0.82)),
    repeating-linear-gradient(135deg, #1a1a1a 0px, #1a1a1a 2px, #141414 2px, #141414 40px);
  color: var(--white);
  padding: 100px 24px 90px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22) 0%, rgba(201, 162, 39, 0) 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Home page: slideshow of chauffeurs opening the door (photos: Pavel Danilyuk, Pexels). */
.hero.hero-photo {
  background: #0d0d0d;
  padding: 140px 24px 130px;
}
.hero.hero-photo::before { display: none; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13, 13, 13, 0.62), rgba(13, 13, 13, 0.86));
}
.hero-slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.hero-slide-1 { background-image: url("../assets/hero-chauffeur.jpg"); background-position: center 55%; }
.hero-slide-2 { background-image: url("../assets/hero-chauffeur-2.jpg"); background-position: center 60%; }
.hero-slide-3 { background-image: url("../assets/hero-dtw.jpg"); background-position: 40% center; }
.hero-slide-4 { background-image: url("../assets/hero-asian-woman.jpg"); background-position: center 40%; }
.hero-slide-5 { background-image: url("../assets/hero-asian-man.jpg"); background-position: center 40%; }
/* Five slides, about 7 seconds each, crossfading (35 s loop). */
.hero-slide { opacity: 0; animation: heroSlide 35s ease-in-out infinite both; }
.hero-slide-2 { animation-delay: 7s; }
.hero-slide-3 { animation-delay: 14s; }
.hero-slide-4 { animation-delay: 21s; }
.hero-slide-5 { animation-delay: 28s; }
@keyframes heroSlide {
  0% { opacity: 0; }
  3%, 20% { opacity: 1; }
  23%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide-1 { opacity: 1; }
}
@media (max-width: 900px) {
  .hero.hero-photo { padding: 110px 20px 100px; }
  .hero-slide-1 { background-image: url("../assets/hero-chauffeur-900.jpg"); background-position: 44% center; }
  .hero-slide-2 { background-image: url("../assets/hero-chauffeur-2-900.jpg"); background-position: 70% center; }
  .hero-slide-3 { background-image: url("../assets/hero-dtw-900.jpg"); background-position: 32% center; }
  .hero-slide-4 { background-image: url("../assets/hero-asian-woman-900.jpg"); background-position: 32% center; }
  .hero-slide-5 { background-image: url("../assets/hero-asian-man-900.jpg"); background-position: 34% center; }
}

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

.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 18px 0 16px;
  font-weight: 700;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards 0.12s;
}

.hero p {
  font-size: 1.05rem;
  color: var(--off-white);
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards 0.24s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards 0.36s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  padding: 70px 24px;
}

.page-hero h1 {
  font-size: 2.1rem;
  margin-top: 10px;
}

/* -------------------- Sections -------------------- */
section {
  padding: 80px 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--black);
  color: var(--off-white);
}

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

.section-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
}

.section-header h2 {
  font-size: 2rem;
  margin: 14px 0 12px;
}

.section-header p {
  color: var(--gray);
}

.section-dark .section-header p {
  color: rgba(244, 242, 236, 0.7);
}

/* -------------------- Grid Cards -------------------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.card h3 {
  font-size: 1.15rem;
  margin: 10px 0 10px;
}

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

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

/* -------------------- Pricing -------------------- */
.pricing-note {
  background: var(--white);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--charcoal);
  font-size: 0.92rem;
  max-width: 780px;
  margin: 0 auto 48px;
}

.pricing-card {
  background: var(--near-black);
  color: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--gold);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pricing-card.featured {
  background: var(--gold);
  color: var(--black);
}

.pricing-card.featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -60%;
  }
  40% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

.pricing-card .price {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 14px 0 6px;
}

.pricing-card .price span {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.75;
}

.pricing-card ul {
  list-style: none;
  margin: 22px 0 26px;
  text-align: left;
  font-size: 0.9rem;
}

.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured ul li {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* -------------------- Vehicles -------------------- */
.vehicle-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.vehicle-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--black), var(--charcoal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.vehicle-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.25), transparent 60%);
}

.vehicle-card:hover .vehicle-thumb {
  color: var(--gold-light);
}

.vehicle-body {
  padding: 22px 24px;
}

.vehicle-body h3 {
  margin-bottom: 6px;
}

.vehicle-body .meta {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.vehicle-body p {
  color: var(--gray);
  font-size: 0.92rem;
}

/* -------------------- Forms -------------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}

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

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d5c9;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--off-white);
}

.autocomplete-field {
  position: relative;
}

.autocomplete-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--white);
  border: 1px solid #d9d5c9;
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  max-height: 220px;
  overflow-y: auto;
}

.autocomplete-list.open {
  display: block;
}

.autocomplete-item {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--charcoal);
  cursor: pointer;
  border-bottom: 1px solid #eee6d8;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: rgba(201, 162, 39, 0.12);
}

.autocomplete-item .ac-main {
  font-weight: 600;
  color: var(--charcoal);
}

.autocomplete-item .ac-sub {
  font-size: 0.78rem;
  color: var(--gray);
}

.autocomplete-loading {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

.form-status.visible {
  display: block;
}

/* -------------------- Stats / About -------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat h3 {
  font-size: 2.2rem;
  color: var(--gold);
}

.stat p {
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-media {
  height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--black), var(--charcoal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

.checklist {
  list-style: none;
  margin-top: 20px;
}

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--charcoal);
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--black);
  color: var(--off-white);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(244, 242, 236, 0.75);
}

.footer-grid p {
  color: rgba(244, 242, 236, 0.75);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(244, 242, 236, 0.5);
}

/* -------------------- CTA band -------------------- */
.cta-band {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 60px 24px;
}

.cta-band h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.cta-band p {
  margin-bottom: 26px;
  opacity: 0.85;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  animation: whatsappPulse 2.4s ease-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
  }
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stat {
  transition: transform 0.25s ease;
}

.stat:hover h3 {
  transform: scale(1.06);
}

.stat h3 {
  transition: transform 0.25s ease;
}

.photo-credits { font-size: 0.72rem; opacity: 0.6; margin-top: 6px; }
.photo-credits a { color: inherit; }

/* Brand name in the header: italic */
.logo-text { font-style: italic; }

/* Install as an app: slim gold bar above the header */
.install-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  background: linear-gradient(90deg, #9c7c1a, #c9a227, #9c7c1a); color: #0d0d0d;
  padding: 8px 44px 8px 16px; position: relative; font-size: 0.9rem; font-weight: 600;
}
.install-bar[hidden] { display: none; }
.install-bar-text { display: inline-flex; align-items: center; gap: 8px; }
.install-bar-text img { border-radius: 50%; }
.install-bar-btn {
  background: #0d0d0d; color: #e0c05c; border: 0; border-radius: 4px; padding: 6px 16px;
  font: inherit; font-weight: 700; letter-spacing: 0.05em; cursor: pointer;
}
.install-bar-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; font-size: 1.4rem; line-height: 1; color: #0d0d0d; cursor: pointer; padding: 4px 8px;
}
.install-hint { flex-basis: 100%; text-align: center; font-size: 0.85rem; font-weight: 500; margin: 0; }
