
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    
    width: 90%;
    max-width: 960px;
    margin: auto;
    padding: 40px 0;
}

header {
    background-color: #111;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 60px;
}

nav {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
#hero {
    background: linear-gradient(to right, #4b0082, #8a2be2);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.resaltado {
    color: #ffe600;
}

/* Animations */
.fade-in { animation: fadeIn 1.2s ease-in-out; }
.slide-up { animation: slideUp 1.2s ease-in-out; }
.zoom-in { animation: zoomIn 1.2s ease-in-out; }
.flip { animation: flipIn 1.2s ease-in-out; }
.bounce-in { animation: bounceIn 1.2s ease-in-out; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes flipIn { from { transform: rotateY(90deg); opacity: 0; } to { transform: rotateY(0); opacity: 1; } }
@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Servicios usando float */
.services-container .servicio {
    float: left;
    width: 45%;
    margin: 2.5%;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Contacto */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #333;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #222;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 200px;
        padding: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .services-container .servicio {
        float: none;
        width: 100%;
        margin: 10px 0;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Slider */
.slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #ff00cc; /* rosa neón */
}

.slider .slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 1px 1px 5px #000;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    background: #fff;
    color: #ff00cc;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #ffe6f7;
}

/* Galería Nosotros */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.galeria img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Slider ocupa todo el header */
.slider {
    width: 100%;
    height: 100vh;
    background: #ff00cc;
}

.slider .slides {
    height: 100%;
}

.slide {
    height: 100vh;
}

/* Ajustar botón de menú hamburguesa a la derecha */
.menu-toggle {
    display: block;
    font-size: 30px;
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
}

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

    .nav-links {
        display: flex !important;
        position: static;
        background: none;
        flex-direction: row;
        padding: 0;
    }
}

/* Banner animado */
.animated-banner {
    background: linear-gradient(135deg, #ff00cc, #3333ff);
    color: white;
    text-align: center;
    padding: 150px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.animated-title {
    font-size: 3rem;
    animation: popIn 1s ease-in-out;
}

.animated-subtitle {
    margin-top: 20px;
    font-size: 1.5rem;
    animation: fadeIn 2s ease-in-out;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* CTA button animado */
.cta-button {
    margin-top: 30px;
    background: #fff;
    color: black;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background: #ffe6f7;
}

/* Menú hamburguesa fijo y funcional */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

nav {
    position: relative;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 20px;
        z-index: 20;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        right: 0;
        top: 60px;
        width: 200px;
        padding: 10px;
        z-index: 10;
    }

    .nav-links.show {
        display: flex;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Carrusel de marcas */
.marcas-section {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.marcas-section h2 {
    margin-bottom: 30px;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
}

.carousel img {
    height: 80px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Scroll suave al navegar */
html {
    scroll-behavior: smooth;
}

/* Galería Nosotros actualizada */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.galeria img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@media (min-width: 1024px) {
    .galeria img {
        height: 350px;
        object-fit: cover;
    }
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 28px;
    text-align: center;
    padding: 10px 16px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* Mostrar imágenes completas */
.galeria img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Estructura profesional */
main.container {
  padding: 60px 20px;
}
h1, h2, h3 {
  color: #222;
  margin-bottom: 20px;
}
p {
  line-height: 1.7;
  margin-bottom: 16px;
}
footer {
  margin-top: 60px;
}

/* Tarjetas servicio */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.servicio-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  text-align: center;
}
.servicio-card img {
  height: 100px;
  margin-bottom: 12px;
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 70px;
    background: #111;
    width: 200px;
    padding: 10px;
    z-index: 9;
  }
  .nav-links.show {
    display: flex;
  }
}

/* Animaciones suaves para secciones principales */
main.container, .galeria, .servicios-grid, .slider-portafolio {
  animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/montserrat/Montserrat-Regular.woff2') format('woff2'),
       url('./fonts/montserrat/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/montserrat/Montserrat-Bold.woff2') format('woff2'),
       url('./fonts/montserrat/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'Montserrat', sans-serif;
}
