* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #2c3e50;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.burbujas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.burbuja {
    position: absolute;
    bottom: -50px;
    background: rgba(2, 132, 199, 0.04);
    border-radius: 50%;
    animation: flotarBurbuja 12s infinite ease-in-out;
}

.burbuja:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-delay: 0s; }
.burbuja:nth-child(2) { left: 30%; width: 20px; height: 20px; animation-delay: 3s; animation-duration: 8s; }
.burbuja:nth-child(3) { left: 50%; width: 50px; height: 50px; animation-delay: 1s; }
.burbuja:nth-child(4) { left: 75%; width: 35px; height: 35px; animation-delay: 5s; animation-duration: 15s; }
.burbuja:nth-child(5) { left: 90%; width: 25px; height: 25px; animation-delay: 2s; }

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: #5d391a;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: #c7c002;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #c7c702;
}

.btn-nav {
    background-color: #bdc702;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(199, 160, 2, 0.2);
    transition: transform 0.2s, background-color 0.2s !important;
}

.btn-nav:hover {
    background-color: #a19903;
    transform: translateY(-1px);
}

.hero {
    position: relative;
    height: 80vh;
    background: url('cabosan.png') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 93, 26, 0.6), rgba(15, 23, 42, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 19px;
    color: #e2e8f0;
    margin-bottom: 35px;
}

.btn-main {
    display: inline-block;
    padding: 15px 35px;
    background-color: #ffffff;
    color: #5d401a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-main:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.section-container {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
}

.bg-light-parallax {
    background: linear-gradient(rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.9)), url('bahiacon.png') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}

.bg-blue-deep {
    background: linear-gradient(135deg, #8a5b1e, #0f172a);
}

.text-white h2 { color: #ffffff !important; }
.text-light { color: #cbd5e1 !important; }
.tag-white { color: #f2f838 !important; }
.bar-white { background-color: #f8e538 !important; }

.section-title-block {
    text-align: center;
    margin-bottom: 60px;
}

.top-tag {
    font-size: 12px;
    font-weight: 800;
    color: #c7ba02;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title-block h2 {
    font-size: 34px;
    font-weight: 800;
    color: #5d2d1a;
}

.underline-bar {
    width: 60px;
    height: 4px;
    background-color: #c7c002;
    margin: 15px auto;
    border-radius: 2px;
}

.subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(241, 245, 249, 0.8);
    text-align: center;
    font-size: 16px;
    color: #475569;
}
.about-card p { margin-bottom: 20px; }

.tabs-destinos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover, .tab-btn.active {
    background-color: #5d461a;
    color: #ffffff;
    border-color: #5d591a;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
    transform: translateY(-2px);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: animacionSuave 0.5s ease-out; }

.destino-intro {
    text-align: center;
    margin-bottom: 45px;
}
.destino-intro h3 { color: #5d401a; font-size: 24px; font-weight: 700; margin-bottom: 10px;}
.destino-intro p { color: #695a47; font-size: 16px; max-width: 600px; margin: 0 auto; }

.grid-productos {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    width: 320px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 14px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 5;
}
.eco { background: #16a34a; }
.nature { background: #059669; }
.adventure { background: #ea580c; }
.culture { background: #9333ea; }
.extreme { background: #dc2626; }
.history { background: #ebe525; }
.beach { background: #0d9488; }

.card-body {
    padding: 25px;
}

.card-body h4 {
    font-size: 19px;
    font-weight: 700;
    color: #5d331a;
    margin-bottom: 12px;
}

.card-body p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    height: 65px;
    overflow: hidden;
}

.btn-card {
    width: 100%;
    padding: 13px;
    background-color: #f1f5f9;
    color: #5d3f1a;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card:hover .btn-card {
    background-color: #c7c402;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.3);
}

.carrusel-contenedor {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carrusel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.carrusel-track .resena-box {
    min-width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.estrellas {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 15px;
}

.resena-texto {
    color: #e2e8f0;
    font-size: 15px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.resena-autor {
    color: #f8ef38;
    font-size: 14px;
    font-weight: 700;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: animacionSuave 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: 400;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #dc2626;
}

#modal-titulo {
    font-size: 26px;
    font-weight: 800;
    color: #5d411a;
    margin-bottom: 18px;
    padding-right: 20px;
}

#modal-descripcion {
    font-size: 15px;
    color: #696547;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-features {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 14px;
    border-left: 4px solid #c7ba02;
    margin-bottom: 30px;
}

.modal-features p {
    font-size: 13.5px;
    color: #554a33;
    line-height: 1.5;
}

.form-reserva {
    max-width: 550px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #554933;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #554a33;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #c7c002;
}

.form-group input[readonly] {
    background-color: #f8fafc;
    color: #c7a302;
    font-weight: 700;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #c7c002;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #a18103;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    width: 280px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

.contact-box h4 {
    font-size: 14px;
    color: #c7c402;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.contact-box p { font-size: 14px; color: #695f47; }

.alerta-contenedor {
    padding: 20px 5% 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.alerta-exito {
    background-color: #f0fdf4;
    color: #166534;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #16a34a;
}

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 20px;
    text-align: center;
    font-size: 13px;
}

.animar-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animar-scroll.revelado {
    opacity: 1;
    transform: translateY(0);
}

@keyframes flotarBurbuja {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

@keyframes animacionSuave {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}