/* CONFIGURACIÓN GENERAL */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17344a;
    background: #f8f6f1;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* BARRA SUPERIOR */

.topbar {
    background: #142b3d;
    color: white;

    min-height: 55px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 5%;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 25px;

    font-size: 14px;
}

.topbar-left i {
    margin-right: 8px;
}

.separador {
    opacity: .7;
}

.social {
    display: flex;
    gap: 20px;
}

.social a {
    color: white;
    font-size: 16px;

    transition: .3s;
}

.social a:hover {
    color: #b98545;
}


/* =========================
   HEADER
========================= */

.header {
    background: #fff;

    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    position: relative;
    z-index: 100;
}


/* LOGO */

.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    color: #172c3d;
}

.logo strong {
    color: #b98545;
}


/* MENÚ */

.menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu > a,
.dropdown > a {
    color: #142b3d;

    font-size: 16px;
    font-weight: 500;

    padding: 32px 0;

    display: block;

    transition: .3s;
}

.menu > a:hover,
.dropdown > a:hover,
.menu .activo {
    color: #b98545;
}


/* =========================
   DROPDOWN
========================= */

.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-content {
    display: none;

    position: absolute;

    top: 82px;
    right: 0;

    width: 290px;

    background: white;

    box-shadow: 0 8px 25px rgba(0,0,0,.15);

    border-top: 3px solid #b98545;
}

.dropdown-content a {
    display: block;

    color: #17344a;

    padding: 15px 20px;

    font-size: 14px;

    transition: .3s;
}

.dropdown-content a:hover {
    background: #f5efe7;
    color: #b98545;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 590px;

    position: relative;

    background-image:
        url("../img/catedral.png");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    animation: zoomcatedral 12s ease-in-out infinite alternate;
}

@keyframes zoomcatedral {
    from {
        background-size: 100%;
        background-position: center center;
    }

    to {
        background-size: 110%;
        background-position: 52% 48%;
    }
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,25,38,.88),
            rgba(8,25,38,.55),
            rgba(8,25,38,.15)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 700px;

    margin-left: 10%;

    color: white;
}

.subtitulo {
    font-size: 20px;
    font-weight: bold;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;

    margin-bottom: 25px;
}

.descripcion {
    font-size: 18px;
    line-height: 1.7;

    max-width: 650px;

    margin-bottom: 30px;
}


/* BOTONES */

.boton {
    display: inline-flex;

    align-items: center;
    gap: 20px;

    background: #b98545;

    color: white;

    padding: 16px 28px;

    border-radius: 4px;

    font-weight: bold;

    transition: .3s;
}

.boton:hover {
    background: #986b38;
    transform: translateY(-2px);
}

.boton-azul {
    background: #173d56;
}

.boton-azul:hover {
    background: #0f2b3d;
}


/* INTRO */

.intro {
    padding: 90px 7%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    background: #f8f6f1;
}

.intro-image img {
    width: 100%;

    height: 380px;

    object-fit: cover;

    border-radius: 5px;

    box-shadow: 15px 15px 0 #d4b17e;
}

.titulo-pequeno {
    color: #b98545;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 4px;
}

.intro h2 {
    font-family: Georgia, serif;

    color: #173d56;

    font-size: 42px;

    margin: 15px 0 25px;
}

.intro-text p {
    color: #405b6d;

    line-height: 1.8;

    margin-bottom: 15px;
}


/* HOTELES */

.hoteles {
    background: white;

    padding: 90px 7%;
}

.section-title {
    text-align: center;

    max-width: 750px;

    margin: 0 auto 50px;
}

.section-title span {
    color: #b98545;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 4px;
}

.section-title h2 {
    font-family: Georgia, serif;

    color: #173d56;

    font-size: 44px;

    margin: 12px 0 15px;
}

.section-title p {
    color: #607383;

    line-height: 1.7;
}


/* GRID */

.hotel-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* CARD */

.hotel-card {
    background: #fff;

    box-shadow: 0 8px 25px rgba(0,0,0,.10);

    transition: .3s;

    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 15px 30px rgba(0,0,0,.16);
}

