/* ==========================================================================
   Divine Taxi Services — Portlaoise 24/7 Taxi
   Brand colours: navy #0a192f · gold #f0b500 · amber #f7c948
   ========================================================================== */

:root {
  --navy-900: #071120;
  --navy-800: #0a192f;
  --navy-700: #10243f;
  --navy-600: #16304f;
  --gold: #f0b500;
  --gold-soft: #f7c948;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #e6ebf2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 25, 47, 0.10);
  --shadow-lg: 0 18px 50px rgba(10, 25, 47, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold); }

.container { width: min(1180px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy-900);
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--navy-900); }

.accent { color: var(--gold); }

/* ============ Top bar ============ */
.topbar {
  background: var(--navy-900);
  color: #cdd8e6;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; min-height: 42px; flex-wrap: wrap; padding: 6px 0;
}
.topbar-left { display: flex; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240, 181, 0, 0.15);
  color: var(--gold-soft);
  border: 1px solid rgba(240, 181, 0, 0.35);
  padding: 3px 12px; border-radius: 999px; font-weight: 600;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-link {
  display: inline-flex; align-items: center; gap: 7px; color: #e7eef8; font-weight: 600;
}
.topbar-link:hover { color: var(--gold-soft); }
.topbar-link svg, .btn svg, .wa-float svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.topbar-link--wa::before { content: "·"; color: #4a5b6e; margin-right: 1px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.brand-name {
  display: block; font-weight: 800; font-size: 1.18rem; color: var(--navy-800);
  letter-spacing: -0.01em; line-height: 1.2;
}
.brand-tag { display: block; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.main-nav { display: flex; gap: 6px; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-weight: 600;
  color: var(--navy-700); font-size: 0.96rem;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--navy-800); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 24px rgba(240, 181, 0, 0.38); }
.btn--gold:hover { background: #ffc61d; color: var(--navy-900); }
.btn--wa { background: #25d366; color: #062b15; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.btn--wa:hover { background: #2fe373; color: #062b15; }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--nav { padding: 11px 20px; font-size: 0.95rem; }

/* ============ Hero ============ */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7, 17, 32, 0.94) 10%, rgba(10, 25, 47, 0.82) 45%, rgba(10, 25, 47, 0.55) 100%);
}
.hero-inner { position: relative; padding: 120px 0 130px; max-width: 720px; margin-left: calc((100% - 1180px) / 2 + 0px); margin-right: auto; }
@media (max-width: 1180px) { .hero-inner { margin-left: auto; margin-right: auto; } }

.hero-badge {
  display: inline-block; background: rgba(240, 181, 0, 0.16);
  border: 1px solid rgba(240, 181, 0, 0.4); color: var(--gold-soft);
  padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.03em; margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.13; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.13rem; color: #d8e2ef; margin: 20px 0 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #eaf0f8; font-weight: 600; font-size: 0.95rem; }
.hero-trust li { color: #cfe0f2; }

/* ============ Quick strip ============ */
.strip { background: var(--navy-800); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip-item { display: flex; align-items: center; gap: 14px; }
.strip-icon { font-size: 1.9rem; line-height: 1; }
.strip-item strong { display: block; color: #fff; font-size: 1.02rem; }
.strip-item span { color: #b9c8da; font-size: 0.88rem; }

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); margin-top: 14px; }
.kicker {
  display: inline-block; color: #b07900; background: rgba(240, 181, 0, 0.14);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--navy-800); line-height: 1.2; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 55px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.about-badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--gold); color: var(--navy-900); font-weight: 800;
  padding: 18px 22px; border-radius: 16px; text-align: center; font-size: 1.1rem;
  line-height: 1.25; box-shadow: var(--shadow-lg);
}
.about-body p { margin: 16px 0; color: #45566b; }
.about-body p:first-of-type { font-size: 1.06rem; color: var(--ink); }
.checklist { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; color: var(--navy-700); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(240, 181, 0, 0.2); color: #b07900;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800;
}

/* ============ Cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 205px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { color: var(--navy-800); font-size: 1.22rem; margin-bottom: 9px; position: relative; padding-bottom: 11px; }
.card-body h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--gold); border-radius: 2px; }
.card-body p { color: var(--muted); font-size: 0.96rem; }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 54px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.cta-inner p { color: #c4d2e4; margin-top: 6px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; box-shadow: 0 4px 14px rgba(10,25,47,0.05);
}
.faq-list summary {
  cursor: pointer; font-weight: 700; color: var(--navy-800); font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.5rem; color: var(--gold); font-weight: 700; line-height: 1;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 12px; color: var(--muted); }
.faq-list details a { color: #b07900; font-weight: 700; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 26px; text-align: center; box-shadow: var(--shadow);
  display: block; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.contact-card { color: inherit; }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); color: inherit; }
.contact-card--wa { background: linear-gradient(160deg, #ffffff, #eafdf1); border-color: #b9ecd0; }
.contact-icon { font-size: 2.1rem; display: block; margin-bottom: 10px; }
.contact-card h3 { color: var(--navy-800); font-size: 1.15rem; margin-bottom: 6px; }
.contact-card p { font-size: 1.06rem; font-weight: 700; color: var(--navy-700); }
.contact-hint { display: inline-block; margin-top: 12px; font-size: 0.82rem; font-weight: 700; color: #b07900; background: rgba(240,181,0,0.14); padding: 4px 12px; border-radius: 999px; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-900); color: #b9c8da; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px; border: 2px solid rgba(240,181,0,0.4); }
.footer-brand p { font-size: 0.95rem; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; color: #b9c8da; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col p { padding: 4px 0; }
.footer-col p a { display: inline; color: #eaf0f8; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 0.85rem; color: #8092a8;
}

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 10px; bottom: -16px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 4%;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .btn--nav { display: none; }
  .hero-inner { padding: 70px 0 80px; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { width: 100%; }
  .topbar-inner { justify-content: center; text-align: center; }
}
