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

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #d4af37;
  --accent-color: #c41e3a;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

/* Navigation */
.navbar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

/* Desktop: children are .logo, .nav-toggle, .nav-menu (toggle hidden) */
.nav-brand-row {
  display: contents;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.logo-img {
  height: 65px;
  width: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-text {
  min-width: 0;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--secondary-color);
  line-height: 1.2;
  margin: 0;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin-top: 2px;
  margin-bottom: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  animation: navBackdropIn 0.2s ease;
}

@keyframes navBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Language Selector */
.lang-selector {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.lang-btn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.lang-btn.active {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  transition: opacity 1.1s ease-in-out;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(196, 30, 58, 0.5));
  pointer-events: none;
}

.hero-logo-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  opacity: 1;
  animation: fadeOutMask 0.75s ease-out 1.2s forwards;
  pointer-events: auto;
}

.hero-logo {
  max-width: 220px;
  width: min(220px, 40vw);
  height: auto;
  opacity: 0;
  animation: logoAppear 0.9s ease-out forwards;
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(212, 175, 55, 0.2);
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero-content {
  position: relative;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  animation: contentAppear 0.7s ease-out 1.95s forwards;
}

@keyframes logoAppear {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOutMask {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@keyframes contentAppear {
  from {
    opacity: 0;
    visibility: visible;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
}

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

.btn-primary:hover {
  background-color: #e5c158;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.hero .btn-primary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-small {
  display: inline-block;
  padding: 10px 25px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-small:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 50px;
  font-size: 1.1rem;
  width: 100%;
  background: linear-gradient(135deg, var(--secondary-color), #c41e3a);
  border: none;
  border-radius: 10px;
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
  margin-bottom: 1rem;
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* About Section */
.about {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.about h2,
.vehicles h2,
.pricing h2,
.reviews h2,
.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature {
  background-color: var(--white);
  padding: 1.5rem;
  border-left: 4px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Vehicles Section */
.vehicles {
  padding: 60px 20px;
  background-color: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.vehicle-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.vehicle-image {
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  filter: brightness(1.2);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vehicle-image--placeholder {
  color: var(--white);
  font-size: 1rem;
}

.vehicle-image-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.vehicle-model-name {
  position: relative;
  z-index: 1;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 15px;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  font-size: 1rem;
  font-weight: bold;
  color: var(--secondary-color);
  display: none;
}

.vehicle-content {
  padding: 1.5rem;
}

.vehicle-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.vehicle-model {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.vehicle-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.vehicle-features {
  background-color: var(--light-bg);
  padding: 0.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #666;
}

.vehicle-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.price {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Services Section */
.services {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f9f9 0%, var(--white) 100%);
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

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

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid var(--secondary-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: bold;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--secondary-color);
}

.pricing-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-card .stars {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-card p {
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
}

.review-card .author {
  color: var(--primary-color);
  font-weight: bold;
  font-style: normal;
}

/* Team Section */
.team {
  padding: 60px 20px;
  background-color: #fdfcf8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background-color: var(--white);
  border-left: 4px solid var(--secondary-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.team-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-card p {
  margin-bottom: 0.25rem;
  color: #444;
}

/* Highlights Section */
.highlights {
  padding: 60px 20px;
  background-color: #fff8e8;
}

.highlights-list {
  list-style: none;
  color: #333;
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
}

.highlights-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.highlights-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background-color: var(--white);
}

.contact-content--static {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-block {
  background-color: var(--light-bg);
  padding: 1.75rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-block-title {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.contact-block p {
  margin: 0;
  line-height: 1.7;
  color: #444;
}

.contact-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.contact-block--whatsapp {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border-left-color: #25d366;
  padding: 1rem 1.5rem;
}

.btn-whatsapp {
  display: block;
  width: 100%;
  background: #25d366;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  box-sizing: border-box;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.footer p {
  margin-bottom: 0.5rem;
}

.loading {
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    z-index: 100;
  }

  .nav-container {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .nav-brand-row {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 0.6rem;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .logo-img {
    height: 48px;
    width: auto;
    flex-shrink: 0;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-title {
    font-size: clamp(0.7rem, 2.1vw, 0.95rem);
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .logo-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
    flex: 0 0 auto;
    align-self: center;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-basis: auto;
    order: 0;
    gap: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    align-items: stretch;
    transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease;
  }

  .nav-menu.is-open {
    max-height: 24rem;
    padding: 0.5rem 0 1.25rem;
    margin: 0;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-menu .nav-link:last-of-type {
    border-bottom: none;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

  h2 {
    font-size: 2rem;
  }
}
