/* ========================================
   LEGACY AUTO EXCHANGE — Luxury Stylesheet
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0F0F0F;
  --gold: #C6A75E;
  --gold-light: #E5C97A;
  --gold-dark: #A88B3D;
  --white: #FAFAFA;
  --gray: #888888;
  --gray-dark: #1A1A1A;
  --gray-card: #141414;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* --- SECTION HEADERS --- */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .gold-divider {
  margin-left: auto;
  margin-right: auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 167, 94, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn-large {
  padding: 20px 48px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* --- NAVIGATION --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.main-nav.scrolled {
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(15, 15, 15, 0.4) 50%, rgba(15, 15, 15, 0.8) 100%),
    linear-gradient(45deg, #0F0F0F 0%, #1a1a2e 30%, #16213e 50%, #0F0F0F 100%);
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(198, 167, 94, 0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(250, 250, 250, 0.7);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- TRUST BANNER --- */
.trust-banner {
  background: var(--gray-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(198, 167, 94, 0.15);
  border-bottom: 1px solid rgba(198, 167, 94, 0.15);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
}

/* --- VEHICLE CARDS --- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.vehicle-card {
  background: var(--gray-card);
  border: 1px solid rgba(198, 167, 94, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition);
}

.vehicle-card:hover {
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.vehicle-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.05);
}

.vehicle-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}

.vehicle-info {
  padding: 28px;
}

.vehicle-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.vehicle-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.vehicle-desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* --- SECTION DIVIDER IMAGE --- */
.section-divider-image {
  height: 300px;
  background:
    linear-gradient(to bottom, var(--black) 0%, transparent 30%, transparent 70%, var(--black) 100%),
    linear-gradient(135deg, #1a1a2e 0%, #0F0F0F 50%, #16213e 100%);
  position: relative;
}

.divider-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(198, 167, 94, 0.05) 0%, transparent 70%);
}

/* --- FEATURES / WHY US --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--gray-card);
  border: 1px solid rgba(198, 167, 94, 0.08);
  border-radius: 4px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(198, 167, 94, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* --- FINANCING SECTION --- */
.financing-section {
  position: relative;
  overflow: hidden;
}

.financing-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198, 167, 94, 0.03) 0%, transparent 50%);
}

.financing-content {
  position: relative;
  z-index: 1;
}

.financing-text {
  max-width: 700px;
}

.financing-desc {
  font-size: 1rem;
  color: rgba(250, 250, 250, 0.7);
  margin-bottom: 28px;
  line-height: 1.8;
}

.financing-benefits {
  list-style: none;
  margin-bottom: 36px;
}

.financing-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--white);
}

.financing-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- ABOUT SECTION --- */
.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-text {
  font-size: 1.05rem;
  color: rgba(250, 250, 250, 0.7);
  line-height: 1.9;
  margin-bottom: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gray-card);
  border: 1px solid rgba(198, 167, 94, 0.08);
  border-radius: 4px;
}

.team-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(198, 167, 94, 0.08);
  border: 2px solid rgba(198, 167, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
}

/* --- GALLERY --- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid rgba(198, 167, 94, 0.2);
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(198, 167, 94, 0.08);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-item:hover {
  border-color: rgba(198, 167, 94, 0.3);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gray-card);
}

.gallery-placeholder span {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--gray-card);
  border: 1px solid rgba(198, 167, 94, 0.08);
  border-radius: 4px;
  padding: 36px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(198, 167, 94, 0.2);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: rgba(250, 250, 250, 0.8);
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* --- APPOINTMENT --- */
.appointment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.appointment-text {
  padding-top: 20px;
}

.appointment-text p {
  font-size: 1rem;
  color: rgba(250, 250, 250, 0.7);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* --- CTA BANNER --- */
.cta-banner {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(198, 167, 94, 0.06) 0%, rgba(15, 15, 15, 1) 50%, rgba(198, 167, 94, 0.04) 100%);
  border-top: 1px solid rgba(198, 167, 94, 0.1);
  border-bottom: 1px solid rgba(198, 167, 94, 0.1);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* --- CONTACT --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: rgba(250, 250, 250, 0.7);
  line-height: 1.6;
}

.contact-item a {
  color: rgba(250, 250, 250, 0.7);
}

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

.map-container {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(198, 167, 94, 0.1);
}

/* --- FORMS --- */
.luxury-form {
  background: var(--gray-card);
  border: 1px solid rgba(198, 167, 94, 0.12);
  border-radius: 4px;
  padding: 40px;
}

.luxury-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 167, 94, 0.15);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(198, 167, 94, 0.04);
}

.form-group select option {
  background: var(--gray-dark);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 24px;
}

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

.modal {
  background: var(--gray-dark);
  border: 1px solid rgba(198, 167, 94, 0.15);
  border-radius: 4px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal .luxury-form {
  border: none;
  background: transparent;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: color var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-vehicle-name {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

/* --- TOAST --- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold);
  color: var(--black);
  padding: 16px 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(198, 167, 94, 0.3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- FOOTER --- */
footer.site-footer {
  position: relative;
  background: linear-gradient(
    180deg,
    #111 0%,
    #000 40%,
    #050505 100%
  );
  color: #fff;
  padding: 60px 20px 30px;
  overflow: hidden;
}
footer.site-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  background: radial-gradient(
    circle at 50% 50%,
    rgba(100,100,100,0.05),
    transparent 70%
  );

  animation: footerGlow 12s linear infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.7;
}

.site-footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
}

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

.footer-contact p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gray);
}

