:root {
    --primary: #0288d1;
    --primary-dark: #01579b;
    --secondary: #ffb300;
    --dark: #121212;
    --dark-alt: #1e1e1e;
    --light: #f5f7fa;
    --white: #ffffff;
    --text: #333333;
    --gray: #888888;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.section-title.text-white {
    color: var(--white) !important;
}

.section-title span {
    color: inherit;
}

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

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
}

.text-white {
    color: var(--white) !important;
}

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

.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.4);
    color: var(--white);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: inherit;
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-links li a:not(.btn-primary) {
    color: var(--dark);
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--dark);
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
}

.cb-slideshow,
.cb-slideshow:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.cb-slideshow li:nth-child(1) span {
    background-image: url('assets/images/hero_slide_beach.png');
}

.cb-slideshow li:nth-child(2) span {
    background-image: url('assets/images/hero_slide_city.png');
    animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) span {
    background-image: url('assets/images/hero_slide_mountain.png');
    animation-delay: 12s;
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 3;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Destinos Carousel */
#destinos .container {
    max-width: 95%;
    /* Make it span almost the entire screen */
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.cards-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;

    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cards-grid::-webkit-scrollbar {
    display: none;
}

.card {
    min-width: 220px;
    max-width: 220px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

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

/* WhatsApp Overlay on Card */
.btn-wssp-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(37, 211, 102, 0.95);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    text-wrap: nowrap;
}

.card:hover .btn-wssp-overlay {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img::after {
    opacity: 1;
}

.card-info {
    padding: 1.2rem;
    position: relative;
    background: var(--white);
    z-index: 3;
}

.card-info h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.card-info p {
    color: var(--gray);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .card {
        min-width: 200px;
        max-width: 200px;
    }
}

@media (max-width: 900px) {
    .card {
        min-width: 250px;
        max-width: 250px;
    }
}

@media (max-width: 600px) {
    .card {
        min-width: 85vw;
        max-width: 85vw;
    }

    .carousel-btn {
        display: none;
        /* Hide buttons on mobile, allow swiping */
    }

    .cards-grid {
        padding: 1rem 5vw 2rem;
        gap: 1.5rem;
    }
}

.card-info p i {
    color: var(--primary);
}

/* Paquetes & Reservas */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-box {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-box:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-box:hover .icon-wrap {
    background: var(--primary);
    color: var(--white);
}

.service-box h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-box p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 0.5rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.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(--white);
}

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

.social-links a.ig-icon:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Animations & Utility */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        color: var(--dark);
        font-size: 1.1rem;
    }

    .navbar {
        background: var(--dark);
        padding: 1rem 0;
    }

    .navbar .logo,
    .navbar .menu-toggle {
        color: var(--white);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: var(--white);
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
.testimonials .container {
    max-width: 1000px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.author-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin: 0;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* Instagram Grid */
.instagram-section {
    padding: 4rem 0 0;
    /* Attach directly to footer visually */
}

.instagram-header {
    text-align: center;
    margin-bottom: 2rem;
}

.instagram-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ig-logo-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.instagram-header p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.ig-item {
    position: relative;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    display: block;
    overflow: hidden;
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-item:hover .ig-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}