/* ===========================
   AUTOHUB GARAGE SHARJAH
   style.css — Mobile-first
   =========================== */

/* --- CSS Reset & Tokens --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #d62828;
  --red-dark: #b51f1f;
  --red-light: #fdecea;
  --black: #111111;
  --dark: #1a1a2e;
  --grey: #555555;
  --light-grey: #f4f4f4;
  --border: #e0e0e0;
  --white: #ffffff;
  --green: #25D366;
  --green-dark: #128c3e;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --transition: 0.22s ease;
  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography Helpers --- */
.section-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover, .btn-red:focus {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,40,40,0.35);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.logo-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
}
.logo-city {
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--black); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
  padding: 4px;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17,17,17,0.78) 0%, rgba(214,40,40,0.55) 100%),
    url('https://images.unsplash.com/photo-1625047509248-ec889cbff17f?w=1600&q=80') center/cover no-repeat;
  padding: 100px 0 60px;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(17,17,17,0.4) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeDown 0.6s ease both;
}
.hero-headline {
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  animation: fadeDown 0.7s ease 0.1s both;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  animation: fadeDown 0.7s ease 0.2s both;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeDown 0.7s ease 0.3s both;
}
.hide-mobile { display: none; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--light-grey);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.trust-item:hover {
  box-shadow: var(--shadow);
}
.trust-icon {
  font-size: 1.9rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-item strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}
.trust-item p {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
}

/* ===========================
   SERVICES
=========================== */
.services {
  padding: 72px 0;
  background: var(--white);
}
.services > .container > .section-title { margin-bottom: 4px; }
.services > .container > .section-sub  { margin-bottom: 40px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-card {
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(214,40,40,0.1);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--grey);
  margin: 0;
}
.service-card-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  background: var(--light-grey);
  border-style: dashed;
}
.service-cta-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 !important;
}

/* ===========================
   EMOTIONAL TRUST
=========================== */
.emotional {
  background: var(--black);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.emotional-inner {
  max-width: 660px;
}
.emotional-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}
.emotional-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.emotional-body {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 28px;
}
.emotional-divider {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.emotional-since {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  padding: 72px 0;
  background: var(--light-grey);
}
.testimonials > .container > .section-title { margin-bottom: 36px; }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  position: relative;
}
.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.stars {
  font-size: 1.1rem;
  color: #f4a400;
  letter-spacing: 2px;
}
.star-empty { color: #ccc; }
.review-text {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.reviewer strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}
.reviewer span {
  font-size: 0.78rem;
  color: var(--grey);
}
.review-card-honest {
  border-color: #ddd;
  background: #fafafa;
}
.honest-badge {
  font-size: 0.75rem;
  color: var(--grey);
  background: #f0f0f0;
  border-radius: 50px;
  padding: 4px 12px;
  width: fit-content;
  font-style: italic;
}

/* ===========================
   STRONG CTA
=========================== */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, #8b0000 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-inner { max-width: 700px; }
.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}
.cta-section .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.cta-section .btn-red {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.cta-section .btn-red:hover {
  background: #ffe8e8;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.cta-hours {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding: 72px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 28px; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 2px;
}
.contact-list p {
  font-size: 0.92rem;
  color: var(--grey);
  margin: 0;
}
.contact-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  display: inline-block;
  margin-top: 2px;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--red-dark); }
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.map-wrapper iframe {
  display: block;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 40px 0 20px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .logo-icon { width: 50px; height: 50px; }
.footer-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-tagline {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  width: 100%;
  text-align: center;
}
.footer-seo {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.03em;
}

/* ===========================
   STICKY WHATSAPP
=========================== */
.sticky-wa {
  position: fixed;
  bottom: 26px;
  right: 22px;
  z-index: 9999;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: all var(--transition);
  animation: floatIn 0.6s ease 0.8s both;
}
.sticky-wa:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.5);
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE — TABLET & DESKTOP
=========================== */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .hide-mobile { display: inline; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links   { display: flex !important; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   RESPONSIVE — MOBILE (<640px)
=========================== */
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border: none; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

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

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

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

  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; font-size: 0.95rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1; justify-content: center; }

  .sticky-wa span { display: none; }
  .sticky-wa { padding: 14px; border-radius: 50%; bottom: 20px; right: 16px; }
}

@media (max-width: 400px) {
  .trust-grid { grid-template-columns: 1fr; }
}
