/* 
  AIOX_Template_Popular_2
  Theme: Community / Trust
  Colors: Forest Green, Light Warm Gray, White
*/

:root {
  --brand-primary: #1B5E20; /* Forest Green */
  --brand-accent: #FFB300; /* Amber/Gold for stars and highlights */
  --brand-secondary: #4CAF50; /* Light Green */
  
  --bg-body: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-dark: #123315; /* Very Dark Green */
  
  --text-primary: #222222;
  --text-secondary: #555555;
  --text-muted: #888888;
  
  --border-subtle: #E8ECEE;
  
  --font-main: 'Outfit', 'Inter', system-ui, sans-serif;
  
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* THEMES */
body.theme-blue {
  --brand-primary: #0D47A1;
  --brand-accent: #FFB300;
  --brand-secondary: #1976D2;
  --bg-dark: #072657;
}

body.theme-burgundy {
  --brand-primary: #6A1B9A;
  --brand-accent: #FFB300;
  --brand-secondary: #8E24AA;
  --bg-dark: #3A0D57;
}

body.theme-green {
  /* Default */
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.3s;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   HEADER
========================================= */
.top-bar {
  background: var(--bg-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 20px;
}

.top-bar-contact span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-header {
  background: var(--bg-card);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--text-primary);
  font-weight: 400;
}

.header-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.btn {
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #128C7E;
}

/* =========================================
   HERO / COMMUNITY SECTION
========================================= */
.hero-section {
  position: relative;
  padding: 100px 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%), url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=1600&q=80'); /* Office/Store background */
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  background: rgba(27, 94, 32, 0.1);
  color: var(--brand-primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--brand-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* =========================================
   FLOATING SIMULATOR WIDGET
========================================= */
.home-simulator {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-header {
  text-align: center;
  margin-bottom: 10px;
}

.sim-header h3 {
  font-size: 1.8rem;
  color: var(--brand-primary);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: flex-end;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.input-group select,
.input-group input {
  padding: 15px;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.input-group select:focus,
.input-group input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

/* =========================================
   VEHICLE CARDS GRID
========================================= */
.section-padding {
  padding: 80px 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.vehicle-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 94, 32, 0.1);
}

.card-img-wrap {
  position: relative;
  height: 220px;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
}

.card-badge.gold {
  color: #B28900;
}

.card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.card-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 20px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* =========================================
   SOCIAL PROOF (TESTIMONIALS & TRUST)
========================================= */
.trust-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.feature-item {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: var(--bg-card);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-subtle);
}

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

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--brand-primary);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 400px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-primary);
}

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

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

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}

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

.footer-contact p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   THEME SWITCHER WIDGET
========================================= */
.theme-switcher {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  border: 1px solid var(--border-subtle);
}

.theme-switcher h4 {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.theme-colors {
  display: flex;
  gap: 10px;
}

.theme-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border-subtle);
  cursor: pointer;
}

.theme-btn.green { background: #1B5E20; }
.theme-btn.blue { background: #0D47A1; }
.theme-btn.burgundy { background: #6A1B9A; }

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

@media (max-width: 600px) {
  .top-bar { display: none; }
  .header-nav .nav-links { display: none; }
  .hero-title { font-size: 2.5rem; }
  .sim-grid { grid-template-columns: 1fr; }
}
