/* ===== GLOBAL ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FDFAF4;
    color: #1A1A1A;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1280px;
    z-index: 100;
    transition: top 0.4s, background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
}

@media (min-width: 1024px) {
    #navbar {
        position: absolute;
        top: 3.5rem;
    }
}

#navbar.scrolled {
    position: fixed;
    top: 1rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
    border-color: rgba(200, 180, 140, 0.3);
}

#navbar.scrolled .nav-link {
    color: #2E3192 !important;
}

#navbar.scrolled .logo-text {
    color: #00AEEF !important;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F7941D;
    border-radius: 2px;
    transition: width 0.3s;
}

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

.nav-link:hover {
    color: #F7941D !important;
}

/* ===== HERO SLIDER ===== */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% center
    }

    50% {
        background-position: -200% center
    }
}

.fade-up {
    animation: fadeUp 0.7s ease both;
}

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

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

.delay-3 {
    animation-delay: 0.5s;
}

/* Gold shimmer text */
.gold-shimmer {
    background: linear-gradient(90deg, #C9942A 0%, #F7BD5A 40%, #C9942A 60%, #F7BD5A 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* ===== CARDS ===== */
.safari-card {
    transition: transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.2), box-shadow 0.4s;
    will-change: transform;
}

.safari-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.safari-card img {
    transition: transform 0.6s ease;
}

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

/* ===== DESTINATION CARDS ===== */
.dest-card {
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
}

.dest-card img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.dest-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 20, 10, 0.8) 0%, transparent 55%);
    transition: background 0.4s;
}

.dest-card:hover .overlay {
    background: linear-gradient(to top, rgba(10, 20, 10, 0.9) 0%, rgba(46, 49, 146, 0.2) 100%);
}

/* ===== STEP COUNTER ===== */
.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #F7941D;
    opacity: 0.25;
}

/* ===== GALLERY ===== */
.gallery-item {
    overflow: hidden;
    border-radius: 0.75rem;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ===== PROGRESS BAR ===== */
.slide-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    overflow: hidden;
}

.slide-progress-bar {
    height: 100%;
    background: #F7941D;
    border-radius: 99px;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
    transition: transform 0.35s, box-shadow 0.35s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ===== MOBILE NAV ===== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
}
