@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

:root {

    --fuente-principal: 'Montserrat', sans-serif;
    --color-fuente: White;
    --color-botones: #f0b429;
    --color-fuentebotones: black;
    --color-hover: #d99a1b;
    --background-color-header:rgb(63, 63, 63);
}

/* Reset básico */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
color: var(--color-fuente);
font-family: var(--fuente-principal);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Principal */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--background-color-header);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  gap: 1.5rem;
  box-sizing: border-box;
}

.logo {

    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    
    height: 50px;
    width: auto;
    object-fit: contain;    
}

.nav-bar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-weight: bold;
  padding: 10px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--color-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-botones);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
} 

.btn {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-botones);
  color: var(--color-fuentebotones);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--color-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 180, 41, 0.4);
}

/* Hamburger Menu */
 .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  }
  .hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
  }
  .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
  opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  }
  /* Mobile Menu */
  .mobile-menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: var(--background-color-header);
  transition: left 0.3s ease;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
 .mobile-menu.active {
  left: 0;
  }
  .mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  }
  .mobile-menu .nav-link {
  font-size: 18px;
  padding: 15px 0;
  }

  /* Responsivo */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
  .header {
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1.2rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Responsive - Móviles */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-bar {
    display: none;
  }
  
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1rem;
  }
  
  .logo img {
    height: 32px;
  }
  
  .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Hero Section */

.hero {
  width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/assets/images/ChatGPT\ Image\ 8\ jul\ 2025\,\ 08_02_36\ p.m..png');
  background-size: cover;
  background-position: top; 
  background-repeat: no-repeat;
}

/* Overlay oscuro para mejorar legibilidad */
.hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
 }

 .hero-content {
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
 }

 .hero-content h1 {
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }

 .hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
/* Titulo servicios*/
   .servicios-content {
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
 }

 .servicios-content h1 {
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .servicios-content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }

 .servicios-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
/* cards */
.cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            max-width: 1400px;
            margin:  0 auto;
            padding: 40px;
        }

        .card {
            height: 400px;
            perspective: 1000px;
        }

        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .card:hover .card-inner {
            transform: rotateY(180deg);
        }

        .card-front,
        .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .card-front {
            display: flex;
            align-items: flex-end;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .card-front::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        }

        .card-front h3 {
            position: relative;
            z-index: 1;
            color: white;
            font-size: 1.8rem;
            padding: 30px;
            margin: 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .card-back {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            color: white;
        }

        .card-back h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            text-align: center;
        }

        .card-back p {
            font-size: 1rem;
            line-height: 1.6;
            text-align: center;
            color: var(--color-fuentebotones);
        }

        /* Diferentes gradientes para cada card */
        .card:nth-child(1) .card-back {
            background: linear-gradient(135deg, #f57701 0%, #f4ff57 100%);
        }

        .card:nth-child(2) .card-back {
            background: linear-gradient(135deg, #f57701 0%, #f4ff57 100%);
        }

        .card:nth-child(3) .card-back {
            background: linear-gradient(135deg, #f57701 0%, #f4ff57 100%);
        }

        .card:nth-child(4) .card-back {
            background: linear-gradient(135deg, #f57701 0%, #f4ff57 100%);
        }

        /* Responsive cards */
        @media (max-width: 768px) {
            .section-header h2 {
                font-size: 2rem;
            }

            .section-header p {
                font-size: 1.1rem;
            }

            .cards-container {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
            }

            .card {
                height: 350px;
            }

            .card-front h3 {
                font-size: 1.5rem;
                padding: 25px;
            }

            .card-back h3 {
                font-size: 1.5rem;
            }

            .card-back p {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .section-header h2 {
                font-size: 1.7rem;
            }

            .section-header p {
                font-size: 1rem;
            }

            .cards-container {
                grid-template-columns: 1fr;
            }

            .card {
                height: 320px;
            }
        }

/* iconos redes sociales informacion*/

.social-media p:hover{
    color: #d99a1b;
    transition: color 0.3s;
}

/* secciones*/
.section {
    padding: 50px 20px;
    background-color: #111;
    color: #fff;
}

.section-content {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.contact-form, .contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 1000px;
}

.contact-form h2, .contact-info h2 {
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #f0b429;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    outline: none;
    color: black;
    background-color: white;
}

.btn-submit {
    background-color: #f0b429;
    color: #111;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color .3s;
}

.btn-submit:hover {
    background-color: #d99a1b;
}

  /* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

/* Estilos de iconos */
.contact-info p {
    display: flex;
    align-items: flex-start; /* Alinea el icono con la primera línea de texto */
    gap: 10px; /* Espacio entre icono y texto */
    margin: 10px 0;
    font-size: 1rem;
}

.contact-info i {
    color: #f0b429;
    flex-shrink: 0; /* Evita que el icono se reduzca */
    margin-top: 3px; /* Ajusta para alinearlo mejor visualmente */
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}









