/* Global styles moved from inline <style> in index.html */
:root {
  --brand-blue: #2563eb; /* Tailwind blue-600 */
}

/* Brand colors adapted from provided logo */
:root {
  --brand-red: #d71b2a; /* primary red from logo banner */
  --brand-purple: #3a0f6f; /* deep purple used in logo */
  --brand-dark: #2b0b45; /* darker purple for hovers */
}

/* Brand helper classes */
.brand-text {
  color: var(--brand-red) !important;
}
.brand-text-strong {
  color: var(--brand-purple) !important;
  font-weight: 700;
}
.brand-btn {
  background-color: var(--brand-red) !important;
  color: #fff !important;
}
.brand-btn-hover:hover {
  background-color: var(--brand-dark) !important;
}
.hover-brand-text:hover {
  color: var(--brand-red) !important;
}
.icon-brand {
  color: var(--brand-purple) !important;
}

/* Utility helpers for elements that previously used Tailwind blue hover utilities */
.hover-brand-btn:hover {
  background-color: var(--brand-red) !important;
  color: #fff !important;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
}

.hero-bg {
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.3)
    ),
    url('../img/car-02.jpg');
  background-size: cover;
  background-position: center;
}

/* Gallery styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
  .gallery-grid img {
    height: 140px;
  }
}

/* Header tweaks */
header nav a.contact-btn {
  background: var(--brand-red);
  color: #fff;
}

/* Header: improve layout and contact call button appearance */
header {
  border-bottom: 4px solid rgba(0, 0, 0, 0.03);
}
header nav {
  align-items: center;
}

header nav .space-x-6 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Call button / tel link styled as pill */
.contact-btn {
  background: var(--brand-red) !important;
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 22px rgba(43, 11, 69, 0.08);
  font-weight: 600;
}
.contact-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Make sure phone number is readable and visible on medium+ screens */
.contact-btn span {
  letter-spacing: 0.6px;
  font-size: 1rem;
}

/* Slightly reduce header vertical padding on small screens */
@media (max-width: 640px) {
  header nav {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }
  .contact-btn span {
    display: none;
  }
  .contact-btn {
    padding: 0.35rem 0.5rem;
  }
  header nav .space-x-6 {
    gap: 0.75rem;
  }
  header img {
    max-height: 44px;
  }
  /* Slightly reduce nav link size for small screens */
  header nav .space-x-6 a {
    font-size: 0.95rem;
  }
  /* Reduce hero top padding on small screens so content isn't hidden */
  .hero-bg .container {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
}

/* Cards */
.card-hover {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(2, 6, 23, 0.12);
}

/* Booking form message */
#formMessage {
  min-height: 1.5rem;
}

/* Responsive fine-tuning */
@media (min-width: 768px) {
  .hero-bg .container {
    padding-top: 6rem;
    padding-bottom: 4.5rem;
  }
}

/* Features & Testimonials */
#features i,
#testimonials i {
  color: var(--brand-purple);
}
#features .shadow-sm,
#testimonials .shadow-sm,
#pricing .shadow-sm {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#features .shadow-sm:hover,
#testimonials .shadow-sm:hover,
#pricing .shadow-sm:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.08);
}

/* Pricing FAQ tweaks */
#pricing ul {
  list-style: none;
  padding-left: 0;
}
#pricing ul li::before {
  content: '•';
  color: var(--brand-red);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Booking form focus overrides to match brand purple */
#booking input:focus,
#booking select:focus,
#booking textarea:focus {
  outline: none;
  border-color: var(--brand-purple) !important;
  box-shadow: 0 0 0 3px rgba(58, 15, 111, 0.06);
}

/* Small layout helpers */
.container {
  max-width: 1100px;
}

/* Logo helper: ensure visible at small sizes */
header img {
  max-height: 56px;
  width: auto;
  display: inline-block;
}

/* FAQ accordion styles */
.faq-question {
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-answer {
  transition: max-height 0.22s ease;
}
