:root {
    --aqua: #5CC9C1;
    /* primario */
    --beige: #F1E4C3;
    /* fondo claro */
    --gold: #C7A44C;
    /* acento dorado */
    --rose: #E8B4B8;
    /* reseñas */
    --gray-7: #444;
    /*texto secundario */
    --ink: #111;
    /* texto principal */
}

/*BARRA PRINCIPAL*/
.principal,
.servi,
#menu,
#quienes,
#resenas,
#lugar,
#redes {
    scroll-margin-top: 140px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

html {
    height: 0;
}

body {
    margin: 100;
    margin: 0;
    padding: 0;
}

/*Body completo*/
main {
    flex: 1;
    /* ocupa todo el espacio disponible */
}

/*tipografia barra principal*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/*BARRA PRINCIPAL*/
.encab {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--aqua);
    border-bottom: 4px solid var(--gold);
}

/*posicion de la barra de navegacion*/
.barra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 140px;
    width: auto;
    display: block;
}

/* estilos botones de navegacion*/
.navbar {
    display: flex;
    gap: 24px;
}

.navbar a {
    color: var(--ink);
    font-weight: normal;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
    border-bottom: 4px solid var(--gold);
}

.navbar a:hover,
.navbar a.active {
    background: var(--gold);
    color: #fff;
}

/*centro de pagina*/
.principal {
    min-height: 110vh;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
    /* Antes: ../IMAGENES/principal_DR */
    background-image: url('../imagenes/principal_DR');
    animation: heroKenBurns 16s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    from {
        background-size: 100%;
        background-position: 50% 10%;
    }

    to {
        background-size: 130%;
        background-position: 50% 10%;
    }/* leve zoom + pan */
}

/* Dulce Reino*/
.centro {
    position: relative;
    border-radius: 12px;
}

.titulo-principal {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 6rem;
    color: #fff;
    font-weight: 800;
}

.subtitulo-principal {
    font-size: 2rem;
    margin-bottom: 22px;
    color: var(--beige);
    text-align: center;
}

.button {
    padding: 12px 25px;
    border-radius: 10px;
    background: var(--aqua);
    color: (var(--gold));
    font-weight:500;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
    border-bottom: 4px solid var(--gold);
}

.button:hover {
    background: white;
    color: #C7A44C;
}

/*nuestra categoria */
.servi {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
    /* Antes: ../IMAGENES/principal_DR */
    background-image: url('../imagenes/principal_DR');
    animation: heroKenBurns 16s ease-in-out infinite alternate;
}

.servi h2 {
    color: white;
    font-weight: 600;
    font-size: 3rem;
    position: relative;
    background: rgba(32, 31, 31, 0.54);
    padding: 50px 80px;
    border-radius: 12px;
    font-family: 'Times New Roman', Times, serif;
}

/*CARRUSEL*/
/* Contenedor del texto */
.carousel-item .text-center {
    background: linear-gradient(145deg, #C7A44C, #b48b2e);
    padding: 40px 0;
    border-top: 3px solid #e7c55c;
    border-bottom: 3px solid #b38c2d;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

/*Brillo dorado animado */
/* ✨ Brillo dorado animado */
.carousel-item .text-center::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: brilloDorado 5s infinite;
}

@keyframes brilloDorado {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Títulos */
.carousel-item h3 {
    font-weight: 800;
    color: #fff;
}

/* Descripción */
.carousel-item p {
    margin: 0;
    color: #f7f7f7;
    font-size: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
}

.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 220px;
    }
}


/*NOSOTROS*/
.mas-de-nosotros {
    /* Antes: ../IMAGENES/D.jpg */
    background-image: url('../imagenes/D.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 50px;
    width: 100%;
    display: flex;
}

.mas-de-nosotros h2 {
    /* titulo Nosotros*/
    color: var(--gold);
    font-weight: 600;
    font-size: 4rem;
    position: relative;
    text-align: left;
    font-family: 'Times New Roman', Times, serif;
}

.mas-de-nosotros h4 {
    font-weight: 800;
    color: var(--gold);
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.visión p {
    /* descripcion de nuestra vision*/
    text-align: left;
}

.misión p {
    text-align: left;
}

.tarjeta-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.mas-de-nosotros h5 {
    /*subtitulo 'Mas de nosotros'*/
    font-weight: 800;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.col-md-4 p {
    /*descripcion 'mas de nosostros'*/
    text-align: center;
}

.button_mas {
    color: rgba(238, 204, 125, 0.8);
    text-decoration: none;
    border-bottom: 4px solid;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.button_mas:hover {
    color: white;
}
/*RESEÑAS */
#resenas {
    color: var(--ink);
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
    /* Antes: ../IMAGENES/principal_DR */
    background-image: url('../imagenes/principal_DR');
    animation: heroKenBurns 16s ease-in-out infinite alternate;
}

#resenas h2 {
    color:white;
    font-weight: 600;
    font-size: 3rem;
    position: relative;
    background: rgba(32, 31, 31, 0.54);
    padding: 50px 80px;
    border-radius: 12px;
    font-family: 'Times New Roman', Times, serif;
}

.resena {
    background: #f6f8f8;
    color: var(--ink);
    border-left: 6px solid var(--gold);
    border-radius: 12px;
    padding: 16px;
    height: 100%;
}

/*DONDE ESTAMOS*/
#lugar {
    /* Antes: ../IMAGENES/pastel_frutos.jpg */
    background-image: url('../imagenes/pastel_frutos.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.856);
    display: flex;
    position: relative;
}

#lugar h2 {
    /* subtitulo 'donde estamos ubicados'*/
    color: var(--gold);
    font-weight: 600;
    font-size: 3rem;
    position: relative;
    background: rgba(32, 31, 31, 0.54);
    padding: 50px 80px;
    border-radius: 12px;
    font-family: 'Times New Roman', Times, serif;
}

.info-contacto {
    color: white;
    font-size: 1rem;

}

.info-contacto .visita {
    font-size: 1.8rem;
    text-align: right;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.info-contacto .mb-3 {
    font-weight: 500;
    color: white;
}

.info-contacto p {
    margin-bottom: 0.3rem;
}

.info-contacto .fw-bold {
    color: #1d1c1c;
    font-weight: 500;
}

.info-contacto a {
    color: white;
    font-weight: 500;
}

.info-contacto a:hover {
    text-decoration: underline;
}

/*REDES SOCIALES*/
#redes{
    background: #fff;
    text-align:center;
}

#redes h2 {
    coloR: var(--gold);
    font-weight: 600;
    font-size: 3rem;
    position:relative;
    font-family: 'Times New Roman', Times, serif;
}

#redes .btn {
    border-color: var(--gold);
    color: var(--gold);
}

#redes .btn:hover {
    background: var(--aqua);
    border-color: var(--aqua);
    color: #fff;
}

/*FOOTER*/
.piedepagina {
    background: #5CC9C1;
    color: #0b0b0b;
    text-align: center;
    padding: 20px 10px;
    border-top: 4px solid var(--gold);
    font-weight: 500;
    width: 100vw;
}

@media (max-width: 768px) {
    .logo {
        height: 72px;
    }

    .titulo-principal {
        font-size: 2rem;
    }

    .subtitulo-principal {
        font-size: 1.1rem;
    }

    .carrusel-img {
        height: 240px;
    }
}


