:root {
  --navy: #0A0E1A;
  --navy-light: #141B2D;
  --gold: #C9A84C;
  --gold-dark: #A88A3A;
  --white: #FFFFFF;
  --text-muted: #B8C0D4;
  --error: #E74C3C;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-nav {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  font-size: 0.9rem;
}
.btn-nav:hover { background: var(--gold-dark); color: var(--navy); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo span { color: var(--white); font-weight: 400; font-size: 0.85rem; display: block; font-family: var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; }

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

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 20px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 16px;
  color: var(--white);
}

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

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

.page-hero {
  min-height: 45vh;
  padding-top: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, rgba(10, 14, 26, 0.6) 100%);
}

.page-hero .container { position: relative; z-index: 1; padding-bottom: 48px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Sections */
section { padding: 90px 0; }

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

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

.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.section-header .gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}

.bg-dark { background: var(--navy-light); }

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Car cards */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.car-card {
  background: var(--navy-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.car-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow);
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.car-card-body { padding: 24px; }

.car-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--gold); }

.car-card .specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.car-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.car-card .price span { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

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

.feature-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--navy-light);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

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

.testimonial-card {
  background: var(--navy-light);
  padding: 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.testimonial-card .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--text-muted); margin-bottom: 16px; }
.testimonial-card .author { font-weight: 600; color: var(--white); }
.testimonial-card .role { font-size: 0.85rem; color: var(--gold); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  text-align: center;
}

.step-card .step-num {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h3 { margin-bottom: 10px; color: var(--gold); }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.gallery-item { overflow: hidden; border-radius: var(--radius); }

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

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  text-align: center;
  padding: 80px 20px;
}

.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Fleet filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(201, 168, 76, 0.4);
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.car-card.hidden { display: none; }

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

.service-card {
  background: var(--navy-light);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.service-card h3 { color: var(--gold); margin-bottom: 12px; }
.service-card .price-tag { font-size: 1.5rem; font-weight: 700; margin: 16px 0; }
.service-card ul { list-style: none; margin: 16px 0; }
.service-card li { padding: 6px 0; color: var(--text-muted); padding-left: 20px; position: relative; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  object-fit: cover;
  height: 400px;
  width: 100%;
}

.about-content p { color: var(--text-muted); margin-bottom: 16px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: center;
}

.stat-item h3 { font-size: 2.5rem; color: var(--gold); }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-block h3 { color: var(--gold); margin-bottom: 20px; }
.contact-info-block p { margin-bottom: 12px; color: var(--text-muted); }
.contact-info-block a { color: var(--gold); }

.contact-form {
  background: var(--navy-light);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

.form-error.show { display: block; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.form-submit:hover { background: var(--gold-dark); color: var(--navy); }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.form-success.visible { display: block; }

.form-success .checkmark {
  width: 72px;
  height: 72px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  font-weight: 700;
}

.form-success h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--text-muted); }

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 0 80px;
}

.legal-content h1 { margin-bottom: 8px; }
.legal-content .updated { color: var(--gold); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h2 { color: var(--gold); font-size: 1.3rem; margin: 32px 0 12px; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }

/* Footer */
.footer {
  background: #060810;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 { color: var(--gold); margin-bottom: 16px; font-size: 1rem; }
.footer p, .footer a { color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-light);
  border-top: 2px solid var(--gold);
  padding: 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.cookie-accept {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}

.cookie-accept:hover { background: var(--gold-dark); color: var(--navy); }

.cookie-learn {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}

.cookie-learn:hover { background: rgba(201, 168, 76, 0.15); color: var(--white); }

/* Mobile nav */
@media (max-width: 900px) {
  .burger { display: block; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li { width: 100%; }
  .nav-links a, .nav-links .btn-nav {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta-desktop { display: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}
