/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ===== GALWAY REMAPPING - CSS STYLE ===== */

:root {
  --bg-primary:        #0a0a0a;
  --bg-secondary:      #111111;
  --bg-card:           #1a1a1a;
  --accent-red:        #cc0000;
  --accent-red-bright: #ff1a1a;
  --text-primary:      #ffffff;
  --text-muted:        #888888;
  --border:            rgba(204, 0, 0, 0.2);
  --font-main:         'Rajdhani', 'Barlow Condensed', sans-serif;
  --font-body:         'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Section wrapper (full-width bg) ── */
.section-wrapper { background: var(--bg-secondary); }

/* ── WhatsApp ── */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.whatsapp-btn:hover { background: #1ebe5d; }
.whatsapp-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ── NAV ── */
nav {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent-red); }

.nav-cta {
  background: var(--accent-red) !important;
  color: var(--text-primary) !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%) !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-red-bright) !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ── HERO ── */
section.hero {
  max-width: unset;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(204,0,0,0.09) 0%, transparent 55%),
    var(--bg-primary);
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
section.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-red);
}

.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-red);
  margin-bottom: 1rem;
  font-weight: 600;
}

section.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}
section.hero h1 span { color: var(--accent-red); }

.hero-desc {
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-size: 0.97rem;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent-red);
  color: white;
  border: none;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-red-bright); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent-red); color: var(--accent-red); }

/* ── STAT CARDS ── */
.stat-card {
  background: var(--accent-red);
  padding: 1rem 1.6rem;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  min-width: 130px;
}
.stat-card .number {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.stat-card .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-top: 0.2rem;
  display: block;
}

/* ── SECTION BASE ── */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.section-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.0;
}
.red-divider {
  width: 48px;
  height: 3px;
  background: var(--accent-red);
  margin: 1rem 0 2.5rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── GRIDS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ── SECTION CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-red);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(204, 0, 0, 0.12);
}
.card h3 {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.card p { color: var(--text-muted); line-height: 1.65; font-size: 0.92rem; }
.card-icon { font-size: 2rem; color: var(--accent-red); margin-bottom: 1rem; }

/* ── WHY US ── */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-red);
  transition: background 0.2s;
}
.why-item:hover { background: #1f1f1f; }
.why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(204, 0, 0, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-red);
}
.why-item h4 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.why-item p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; }

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.0;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}
.contact-details li i { color: var(--accent-red); font-size: 1rem; width: 16px; }

.enquiry-form {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--accent-red);
  padding: 2.5rem;
}
.enquiry-form h3 {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.15);
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; font-size: 0.82rem; }
.form-note { font-size: 0.73rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center; }
.form-success {
  display: none;
  background: rgba(204,0,0,0.08);
  border: 1px solid var(--accent-red);
  padding: 1rem;
  text-align: center;
  color: var(--accent-red-bright);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 1rem;
}

/* ── PAGE HERO (inner pages) ── */
section.page-hero {
  max-width: unset;
  margin: 0;
  min-height: 52vh;
  background:
    linear-gradient(135deg, rgba(204,0,0,0.1) 0%, transparent 55%),
    var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
section.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-red);
}
section.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}
.page-hero-content { max-width: 700px; position: relative; z-index: 1; }
section.page-hero img {
  height: 68px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 18px rgba(204, 0, 0, 0.5));
}
section.page-hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1rem;
}
section.page-hero p { color: var(--text-muted); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* ── VEHICLE SECTIONS (commercial page) ── */
.vehicle-section {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 4.5rem 2rem;
}
.vehicle-section.alt { background: var(--bg-secondary); }
.vehicle-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.vehicle-inner.reverse { direction: rtl; }
.vehicle-inner.reverse > * { direction: ltr; }

.tag {
  display: inline-block;
  background: rgba(204,0,0,0.12);
  border: 1px solid var(--border);
  color: var(--accent-red-bright);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  margin-bottom: 1rem;
}
.vehicle-text h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.0;
}
.vehicle-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.93rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '▸';
  color: var(--accent-red);
  flex-shrink: 0;
  font-size: 0.72rem;
  margin-top: 0.22em;
}
.vehicle-visual {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  font-size: 5.5rem;
}

/* ── DEALER / BENEFIT CARDS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-red);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s;
}
.benefit-card:hover { transform: translateY(-3px); }
.benefit-card .icon { font-size: 2.2rem; margin-bottom: 1rem; }
.benefit-card h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.benefit-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.6; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-red);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  font-family: var(--font-main);
}
.step-text h4 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.step-text p { color: var(--text-muted); font-size: 0.87rem; }

/* ── INFO BOX (used in dealer page) ── */
.info-box {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--accent-red);
  padding: 2rem;
}
.info-box h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  color: var(--accent-red-bright);
}

/* ── FOOTER ── */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo img { height: 46px; margin-bottom: 1.5rem; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-red-bright); }
.footer-copy { color: rgba(255,255,255,0.18); font-size: 0.73rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .contact-grid,
  .vehicle-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vehicle-inner.reverse { direction: ltr; }
  /* Nav collapses to hamburger at tablet width */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.99);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 0.6rem 0; display: block; margin-left: 0; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  section.hero { padding: 7rem 1.5rem 4rem; }
  .hero-stats { gap: 0.75rem; }
  .stat-card { min-width: 110px; }
  .grid-3, .grid-2, .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .vehicle-visual { font-size: 4rem; min-height: 160px; }
  .hero-stats { flex-wrap: wrap; }
  .stat-card { min-width: calc(50% - 0.5rem); }
  .enquiry-form { padding: 1.5rem; }
}
