﻿/* =========================
   GENERAL
========================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

.section-padding {
    padding: 90px 0;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #795571;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    max-width: 650px;
    margin: auto;
    color: #666;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(8px);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.35rem;
}

    .navbar-brand i {
        margin-right: 6px;
    }

.nav-link {
    color: #fff !important;
    margin-left: 10px;
    transition: 0.3s;
}

    .nav-link:hover {
        opacity: 0.7;
    }

.btn-reserva {
    background: #795571;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
}

    .btn-reserva:hover {
        background: #63445d;
        color: white;
    }


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url("../images/hotel.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 70px;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin: 15px 0;
    max-width: 800px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 30px;
}

    .hero-buttons .btn {
        margin-right: 10px;
        margin-bottom: 10px;
    }

.btn-primary {
    background: #795571;
    border-color: #795571;
}

    .btn-primary:hover {
        background: #63445d;
        border-color: #63445d;
    }


/* =========================
   PRESENTACIÓN
========================= */

.about-box {
    background: #795571;
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-box h3 {
    font-weight: 700;
}


/* =========================
   HABITACIONES
========================= */

.room-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

    .room-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
    }

.room-image {
    height: 230px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.room-image-1 {
    background-image: url("../images/habitacion1.jpg");
}

.room-image-2 {
    background-image: url("../images/habitacion2.jpg");
}

.room-image-3 {
    background-image: url("../images/habitacion3.jpg");
}

.room-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #795571;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.room-content {
    padding: 25px;
}

    .room-content h3 {
        font-weight: 700;
        margin-bottom: 12px;
    }

    .room-content p {
        color: #666;
    }

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

    .room-features span {
        font-size: 0.85rem;
        color: #555;
    }

    .room-features i {
        color: #795571;
        margin-right: 4px;
    }


/* =========================
   SERVICIOS
========================= */

.service-card {
    height: 100%;
    text-align: center;
    padding: 35px 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .service-card i {
        font-size: 2.5rem;
        color: #795571;
    }

    .service-card h4 {
        margin-top: 20px;
        font-weight: 700;
    }

    .service-card p {
        color: #666;
    }


/* =========================
   GALERÍA
========================= */

.gallery-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #777;
    border-radius: 15px;
    font-size: 1.1rem;
}

    .gallery-placeholder.small {
        height: 220px;
    }


/* =========================
   UBICACIÓN
========================= */

.contact-info {
    margin-top: 30px;
}

    .contact-info p {
        margin-bottom: 15px;
    }

    .contact-info i {
        color: #795571;
        margin-right: 10px;
    }

.map-placeholder {
    height: 400px;
    background: #eee;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
}

    .map-placeholder i {
        font-size: 4rem;
        margin-bottom: 10px;
    }


/* =========================
   RESERVA
========================= */

.reservation-banner {
    padding: 70px 0;
    background: #795571;
    color: white;
}

    .reservation-banner .section-subtitle {
        color: #eee;
    }

    .reservation-banner h2 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .reservation-banner p {
        margin-bottom: 0;
    }


/* =========================
   CONTACTO
========================= */

.contact-buttons {
    margin-top: 30px;
}

    .contact-buttons .btn {
        margin: 5px;
    }


/* =========================
   FOOTER
========================= */

.footer {
    background: #1d1d1d;
    color: #ccc;
    padding: 60px 0 25px;
}

    .footer h4 {
        color: white;
        font-weight: 700;
    }

    .footer h5 {
        color: white;
        margin-bottom: 20px;
    }

    .footer a {
        display: block;
        color: #aaa;
        text-decoration: none;
        margin-bottom: 10px;
    }

        .footer a:hover {
            color: white;
        }

    .footer hr {
        border-color: #444;
        margin: 40px 0 20px;
    }

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #333;
        color: white;
        font-size: 1.2rem;
    }


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .section-padding {
        padding: 65px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .nav-link {
        margin-left: 0;
    }

    .btn-reserva {
        display: inline-block;
        margin-top: 10px;
    }
}
/* =========================
   MODAL HABITACIÓN
========================= */

.modal-room-image {
    height: 300px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

.room-detail-list p {
    margin-bottom: 12px;
}

.room-detail-list i {
    color: #795571;
    margin-right: 8px;
}


/* =========================
   FORMULARIO RESERVA
========================= */

.reservation-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.form-label {
    font-weight: 600;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 10px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #795571;
        box-shadow: 0 0 0 0.2rem rgba(121, 85, 113, 0.15);
    }

@media (max-width: 576px) {

    .reservation-form {
        padding: 25px 20px;
    }

    .modal-room-image {
        height: 220px;
    }
}
/* =========================
   MODAL HABITACIÓN
========================= */

.modal-room-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

.room-detail-list p {
    margin-bottom: 14px;
}

.room-detail-list i {
    color: #795571;
    margin-right: 8px;
}


/* =========================
   FORMULARIO
========================= */

.reservation-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.form-label {
    font-weight: 600;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 10px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #795571;
        box-shadow: 0 0 0 0.2rem rgba(121, 85, 113, 0.15);
    }


@media (max-width: 576px) {

    .reservation-form {
        padding: 25px 20px;
    }

    .modal-room-image {
        height: 220px;
    }
}