/**
 * VOLTZ MOBILITY INTERNATIONAL
 * Design System: Components & Luxury Automotive UI
 */

/* ===================================================
   1. BUTTONS & ACTIONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

/* Primary Metallic Gold Button */
.btn-gold {
  background: var(--gradient-gold);
  color: #0b0a07;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(200, 158, 58, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-gold:hover {
  background: var(--gradient-gold-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 158, 58, 0.4);
}

/* Outline Gold Button */
.btn-outline-gold {
  background: transparent;
  color: var(--color-gold-champagne);
  border: 1px solid var(--color-gold-border);
}

.btn-outline-gold:hover {
  background: var(--color-gold-subtle);
  border-color: var(--color-gold-primary);
  color: var(--color-gold-light);
  transform: translateY(-2px);
}

/* Dark Graphite Button */
.btn-dark {
  background: var(--color-graphite);
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.btn-dark:hover {
  background: var(--color-gunmetal);
  border-color: var(--color-border-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ===================================================
   2. SECTION HEADINGS & EYEBROWS
   =================================================== */
.section-head {
  margin-bottom: 3.5rem;
}

.section-head-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold-champagne);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-gold);
}

.section-head-center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-gold);
}

.section-title {
  margin-bottom: 1.15rem;
  color: #ffffff;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Section Divider */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold-border) 50%, transparent 100%);
  margin: 4rem 0;
}

/* ===================================================
   3. HEADER & NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 7, 9, 0.96);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 175px;
  height: auto;
  display: block;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.92;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold-champagne);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-obsidian);
  border-left: 1px solid var(--color-gold-border);
  z-index: 1100;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  visibility: hidden;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-gold-champagne);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===================================================
   4. CARDS & SURFACES
   =================================================== */
.voltz-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.voltz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
  opacity: 0.4;
  transition: opacity var(--transition-normal);
}

.voltz-card:hover {
  border-color: var(--color-gold-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 18px var(--color-gold-glow);
}

.voltz-card:hover::before {
  opacity: 1;
}

/* ===================================================
   5. FORM SYSTEM
   =================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.col-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--color-gold-light);
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: #121217;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 0 3px rgba(200, 158, 58, 0.2);
  background-color: #15151c;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control::placeholder {
  color: #5a5a65;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ===================================================
   6. ALERTS & FLASH MESSAGES
   =================================================== */
.alert {
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* ===================================================
   7. BREADCRUMBS
   =================================================== */
.breadcrumb-wrap {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  background: rgba(15, 15, 19, 0.5);
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-secondary);
}

.breadcrumb-item a:hover {
  color: var(--color-gold-champagne);
}

.breadcrumb-item.active {
  color: var(--color-gold-champagne);
  font-weight: 500;
}

.breadcrumb-separator {
  color: #4b4b54;
}

/* ===================================================
/* ===================================================
   8. FOOTER
   =================================================== */
.site-footer {
  background: #060608;
  border-top: 1px solid rgba(200, 158, 58, 0.25);
  margin-top: 6rem;
  padding-top: 0;
  padding-bottom: 2.5rem;
  position: relative;
}

/* Pre-Footer Action Banner */
.footer-cta-banner {
  background: linear-gradient(135deg, rgba(21, 21, 27, 0.95) 0%, rgba(13, 13, 17, 0.95) 100%);
  border: 1px solid rgba(200, 158, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  margin-top: -3.5rem;
  margin-bottom: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(200, 158, 58, 0.1);
  position: relative;
  z-index: 5;
}

.footer-cta-content h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
  letter-spacing: 0.03em;
}

.footer-cta-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Main 4-Column Grid */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  width: 175px;
  height: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-tagline {
  font-family: var(--font-serif);
  color: var(--color-gold-champagne);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.footer-office-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.footer-office-title {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-champagne);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-office-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.footer-contacts-line {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.footer-contacts-line a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contacts-line a:hover {
  color: var(--color-gold-champagne);
}

.footer-heading {
  font-size: 0.925rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: var(--color-gold-champagne);
  transform: translateX(4px);
}

/* Mid Footer Social & Badge Bar */
.footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-social-icons {
  display: flex;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111116;
  border: 1px solid rgba(200, 158, 58, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: rgba(200, 158, 58, 0.15);
  border-color: var(--color-gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 158, 58, 0.2);
}

.footer-cert-badge {
  font-size: 0.775rem;
  color: var(--color-gold-champagne);
  background: rgba(200, 158, 58, 0.06);
  border: 1px solid rgba(200, 158, 58, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Footer Bottom Legal Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.825rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--color-gold-champagne);
}

/* ===================================================
   9. RESPONSIVE BREAKPOINTS
   =================================================== */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .brand-logo {
    width: 140px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta-banner {
    padding: 1.75rem 1.25rem;
    margin-top: -2.5rem;
    margin-bottom: 3rem;
  }
  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .footer-cta-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-mid {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-social-wrap {
    flex-direction: column;
    gap: 0.65rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-legal-links {
    justify-content: center;
    gap: 1rem;
  }
  .header-actions .btn-become-dealer {
    display: none;
  }
}

/* ===================================================
   14. LUXURY THANK YOU POPUP MODAL
   =================================================== */
.thank-you-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.thank-you-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.thank-you-modal-container {
  background: linear-gradient(180deg, #18181f 0%, #0d0d12 100%);
  border: 1px solid var(--color-gold-border-strong);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem 2.5rem;
  max-width: 540px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(200, 158, 58, 0.16);
  transform: scale(0.92) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.thank-you-modal-backdrop.active .thank-you-modal-container {
  transform: scale(1) translateY(0);
}

.thank-you-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thank-you-modal-close:hover {
  color: #ffffff;
  border-color: var(--color-gold-border);
  background: rgba(200, 158, 58, 0.12);
  transform: rotate(90deg);
}

.thank-you-badge-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-badge-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 158, 58, 0.45) 0%, transparent 70%);
  animation: thankYouGlow 2.5s ease-in-out infinite alternate;
}

@keyframes thankYouGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.thank-you-badge-circle {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070709;
  box-shadow: 0 8px 25px rgba(200, 158, 58, 0.35);
}

.thank-you-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold-champagne);
  margin-bottom: 0.4rem;
}

.thank-you-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.thank-you-tagline {
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-primary);
  margin-bottom: 1.25rem;
}

.thank-you-message {
  color: #d1d5db;
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.thank-you-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 158, 58, 0.08);
  border: 1px dashed var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
}

.thank-you-meta .meta-label {
  color: var(--text-secondary);
}

.thank-you-meta .meta-value {
  color: var(--color-gold-champagne);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.thank-you-actions .btn {
  min-width: 180px;
}

@media (max-width: 600px) {
  .thank-you-modal-container {
    padding: 2.25rem 1.5rem 1.75rem;
  }
  .thank-you-title {
    font-size: 1.65rem;
  }
  .thank-you-actions .btn {
    width: 100%;
  }
}
