/* MODELS PAGE */

/* Remove old hero styles - now using main header styles */
#hero {
  display: none;
}

.hero-overlay {
  display: none;
}

.hero__row {
  display: none;
}

.hero__title {
  display: none;
}

.hero__subtitle {
  display: none;
}

/* Models */

#models {
  padding: 80px 0;
  background-color: var(--col-background);
}

.models__row {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.models__header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.models__header__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--col-black);
  margin: 0;
}

.models__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 8px;
}

.model {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: none;
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  min-height: 620px;
  position: relative;
}

.model::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(60, 138, 52, 0.05) 0%, rgba(60, 138, 52, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 24px;
}

.model:hover::before {
  opacity: 1;
}

.model:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(60, 138, 52, 0.2);
}

.model__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.model:hover .model__img {
  transform: scale(1.1);
}

.model__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 0;
}

.model__title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 5px;
}

.model__details__name {
  font-size: 26px;
  font-weight: 800;
  color: var(--col-black);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.model__details__price {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--col-primary), var(--col-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.model__details__price__span {
  font-size: 14px;
  font-weight: 500;
  color: var(--col-gray);
}

.model__category-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--col-primary), var(--col-primary-light));
  color: white;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(60, 138, 52, 0.3);
}

.model__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(60, 138, 52, 0.1);
  border-bottom: 1px solid rgba(60, 138, 52, 0.1);
}

.model__spec {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--col-black);
  font-size: 14px;
  padding: 10px 12px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  min-height: 52px;
}

.model__spec:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(60, 138, 52, 0.15);
}

.model__detail__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: linear-gradient(135deg, var(--col-primary-light), var(--col-primary));
  border-radius: 10px;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(60, 138, 52, 0.25);
  line-height: 1;
}

.model__detail__icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.model__detail__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--col-gray);
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.model__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
}

.model__btn {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border: none;
  outline: none;
  color: white;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.model__btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.model__btn:hover::before {
  width: 300px;
  height: 300px;
}

.model__btn--call {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.model__btn--call:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
  transform: translateY(-3px);
}

.model__btn--whatsapp {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.model__btn--whatsapp:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
  transform: translateY(-3px);
}

.model__btn--detail {
  background: linear-gradient(135deg, var(--col-primary), var(--col-primary-dark));
  box-shadow: 0 8px 24px rgba(60, 138, 52, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.model__btn--detail:hover {
  background: linear-gradient(135deg, var(--col-primary-dark), var(--col-primary));
  box-shadow: 0 12px 32px rgba(60, 138, 52, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.model__btn__icon {
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.model__btn__span {
  position: relative;
  z-index: 1;
}

.models__list__spinner {
  font-size: 40px;
  margin: 0 auto;
  animation: loading-spinner 1000ms infinite;
}

@keyframes loading-spinner {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

/* XL Screens */

@media (max-width: 1280px) {
  .models__list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .model {
    min-height: 600px;
  }
}

/* LG Screens */

@media (max-width: 1024px) {
  /* Navigation */

  .nav__links,
  .nav__btns {
    display: none;
  }

  .nav__menu {
    display: block;
  }

  /* Features */

  .features__list {
    flex-wrap: wrap;
    gap: 40px;
  }

  .feature {
    width: 45%;
  }

  /* Choose */

  .choose__content {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }

  .choose__text {
    align-items: center;
  }

  .choose__features {
    gap: 40px;
  }

  /* Testimonials */

  .testimonials__list {
    flex-direction: column;
    gap: 32px;
  }
}

/* Tablets - MD screens */

@media (max-width: 768px) {
  .models__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .model {
    min-height: auto;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .model__img {
    height: 220px;
  }
  
  .model__specs {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .model__spec {
    padding: 12px 14px;
  }
  
  .model__actions {
    padding: 20px;
    gap: 10px;
  }

  .models__header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .models__header__title {
    font-size: 36px;
  }
}

/* SM screens */

@media (max-width: 640px) {
  /* Testimonials */

  .testimonial {
    padding: 32px;
  }

  .testimonial__review {
    font-size: 18px;
  }

  /* Footer */

  .footer__content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  /* 
  
  MODELS PAGE
  
  */

  .models__header {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .models__header__title {
    font-size: 28px;
  }

  .model {
    border-radius: 20px;
    min-height: auto;
  }
  
  .model__img {
    height: 200px;
  }
  
  .model__details {
    padding: 16px 20px 0;
  }

  .model__details__name {
    font-size: 22px;
  }
  
  .model__category-badge {
    font-size: 11px;
    padding: 5px 14px;
  }

  .model__specs {
    padding: 16px 20px;
    gap: 8px;
  }

  .model__spec {
    font-size: 13px;
    padding: 10px 12px;
  }
  
  .model__detail__icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    font-size: 14px;
  }
  
  .model__detail__icon i {
    line-height: 1;
  }
  
  .model__actions {
    padding: 16px 20px;
    gap: 8px;
  }
  
  .model__btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .model__btn__icon {
    font-size: 16px;
  }
}
