/* ============================================================
   HEROZ DRIVING SCHOOL — Main Stylesheet
   Brand Colors (extracted from HQ logo):
   Orange  #FF6B00 | Blue   #1E3FBF | Red    #E8365D
   Black   #0D0D0D | White  #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --orange:       #FF6B00;
  --orange-dark:  #D45800;
  --orange-light: #FFF3E8;
  --orange-glow:  rgba(255,107,0,0.35);

  --blue:         #1E3FBF;
  --blue-mid:     #2D52D4;
  --blue-dark:    #132880;
  --blue-light:   #EAF0FF;

  --red:          #E8365D;
  --red-light:    #FFE8EF;

  --black:        #0D0D0D;
  --gray-900:     #111111;
  --gray-800:     #1A1A1A;
  --gray-600:     #555555;
  --gray-400:     #9A9A9A;
  --gray-200:     #E5E5E5;
  --gray-100:     #F4F4F4;
  --white:        #FFFFFF;
  --off-white:    #F8F7F4;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Nunito', sans-serif;

  --shadow-sm:     0 2px 8px rgba(30,63,191,0.08);
  --shadow-md:     0 6px 24px rgba(30,63,191,0.13);
  --shadow-lg:     0 16px 48px rgba(30,63,191,0.18);
  --shadow-orange: 0 8px 32px rgba(255,107,0,0.38);

  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --nav-height: 90px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-orange { color: var(--orange); }
.text-blue   { color: var(--blue); }
.bg-off-white{ background: var(--off-white); }

/* ─── SECTION ─── */
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.section-tag::before {
  content: ''; display: block; width: 28px; height: 3px;
  background: var(--orange); border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.05;
  color: var(--blue); letter-spacing: 0.5px; margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-lead {
  font-size: 1rem; color: var(--gray-600); max-width: 560px; line-height: 1.75;
}
.section-header-center { text-align: center; }
.section-header-center .section-tag  { justify-content: center; }
.section-header-center .section-lead { margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius);
  transition: all var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-primary  { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-primary:hover  { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,107,0,0.45); }
.btn-secondary{ background: var(--blue);   color: var(--white); box-shadow: var(--shadow-md); }
.btn-secondary:hover{ background: var(--blue-mid); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.65); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-blue  { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-blue:hover  { background: var(--blue); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  align-content: center;
}
.navbar.scrolled { height: 68px; box-shadow: var(--shadow-md); }
.navbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.navbar-logo { display: flex; align-items: center; gap: 2px; }
.navbar-logo img {
  height: 80px; width: auto;
  /* blend multiply removes the black background */
  mix-blend-mode: multiply;
  filter: saturate(1.1);
}
.navbar-logo-text { display: flex; flex-direction: column; line-height: 1.1; margin-left: 6px; }
.navbar-logo-text .logo-main {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 900;
  color: var(--blue); letter-spacing: 1px;
}
.navbar-logo-text .logo-sub {
  font-size: 0.62rem; font-weight: 700; color: var(--orange);
  letter-spacing: 0.12em; text-transform: uppercase;
}

.navbar-links { display: flex; align-items: center; gap: 4px; }
.navbar-links a {
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--blue); padding: 8px 14px; border-radius: 6px;
  transition: all var(--transition); position: relative;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--orange); }
.navbar-links a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--orange); border-radius: 2px;
}

.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--gray-100); border-radius: 6px; padding: 3px;
}
.lang-switcher button {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; background: none; border: none;
  color: var(--gray-600); padding: 5px 10px; border-radius: 5px;
  transition: all var(--transition);
}
.lang-switcher button.active { background: var(--blue); color: var(--white); }

.navbar-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: all var(--transition); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--white); z-index: 999;
  padding: 24px; border-bottom: 3px solid var(--orange);
  box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue);
  padding: 12px 16px; border-radius: 6px;
  border-left: 3px solid transparent; transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--orange); border-left-color: var(--orange); background: var(--orange-light); }
.mobile-menu .mobile-cta { margin-top: 12px; }

/* ─── PAGE HEADER ─── */
.page-header {
  margin-top: var(--nav-height);
  background: linear-gradient(135deg, var(--black) 0%, var(--blue-dark) 55%, var(--blue) 100%);
  padding: 72px 0 60px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-header::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--red), var(--orange));
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900; color: var(--white); letter-spacing: 1px; margin-bottom: 12px;
}
.page-header h1 span { color: var(--orange); }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ─── STATS BAR ─── */
.stats-bar { background: var(--black); padding: 32px 0; }
.stats-bar-inner { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--blue);
}
.author-name   { font-weight: 700; font-size: 0.9rem; color: var(--gray-800); }
.author-detail { font-size: 0.75rem; color: var(--gray-400); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all var(--transition); animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: white; }
.wa-tooltip {
  position: absolute; right: 72px;
  background: var(--gray-800); color: var(--white);
  font-size: 0.78rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ─── FOOTER ─── */
.footer { background: var(--black); color: rgba(255,255,255,0.75); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { height: 99px; margin-bottom: 16px; mix-blend-mode: lighten; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--orange); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--orange); }

/* ─── AOS ─── */
.aos { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.aos.visible { opacity: 1; transform: translateY(0); }
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar-links, .navbar-cta { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } }
