﻿/* Definir la fuente Cocogoose */
@font-face {
    font-family: 'Montserrat';
    src: url('Fonts/static/Montserrat-Regular.ttf') format('woff2'),
         url('Fonts/static/Montserrat-Bold.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}


.hero {
    background-image: url('Images/BombillaFuturistaHorizontal.png'); /* Cambia este valor al color que desees */
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;

}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    transition: background-color 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.navbar.scrolled {
    background: #27a0b6;
}

.navbar .logo {
    margin-left: 7%;
    margin-right: 7%;
}

.navbar .logo img {
    height: 60px; /* Ajusta el tamaño según tus necesidades */
    width: auto; /* Mantiene la proporción de la imagen */
    object-fit: contain; /* Asegura que la imagen no se deforme */
}

/* Para pantallas más pequeñas (tablets y celulares) */
@media (max-width: 768px) {
    .navbar .logo img {
        height: 80px; /* Aumenta el tamaño del logo */
    }
}

header img {
    max-width: 100%;
    height: auto;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 50px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold; /* Texto en negrita */
}

main {
    padding: 20px;
}

section {
    margin: 20px 0;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input {
    padding: 10px;
    margin-bottom: 10px;
}

button {
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #555;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #333;
    color: #fff;
}

#quien-soy {
    background-color: #f9f9f9;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.quien-soy-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.quien-soy-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

.quien-soy-text {
    max-width: 600px;
    text-align: justify;
}

/* Estilos para la sección de servicios */
.servicios-carrusel {
    text-align: center;
    margin: 50px 0;
    overflow: hidden;
    position: relative;
}

.servicios-carrusel h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.carrusel {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Habilita scroll suave en dispositivos táctiles */
}

.carrusel::-webkit-scrollbar {
    display: none; /* Oculta la barra de scroll */
}

.carrusel-item {
    flex: 0 0 auto;
    width: 250px;
    scroll-snap-align: center;
    text-align: center;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.carrusel-item:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

.carrusel-item img {
    width: 100%;
    border-radius: 10px;
}

.carrusel-item p {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Estilo para los modales */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: black;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: red;
}

@media only screen and (max-width: 900px) and (orientation: portrait){
  
    
    .hero {
      height: 30vh;
    }
  }

/* Redes sociales e iconos */
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background-color: #f9f9f9; /* Fondo opcional */
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.redes-sociales a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.redes-sociales img {
    width: 40px; /* Tamaño del icono */
    height: 40px;
}

.redes-sociales a:hover {
    transform: scale(1.1); /* Efecto de zoom */
    opacity: 0.8; /* Transparencia al pasar el mouse */
}

/* Para pantallas más pequeñas (ancho máximo de 768px, como tablets y celulares) */
@media (max-width: 768px) {
  .redes-sociales {
    display: flex;
    flex-direction: row; /* iconos en fila */
    justify-content: center;
    overflow-x: auto;
    gap: 15px;
  }

  .redes-sociales a img {
    width: 35px; /* Reduce el tamaño de los iconos en pantallas más pequeñas */
    height: 35px;
  }
}

/* Título de Redes Sociales */
.titulo-redes {
  text-align: center; /* Centrar el texto */
  font-size: 18px; /* Tamaño del texto */
  font-weight: bold; /* Negrita */
  color: #333; /* Color del texto */
  margin-bottom: 5px; /* Espacio entre el título y los iconos */
}

/* Si es necesario, ajustes responsivos */
@media (max-width: 768px) {
  .titulo-redes {
    font-size: 16px; /* Tamaño más pequeño en pantallas pequeñas */
  }
}