/**
 * Aqua Dunes Guest Stylesheet
 * Modern Ocean-Inspired Design with Glassmorphism
 */

/* ========== CSS Variables ========== */
:root {
    /* Ocean-Inspired Color Palette - Enhanced */
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --accent-teal: #14b8a6;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    
    /* Neutrals */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    /* Semantic Colors */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --shadow-colorful: 0 20px 60px rgba(14, 165, 233, 0.2), 0 0 100px rgba(168, 85, 247, 0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Disable smooth scroll for better performance on high refresh rate displays */
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
    /* Performance optimizations */
    -webkit-overflow-scrolling: touch;
    will-change: auto;
}

/* Static Background (optimized - no animation) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 20% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(at 40% 40%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(at 90% 70%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #fef3c7 100%);
    z-index: -1;
    pointer-events: none;
    /* Removed animation for better performance */
}

/* Remove gradient animation keyframes */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 25%, #a855f7 50%, #f59e0b 75%, #0ea5e9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowShift 8s linear infinite;
    position: relative;
    display: inline-block;
}

@keyframes rainbowShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p { 
    margin-bottom: 1.25rem;
    color: var(--text-medium);
    font-size: 1.0625rem;
}

a {
    color: var(--primary-color);
    transition: all var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

/* ========== Header with Glassmorphism ========== */
.site-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    
    /* Performance optimizations */
    contain: layout style paint;
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.site-logo h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.site-logo h1 {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6, #a855f7);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGradient 3s ease infinite;
}

@keyframes shimmerGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.site-logo span {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.4));
    animation: floatWave 3s ease-in-out infinite;
    top: -5px;
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #14b8a6, #a855f7, #f59e0b);
    background-size: 300% auto;
    transform: translateX(-50%);
    transition: width var(--transition-base);
    border-radius: 2px;
    animation: rainbow 4s linear infinite;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.main-nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.main-nav a:hover::before {
    width: 80%;
}

.main-nav a.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.2);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========== Language Switcher with Glassmorphism ========== */
.language-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    border: 2px solid rgba(14, 165, 233, 0.2);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    font-weight: 600;
    color: var(--text-dark);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.current-lang-flag {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.lang-toggle:hover .dropdown-arrow {
    transform: translateY(2px);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-md);
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.lang-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.lang-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
}

.lang-dropdown li {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.lang-dropdown li:last-child {
    margin-bottom: 0;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--text-medium);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.lang-dropdown a:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    transform: translateX(4px);
}

.lang-dropdown .active a {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(20, 184, 166, 0.15));
    color: var(--primary-color);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ========== Hero Carousel with 3D Effects ========== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin-bottom: 4rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    transform: scale(0.95);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.3) 0%, 
        rgba(20, 184, 166, 0.2) 50%,
        rgba(168, 85, 247, 0.3) 100%);
    z-index: 1;
    mix-blend-mode: multiply;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: transform var(--transition-slow);
}

.carousel-slide.active .slide-image img {
    animation: zoomIn 8s ease-out forwards;
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 3rem;
    animation: slideContentIn 0.8s ease-out;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    line-height: 1.1;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.slide-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.slide-info .trip-duration,
.slide-info .trip-price {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-control.prev { left: 2rem; }
.carousel-control.next { right: 2rem; }

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: #fff;
    width: 40px;
    border-radius: 7px;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 500px;
    }
    
    .slide-content {
        padding: 2rem 1.5rem;
    }
    
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .carousel-control.prev { left: 1rem; }
    .carousel-control.next { right: 1rem; }
}

/* ========== Modern Buttons with 3D Effects ========== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 50%, #8b5cf6 100%);
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4), 0 0 60px rgba(20, 184, 166, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: gradientFlow 3s ease infinite;
    position: relative;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5), 0 0 80px rgba(20, 184, 166, 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ec4899 100%);
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4), 0 0 60px rgba(249, 115, 22, 0.2);
    animation: gradientFlow 3s ease infinite;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5), 0 0 80px rgba(249, 115, 22, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== Cards with Glassmorphism & 3D Effects ========== */
.destinations-grid,
.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.destination-card,
.trip-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8),
        inset 0 1px 0 rgba(255,255,255,0.9);
    
    /* Performance optimizations */
    contain: layout style paint;
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.destination-card::before,
.trip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.15) 0%, 
        rgba(20, 184, 166, 0.15) 50%,
        rgba(168, 85, 247, 0.15) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.destination-card:hover,
.trip-card:hover {
    transform: translateY(-16px) rotateX(3deg) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(14, 165, 233, 0.3),
        0 0 100px rgba(20, 184, 166, 0.2),
        0 0 0 2px rgba(14, 165, 233, 0.3),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(14, 165, 233, 0.5);
}

.destination-card:hover::before,
.trip-card:hover::before {
    opacity: 1;
}

.destination-image,
.trip-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.destination-image::after,
.trip-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
}

.destination-image img,
.trip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
    filter: brightness(0.95);
    /* Performance optimizations */
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.destination-card:hover .destination-image img,
.trip-card:hover .trip-image img {
    transform: scale(1.05) translateZ(0);
}

