:root {
    --verde: #76ae52;
    --verde-oscuro: #649346;
    --gris: #3d3d3d;
}

* {
    font-family: Gill Sans MT, serif;
    font-style: normal;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* Activa el scroll snapping en el eje Y (vertical) */
}

section {
    scroll-snap-align: start; /* La sección debe alinearse con el borde superior al hacer scroll */
}

.header,
#contact-data {
    font-family: 'Calibri'
}
#nav-item:hover {
    background-color: var(--verde-oscuro);
 }

.anchor{
    display: block;
    height: 50vh; /*same height as header*/
    margin-top: -50vh; /*same height as header*/
    visibility: hidden;
  }

#navbar,
#about,
#works {
    background-color: var(--verde);
}

#contact {
    background-color: var(--gris);
    height: 50vh;
}

#inicio-texto {
    color: var(--verde);
}

#quienes-img {
    border-radius: 100px;
}

.service {
    background-color: var(--verde-oscuro);
    border-radius: 64px;
    color: white;
}

#service-title {
    color: var(--verde);
}

.fotos {
    background-color: var(--verde-oscuro);
}

img {
    border-radius: 5px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    display: none;
    background-color: var(--verde-oscuro);
    color: white;
    min-width: 100%; /* Cada imagen ocupará el 100% del contenedor */
    transition: transform 0.5s ease-in-out;
  }

.carousel-item.active {
    display: block;
}

/* Indicadores (puntos) debajo del carousel */
.carousel-indicators {
    text-align: center;
    margin-top: 10px;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
  }
  
  .dot.active {
    background-color: var(--verde);
}

.carousel-item {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.carousel-item.previous {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (min-width: 1366px) {
    .xxl\:h-96 {
        width: 10rem /* 320px */;
    }
}

@media (min-height: 728px) {
    .lg-h\:h-90 {
        height: 10rem;
    }
}

/* Contenedor de pantalla completa */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

/* Imagen en pantalla completa */
.fullscreen-image {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
}

/* Descripción debajo de la imagen */
.description {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Botón de cierre (X) */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
