* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: #1f2a33;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HEADER */
header {
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  height: 32px;
  gap: 10px;
  border: none;
  font-weight: bold;
  font-size: 18px;
}


.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #1f2a33;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #3B82F6;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #3B82F6;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #3B82F6;
}

nav a.active::after {
  width: 100%;
}

/* HERO FROTA */
.fleet-hero {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #2c3e50 0%, #3B82F6 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.hero-overlay h1 {
  font-size: 56px;
  margin-bottom: 15px;
  animation: fadeInDown 0.8s ease;
}

.hero-overlay p {
  font-size: 22px;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CATEGORIAS */
.categories-section {
  padding: 80px 0;
  background: #ffffff;
}

.categories-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: #1f2a33;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.category-card {
  background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3B82F6 0%, #2c3e50 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
  border-color: #3B82F6;
}

.category-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.category-card:hover > * {
  color: #ffffff;
}

.category-icon {
  font-size: 100px;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.2) rotate(10deg);
}

.category-card h3 {
  font-size: 36px;
  margin-bottom: 12px;
  color: #2c3e50;
}

.category-card p {
  font-size: 18px;
  color: #6b6b6b;
  margin-bottom: 25px;
}

.category-count {
  display: inline-block;
  padding: 8px 20px;
  background: #3B82F6;
  color: #ffffff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.category-card:hover .category-count {
  background: #ffffff;
  color: #3B82F6;
}

/* GRID DE VEÍCULOS */
.fleet-grid-section {
  padding: 80px 0;
  background: #f7f7f7;
  min-height: 70vh;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 42px;
  color: #1f2a33;
}

.btn-back {
  padding: 12px 24px;
  background: #6b6b6b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: #4a4a4a;
  transform: translateX(-5px);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
}

.vehicle-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vehicle-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.vehicle-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.15);
}

.category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #3B82F6;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
}

.vehicle-info {
  padding: 30px;
}

.vehicle-info h3 {
  font-size: 26px;
  margin-bottom: 8px;
  color: #1f2a33;
}

.vehicle-year {
  color: #6b6b6b;
  font-size: 15px;
  margin-bottom: 20px;
}

.vehicle-description {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #2c3e50;
  background: #f0f4f8;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.vehicle-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-details {
  padding: 14px;
  background: #2c3e50;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background: #1a252f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.btn-whatsapp {
  padding: 14px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-whatsapp:hover {
  background: #1ea952;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: #ffffff;
  border: 2px solid #e6e6e6;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #f7f7f7;
  transform: rotate(90deg);
  border-color: #3B82F6;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 60px;
}

/* GALERIA */
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image {
  width: 100%;
  height: 450px;
  background: #f7f7f7;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumbnail {
  height: 90px;
  background: #f7f7f7;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #3B82F6;
  transform: scale(1.05);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* INFO DO MODAL */
.modal-info {
  display: flex;
  flex-direction: column;
}

.modal-category {
  display: inline-block;
  background: #3B82F6;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  align-self: flex-start;
}

.modal-info h2 {
  font-size: 40px;
  color: #1f2a33;
  margin-bottom: 8px;
}

.modal-year {
  font-size: 18px;
  color: #6b6b6b;
  margin-bottom: 25px;
  font-weight: 500;
}

.modal-description {
  font-size: 17px;
  line-height: 1.9;
  color: #4a4a4a;
  margin-bottom: 35px;
}

.modal-features h3,
.modal-specs h3 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 35px;
}

.feature-item-modal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #2c3e50;
  background: #f0f4f8;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
}

.feature-item-modal::before {
  content: "✓";
  color: #3B82F6;
  font-weight: bold;
  font-size: 20px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f7f7f7;
  border-radius: 10px;
  font-size: 16px;
}

.spec-label {
  color: #6b6b6b;
  font-weight: 500;
}

.spec-value {
  color: #1f2a33;
  font-weight: 600;
}

.modal-actions {
  margin-top: auto;
}

.btn-reserve {
  width: 100%;
  padding: 18px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reserve:hover {
  background: #1ea952;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* FOOTER */
footer {
  background: #1f2a33;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 15px;
}

.footer-logo {
  margin-top: 15px;
}

.footer-logo img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3B82F6;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 12px;
}

.contact-info a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #3B82F6;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #2c3e50;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  transition: background 0.3s ease;
}

.social-btn-footer {
  display: inline-block;
  padding: 10px 20px;
  background: #2c3e50;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  transition: background 0.3s ease;
}

.social-btn-footer:hover {
  background: #3B82F6;
}

.social-btn-footer.whatsapp {
  background: #25D366;
}

.social-btn-footer.whatsapp:hover {
  background: #1ea952;
}

.social-btn:hover {
  background: #3B82F6;
}

.social-btn.whatsapp {
  background: #25D366;
}

.social-btn.whatsapp:hover {
  background: #1ea952;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #3a4a5a;
}

.footer-bottom p {
  font-size: 14px;
  color: #cccccc;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .modal-grid {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 0;
    background: #ffffff;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    border-top: 1px solid #e6e6e6;
    z-index: 1000;
  }

  nav a {
    margin: 15px 0;
    display: block;
  }

  nav.active {
    display: flex;
  }

  .hero-overlay h1 {
    font-size: 38px;
  }

  .hero-overlay p {
    font-size: 18px;
  }

  .categories-section h2 {
    font-size: 32px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .modal-grid {
    padding: 30px 20px;
  }

  .modal-info h2 {
    font-size: 30px;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-actions {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .hero-overlay h1 {
    font-size: 30px;
  }

  .container {
    padding: 0 20px;
  }

  .categories-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 200px;
  }
}


/* MENU TOGGLE BUTTON - Hamburguer animado */
.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #1f2a33;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

/* Animação do hamburguer quando ativo (vira X) */
.menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* MENU MOBILE - Slide from right */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow-y: auto;
  }

  nav.active {
    right: 0;
  }

  nav a {
    margin: 0 0 25px 0;
    padding: 15px 20px;
    font-size: 18px;
    color: #1f2a33;
    text-align: left;
    border-radius: 8px;
    transition: all 0.3s ease;
    transform: translateX(50px);
    opacity: 0;
    background: #f7f7f7;
  }

  /* Animação cascata dos links */
  nav.active a {
    transform: translateX(0);
    opacity: 1;
  }

  nav.active a:nth-child(1) {
    transition-delay: 0.1s;
  }

  nav.active a:nth-child(2) {
    transition-delay: 0.2s;
  }

  nav.active a:nth-child(3) {
    transition-delay: 0.3s;
  }

  nav.active a:nth-child(4) {
    transition-delay: 0.4s;
  }

  nav a:hover,
  nav a.active {
    background: #3B82F6;
    color: #ffffff;
    transform: translateX(5px);
  }

  nav a::after {
    display: none;
  }

  /* Overlay escuro quando menu aberto */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  body.menu-open::before {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Animação adicional no header */
  header {
    position: sticky;
    top: 0;
    z-index: 1001;
  }
}
