/* Reset & base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 50px;
}

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

.menu a {
  font-weight: 500;
  transition: color 0.2s;
}

.menu a:hover,
.menu .active {
  color: #e63946;
}

.call-center {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary {
  background: #e63946;
  color: #fff;
}

.btn-primary:hover {
  background: #b71d27;
}

.btn-secondary {
  background: #f1f1f1;
  color: #333;
}

.btn-secondary:hover {
  background: #ddd;
}

.btn-secondary.small {
  padding: 0.5rem 1rem;
}

/* Why Us */
.why-us {
  padding: 4rem 0;
  background: #f8f8f8;
}

.why-us h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature {
  text-align: center;
}

.feature i {
  font-size: 2rem;
  color: #e63946;
  margin-bottom: 0.5rem;
}

/* Fleet & Cars */
.fleet {
  padding: 4rem 0;
}

.fleet h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

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

.car-card {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.car-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.car-card .card-body {
  padding: 1rem;
}

.car-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.car-card p {
  margin-bottom: 0.5rem;
}

.car-card .price {
  font-weight: 600;
  color: #e63946;
}

.center {
  text-align: center;
  margin-top: 2rem;
}

/* Filters */
.filters {
  background: #f8f8f8;
  padding: 1.5rem 0;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.filter-container input,
.filter-container select,
.filter-container button {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
}

/* Page hero (subpages) */
.page-hero {
  background: #e63946;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

/* About & Contact */
.about-content,
.contact-content {
  padding: 4rem 0;
}

.about-content h2,
.contact-content h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.about-content h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.values {
  margin: 1rem 0;
  list-style: square inside;
}

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

.contact-info p,
.contact-info i {
  margin-bottom: 0.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
footer {
  background: #222;
  color: #bbb;
  font-size: 0.9rem;
}

.footer-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.footer-about img {
  height: 45px;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: #bbb;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact i {
  margin-right: 0.5rem;
}

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .menu {
    gap: 1rem;
  }
}



.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 200px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  nav {
    position: relative;
  }
}


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


/* === Modern Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Primary (red) */
.btn-primary {
  background: #e63946;
  color: #fff;
}
.btn-primary:hover {
  background: #b71d27;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Secondary (light) */
.btn-secondary {
  background: #f1f1f1;
  color: #333;
}
.btn-secondary:hover {
  background: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* WhatsApp */
.btn-whatsapp {
  background: linear-gradient(135deg,#25D366 0%,#128C7E 100%);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}


@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .call-center {
    order: -1;
    justify-content: center;
    font-size: 1rem;
  }

  .hamburger {
    align-self: flex-end;
  }

  .menu {
    position: absolute;
    top: 70px;
    right: 1rem;
  }
}


@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .call-center {
    order: 1;
    justify-content: center;
    display: flex;
    padding: 0.5rem 0;
  }

  .hamburger {
    position: absolute;
    right: 1rem;
    top: 1.2rem;
  }

  nav {
    order: 2;
    width: 100%;
  }

  .menu {
    position: absolute;
    top: 60px;
    right: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 100;
  }
}


@media (max-width: 768px) {
  .menu {
    right: 0;
    left: auto;
    width: 200px;
  }
}


/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #128C7E;
}


@media (max-width: 768px) {
  .menu {
    position: fixed !important;
    top: 70px;
    right: 0;
    left: auto;
    width: 220px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 999;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .nav {
    align-items: flex-start;
    position: relative;
  }

  .hamburger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }

  .call-center {
    display: flex;
    justify-content: center;
    width: 100%;
    order: -1;
    margin-bottom: 0.5rem;
  }

  nav {
    width: 100%;
    text-align: left;
  }
}
