/* ============================================================
   IQ Limousine — Taste Overlay (redesign-skill)
   ADDITIVE ONLY. Loaded after styles.css + responsive.css.
   To fully revert: remove the redesign.css <link> in header.php.
   ============================================================ */

:root {
  /* Elegant high-contrast serif for display type (was Inter everywhere) */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Palette-tinted shadows (warm/gold-hued) instead of pure black */
  --shadow-warm-md: 0 12px 32px rgba(8, 6, 2, 0.55), 0 2px 10px rgba(180, 139, 50, 0.07);
  --shadow-warm-lg: 0 22px 54px rgba(6, 4, 1, 0.62), 0 4px 18px rgba(180, 139, 50, 0.10);
  --gold-line: rgba(180, 139, 50, 0.30);
}

/* ---- Display typography: give headings presence & character ---- */
h1, h2,
.hero-title,
.section-title,
.section-header h2,
.fleet-card h3,
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;            /* no orphaned words on the last line */
}

.hero-title {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  font-weight: 700;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0;
}

/* Refined small-cap label feel for the hero pretitle */
.hero-pretitle {
  letter-spacing: 3px;
  color: var(--color-gold);
  opacity: 0.9;
}

/* Comfortable reading measure for body copy */
.section > .container > p,
.card-description,
.hero-subtitle {
  max-width: 66ch;
}

/* ---- Surfaces: tinted shadows, gentle depth, gold edge on hover ---- */
.card,
.fleet-card,
.hero-glass-card {
  box-shadow: var(--shadow-warm-md);
}

.card,
.fleet-card {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card:hover,
.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-warm-lg);
  border-color: var(--gold-line);
}

/* Editorial hairline accent under section titles */
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}
.section-title[style*="text-align: left"]::after,
.section-title.text-left::after { margin-left: 0; }

/* Sharper keyboard focus for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Subtle film grain to break digital flatness (premium texture) ---- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

@media (prefers-reduced-motion: reduce) {
  .card, .fleet-card { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Floating WhatsApp chat button ---- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 9997;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s infinite;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float i { line-height: 1; }

@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 768px) {
  .whatsapp-float {           /* sit above the sticky mobile bar */
    bottom: 90px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* ---- Sticky mobile conversion bar (Quote + Call) ---- */
.mobile-cta-bar { display: none; }

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9998;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 8, 4, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(180, 139, 50, 0.35);
  }
  .mcb-btn {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    text-decoration: none;
  }
  .mcb-primary {
    flex: 2;
    background: linear-gradient(135deg, #b48b32, #d6af54);
    color: #0a0a0a;
    box-shadow: 0 4px 16px rgba(180, 139, 50, 0.35);
  }
  .mcb-call {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
  }
  /* keep footer content clear of the fixed bar */
  body { padding-bottom: 74px; }
}
