/* ============================================
   Dreams Travel - Antillean Dream Design System
   ============================================ */

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Soft Ambient Glow Shadow (Primary-tinted) */
.glow-shadow {
    box-shadow:
        0 10px 25px -5px rgba(12, 103, 128, 0.12),
        0 20px 50px -10px rgba(12, 103, 128, 0.15),
        0 30px 60px -15px rgba(12, 103, 128, 0.08);
}

/* Glow Shadow Tertiary (for special cards) */
.glow-shadow-tertiary {
    box-shadow:
        0 10px 25px -5px rgba(135, 79, 76, 0.12),
        0 20px 50px -10px rgba(135, 79, 76, 0.15),
        0 30px 60px -15px rgba(135, 79, 76, 0.08);
}

/* Service Card — Glass Transparency */
.service-card.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 24px -6px rgba(12, 103, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card.glass-card:hover {
    background: rgba(255, 255, 255, 0.65);
    box-shadow:
        0 12px 32px -6px rgba(12, 103, 128, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button Shimmer Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}

/* Gallery Carousel */
.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .gallery-slide img {
        height: 575px;
    }
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .gallery-caption {
        font-size: 1.75rem;
        padding: 1.5rem 2rem;
    }
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    color: #0c6780;
}

.gallery-arrow:hover {
    background: #0c6780;
    color: white;
    box-shadow: 0 6px 20px rgba(12, 103, 128, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.gallery-arrow.prev {
    left: 12px;
}

.gallery-arrow.next {
    right: 12px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d7fafa;
    border: 2px solid #0c6780;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: #0c6780;
    transform: scale(1.2);
}

/* Hero Title White Outline */
.hero-title-outline {
    -webkit-text-stroke: 6px rgba(255, 255, 255, 0.9);
    paint-order: stroke fill;
    stroke-linejoin: round;
    -webkit-text-stroke-linecap: round;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        3px 3px 6px rgba(0, 0, 0, 0.2);
}

/* Nav Links Semi-Transparent Black Outline */
.nav-text-outline {
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.5);
    paint-order: stroke fill;
    padding: 10px 18px;
    border-radius: 14px;
    background-color: rgba(0, 0, 0, 0.35);
}

.hero-title-outline span.text-secondary {
    -webkit-text-stroke: 3px rgba(255, 255, 255, 0.8);
}

/* Hero Title — Fade In */
.hero-fade-line {
    opacity: 0;
    animation: hero-fade-in 1.2s ease forwards;
}

.hero-fade-line2 {
    opacity: 0;
    animation: hero-fade-in 1.2s ease 0.6s forwards;
}

@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wave Divider System — Hero Bottom */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    z-index: 2;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: auto;
    min-height: 80px;
}

/* Wave 1 — Light (ocean surface) */
.wave-divider .wave1 {
    fill: rgba(226, 255, 254, 0.7);
    animation: wave-drift 8s ease-in-out infinite alternate;
}

/* Wave 2 — Light (ocean surface, offset phase) */
.wave-divider .wave2 {
    fill: rgba(226, 255, 254, 0.5);
    animation: wave-drift 11s ease-in-out infinite alternate-reverse;
}

/* Wave 3 — Light (ocean surface, slowest) */
.wave-divider .wave3 {
    fill: #e2fffe;
    animation: wave-drift 14s ease-in-out infinite alternate;
}

/* Tide 1 — Dark blue (tidal layer) */
.wave-divider .tide1 {
    fill: rgba(5, 46, 58, 0.6);
    animation: tide-drift 13s ease-in-out infinite alternate;
}

/* Tide 2 — Dark blue (deeper tidal layer) */
.wave-divider .tide2 {
    fill: rgba(5, 46, 58, 0.85);
    animation: tide-drift 17s ease-in-out infinite alternate-reverse;
}

/* Tide 3 — Darkest (seafloor base) */
.wave-divider .tide3 {
    fill: #052e3a;
    animation: tide-drift 21s ease-in-out infinite alternate;
}

@keyframes wave-drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

@keyframes tide-drift {
    0% { transform: translateX(-5%); }
    100% { transform: translateX(-30%); }
}

/* Particles Container */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Individual Particle */
.particle {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: particle 15s infinite linear;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(12, 103, 128, 0.15);
}

/* Image Zoom on Hover */
.img-zoom {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.img-zoom:hover {
    transform: scale(1.03);
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px -5px rgba(12, 103, 128, 0.1);
}

/* Language Toggle Dropdown */
.lang-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: rgba(226, 255, 254, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Button Animation */
.hamburger-btn .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(0);
}

.hamburger-btn .hamburger-line:nth-child(2) {
    opacity: 1;
}

.hamburger-btn .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(0);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Category Filter Buttons */
.filter-btn,
.region-btn {
    transition: all 0.3s ease;
}

.filter-btn.active,
.region-btn.active {
    background-color: #0c6780;
    color: #ffffff;
}

.filter-btn:not(.active):hover,
.region-btn:not(.active):hover {
    background-color: #d7fafa;
    color: #0c6780;
}

/* Glassmorphism Filter Panel */
.glass-filter {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 24px -6px rgba(12, 103, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Floating Card Images */
@keyframes img-float {
    0%, 100% { transform: translateY(0) scale(1.08); }
    50% { transform: translateY(-10px) scale(1.08); }
}

.img-float {
    animation: img-float 6s ease-in-out infinite;
}

.service-card .img-zoom {
    cursor: zoom-in;
}

/* Contact Form Input Focus */
input:focus, textarea:focus, select:focus {
    border-color: #0c6780;
    box-shadow: 0 0 0 3px rgba(12, 103, 128, 0.1);
}

/* Smooth Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #87ceeb #e2fffe;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e2fffe;
}

::-webkit-scrollbar-thumb {
    background: #87ceeb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0c6780;
}

/* WhatsApp Button Floating */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background: #0c6780;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(12, 103, 128, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(12, 103, 128, 0.5);
}

/* Newsletter Input */
.newsletter-input {
    border: 1px solid #efe0cd;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #0c6780;
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 103, 128, 0.1);
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(12, 103, 128, 0.08);
}

/* Price Badge */
.price-badge {
    background: linear-gradient(135deg, #0c6780 0%, #87ceeb 100%);
    color: white;
}

/* Section Badge */
.section-badge {
    background-color: #0c6780;
    color: #ffffff;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #efe0cd;
    border-top-color: #0c6780;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0c6780;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(12, 103, 128, 0.3);
    z-index: 200;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .img-float {
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .no-print,
    nav,
    .whatsapp-float,
    .wave-divider,
    .particles-container {
        display: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reviews Section */
.review-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 10px 30px -5px rgba(12, 103, 128, 0.1);
    transform: translateY(-4px);
}

/* Rating Stars */
.rating-star {
    color: #d2c4b2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star:hover {
    transform: scale(1.2);
}

.rating-star.active {
    color: #0c6780;
}

.rating-star.hover {
    color: #87ceeb;
}

/* Review Form Success */
.review-success {
    background: linear-gradient(135deg, #0c6780 0%, #87ceeb 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Google Maps Button */
.google-maps-btn {
    transition: all 0.3s ease;
}

.google-maps-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 103, 128, 0.3);
}
