/* css/hero.css */
.hero-section{
  background: url("../css/images/motor_fondo.png") center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 120px 0;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 50px;
}

.hero-overlay{
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin-left: 100px;
  animation: fadeIn 1s ease;
}

.hero-text h1{
  font-size: 2.5rem;
  margin: 0 0 16px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-text p{
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-ctas{
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.primari-1{
  background-color: var(--primary);
  border-radius: 45px;
  min-height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.primari-1:hover{
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.conta{
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.flechs{
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: all 0.3s ease;
}

.primari-1:hover .flechs{
  background-color: white;
  transform: translateX(3px);
}

.material-symbols-outlined{
  color: white;
  font-size: 1.25rem;
}

.primari-1:hover .material-symbols-outlined{
  color: var(--primary);
}

/* Sections - Nosotros */
.about {
  background-color: var(--white);
}

.conoce{
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.about-card, .about-card-2{
  background-color: var(--light);
  padding: 30px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
  opacity: 0;
  transform: translateY(30px);
}

.about-card:hover, .about-card-2:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.about-card h3, .about-card-2 h3{
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

.about-card p, .about-card-2 p{
  color: var(--gray);
  line-height: 1.6;
}

.h3, .h4{
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--primary);
}

.mision{
  color: var(--primary) !important;
  font-weight: 600;
  margin: 0;
}

.p-tx{
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

/* Images */
.img-mot{
  margin: 40px 0;
  text-align: center;
}

.image-mot-2{
  border-radius: var(--card-radius);
  max-width: 100%;
  height: auto;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeIn 0.8s ease forwards;
}

.image-mot-2:hover{
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Buttons */
.ver, .expor {
  display: inline-flex;
  background-color: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 45px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  margin: 10px 10px 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
  min-height: 46px;
  white-space: nowrap;
  box-sizing: border-box;
}

.ver:hover, .expor:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.ver-mas, .expor-mas {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 344px) {
  .hero-section {
    height: 400px;
    padding: 60px 0;
  }
  
  .hero-overlay {
    padding: 0 10px;
  }
  
  .hero-content {
    padding: 15px;
    margin-left: 0;
    max-width: 100%;
  }
  
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }
  
  .primari-1 {
    padding: 0 15px;
    min-height: 40px;
    font-size: 0.8rem;
    width: 100%;
  }
  
  .conta {
    font-size: 0.8rem;
  }
  
  .flechs {
    width: 28px;
    height: 28px;
    margin-left: 8px;
  }
  
  .about-grid {
    margin-top: 30px;
    gap: 20px;
  }
  
  .about-card, .about-card-2 {
    padding: 20px;
  }
  
  .about-card h3, .about-card-2 h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .h3, .h4 {
    font-size: 1.2rem;
  }
  
  .p-tx {
    font-size: 0.85rem;
  }
  
  .img-mot {
    margin: 20px 0;
  }
  
  .ver, .expor {
    padding: 10px 15px;
    min-height: 40px;
    font-size: 0.8rem;
    margin: 8px 0;
    width: 100%;
  }
}

/* Estilos para resolución 720x1600 */
@media (max-width: 720px) {
  .hero-section {
    height: 500px;
    padding: 80px 0;
  }
  
  .hero-content {
    padding: 25px;
    margin-left: 0;
    max-width: 95%;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-ctas {
    gap: 15px;
    margin-top: 20px;
  }
  
  .primari-1 {
    padding: 0 25px;
    min-height: 48px;
    font-size: 0.95rem;
  }
  
  .conta {
    font-size: 0.95rem;
  }
  
  .flechs {
    width: 32px;
    height: 32px;
    margin-left: 10px;
  }
  
  .about {
    padding: 60px 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }
  
  .about-card, .about-card-2 {
    padding: 25px;
  }
  
  .about-card h3, .about-card-2 h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }
  
  .h3, .h4 {
    font-size: 1.4rem;
  }
  
  .p-tx {
    font-size: 1rem;
  }
  
  .img-mot {
    margin: 30px 0;
  }
  
  .image-mot-2 {
    max-width: 100%;
  }
  
  .ver, .expor {
    padding: 12px 25px;
    min-height: 48px;
    font-size: 0.95rem;
    margin: 10px 5px;
  }
}

@media (max-width:900px){
  .hero-content{
    margin-left: 0;
    padding: 30px;
    max-width: 90%;
  }
  
  .hero-text h1{
    font-size: 2rem;
  }
  
  .hero-ctas{
    flex-direction: column;
  }
  
  .about-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px){
  .hero-section{
    height: 500px;
    padding: 80px 0;
  }
  
  .hero-text h1{
    font-size: 1.75rem;
  }
  
  .hero-content{
    padding: 20px;
  }
  
  .ver, .expor {
    display: block;
    margin: 10px 0;
    text-align: center;
  }
}