/* ==========================================================================
   Punta del Este Arenas Hotel & Resort - Estilos Principales
   Inspirado en la plantilla oficial y los screenshots del sitio web
   ========================================================================== */

:root {
    --primary-blue: #009ee3;
    --secondary-blue: #36afe2;
    --hover-blue: #3b7a94;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #818181;
    --bg-light: #f9f9f9;
    --font-main: 'Raleway', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--hover-blue);
    text-decoration: none;
}

/* --------------------------------------------------
   Top Bar
   -------------------------------------------------- */
.top-bar {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 8px 0 0 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-bar .tel-header {
    font-size: 15px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-bar .tel-header a.tel-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.top-bar .tel-header a.tel-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.site-footer a.footer-tel {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-footer a.footer-tel:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* --------------------------------------------------
   Main Header & Navbar
   -------------------------------------------------- */
.header-main {
    background-color: var(--primary-blue);
    padding: 2px 0 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.header-main .navbar-brand {
    padding: 0;
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.header-main .navbar-brand img {
    height: 96px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: height 0.2s ease;
}

@media (max-width: 991.98px) {
    .header-main {
        padding: 6px 0;
    }
    .header-main .navbar-brand img {
        height: 70px;
    }
}

.header-main .navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 12px !important;
    transition: opacity 0.2s ease;
}

.header-main .navbar-nav .nav-link:hover,
.header-main .navbar-nav .nav-item.active .nav-link {
    opacity: 0.85;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Dropdown menus */
.dropdown-menu {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 6px;
}

.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    color: var(--text-dark);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--primary-blue);
    color: #ffffff;
}

/* Abrir dropdown en desktop al pasar el cursor (hover) para permitir clic directo en el enlace principal */
@media (min-width: 992px) {
    .header-main .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDropdown 0.2s ease-in-out;
    }
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .header-main .navbar-collapse .dropdown-menu {
        display: block;
        background-color: rgba(255, 255, 255, 0.08);
        border: none;
        box-shadow: none;
        padding-left: 15px;
        margin-top: 4px;
    }
    .header-main .navbar-collapse .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
        font-size: 13px;
        padding: 6px 14px;
    }
    .header-main .navbar-collapse .dropdown-item:hover {
        background: transparent;
        color: #ffffff;
    }
}

/* --------------------------------------------------
   Hero Slider (Carousel)
   -------------------------------------------------- */
.hero-carousel .carousel-item {
    height: 550px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 280px;
    }
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.8;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(0,0,0,0.6);
    opacity: 1;
}

/* --------------------------------------------------
   Subpage Page Header Banner
   -------------------------------------------------- */
.subpage-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.subpage-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}

.subpage-header h1 {
    position: relative;
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    margin: 0;
}

/* --------------------------------------------------
   Welcome & Content Sections
   -------------------------------------------------- */
.section-welcome {
    padding: 60px 0 40px 0;
    text-align: center;
}

.section-welcome h2, .section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.title-separator {
    width: 40px;
    height: 2px;
    background-color: #333333;
    margin: 15px auto 25px auto;
}

.section-welcome p.lead-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 880px;
    margin: 0 auto 15px auto;
}

.section-welcome a.cta-link {
    font-weight: 600;
    color: var(--secondary-blue);
}

/* --------------------------------------------------
   Feature Cards (Hotel, Punta del Este, Gastronomía)
   -------------------------------------------------- */
.card-feature {
    border: none;
    background: transparent;
    margin-bottom: 30px;
}

.card-feature img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card-feature:hover img {
    transform: scale(1.02);
}

.card-feature h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-feature p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --------------------------------------------------
   Location Section & Maps
   -------------------------------------------------- */
.section-location {
    padding: 40px 0;
}

.section-location h2 {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}

.map-container {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* --------------------------------------------------
   CTA Reserve Habitación Banner
   -------------------------------------------------- */
.reserva-booking-banner {
    display: block;
    background-color: var(--secondary-blue);
    text-align: center;
    padding: 24px 15px;
    transition: background-color 0.25s ease;
    text-decoration: none !important;
}

.reserva-booking-banner:hover {
    background-color: var(--hover-blue);
}

.reserva-booking-banner h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* --------------------------------------------------
   Footer
   -------------------------------------------------- */
.site-footer {
    background-color: #ffffff;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--secondary-blue);
}

/* --------------------------------------------------
   Galleries & Photos
   -------------------------------------------------- */
.gallery-grid {
    margin: 30px 0;
}

.gallery-title-fiestas {
    color: #8b9c24;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 25px;
}

.gallery-item {
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
}

.gallery-item img:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* Galería Sin Espacio (gallery_without_space v4 - Habitaciones) */
.gallery_holder {
    width: 100%;
    position: relative;
    display: block;
    margin: 30px 0 50px 0;
}

.gallery_inner.gallery_without_space {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
}

.gallery_inner.gallery_without_space.v4 .gallery_item_wrap {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .gallery_inner.gallery_without_space.v4 .gallery_item_wrap {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .gallery_inner.gallery_without_space.v4 .gallery_item_wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.gallery_inner.gallery_without_space .gallery_item_link {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

.gallery_inner.gallery_without_space .gallery_item_link img {
    width: 100%;
    aspect-ratio: 2 / 1;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery_inner.gallery_without_space .gallery_item_wrap:hover img {
    transform: scale(1.06);
    opacity: 0.9;
}

.gallery_inner.gallery_without_space .gallery_hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery_inner.gallery_without_space .gallery_hover i {
    color: #ffffff;
    font-size: 26px;
    transition: transform 0.3s ease;
}

.gallery_inner.gallery_without_space .gallery_item_wrap:hover .gallery_hover {
    opacity: 1;
}

.gallery_inner.gallery_without_space .gallery_item_wrap:hover .gallery_hover i {
    transform: scale(1.15);
}

/* --------------------------------------------------
   Forms & Inputs
   -------------------------------------------------- */
.form-card {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

/* Formulario específico para páginas de eventos (Sidebar a la derecha) */
.form-event-title {
    font-size: 30px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.5px;
}

.event-form-sidebar .form-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 !important;
}

.event-form-sidebar .form-control {
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid #767676;
    border-radius: 4px;
    padding: 10px 14px;
    color: #222222;
}

.event-form-sidebar .form-control::placeholder {
    color: #555555;
    font-size: 14px;
    font-weight: 400;
}

.event-form-sidebar .form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.15rem rgba(54, 175, 226, 0.25);
}

.form-control, .form-select {
    font-family: var(--font-main);
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    color: #555;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(54, 175, 226, 0.2);
}

.btn-hotel-primary {
    background-color: var(--secondary-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    border: none;
    border-radius: 3px;
    transition: background-color 0.25s ease;
}

.btn-hotel-primary:hover {
    background-color: var(--hover-blue);
    color: #ffffff;
}

/* --------------------------------------------------
   Floating Chat / WhatsApp Widget
   -------------------------------------------------- */
.floating-chat-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--secondary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1050;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-chat-btn:hover {
    background-color: var(--hover-blue);
    color: #ffffff;
    transform: scale(1.08);
}

/* Custom list items with checkmarks */
.hotel-list {
    list-style: none;
    padding-left: 0;
}

.hotel-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.hotel-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

