/* Import elegant fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Montserrat:wght@300;400;600&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: #051E26;
    color: white;
    overflow-x: hidden;
}

/* Fix white gaps on fast scroll */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #051E26;
    z-index: -9999;
}

/* NAVBAR - OPTIMIZED FOR PERFORMANCE */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 5px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    will-change: background-color, box-shadow;
    transition: all 0.3s ease;
}

/* FIX: Semi-transparent gradient on scroll */
.navbar.scrolled {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(74, 159, 184, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* LOGO - FIXED RESPONSIVENESS */
.logo {
    z-index: 1002;
    position: relative;
}

/* FIX: Logo with aspect ratio maintenance */
.logo img {
    max-height: 150px;
    width: auto;
    display: block;
    transition: max-height 0.3s ease;
    aspect-ratio: auto;
}

.navbar.scrolled .logo img {
    max-height: 80px;
}

/* NAVIGATION LINKS - DESKTOP */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HAMBURGER MENU - MOBILE ONLY */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 6px;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE OVERLAY */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 30, 38, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* HERO - FIXED FOR MOBILE */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    background: #051E26 url("images/hero.jpg") center/cover no-repeat;
    background-attachment: scroll;
    will-change: transform;
}

/* Gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5, 30, 38, 0.3) 0%,
        rgba(5, 30, 38, 0.7) 60%,
        rgba(5, 30, 38, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease forwards 0.3s;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 6vw, 70px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 4px 8px rgba(26, 25, 25, 0.5);
}

.hero-content p {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 30px;
    opacity: 0.95;
    letter-spacing: 2px;
    text-shadow: 1px 2px 4px rgba(14, 13, 13, 0.787);
}

.hero-instagram-btn,
.hero-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #173656 0%, #11242a 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(15px, 2vw, 18px);
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(19, 38, 44, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-instagram-btn:hover,
.hero-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(19, 38, 44, 0.6);
}

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

/* ABOUT */
.about {
    width: 100%;
    padding: 150px 20px 80px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    position: relative;
}

.about-content {
    max-width: 900px;
    text-align: center;
    opacity: 0;
    color: white;
    transform: translateY(50px);
    transition: all 0.8s ease;
    padding: 40px;
    background: rgba(7, 54, 66, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 184, 0.1);
    will-change: opacity, transform;
}

.about-content.reveal {
    opacity: 1;
    transform: translateY(0);
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 20px;
    color: white;
    background: linear-gradient(135deg, #6CB8D0 0%, #8FCDDE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
}

/* DESTINATIONS - OPTIMIZED & RESPONSIVE */
.dest-section {
    padding: 80px 6vw;
    display: flex;
    flex-direction: column;
    gap: 120px;
    background: transparent;
}

.dest-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.dest-block.reveal {
    opacity: 1;
    transform: translateY(0);
}

.dest-block.reverse {
    flex-direction: row-reverse;
}

.dest-img {
    flex: 1;
    max-width: 550px;
    width: 100%;
    min-height: 380px;
    position: relative;
}

.dest-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(74, 159, 184, 0.1);
    display: block;
}

.dest-img img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.dest-text {
    flex: 1;
    max-width: 500px;
    position: relative;
    padding: 30px;
    color: white;
    background: rgba(7, 54, 66, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 184, 0.1);
}

.dest-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #4A9FB8 0%, #6CB8D0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.dest-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A9FB8 0%, #6CB8D0 100%);
    transition: width 0.6s ease;
}

.dest-block.reveal .dest-text h3::after {
    width: 60%;
}

.dest-text p {
    opacity: 0.9;
    font-size: 17px;
    color: white;
    line-height: 1.8;
}

/* PACKAGES SECTION */
.packages-section {
    padding: 40px 6vw;
    background: transparent;
    position: relative;
}

.packages-container {
    max-width: 1400px;
    margin: 0 auto;
}

.packages-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6CB8D0 0%, #8FCDDE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.packages-subtitle {
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.85;
    margin-bottom: 60px;
    color: white;
    font-weight: 300;
    letter-spacing: 1px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.package-card {
    position: relative;
    background: rgba(7, 54, 66, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 184, 0.2);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: all 0.5s ease;
    animation: fadeInUpCard 0.6s ease forwards;
    overflow: hidden;
}

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

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 159, 184, 0.3);
    border-color: rgba(74, 159, 184, 0.4);
}

.package-icon {
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

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

.package-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin: 20px 0;
    padding: 0 30px;
    color: white;
    background: linear-gradient(135deg, #4A9FB8 0%, #6CB8D0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-desc {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
    min-height: 120px;
    padding: 0 30px;
}

.package-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4A9FB8 0%, #6CB8D0 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 159, 184, 0.3);
    margin-bottom: 40px;
}

.package-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 159, 184, 0.5);
}

.package-btn i {
    font-size: 20px;
}

