/* ==========================================================================
   MAYAN BOATS - ESTILOS UNIFICADOS
   ========================================================================== */

/* ==========================================================================
   1. FUENTES Y VARIABLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
}

:root {
    --primary-color: #01928e;
    --secondary-color: #1a7ddd;
    --highlight-color: #edc400;
    --navbar-bg-color: #102c4c;
    --text-grey: #414141;
    --white-text: white;
    --ribbon-paq-cortesias: #d81444;
    --ribbon-atr-snorkel: #bd1550;
    --ribbon-atr-relax: #e15717;
    --ribbon-atr-aventura: #8215bc;
    --ribbon-atr-restaurant: #15BC82;
    --btn-reservar-menu: #0066cc;
    --navy-dark: #0A192F;
    --navy-light: #112B4A;
    --gold: #D4AF37;
    --text-dark: #1A1A1A;
    --white: #FFFFFF;
}


/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    background-color: #F8F9FA;
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[role="main"] {
    flex: 1;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', serif;
}

/* ==========================================================================
   3. UTILIDADES GLOBALES
   ========================================================================== */

.text-gold {
    color: var(--gold) !important;
}

.text-navy {
    color: var(--navy-dark) !important;
}

.bg-navy {
    background-color: var(--navy-dark) !important;
}

.bg-dark-luxury {
    background-color: var(--navy-dark);
}

.text-justify {
    text-align: justify;
}

.text-bold {
    font-weight: bold;
}

.text-capitalize {
    text-transform: capitalize;
}

.text-italic {
    font-style: italic;
}

.titulo {
    font-family: 'Poppins', serif;
    line-height: 1.2;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .titulo {
        font-size: 2rem;
    }
}

.subtitulo {
    line-height: 1.2;
    font-weight: bold;
    font-size: 1.25rem;
}

.tag-text-grey {
    color: var(--text-grey);
    font-size: 13px;
    font-weight: bold;
}

.white-text {
    color: var(--white-text);
}

