body {
  font-family: 'Dosis', sans-serif;
  background-color: #e7e8e8;
  margin: 0;
  padding: 0;
  min-width: 320px;
}

.bluemcdron {
  color: #224194;
}

.redmcdron {
  color: #c90e17;
}

.greymcdron {
  color: #e7e8e8;
}

.bg-bluemcdron {
  background-color: #224194;
}

.bg-graymcdron {
  background-color: #e7e8e8;
}

.bg-darkgraymcdron {
  background-color: #b5b5b5;
}

.bg-redmcdron {
  background-color: #c90e17;
}

#landing {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('img/mcdronbg.png');
  height: calc(100vh);
  max-width: 800px;
  min-width: 320px;
  position: relative;
  margin: 0 auto;
}

#landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

#content-overlay {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

#content-overlay h2 {
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  font-size: 3rem;
  font-weight: bold;
  color: #c90e17;
}

/* class="text-xl md:text-2xl mb-8 text-[#224194]" */

#content-overlay p {
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  color: #224194;
}

#hero-buttons {
  display: flex;
  gap: 1rem;
}

.cta-button {
  margin-top: 2rem;
  /* Espacio adicional arriba del botón */
  background-color: rgba(59, 131, 246, 0.979);
  /* Color semi-transparente */
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: rgba(37, 99, 235, 1);
}

#menu {
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 50;
}

.menu-open {
  display: flex;
}

.menu-closed {
  display: none;
}

.header-container {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  z-index: 100;
  background-color: transparent;
  transition: all 0.3s ease, transform 0.3s ease;
  transform: translateY(0);
}

.header-container.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container.scrolled #menu-items a {
  color: #224194 !important;
  text-shadow: none !important;
}

.header-container.scrolled #menu-button svg {
  stroke: #224194 !important;
  filter: none !important;
}

#menu-items a {
  color: #224194;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

#menu-items a:hover {
  color: #1a3275;
}

#menu-button svg {
  stroke: #224194;
  transition: all 0.3s ease;
}

.header-title {
  font-size: 1.5rem;
  font-weight: bold;
}

#menu-movil {
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 10px;
  gap: 1rem;
  padding: 1rem;
  z-index: 50;
  border: #224194 1px solid;
}

#menu-movil a:hover {
  text-decoration: underline;
}

#menu-items {
  font-size: larger;
}

#menu-items a {
  margin: 1rem;
}

#header-logo {
  width: 60px;
}

.grilla-seleccion button {
  padding: 1rem;
  border: 1px solid #224194;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grilla-seleccion button:hover {
  background-color: #224194;
  color: #e7e8e8;
}

.model-selected {
  background-color: #224194;
  color: #e7e8e8;
}

/* Card hover effects */
.shadow-md {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-md:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Lightbox styles */
#lightbox {
  backdrop-filter: blur(5px);
}

#lightbox img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animación para el botón principal */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cta-button-primary {
  box-shadow: 0 10px 25px rgba(201, 14, 23, 0.4);
}

.cta-button-primary:hover {
  box-shadow: 0 15px 35px rgba(201, 14, 23, 0.6);
}

/* Ajuste del header para la barra superior */
.header-container {
  top: 48px !important;
}

@media screen and (min-width: 768px) {
  header nav {
    display: flex;
  }

  #menu-items {
    display: flex;
  }

  #menu-button {
    display: none;
  }

  #menu-movil {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #menu-items {
    display: none;
  }

  #menu-button {
    display: block;
  }


  #content-overlay h2 {
    font-size: 2rem;
  }

  #content-overlay p {
    font-size: 1rem;
  }

  #hero-buttons {
    flex-direction: column;
    gap: 0px;
  }
  
  .cta-button-primary {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
  }
}
/* ================================================ */
/* CUSTOM SELECT CON VISTA PREVIA DE IMÁGENES */
/* ================================================ */

.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-select-trigger:hover {
  border-color: #224194;
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: #224194;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select-text {
  flex: 1;
  color: #374151;
}

.custom-select-text.placeholder {
  color: #9ca3af;
}

.custom-select-arrow {
  transition: transform 0.2s;
  color: #6b7280;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #224194;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  max-height: 400px;
  overflow: hidden;
  display: none;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.custom-select-wrapper.open .custom-select-dropdown {
  display: block;
}

.custom-select-search {
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.custom-select-search-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  outline: none;
  font-size: 0.875rem;
}

.custom-select-search-input:focus {
  border-color: #224194;
}

.custom-select-options {
  max-height: 340px;
  overflow-y: auto;
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.15s;
  border-bottom: 1px solid #f3f4f6;
}

.custom-select-option:hover {
  background-color: #eff6ff;
}

.custom-select-option.selected {
  background-color: #dbeafe;
  font-weight: 600;
}

.custom-select-option-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0.25rem;
  background: #f9fafb;
  padding: 0.25rem;
  flex-shrink: 0;
}

.custom-select-option-text {
  flex: 1;
  color: #374151;
  font-size: 0.9375rem;
}

.custom-select-option:hover .custom-select-option-text {
  color: #224194;
}

/* Scrollbar personalizado */
.custom-select-options::-webkit-scrollbar {
  width: 8px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Estilos para opciones de falla con iconos y descripción */
.custom-select-option-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #f9fafb;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.custom-select-option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.custom-select-option-desc {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.2;
}

.custom-select-option:hover .custom-select-option-desc {
  color: #6b7280;
}
