/* Variables CSS */
:root {
    --azul-intenso: #0000b3;
    --azul-marino: #001f7d;
    --purpura-electrico: #3c00b3;
    --turquesa: #00b3b3;
    --verde-azulado: #007d7d;
    --blanco: #ffffff;
    --gris-claro: #f8f9fa;
    --gris-medio: #6c757d;
    --negro: #000000;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Karma', serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}

/* Navegación */
.navbar-custom {
    background: linear-gradient(135deg, var(--azul-marino), var(--purpura-electrico));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 179, 0.2);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Rakkas', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blanco) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    font-family: 'Libre Baskerville', serif;
    font-weight: 500;
    color: var(--blanco) !important;
    margin: 0 15px;
    padding: 10px 0 !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--turquesa) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--turquesa);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.btn-cta {
    background: linear-gradient(45deg, var(--turquesa), var(--verde-azulado));
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 179, 179, 0.4);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--azul-marino) 0%, 
        var(--purpura-electrico) 50%, 
        var(--turquesa) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/banner.jpg') center/cover;
    opacity: 0.3;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--blanco);
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight {
    background: linear-gradient(45deg, var(--turquesa), var(--verde-azulado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-price {
    margin-bottom: 2rem;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.price-from {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 10px;
    color: var(--turquesa);
}

.price-period {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--turquesa), var(--verde-azulado));
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 179, 179, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 179, 179, 0.5);
}

.btn-outline-light {
    border: 2px solid var(--blanco);
    color: var(--blanco);
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--blanco);
    color: var(--azul-marino);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--blanco);
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll a:hover {
    opacity: 1;
}

/* Secciones Generales */
.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-marino);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gris-medio);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Servicios */
.services-section {
    background: var(--gris-claro);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23007d7d' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 179, 179, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--turquesa), var(--verde-azulado));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 2rem;
}

.service-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    color: var(--azul-marino);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gris-medio);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purpura-electrico);
    margin-bottom: 25px;
}

.btn-service {
    background: linear-gradient(45deg, var(--azul-intenso), var(--purpura-electrico));
    color: var(--blanco);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-service:hover {
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 0, 179, 0.4);
}

/* Galería */
.gallery-section {
    background: linear-gradient(135deg, var(--azul-marino), var(--purpura-electrico));
    color: var(--blanco);
    position: relative;
}

.gallery-container {
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    position: relative;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.gallery-container {
    white-space: nowrap;
}
.gallery-item {
    display: inline-block;
}

.gallery-container {
    will-change: transform;
}
.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--blanco);
    padding: 40px 30px 30px;
    text-align: center;
}

.gallery-overlay h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.gallery-controls {
    text-align: center;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--blanco);
    color: var(--blanco);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--blanco);
    color: var(--azul-marino);
    transform: scale(1.1);
}

/* Experiencias */
.experiences-section {
    background: var(--gris-claro);
}

.experiences-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.experiences-container::-webkit-scrollbar {
    height: 8px;
}

.experiences-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.experiences-container::-webkit-scrollbar-thumb {
    background: var(--turquesa);
    border-radius: 10px;
}

.experience-card {
    min-width: 300px;
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.experience-content {
    padding: 25px;
}

.experience-content h3 {
    font-family: 'Libre Baskerville', serif;
    color: var(--azul-marino);
    margin-bottom: 10px;
}

.experience-content p {
    color: var(--gris-medio);
    line-height: 1.6;
}

/* Reseñas */
.reviews-section {
    background: var(--blanco);
}

.review-card {
    background: var(--gris-claro);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: var(--gris-medio);
    margin-bottom: 25px;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--azul-marino);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--gris-medio);
    font-size: 0.9rem;
}

/* Formulario de Reservas */
.booking-section {
    background: linear-gradient(135deg, var(--turquesa), var(--verde-azulado));
    color: var(--blanco);
}

.booking-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-form .form-label {
    color: var(--blanco);
    font-weight: 600;
    margin-bottom: 8px;
}

.booking-form .form-control,
.booking-form .form-select {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanco);
    backdrop-filter: blur(5px);
}

.booking-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--blanco);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.2);
}

.booking-form .form-select option {
    background: var(--azul-marino);
    color: var(--blanco);
}

/* Blog */
.blog-section {
    background: var(--gris-claro);
}

.blog-card {
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--turquesa);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-family: 'Libre Baskerville', serif;
    color: var(--azul-marino);
    margin: 10px 0 15px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--gris-medio);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    color: var(--purpura-electrico);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--azul-intenso);
    transform: translateX(5px);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--azul-marino), var(--negro));
    color: var(--blanco);
    padding: 60px 0 20px;
}

.footer-brand h3 {
    font-family: 'Rakkas', cursive;
    color: var(--turquesa);
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--turquesa);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--turquesa);
    margin-bottom: 20px;
    font-family: 'Libre Baskerville', serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--blanco);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--turquesa);
    padding-left: 5px;
}

.footer-contact h4 {
    color: var(--turquesa);
    margin-bottom: 20px;
    font-family: 'Libre Baskerville', serif;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-item i {
    color: var(--turquesa);
    margin-right: 15px;
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px;
}

.footer-bottom {
    opacity: 0.7;
}

.footer-links-bottom {
    text-align: right;
}

.footer-links-bottom a {
    color: var(--blanco);
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links-bottom a:hover {
    opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--azul-marino), var(--purpura-electrico));
    color: var(--blanco);
    padding: 20px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    margin: 0;
    display: flex;
    align-items: center;
}

.cookie-text a {
    color: var(--turquesa);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.btn-cookie-accept {
    background: var(--turquesa);
    border: none;
    color: var(--blanco);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background: var(--verde-azulado);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .experiences-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer-links-bottom {
        text-align: left;
        margin-top: 20px;
    }
    
    .footer-links-bottom a {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .experience-card {
        min-width: 280px;
    }
    
    .booking-form {
        padding: 30px 20px;
    }
    
    .cookie-banner .row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner .col-lg-4 {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-price {
        padding: 10px 20px;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .btn-primary-custom,
    .btn-outline-light {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .experience-card {
        min-width: 250px;
    }
    
    .experiences-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .review-author {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-form {
        padding: 25px 15px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Estados de carga */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--turquesa);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}