:root {
  /* Color Palette */
  --primary: #0f172a;        /* Deep Slate (Kept for dark headers/footers) */
  --primary-light: #1e293b;
  --accent: #EB3136;         /* Honda Red */
  --accent-hover: #cc2529;
  --accent-light: #ff5c60;
  --accent-glow: rgba(235, 49, 54, 0.4);
  
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-hover: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --nav-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: #0b1120;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--accent-glow);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--surface);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.text-center { text-align: center; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-links a.active {
  color: var(--accent);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--text-inverse);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-light:hover {
  background: rgba(255,255,255,0.2);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-inverse);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, var(--accent-glow) 0%, transparent 50%);
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 10;
  position: relative;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

/* Hero Slider Background */
.hero-showcase {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Semi-transparent overlay to ensure text readability over images */
.hero-showcase::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 5;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slide-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Company Grid */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
  z-index: 2;
}

.company-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.company-card:hover::before {
  transform: scaleX(1);
}

.company-icon {
  width: 80px;
  height: 80px;
  background: var(--surface-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent);
  transition: var(--transition-normal);
}

.company-card:hover .company-icon {
  background: var(--accent);
  color: var(--surface);
  box-shadow: var(--shadow-glow);
}

.company-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-normal);
}

.company-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.company-card:hover .company-logo {
  transform: scale(1.05);
}

.company-card h3 {
  margin-bottom: 1rem;
}

.company-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.company-link i {
  transition: var(--transition-fast);
}

.company-card:hover .company-link {
  color: var(--accent);
}

.company-card:hover .company-link i {
  transform: translateX(4px);
}


/* Footer */
.footer {
  background: var(--footer-bg);
  color: #94a3b8;
  padding: 6rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: var(--text-inverse);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 1rem;
}

.footer-links h4 {
  color: var(--text-inverse);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--accent-light);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-normal);
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }

  .footer-bottom {
    justify-content: center;
  }
}

/* Utilities for other pages */
.page-header {
  padding: 10rem 0 6rem;
  background: var(--surface-alt);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-header h1 {
  color: var(--primary);
}

/* Feature Section */
.feature-section {
  background: var(--surface);
}

.feature-section.alt {
  background: var(--surface-alt);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: white;
  animation: none;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Quote Modal Styles */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.quote-modal {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

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

.quote-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.quote-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-modal p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Top Slanted Search Bar */
.top-search-wrapper {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.top-search-container {
  position: relative;
  width: 50%;
  max-width: 600px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.top-search-inner {
  background: white;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
  padding: 0.8rem 3rem;
  display: flex;
  justify-content: center;
}

.top-search-form {
  display: flex;
  width: 100%;
}

.top-search-input {
  width: 100%;
  border: none;
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  outline: none;
  background: transparent;
  padding: 0.2rem;
  font-family: 'Inter', sans-serif;
}

.top-search-input::placeholder {
  color: #999;
  font-weight: 500;
}

.top-search-submit {
  background: none;
  border: none;
  color: #666;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: color 0.3s;
}

.top-search-submit:hover {
  color: var(--primary);
}

/* Autocomplete Dropdown */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 0 0 8px 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 20;
  display: none;
  text-align: left;
  border: 1px solid #eee;
  border-top: none;
}

.dropdown-section {
  padding: 0.5rem 0;
}

.dropdown-section + .dropdown-section {
  border-top: 1px solid #eee;
}

.dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  letter-spacing: 0.05em;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.2s;
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--surface-hover);
}

.dropdown-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}

.dropdown-details {
  flex: 1;
}

.dropdown-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.dropdown-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dropdown-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}