.no-borde {
    border: none;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

.gold-line {
    border-top: 1px solid var(--gold);
    opacity: 0.3;
    margin: 20px 0;
}

.gold-line-center {
    width: 60px;
    border-top: 2px solid var(--gold);
    margin: 0 auto;
    opacity: 1;
}

.mt-negativo {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.costo-text {
    color: var(--navy-dark);
    font-weight: 600;
}

.actividad-cerrada {
    opacity: 0.65;
    background-color: #f8f9fa !important;
}

.card-overlay {
    color: var(--white-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.card-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/* ==========================================================================
   4. LAYOUT / NAVBAR
   ========================================================================== */

header.sticky-top {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1050;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: transparent;
    transition: all 0.4s ease;
}

#logo {
    height: 140px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

.navbar-scrolled {
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0;
    background-color: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-scrolled .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-scrolled #logo {
    height: 65px;
}

.nav-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.4s ease;
}

.navbar-scrolled .nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 100%;
}

.btn-gold-luxury {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar-scrolled .btn-gold-luxury {
    font-size: 0.75rem;
    padding: 8px 20px;
}

.btn-gold-luxury:hover {
    background-color: var(--gold);
    color: var(--navy-dark) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.custom-toggler {
    border: none;
    background: transparent;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
}

.toggle-icon {
    display: block;
    width: 35px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-toggler.open .toggle-icon:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.custom-toggler.open .toggle-icon:nth-child(2) {
    opacity: 0;
}

.custom-toggler.open .toggle-icon:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.bg-navbar {
    background: var(--navbar-bg-color);
}

.navbar-nav .nav-item.active .nav-link-highlight {
    color: var(--highlight-color) !important;
}

.whatsapp-btn-luxury {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn-luxury:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}


/* ==========================================================================
   5. BOTONES Y COMPONENTES
   ========================================================================== */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btnReservar,
#btnEnviarMensaje,
.btnAdminGuardar {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    background: transparent;
}

.btnReservar:hover,
#btnEnviarMensaje:hover,
.btnAdminGuardar:hover {
    
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btnActividades,
.btnReservarMenu {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-family: Manrope, sans-serif;
}

.btnActividades:hover,
.btnReservarMenu:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-outline-admin {
    color: var(--navy-dark) !important;
    border: 1px solid rgba(10, 25, 47, 0.3) !important;
    background-color: transparent !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease !important;
}

.btn-outline-admin:hover {
    background-color: var(--navy-dark) !important;
    color: var(--gold) !important;
    border-color: var(--navy-dark) !important;
    box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
}

.btn-logout {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}

.btn-control {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--navy-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-control:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.badge-admin-role {
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 8px 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 20px;
}

.badge-luxury {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    padding: 6px 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    background: var(--navy-dark);
}

.badge-luxury.snk {
    border-left: 3px solid #00d2ff;
}

.badge-luxury.rlx {
    border-left: 3px solid var(--gold);
}

.badge-luxury.avt {
    border-left: 3px solid #ff4b2b;
}

.badge-luxury.res {
    border-left: 3px solid #6dd5ed;
}

.badge-estado {
    padding: 0.5em 1em;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.60rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.estado-1 {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.estado-2 {
    background-color: #e7f1ff;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
}

.estado-3 {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}


/* ==========================================================================
   6. HEADERS DE PÁGINA
   ========================================================================== */

.header-vistas,
.header-contacto,
.header-tarifas,
.header-yate {
    padding: 200px 20px 140px;
    background: linear-gradient(180deg, var(--navy-dark) 0%, #112B4A 100%);
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.header-reservas {
    background: linear-gradient(180deg, var(--navy-dark) 0%, #112B4A 100%);
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.header-vistas h1,
.header-contacto h1,
.header-tarifas h1,
.header-yate h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.admin-header {
    background: linear-gradient(90deg, var(--navy-dark) 0%, #112B4A 100%);
    border-bottom: 3px solid var(--gold);
    padding: 25px 20px;
    border-radius: 10px;
}


/* ==========================================================================
   7. CARRUSEL / HERO
   ========================================================================== */

.carousel-inner {
    position: relative;
    background-color: var(--navy-dark);
}

.carousel-item img {
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 10s linear;
}

.carousel-item.active img {
    transform: scale(1.08);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.7) 0%, rgba(10, 25, 47, 0.3) 50%, rgba(10, 25, 47, 0.8) 100%);
    z-index: 1;
}

.hero-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero-overlay-text h1 {
    font-size: 4.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
}

.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
    z-index: 5;
}

.carousel-image-container {
    position: relative;
}

.carousel-text {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white-text);
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.50);
    padding: 0.2rem 1rem;
    border-radius: 5px;
}

.carousel-paq {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel-paq img {
    object-position: bottom;
    height: 515px;
}

.carousel-atr img {
    height: 450px;
}

.carousel-inicio img {
    height: 550px;
}

.carousel-inicio img,
.carousel-paq img,
.carousel-atr img {
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.carousel-inicio img,
.carousel-atr img {
    object-position: center;
}


/* ==========================================================================
   8. GALERÍAS / GRID
   ========================================================================== */

.glass-card {
    background-color: var(--white);
    border-radius: 0;
    padding: 80px 40px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.image-grid,
.image-grid-lg {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-grid img,
.image-grid video,
.image-grid-lg img,
.image-grid-lg video {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 650px;
}

.image-grid img:hover,
.image-grid video:hover,
.image-grid-lg img:hover,
.image-grid-lg video:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.large-item img {
    height: 650px;
}

.small-item img,
.small-item video {
    height: 313px;
}

.square-item img {
    height: 400px;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.gallery-overlay span {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--gold);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
    opacity: 0.85;
}


/* ==========================================================================
   9. RIBBONS (CINTAS DECORATIVAS)
   ========================================================================== */

.ribbon-paq,
.ribbon-atr-snk,
.ribbon-atr-rlx,
.ribbon-atr-avt,
.ribbon-atr-res {
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: #fff;
    z-index: 3;
}

.ribbon-paq {
    --f: .5em;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1.8;
    padding-inline: 1lh;
    padding-bottom: var(--f);
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(100% calc(100% - var(--f)), 100% 100%, calc(100% - var(--f)) calc(100% - var(--f)), var(--f) calc(100% - var(--f)), 0 100%, 0 calc(100% - var(--f)), 999px calc(100% - var(--f) - 999px), calc(100% - 999px) calc(100% - var(--f) - 999px));
    transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
    transform-origin: 100% 100%;
    background-color: var(--ribbon-paq-cortesias);
}

.ribbon-atr-snk,
.ribbon-atr-rlx,
.ribbon-atr-avt,
.ribbon-atr-res {
    --r: .7em;
    position: absolute;
    border-block: .5em solid #0000;
    padding-inline: .5em calc(var(--r) + .25em);
    line-height: 1.8;
    clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%, calc(100% - var(--r)) calc(100% - .25em), 100% 50%, calc(100% - var(--r)) .25em);
    width: fit-content;
}

.ribbon-atr-snk {
    background: radial-gradient(.2em 50% at left, #000a, #0000) border-box, var(--ribbon-atr-snorkel) padding-box;
}

.ribbon-atr-rlx {
    background: radial-gradient(.2em 50% at left, #000a, #0000) border-box, var(--ribbon-atr-relax) padding-box;
}

.ribbon-atr-avt {
    background: radial-gradient(.2em 50% at left, #000a, #0000) border-box, var(--ribbon-atr-aventura) padding-box;
}

.ribbon-atr-res {
    background: radial-gradient(.2em 50% at left, #000a, #0000) border-box, var(--ribbon-atr-restaurant) padding-box;
}

.ribbon-incluido {
    position: absolute;
    top: 15px;
    left: -35px;
    z-index: 5;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding: 5px 40px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   10. TARJETAS (CARDS) GENÉRICAS
   ========================================================================== */

.card-dashboard {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dashboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header-luxury {
    background-color: var(--navy-dark);
    color: white;
    border-bottom: 2px solid var(--gold);
}


/* ==========================================================================
   11. TARJETAS ADMINISTRACIÓN
   ========================================================================== */

.admin-module-card {
    border-radius: 12px;
    border: 1px solid #eaeaea;
    border-top: 4px solid transparent;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.admin-module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border-top: 4px solid var(--gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.admin-module-card h5 {
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.module-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--navy-dark);
    transition: all 0.3s ease;
}

.admin-module-card:hover .module-icon {
    background: var(--navy-dark);
    color: var(--gold);
}

.transition-icon {
    transition: transform 0.3s ease;
}

.admin-module-card:hover .transition-icon {
    transform: translateX(5px);
}


/* ==========================================================================
   12. STATS Y WIDGETS
   ========================================================================== */

.stat-card {
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    min-width: 250px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-badge {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}


/* ==========================================================================
   13. TABLAS ADMINISTRACIÓN
   ========================================================================== */

.admin-table {
    width: 100%;
    vertical-align: middle;
    text-align: center;
}

.admin-table thead {
    background-color: var(--navy-dark);
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table th {
    padding: 15px;
    border: none;
    font-weight: 600;
}

.admin-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.admin-table tbody tr:hover {
    background-color: #fcfcfc;
}

.mensaje-cell {
    max-width: 300px;
    white-space: normal;
}

.table-paquetes {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.table-paquetes thead th,
.table-paquetes tbody td {
    border: 1px solid #ddd;
}

.table-paquetes thead th {
    background: var(--navbar-bg-color);
    color: white;
}

.table-paquetes tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.table-paquetes tbody tr:hover {
    background: rgba(16, 44, 76, 0.1);
}


/* ==========================================================================
   14. INPUTS Y FORMULARIOS
   ========================================================================== */

.admin-input {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 10px;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    color: var(--navy-dark);
    font-weight: 600;
}

.admin-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.form-control,
.form-select {
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-label {
    font-size: 0.82rem;
}

.input-group-text {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 0 14px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.luxury-input-group {
    position: relative;
    margin-bottom: 10px;
}

.luxury-input {
    width: 100%;
    padding: 10px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

.luxury-input:focus {
    border-bottom: 2px solid var(--gold);
}

.luxury-input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.luxury-input:focus~label,
.luxury-input:not(:placeholder-shown)~label,
.select-luxury~label {
    top: -15px;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

select.select-luxury {
    cursor: pointer;
    padding-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.luxury-input-dark {
    width: 100%;
    padding: 12px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: white;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

.luxury-input-dark:focus {
    border-bottom: 2px solid var(--gold);
}

.luxury-input-group-dark label {
    position: absolute;
    top: 12px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.luxury-input-dark:focus~label,
.luxury-input-dark:not(:placeholder-shown)~label {
    top: -15px;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 15px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--gold);
}

.flatpickr-mobile {
    display: none !important;
}


/* ==========================================================================
   15. TARJETAS DE PAQUETES
   ========================================================================== */

.paquete-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paquete-card:hover {
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-5px);
}

.horas-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--navy-dark) 0%, #112B4A 100%);
    color: white;
    padding: 6px 25px;
    border-radius: 30px;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    white-space: nowrap;
    z-index: 5;
}

.picker-pasajeros {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
}

.card-footer-precio {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 15px 15px;
}


/* ==========================================================================
   16. TARJETAS DE ATRACCIONES
   ========================================================================== */

.card-atraccion {
    background: white;
    border: none;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card-atraccion:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.img-atr {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-atraccion:hover .img-atr {
    transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(10, 25, 47, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-atraccion:hover .carousel-control-prev,
.card-atraccion:hover .carousel-control-next {
    opacity: 1;
}

.card-atraccion-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-atraccion-body h3 {
    font-size: 1.6rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.card-atraccion-body .description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.view-gallery {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--navy-dark);
    cursor: pointer;
}


/* ==========================================================================
   17. TARJETAS DE CONTACTO / INFO
   ========================================================================== */

.info-card {
    background: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.info-card:hover {
    transform: translateX(10px);
    border-left: 3px solid var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #F8F9FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy-dark);
    transition: all 0.3s ease;
}

.info-card:hover .icon-circle {
    background-color: var(--navy-dark);
    color: var(--gold);
}

.info-card h4 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 5px;
}

.info-link,
.info-text {
    font-size: 0.95rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--gold);
}

.concierge-card {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-luxury-card {
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    height: 100%;
}


/* ==========================================================================
   18. SPEC BOX (YATE)
   ========================================================================== */

.spec-box {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px 15px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.spec-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.spec-box i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.spec-box h4 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.spec-box span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}


/* ==========================================================================
   19. MODALES Y RESERVAS
   ========================================================================== */

.luxury-modal {
    border-radius: 10px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.resumen-card {
    background: #f8f9fa;
    border-left: 2px solid var(--gold);
    height: 100%;
    border-radius: 5px;
}

.reserva-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Manrope', sans-serif;
}

.reserva-table td {
    padding: 10px;
    vertical-align: top;
}

.reserva-table .label {
    background-color: #fff7f0;
    font-weight: normal;
    width: 40%;
}

.reserva-table .value {
    background-color: #fff;
    font-weight: normal;
}

.reserva-table tr:not(:last-child) td {
    border-bottom: 1px solid #0e2e4e;
}

.reserva-quote {
    font-family: 'Poppins', serif;
    line-height: 1.2;
    font-size: 1.5rem;
    font-weight: bolder;
    font-style: italic;
    color: #0e2e4e;
}

#paypal-button-container {
    width: 100%;
    margin: 55px auto;
}


/* ==========================================================================
   20. LOGIN ADMIN
   ========================================================================== */

.login-fullscreen-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    background-color: var(--navy-dark);
}

.login-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/yate/nizuc1.webp');
    background-size: cover;
    background-position: center;
    filter: blur(8px) grayscale(50%);
    transform: scale(1.05);
    z-index: 1;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%);
    z-index: 2;
}

.login-glass-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.icon-lock-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.luxury-alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b6b;
    border-radius: 8px;
}


/* ==========================================================================
   21. REPORTES
   ========================================================================== */

.report-card {
    border-radius: 1rem;
    border: 1px solid rgba(18, 40, 75, 0.08);
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .no-print,
    .btn,
    .navbar,
    .footer,
    .rounded-circle {
        display: none !important;
    }

    .admin-module-card,
    .report-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }

    .container-xxl {
        max-width: 100% !important;
        padding: 0 !important;
    }
}


/* ==========================================================================
   22. MAPA
   ========================================================================== */

.map-container {
    height: 450px;
}

.map-section-luxury {
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-section-luxury iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.4);
    z-index: 2;
    pointer-events: none;
}

.map-floating-card {
    position: relative;
    z-index: 10;
    background: rgba(3, 48, 114, 0.329);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 0;
}


/* ==========================================================================
   23. VIP / GANGA
   ========================================================================== */

.vip-ganga-card {
    background-color: var(--navy-dark);
    border-radius: 10px;
    overflow: hidden;
}

.vip-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.border-end-vip {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.border-start-vip {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.luxury-carousel {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vip-img {
    height: 250px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.5s ease;
}

.luxury-carousel:hover .vip-img {
    transform: scale(1.05);
}

.carousel-caption-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 47, 0.85);
    color: var(--gold);
    padding: 5px 20px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--gold);
    white-space: nowrap;
}


/* ==========================================================================
   24. ANIMACIONES (REVEAL)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   25. DATA TABLES Y EXTRA
   ========================================================================== */

.dt-buttons .btn {
    margin-right: 8px !important;
    border-radius: 6px !important;
}

#mobile-cards-container .bitacora-card {
    transition: all 0.3s ease;
}

#mobile-cards-container .bitacora-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.actividades-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.actividades-section .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bitacora-card,
.btn,
.form-control {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-switch .form-check-input {
    width: 2em;
    height: 1em;
}


/* ==========================================================================
   26. RESPONSIVIDAD
   ========================================================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 25, 47, 0.98);
        padding: 30px;
        border-radius: 0 0 20px 20px;
        margin-top: 10px;
        border-top: 1px solid var(--gold);
    }

    #logo {
        height: 90px;
    }

    .navbar-nav {
        text-align: center;
    }

    .btn-gold-luxury {
        margin-top: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .mt-negativo {
        margin-top: -40px;
    }

    .large-item img {
        height: 500px;
    }

    .small-item img,
    .small-item video {
        height: 300px;
    }

    .spec-box h4 {
        font-size: 1.2rem;
    }

    .spec-box i {
        font-size: 2rem;
    }

    .border-end-vip {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .border-start-vip {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .form-control-sm,
    .form-select-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .badge {
        font-size: 0.75rem;
    }

    body {
        padding-bottom: 0;
    }

    .position-fixed.bottom-0 {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .card-body {
        padding: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero-overlay-text h1 {
        font-size: 2.8rem;
    }

    .glass-card {
        padding: 50px 20px;
        margin-top: -60px;
    }

    .large-item img,
    .small-item img,
    .small-item video,
    .square-item img {
        height: 350px;
    }

    .header-vistas,
    .header-contacto,
    .header-tarifas,
    .header-yate {
        padding-top: 150px;
        padding-bottom: 100px;
    }

    .info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .map-section-luxury {
        height: 600px;
        padding: 20px;
    }

    .map-floating-card {
        padding: 40px 20px;
        width: 100%;
    }

    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .bitacora-card {
        border-left: 4px solid #0d6efd;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .bitacora-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

    .bitacora-card .card-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
        padding: 0.75rem;
    }

    .bitacora-card .card-body {
        padding: 0.75rem;
    }

    .btn-group .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }

    .card-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 1rem;
    }

    .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .btn-sm {
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }

    .input-group {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .input-group .form-control {
        border-right: 0;
        font-size: 1rem;
    }

    .input-group .btn {
        border-left: 0;
    }

    .text-break {
        word-break: break-word;
    }

    .modal-fullscreen-sm-down {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .modal-fullscreen-sm-down .modal-content {
        height: 100%;
        border-radius: 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .table-responsive {
        font-size: 0.875rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .table td:nth-child(6),
    .table th:nth-child(6) {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .card {
        border-radius: 8px;
    }

    .card-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .form-control-sm,
    .form-select-sm {
        font-size: 0.875rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .text-truncate {
        max-width: 200px;
    }
}

@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.25rem;
    }

    .card-header {
        padding: 0.5rem;
    }

    .card-body {
        padding: 0.75rem;
    }
}

/* Utilidades móviles */
.mobile-search-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}