/* =========================================
   CSS Variables & Reset
========================================= */
:root {
    /* Color Palette based on Dribbble Ref */
    --color-bg: #FCFCFD;
    --color-surface: #FFFFFF;
    --color-text-main: #111827;
    --color-text-muted: #6B7280;
    --color-accent: #FF006E;
    /* The vibrant pink from Melali */
    --color-accent-hover: #D9005D;
    --color-primary: #1F2937;
    --color-border: #E5E7EB;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 10px 25px -5px rgba(255, 0, 110, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--color-accent);
}

/* =========================================
   Typography Utilities
========================================= */
.section-header {
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 2.5rem;
}

.mt-4 {
    margin-top: 32px;
}

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

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background-color: #111827;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--color-accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.4);
}

.btn-glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: white;
}

.btn-glass-dark:hover {
    background: rgba(0, 0, 0, 0.6);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* Pill Badges */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.pill-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #FFD166;
    /* Yellow accent */
    border-radius: 50%;
}

.pill-badge .dot.pink {
    background-color: var(--color-accent);
}

/* Used on light bg */
.bg-light .pill-badge {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    box-shadow: var(--shadow-sm);
}

/* Pill Group for Tabs */
.pill-group {
    display: flex;
    gap: 8px;
    background: #F3F4F6;
    padding: 6px;
    border-radius: var(--radius-pill);
}

.pill-btn {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.pill-btn.active {
    background: white;
    color: var(--color-text-main);
    box-shadow: var(--shadow-sm);
}

/* =========================================
   Navigation
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--color-text-main);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    filter: invert(1) brightness(0.2);
    /* Invert the white logo to dark gray */
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 4px;
    backdrop-filter: blur(4px);
}

.navbar.scrolled .lang-switch {
    background: #F3F4F6;
}

.lang-switch button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.navbar.scrolled .lang-switch button {
    color: var(--color-text-muted);
}

.lang-switch button.active {
    background: white;
    color: var(--color-text-main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--color-text-main);
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    z-index: -1;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 15s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes crossfade {
    0% {
        opacity: 0;
        transform: scale(1.0);
    }

    10% {
        opacity: 1;
        text-shadow: none;
    }

    33% {
        opacity: 1;
    }

    43% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin: 24px 0;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.9;
    font-weight: 500;
}

/* Search Bar (Glassmorphism) */
.search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-pill);
    padding: 12px 12px 12px 32px;
    display: flex;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    color: var(--color-text-main);
    transform: translateY(30px);
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 16px;
}

.search-field label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.input-group input,
.input-group select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group input::placeholder {
    color: #9CA3AF;
    font-weight: 500;
}

.search-bar .divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* =========================================
   Stats Section
========================================= */
.section {
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: -40px;
    position: relative;
    z-index: 20;
}

.stat-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-item p {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.promo-box {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: rgba(255, 0, 110, 0.05);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 0, 110, 0.3);
}

.promo-box i {
    font-size: 2.5rem;
    color: var(--color-accent);
}

.promo-box h3 {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.promo-box p {
    font-size: 0.85rem;
    font-weight: 500;
}

/* =========================================
   Destinations Bento Grid
========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 24px;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    group: hover;
    cursor: pointer;
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    transition: var(--transition);
}

.bento-card:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 10;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.card-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tag {
    background: white;
    color: var(--color-text-main);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-tag.primary {
    background: var(--color-accent);
    color: white;
}

.bento-card.large {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-card.large h3 {
    font-size: 2.5rem;
}

.bento-card.large .btn-glass {
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.bento-card.large:hover .btn-glass {
    opacity: 1;
    transform: translateX(0);
}

.bento-card.wide {
    grid-column: span 2;
}

/* =========================================
   Split Section
========================================= */
.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-content h2 {
    font-size: 3rem;
    margin: 16px 0 24px;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.image-stack {
    position: relative;
    height: 500px;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border-radius: var(--radius-xl);
    object-fit: cover;
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 8px solid var(--color-surface);
}

.floating-badge {
    position: absolute;
    bottom: 20%;
    right: 10%;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s ease-in-out infinite;
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 110, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-badge strong {
    display: block;
    color: var(--color-text-main);
    font-size: 1.1rem;
}

.floating-badge span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   CTA Banner
========================================= */
.cta-banner {
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    display: flex;
    overflow: hidden;
    position: relative;
}

.cta-banner-content {
    flex: 1;
    padding: 64px;
    color: white;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: white;
}

.cta-banner-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 400px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.cta-banner-img {
    flex: 1;
    position: relative;
}

.cta-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

/* =========================================
   Footer
========================================= */
.footer {
    background: #111827;
    color: white;
    padding: 80px 0 24px;
}

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

.footer-brand p {
    color: #9CA3AF;
    margin: 24px 0;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--color-accent);
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

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

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

.footer-links a {
    color: #9CA3AF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.schedule {
    color: #6B7280;
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: #6B7280;
    font-size: 0.9rem;
}

/* =========================================
   Animations
========================================= */
@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpAnim 0.8s ease forwards;
}

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

.blur-in {
    animation: blurIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes blurIn {
    from {
        filter: blur(20px);
        opacity: 0;
    }

    to {
        filter: blur(0);
        opacity: 1;
    }
}

/* Scroll reveal utility class */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-card.large {
        grid-column: span 2;
        height: 400px;
    }

    .bento-card.wide {
        grid-column: span 2;
    }

    .section-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-stack {
        height: 400px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn,
    .nav-actions .lang-switch {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .search-bar {
        flex-direction: column;
        padding: 24px;
        border-radius: var(--radius-lg);
        transform: translateY(0);
        margin-top: 24px;
    }

    .search-field {
        width: 100%;
        padding: 12px 0;
    }

    .search-bar .divider {
        width: 100%;
        height: 1px;
        margin: 8px 0;
    }

    .search-bar .btn {
        width: 100%;
        margin-top: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .stat-item.promo-box-container {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

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

    .bento-card.large,
    .bento-card.wide {
        grid-column: span 1;
        height: 300px;
    }

    .cta-banner {
        flex-direction: column-reverse;
    }

    .cta-banner-img {
        height: 250px;
    }

    .cta-banner-img img {
        clip-path: none;
    }

    .cta-banner-content {
        padding: 32px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}