.footer-contact a:hover {
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(198, 167, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(198, 167, 94, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(198, 167, 94, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.5px;
}

/* --- FADE-IN ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .appointment-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right var(--transition);
    border-left: 1px solid rgba(198, 167, 94, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-phone span {
    display: none;
  }

  .trust-items {
    gap: 24px;
  }

  .trust-item {
    flex: 0 0 calc(50% - 12px);
    font-size: 0.8rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

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

  .section-divider-image {
    height: 180px;
  }

  .luxury-form {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .trust-item {
    flex: none;
  }

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

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



/* Luxury Finance Calculator Styles */
.calculator-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1b2a4f 0%, #3e4a85 100%);
  color: #f5ecd8; /* champagne text */
  text-align: center;
}

.calculator-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: #f5ecd8;
  letter-spacing: 1px;
}
.calculator-section {
  /* use the finance background, no extra color */
  background: none;
  color: #f5ecd8; /* champagne text to match finance section */
  text-align: center;
  padding: 80px 0;
}

.calculator-form {
  /* no bright blue panel */
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: 400px;
  width: 100%;
  text-align: left;
}

.calculator-form input {
  /* subtle styling but still matches text and background */
  background: rgba(245,236,216,0.05); /* very subtle */
  color: #f5ecd8;
  border: 1px solid rgba(245,236,216,0.2);
}

.calculator-form input:focus {
  border-color: #C6A75E; /* subtle gold highlight */
  box-shadow: 0 0 6px rgba(198,167,94,0.3);
}

.two-column {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.financing-text {
  flex: 1;
}

.right-side {
  flex: 1;
  max-width: 400px;
}
.vehicle-card {
  border: 1px solid #e0d9c0; /* normal border */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  position: relative;
}

/* Hover effect: shiny outline + lift */
.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid #C6A75E; /* gold outline on hover */
}

/* Optional: animated shimmer/glow effect */
.vehicle-card::after {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 14px;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(198,167,94,0) 0%,
    rgba(198,167,94,0.4) 50%,
    rgba(198,167,94,0) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Make shimmer appear only on hover */
.vehicle-card:hover::after {
  opacity: 1;
}
.vehicle-info p.vehicle-price,
.vehicle-info p.vehicle-details {
  color: rgba(255, 255, 255, 0.7);/* subtle gray, 50% opacity */
  font-size: 0.9rem;
  margin: 4px 0;
  transition: color 0.3s ease;
}

/* Optional: slightly brighten when hovering the card */
.vehicle-card:hover p.vehicle-price,
.vehicle-card:hover p.vehicle-details {
  color: rgba(0, 0, 0, 0.7); /* slightly more visible on hover */
}
/* GLASS TEXT EFFECT (HERO) */
.glass-text {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 12px;

  /* glass look */
  background: rgba(100, 100, 100, 0.00);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: none:
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;

  overflow: hidden;
}

/* GOLD SHINE PASSING THROUGH TEXT */
.glass-text::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(198,167,94,0.6),
    transparent 70%
  );

  transform: rotate(25deg);
  animation: shineText 5s infinite;
}

/* animation */
@keyframes shineText {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}
.glass-text:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
  border: 1px solid rgba(198, 167, 94, 0.6);
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198,167,94,0.25), transparent 70%);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  animation: floatGlow 8s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -40px); }
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
} 

.luxury-form input:focus,
.luxury-form textarea:focus {
  outline: none;
  border: 1px solid #C6A75E;
  box-shadow: 0 0 10px rgba(198,167,94,0.4);
  transition: 0.3s ease;
}
.map-container iframe {
  transition: transform 0.5s ease;
}

.map-container:hover iframe {
  transform: scale(1.05);
}
.vehicle-image {
  overflow: hidden;
}

.vehicle-image img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.vehicle-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}
.gold-divider {
  width: 0;
  height: 2px;
  background: #C6A75E;
  margin: 10px auto;
  animation: expandLine 1.5s ease forwards;
}

@keyframes expandLine {
  to { width: 80px; }
}
.btn:active {
  transform: scale(0.97);
}
.scroll-line {
  opacity: 0.8;
}
.bg-glow {
  position: fixed;
  top: 40%;
  left: 60%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198,167,94,0.25), transparent 70%);
  filter: blur(120px);
  transform: translate(-50%, -50%);
  animation: floatGlow 12s ease-in-out infinite;
  z-index: -1;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-50px);
  }
}
.bg-glow-2 {
  position: fixed;
  bottom: 20%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(198,167,94,0.15), transparent 70%);
  filter: blur(100px);
  transform: translate(-50%, 50%);
  animation: floatGlow2 14s ease-in-out infinite;
  z-index: -1;
}

@keyframes floatGlow2 {
  0%, 100% {
    transform: translate(-50%, 50%) translateY(0);
  }
  50% {
    transform: translate(-50%, 50%) translateY(40px);
  }
}
.about-page .grain {
  position: fixed;
  inset: 0;
  background-image: url("/Users/Cashn/Downloads/legacyautoexchange-main/images/vecteezy_grunge-white-and-black-free-vector-wall-background_112127.svg");
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}