.destination-info,
.trip-info {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.destination-info h3,
.trip-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 50%, #14b8a6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Disabled shimmer animation for better scroll performance */
    /* animation: shimmerText 3s ease-in-out infinite; */
    font-weight: 800;
    will-change: auto;
}

/* Shimmer animation disabled for performance on high refresh rate displays */
/*
@keyframes shimmerText {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
*/

.destination-info p,
.trip-info p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.trip-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    margin-bottom: 1rem;
}

.trip-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0.5rem 0.5rem 1rem 0;
}

@media (max-width: 768px) {
    .destinations-grid,
    .trips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .destination-card:hover,
    .trip-card:hover {
        transform: translateY(-8px);
    }
}

/* ========== Modern Forms with Neumorphism ========== */
.form-group {
    margin-bottom: 1.75rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(14, 165, 233, 0.2);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 
        0 0 0 4px rgba(14, 165, 233, 0.1),
        0 8px 20px rgba(14, 165, 233, 0.15),
        0 0 30px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
    border-color: transparent;
    border-image: linear-gradient(135deg, #0ea5e9, #14b8a6, #a855f7) 1;
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

label .required {
    color: var(--error-color);
    margin-left: 0.25rem;
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230ea5e9'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* ========== Modern Footer with Gradient ========== */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 4rem 0 1.5rem;
    margin-top: 6rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::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='%230ea5e9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-section a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: rgba(14, 165, 233, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========== Utility Classes & Effects ========== */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.designer-note {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--text-medium);
    backdrop-filter: blur(10px);
}

.placeholder-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerMove 3s infinite;
}

@keyframes shimmerMove {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.section-subtitle {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.alert {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border-left: 4px solid;
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-color: var(--error-color);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-color: var(--success-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-color: var(--warning-color);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border-color: var(--info-color);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(14, 165, 233, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Floating Elements */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========== Colorful Section Accents ========== */
section {
    position: relative;
    margin: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6, #a855f7, #f59e0b);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 6s linear infinite;
    font-weight: 900;
    position: relative;
    display: inline-block;
    width: 100%;
}

@keyframes rainbow {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #0ea5e9, #14b8a6, #a855f7, #f59e0b);
    background-size: 300% auto;
    border-radius: 10px;
    animation: rainbow 4s linear infinite;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3.5rem;
    font-size: 1.25rem;
    font-weight: 500;
}

/* Colorful CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6, #a855f7);
    background-size: 200% auto;
    animation: gradientFlow 8s ease infinite;
    padding: 6rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.3), 0 0 100px rgba(168, 85, 247, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2,
.cta-section p {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: white;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* Featured Destinations Section with Gradient Background */
.featured-destinations {
    padding: 4rem 0;
    position: relative;
}

.featured-destinations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, 
        rgba(14, 165, 233, 0.05) 0%, 
        rgba(168, 85, 247, 0.05) 50%,
        transparent 100%);
    z-index: -1;
    border-radius: var(--radius-xl);
}

/* Featured Trips Section with Gradient Background */
.featured-trips {
    padding: 4rem 0;
    position: relative;
    margin-top: 2rem;
}

.featured-trips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    background: linear-gradient(180deg, 
        rgba(20, 184, 166, 0.05) 0%,
        rgba(245, 158, 11, 0.05) 50%,
        transparent 100%);
    z-index: -1;
    border-radius: var(--radius-xl);
}

/* Decorative Elements */
.destinations-grid::before,
.trips-grid::before {
    content: '⭐';
    position: absolute;
    top: -40px;
    right: 10%;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.destinations-grid::after,
.trips-grid::after {
    content: '🌊';
    position: absolute;
    bottom: -40px;
    left: 10%;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite 1s;
}

/* Colorful scroll indicator */
.scroll-to-explore {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.scroll-to-explore::before {
    content: '↓';
    display: block;
    font-size: 2rem;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Price badges with gradient */
.trip-price,
.slide-info .trip-price {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
}

.trip-price::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #fbbf24, #f472b6);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.trip-card:hover .trip-price::before {
    opacity: 1;
}

/* Make the whole page more lively */
@keyframes floatWave {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(5deg); }
    75% { transform: translateY(5px) rotate(-5deg); }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    color: #fff;
}

.badge-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
}

.badge-success {
    background: var(--success-color);
    color: #fff;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    color: #fff;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-button {
    padding: 1rem 2rem;
    background: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========== Trip Details Page ========== */
.trip-details {
    padding: 2rem 0 4rem;
}

.trip-detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.trip-main-content {
    max-width: 100%;
}

.trip-image-large {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
}

.trip-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-slow);
}

.trip-image-large:hover img {
    transform: scale(1.05);
}

.placeholder-image-large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    border-radius: var(--radius-xl);
}

.trip-meta-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item strong {
    color: var(--text-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.meta-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.meta-item a:hover {
    color: var(--accent-teal);
}

.trip-description {
    margin: 3rem 0;
}

.trip-description h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.trip-description p {
    line-height: 1.8;
    color: var(--text-medium);
    font-size: 1.0625rem;
}

.trip-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.1),
        0 0 0 1px rgba(14, 165, 233, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border: 2px solid transparent;
    position: relative;
}

.booking-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6, #a855f7);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.booking-card h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.price-display {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-lg);
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-unit {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-block {
    width: 100%;
    display: block;
}

.booking-closed-notice {
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-lg);
    color: var(--error-color);
}

.small-text {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.trip-additional-info {
    margin-top: 3rem;
}

.trip-additional-info h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.designer-note {
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning-color);
    border-radius: var(--radius-md);
    color: var(--text-medium);
    font-style: italic;
}

@media (max-width: 1024px) {
    .trip-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .trip-sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .trip-image-large {
        max-height: 300px;
    }
    
    .trip-meta-details {
        grid-template-columns: 1fr;
    }
}

/* ========== Trips & Destinations Listing Pages ========== */
.trips-listing,
.destinations-listing {
    padding: 3rem 0 5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    position: relative;
}

.breadcrumb a:hover {
    color: var(--accent-teal);
    transform: translateX(-2px);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

/* Trip Header Specific Styling */
.trip-header {
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.15) 0%,
        rgba(20, 184, 166, 0.15) 25%,
        rgba(168, 85, 247, 0.15) 50%,
        rgba(245, 158, 11, 0.15) 75%,
        rgba(236, 72, 153, 0.15) 100%);
    padding: 3rem 0 2rem;
    box-shadow: 
        0 4px 25px rgba(14, 165, 233, 0.1),
        inset 0 -2px 10px rgba(168, 85, 247, 0.1);
}

.trip-header::before {
    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='%2314b8a6' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.trip-header .breadcrumb {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.trip-header .breadcrumb a {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.trip-header .breadcrumb span {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
}

.trip-destination-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(20, 184, 166, 0.95));
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    z-index: 2;
    animation: fadeInSlideRight 0.4s ease-out;
}

@keyframes fadeInSlideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Image Optimization Styles ========== */

/* Smooth image loading with fade-in effect */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Lazy loaded images fade in when loaded */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Prevent layout shift for images */
.destination-image,
.trip-image,
.slide-image,
.trip-image-large {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

/* Add subtle loading skeleton effect */
.destination-image::before,
.trip-image::before,
.slide-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(14, 165, 233, 0.05) 0%,
        rgba(14, 165, 233, 0.1) 50%,
        rgba(14, 165, 233, 0.05) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
    pointer-events: none;
}

/* Hide shimmer once image is loaded */
.destination-image:has(img),
.trip-image:has(img),
.slide-image:has(img) {
}

.destination-image:has(img)::before,
.trip-image:has(img)::before,
.slide-image:has(img)::before {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Optimize images for better rendering */
.destination-img,
.trip-img,
.hero-image,
.trip-detail-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
}

/* Priority images (above the fold) */
img[fetchpriority="high"] {
    content-visibility: auto;
}

/* Smooth transitions on hover */
.destination-card img,
.trip-card img {
    transition: transform var(--transition-base), filter var(--transition-base);
}

.destination-card:hover img,
.trip-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* WebP support with picture element */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blur-up loading effect (optional enhancement) */
.image-blur-load {
    filter: blur(10px);
    transition: filter 0.3s ease-in;
}

.image-blur-load.loaded {
    filter: blur(0);
}
        opacity: 1;
        transform: translateX(0);
    }
}

