/* AustrCar.online – Premium Dark Automotive Theme */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --text: #e8e8e8;
  --text-muted: #888888;
  --border: rgba(201,168,76,0.2);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo span { font-size: 1.3rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--dark); padding: 0.5rem 1.4rem; border-radius: var(--radius); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: background 0.3s; }
.nav-cta:hover { background: var(--gold-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: 0.3s; }

/* HERO */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 40%, #1a1200 100%);
  position: relative; overflow: hidden;
  padding: 4rem 2rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.hero-grid { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.1); border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--dark); padding: 0.85rem 2rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.06em; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); padding: 0.85rem 2rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.06em; transition: all 0.3s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.stat { }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); max-width: 560px; margin-bottom: 3rem; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.4); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 48px; height: 48px; margin-bottom: 1.2rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); }

/* TRUST SECTION */
.trust-section { background: var(--dark-2); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.trust-item { text-align: center; padding: 1.5rem; }
.trust-item svg { margin: 0 auto 1rem; display: block; }
.trust-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.85rem; color: var(--text-muted); }

/* VEHICLE TYPES */
.vehicles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.vehicle-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; text-align: center; transition: all 0.3s; cursor: default; }
.vehicle-card:hover { border-color: var(--gold); background: var(--dark-4); }
.vehicle-card svg { margin: 0 auto 0.8rem; display: block; }
.vehicle-card h4 { font-size: 0.9rem; font-weight: 600; }

/* FAQ ACCORDION */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; color: var(--text); text-align: left; padding: 1.2rem 0; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 1.2rem; color: var(--text-muted); font-size: 0.95rem; }

/* INFO SECTION */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.info-list { list-style: none; }
.info-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--border); display: flex; gap: 1rem; align-items: flex-start; font-size: 0.95rem; }
.info-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* FOOTER */
footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-col h5 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, #0a0a0a 0%, #111 60%, #1a1200 100%); padding: 5rem 2rem 4rem; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* CONTACT FORM */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--dark-3); border: 1px solid var(--border); color: var(--text); padding: 0.85rem 1rem; border-radius: var(--radius); font-size: 0.95rem; transition: border-color 0.3s; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit { background: var(--gold); color: var(--dark); padding: 0.9rem 2.5rem; border: none; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; cursor: pointer; letter-spacing: 0.06em; transition: all 0.3s; }
.btn-submit:hover { background: var(--gold-light); }

/* CONTACT INFO */
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-item { background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; }
.contact-info-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--gold); }
.contact-info-item p { font-size: 0.9rem; color: var(--text-muted); }

/* PRIVACY */
.privacy-content h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.8rem; color: var(--gold); }
.privacy-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.privacy-content ul { color: var(--text-muted); font-size: 0.95rem; padding-left: 1.5rem; margin-bottom: 1rem; }

/* DIAG PAGE */
.diag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.diag-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; }
.diag-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--gold); }
.diag-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ABOUT */
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.value-card { background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem; }
.value-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid, .info-grid, .contact-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark-2); padding: 1rem 2rem; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 1rem; }
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