/* CONTACT FOOTER */
.ev-footer {
    padding: 150px 6vw 80px;
    background: transparent;
    border-top: none;
    color: white;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}

.ev-footer.reveal {
    opacity: 1;
    transform: translateY(0);
}

.ev-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.ev-col {
    flex: 1;
    min-width: 250px;
}

.ev-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 15px;
}

.ev-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.ev-col p {
    opacity: 0.85;
    line-height: 1.7;
}

.ev-col ul {
    list-style: none;
}

.ev-col ul li {
    margin-bottom: 10px;
}

.ev-col a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-block;
}

.ev-col a:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateX(5px);
}

.ev-contact-link {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.ev-location-link {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.ev-location-link:hover {
    opacity: 1;
    transform: translateX(5px);
}

.ev-location-link i {
    margin-right: 8px;
}

.ev-socials {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.ev-socials a {
    font-size: 28px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 159, 184, 0.2) 0%, rgba(108, 184, 208, 0.2) 100%);
}

.ev-socials a:hover {
    background: linear-gradient(135deg, rgba(74, 159, 184, 0.4) 0%, rgba(108, 184, 208, 0.4) 100%);
    color: #ffffff;
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 30px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    border-top: 1px solid rgba(74, 159, 184, 0.15);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A9FB8 0%, #6CB8D0 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(74, 159, 184, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 159, 184, 0.6);
}

/* ========================================
   MOBILE RESPONSIVE STYLES - ENHANCED
======================================== */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 30px;
    }

    .logo img {
        max-height: 120px;
    }

    .navbar.scrolled .logo img {
        max-height: 75px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }
}

/* Tablets (900px and below) */
@media (max-width: 900px) {
    .dest-block,
    .dest-block.reverse {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .dest-img {
        max-width: 100%;
        min-height: 300px;
    }

    .dest-img img {
        height: 300px;
    }

    .dest-text {
        max-width: 100%;
        padding: 25px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* FIX: MOBILE HAMBURGER MENU - Below 768px */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 20px 8px 20px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
        backdrop-filter: blur(8px);
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        max-height: 160px;
        transition: max-height 0.3s ease;
    }

    .navbar.scrolled .logo img {
        max-height: 100px;
    }

    /* Show hamburger, hide desktop nav links */
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    /* Mobile overlay for closing menu */
    .nav-overlay {
        display: block;
    }

    /* FIX: Mobile navigation slide-in from right */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(38, 71, 82, 0.98) 0%, rgba(6, 42, 53, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 40px 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1001;
        overflow-y: auto;
    }

    /* Active state - slide in from right */
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 20px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
        font-weight: 600;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        color: #ffffff;
    }

    /* Animate links when menu opens */
    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }

    .nav-links a::after {
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-instagram-btn,
    .hero-whatsapp-btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 6px;
    }
}

/* Disable parallax on mobile to improve performance */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important;
    }
}

/* Mobile devices (600px and below) */
@media (max-width: 600px) {
    .navbar {
        padding: 20px 15px 4px 15px;
        justify-content: center;
        background: transparent !important;
        flex-wrap: wrap;
        min-height: 80px;
    }

    .logo {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: unset;
        margin: 0 auto;
    }

    .logo img {
        max-height: 160px;
    }

    .navbar.scrolled .logo img {
        max-height: 100px;
    }

    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        order: unset;
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        display: block;
        transition: all 0.3s ease;
    }

    .nav-links {
        width: 75vw;
        max-width: 280px;
        gap: 20px;
    }

    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
    }

    .hero {
        padding: 90px 15px 60px;
        min-height: 100vh;
    }

    .hero-instagram-btn,
    .hero-whatsapp-btn {
        margin: 6px;
        padding: 12px 24px;
        font-size: 15px;
    }

    .about {
        padding: 60px 15px;
    }

    .about-content {
        padding: 25px 20px;
    }

    .dest-section {
        padding: 60px 20px;
        gap: 60px;
    }

    .dest-img {
        min-height: 240px;
    }

    .dest-img img {
        height: 240px;
    }

    .dest-text {
        padding: 20px 15px;
    }

    .packages-section {
        padding: 60px 20px;
    }

    .ev-footer {
        padding: 80px 20px 50px;
    }

    .ev-container {
        gap: 40px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Extra small mobile devices (400px and below) */
@media (max-width: 400px) {
    .navbar {
        padding: 20px 15px 2px 15px;
    }

    .logo img {
        max-height: clamp(120px, 30vw, 160px);
    }

    .navbar.scrolled .logo img {
        max-height: clamp(80px, 20vw, 100px);
    }

    .hero-content h1 {
        font-size: clamp(22px, 9vw, 32px);
    }

    .hero-content p {
        font-size: clamp(13px, 4.5vw, 16px);
    }

    .hero-instagram-btn,
    .hero-whatsapp-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
