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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', 'Inter', sans-serif;
  background-color: #f5f5f4;
  color: #292524;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: block;
  }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  cursor: pointer;
  display: inline-block;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .brand-name {
    font-size: 1.5rem;
  }
}

.brand-text-dark {
  color: #1c1c1c;
}

.brand-text-red {
  color: #7b1f1f;
}

.desktop-nav {
  display: none;
  gap: 32px;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-link:hover {
  color: #7b1f1f;
}

.cta-button {
  display: none;
  background-color: #7b1f1f;
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #5c1515;
}

@media (min-width: 768px) {
  .desktop-cta {
    display: inline-block;
  }
}

.mobile-menu-toggle {
  display: block;
  font-size: 24px;
  color: #1f2937;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  gap: 16px;
  flex-direction: column;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  display: block;
  color: #111827;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: #7b1f1f;
}

.mobile-cta-button {
  display: block;
  background-color: #7b1f1f;
  color: white;
  padding: 16px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.mobile-cta-button:hover {
  background-color: #5c1515;
}

/* Main Content */
.main-content {
  flex: 1;
  padding-top: 88px;
  overflow-x: hidden;
  background-color: #f9fafb;
}

/* Home Section */
.home-section {
  position: relative;
  padding: 128px 0 80px;
  background: linear-gradient(to bottom right, #ffffff, #e0f2fe, #bfdbfe);
  overflow: hidden;
}

.home-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  background-image: url('assets/img/hero/bg2.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
}

.home-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

@media (min-width: 768px) {
  .home-container {
    flex-direction: row;
  }
}

.home-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .home-content {
    width: 50%;
    text-align: left;
  }
}

.home-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.75;
  letter-spacing: normal;
}

@media (min-width: 768px) {
  .home-title {
    font-size: 1.875rem;
  }
}

.home-title-highlight {
  color: #7b1f1f;
  font-weight: 700;
}

.home-description {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .home-description {
    font-size: 1.125rem;
    margin: 0;
  }
}

.home-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .home-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .home-buttons {
    justify-content: flex-start;
  }
}

.home-image-wrapper {
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .home-image-wrapper {
    width: 50%;
  }
}

.home-image-glow {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 112px;
  height: 112px;
  background-color: #dbeafe;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}

.home-image {
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s;
  z-index: 10;
  position: relative;
  display: block;
}

.home-image:hover {
  transform: scale(1.05);
}

/* Button Styles */
.btn-primary {
  background-color: #7b1f1f;
  color: white;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #5e1515;
}

.btn-secondary {
  border: 2px solid #7b1f1f;
  color: #7b1f1f;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #7b1f1f;
  color: white;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* About Section */
.about-section {
  background-color: white;
  padding: 80px 0;
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
  }
}

.about-image-wrapper {
  width: 100%;
}

@media (min-width: 768px) {
  .about-image-wrapper {
    width: 50%;
  }
}

.about-image {
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 512px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .about-image {
    margin: 0;
  }
}

.about-content {
  width: 100%;
}

@media (min-width: 768px) {
  .about-content {
    width: 50%;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  line-height: 1.375;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

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

.section-title-highlight {
  color: #7b1f1f;
}

.about-description {
  color: #4b5563;
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .about-description {
    font-size: 1.125rem;
  }
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #374151;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .about-feature-item {
    font-size: 1.125rem;
  }
}

.checkmark {
  color: #10b981;
  font-size: 1.25rem;
  margin-top: 2px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: #f9fafb;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  transform: translateY(0);
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 3rem;
  color: #7b1f1f;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.service-description {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.75;
}

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

/* Vehicles Section */
.vehicles-section {
  padding: 80px 0;
  background-color: white;
}

.vehicles-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.vehicles-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.vehicle-tab {
  padding: 8px 24px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  background-color: #f3f4f6;
  color: #374151;
}

.vehicle-tab:hover {
  background-color: #e5e7eb;
}

.vehicle-tab.active {
  background-color: #7b1f1f;
  color: white;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vehicles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vehicle-card {
  background-color: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s;
  transform: translateY(0);
}

.vehicle-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.vehicle-image {
  width: 100%;
  height: 192px;
  object-fit: cover;
}

.vehicle-content {
  padding: 20px;
}

.vehicle-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.vehicle-features {
  list-style: none;
  color: #4b5563;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vehicle-feature-item {
  list-style: none;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #f9fafb;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.contact-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  color: #7b1f1f;
  font-size: 1.875rem;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card-text {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.75;
}

.contact-link {
  color: #2563eb;
  text-decoration: none;
  display: block;
  transition: text-decoration 0.2s;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-link-green {
  color: #16a34a;
}

.contact-link-instagram {
  color: #2563eb;
  font-size: 0.875rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.contact-link-instagram:hover {
  color: #1d4ed8;
}

.contact-whatsapp {
  margin-top: 12px;
}

.contact-cta {
  margin-top: 48px;
  text-align: center;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background-color: #822727;
  padding: 64px 0 40px;
  color: white;
}

.footer-gradient {
  position: absolute;
  left: 0;
  top: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  filter: blur(4px);
}

.footer-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.footer-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-icon {
  font-size: 1.125rem;
  margin-top: 2px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social-link:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