.trip-excerpt {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.trip-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 600;
}

.trip-duration svg {
    color: var(--primary-color);
}

.trip-meta .trip-price {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
    font-weight: 700;
}

.trip-meta .trip-price strong {
    font-size: 1.5rem;
}

.no-results {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 2px dashed rgba(14, 165, 233, 0.3);
    margin: 2rem 0;
}

.no-results p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.no-results::before {
    content: '🔍';
    display: block;
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Page Header */
.page-header {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.08) 0%, 
        rgba(20, 184, 166, 0.08) 50%,
        rgba(168, 85, 247, 0.08) 100%);
    margin-bottom: 3rem;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='%230ea5e9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: 1rem;
    text-align: center;
}

.page-header p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid enhancements */
.destinations-grid,
.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
}

/* Staggered animation for grid items */
.destination-card,
.trip-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.destination-card:nth-child(1),
.trip-card:nth-child(1) {
    animation-delay: 0.1s;
}

.destination-card:nth-child(2),
.trip-card:nth-child(2) {
    animation-delay: 0.2s;
}

.destination-card:nth-child(3),
.trip-card:nth-child(3) {
    animation-delay: 0.3s;
}

.destination-card:nth-child(4),
.trip-card:nth-child(4) {
    animation-delay: 0.4s;
}

.destination-card:nth-child(5),
.trip-card:nth-child(5) {
    animation-delay: 0.5s;
}

.destination-card:nth-child(6),
.trip-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Placeholder image styling */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.15) 0%, 
        rgba(20, 184, 166, 0.15) 50%,
        rgba(168, 85, 247, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

.placeholder-image span {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .destinations-grid,
    .trips-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .destinations-grid,
    .trips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .trip-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .no-results {
        padding: 3rem 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