.hotel-card img {
    width: 100%;

    height: 230px;

    object-fit: cover;
}

.hotel-info {
    padding: 25px;
}

.hotel-info span {
    color: #b98545;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;
}

.hotel-info h3 {
    font-family: Georgia, serif;

    color: #173d56;

    font-size: 23px;

    margin: 12px 0;
}

.hotel-info p {
    color: #667783;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}

.hotel-info a {
    color: #b98545;

    font-size: 13px;

    font-weight: bold;
}

.hotel-info a i {
    margin-left: 8px;
}


/* EXPERIENCIA */

.experiencia {
    position: relative;
    width: 100%;
    min-height: 350px;

    background-image: url("../img/fo3.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 60px 20px;

    overflow: hidden;
}

/* CAPA OSCURA SOBRE LA IMAGEN */

.experiencia-overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);
}

/* TEXTO */

.experiencia-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
    color: white;
}

.experiencia-content span {
    display: block;
    color: #e8c28b;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;

    margin-bottom: 15px;
}

.experiencia-content h2 {
    font-family: Georgia, serif;
    font-size: 42px;

    margin-bottom: 20px;
}

.experiencia-content p {
    font-size: 17px;
    line-height: 1.8;
}

/* ADAPTACIÓN PARA CELULARES */

@media (max-width: 600px) {
    .experiencia {
        min-height: 300px;
        padding: 45px 20px;
    }

    .experiencia-content h2 {
        font-size: 30px;
    }

    .experiencia-content p {
        font-size: 15px;
    }

    .experiencia-content span {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

/* CARACTERÍSTICAS */

.caracteristicas {
    padding: 75px 7%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 45px;

    background: #f8f6f1;
}

.caracteristica {
    text-align: center;
}

.caracteristica i {
    color: #b98545;

    font-size: 38px;

    margin-bottom: 18px;
}

.caracteristica h3 {
    color: #173d56;

    margin-bottom: 10px;
}

.caracteristica p {
    color: #607383;

    font-size: 14px;

    line-height: 1.6;
}


/* FOOTER */

footer {
    background: #142b3d;

    color: white;
}

.footer-content {
    padding: 60px 7%;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;
}

.footer-logo h2 {
    font-size: 28px;
}

.footer-logo h2 span {
    color: #b98545;
}

.footer-logo p {
    color: #c4ced5;

    margin-top: 15px;
}

.footer-contact h3,
.footer-social h3 {
    color: #d4aa6d;

    margin-bottom: 20px;
}

.footer-contact p {
    color: #d7dfe4;

    margin-bottom: 12px;

    font-size: 14px;
}

.footer-contact i {
    color: #b98545;

    margin-right: 10px;
}

.footer-social a {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    width: 38px;
    height: 38px;

    border: 1px solid #b98545;

    color: white;

    margin-right: 8px;

    transition: .3s;
}

.footer-social a:hover {
    background: #b98545;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.15);

    padding: 20px 7%;

    text-align: center;

    color: #bdc8ce;

    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .menu {
        gap: 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hotel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .topbar {
        flex-direction: column;

        gap: 10px;

        padding: 15px;
    }

    .topbar-left {
        flex-direction: column;

        gap: 8px;
    }

    .separador {
        display: none;
    }

    .header {
        flex-direction: column;

        padding: 20px;
    }

    .menu {
        flex-wrap: wrap;

        justify-content: center;

        margin-top: 15px;

        gap: 20px;
    }

    .menu > a,
    .dropdown > a {
        padding: 10px 0;
    }

    .dropdown-content {
        top: 40px;
        right: -70px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        width: auto;

        margin: 0 7%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero .descripcion {
        font-size: 16px;
    }

    .intro {
        padding: 60px 7%;
    }

    .intro h2 {
        font-size: 34px;
    }

    .hotel-grid {
        grid-template-columns: 1fr;
    }

    .caracteristicas {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

} 
