* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Dark Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #333 #000; /* Firefox */
    font-family: 'Inter', sans-serif;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

/* Typography and common elements */
a {
    text-decoration: none;
    color: inherit;
}

/* Header / Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
    animation: slideDown 1s ease-out forwards;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #1d4ed8;
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 3rem;
    font-size: 0.9rem;
    text-transform: lowercase;
    font-weight: 500;
}

.nav-links a { text-transform: uppercase;
    color: #ccc;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -15px; /* aligns with progress bar */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1d4ed8;
    z-index: 20;
}

/* Progress Bar */
.progress-bar-container {
    position: absolute;
    top: 8rem;
    left: 4rem;
    right: 4rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.progress-fill {
    height: 100%;
    background-color: #fff;
    width: 40%; /* Assuming roughly mountains section width */
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    position: relative;
    margin-top: 10vh;
    opacity: 0;
    animation: fadeUp 1.2s ease-out 0.5s forwards;
}

.main-title {
    font-size: 7rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: dramaticScale 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
}

.scroll-explore {
    position: absolute;
    right: 0;
    top: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 1.5s ease-out 1s forwards;
}

.scroll-text {
    writing-mode: vertical-rl;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 1.2rem;
    color: #1d4ed8;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {  }
    50% {  }
}

.hero-descriptions {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    width: 90%;
}

.desc-item {
    flex: 1;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #ddd;
}

.swipe-text {
    margin-top: 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.start-journey-btn {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.start-journey-btn:hover {
    color: #1d4ed8;
    text-shadow: 0 0 10px rgba(29,78,216,0.5);
    transform: scale(1.05);
}

.bottom-red-line {
    width: 100px;
    height: 2px;
    background-color: #1d4ed8;
    margin-top: 1rem;
    position: absolute;
    left: 0;
    bottom: -30px;
}

/* Recommendations Section */
.recommendations {
    background-color: #000;
    padding: 6rem 4rem 4rem;
    text-align: center;
}

.rec-header {
    margin-bottom: 4rem;
}

.subtitle {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.rec-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.cards-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.card {
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-15px);
}

.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: brightness(0.7);
    transition: filter 0.4s, transform 0.6s ease;
}

.card:hover img {
    filter: brightness(1.1);
    transform: scale(1.08);
}

.card-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.card-info p {
    font-size: 0.8rem;
    color: #ccc;
}

.rec-bottom-lines {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding: 0 2rem;
}

.rec-bottom-lines .line {
    height: 1px;
    background-color: #333;
    width: 45%;
}

/* Bottom Section */
.bottom-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottom-content {
    max-width: 500px;
}

.bottom-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.play-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
}

.play-btn-wrapper:hover .play-btn {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.play-btn svg {
    width: 24px;
    height: 24px;
}

.play-btn-wrapper span {
    font-size: 0.9rem;
    font-weight: 600;
}

.bottom-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 2rem;
    max-width: 400px;
}

.bottom-thumbnails {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 250px;
    height: 140px;
    position: relative;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: transform 0.3s;
    animation: pulse 2s infinite;
}

.thumbnail:hover .thumb-play {
    transform: translate(-50%, -50%) scale(1.2);
    animation: none;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        
        opacity: 1;
    }
}

@keyframes dramaticScale {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.thumb-play svg {
    width: 20px;
    height: 20px;
    margin-left: 2px; /* optical center */
}

.social-link {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    font-size: 0.8rem;
}

.social-link a {
    color: #ccc;
}

.social-link a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-title { font-size: 5rem; }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar { flex-direction: column; gap: 1rem; padding: 1.5rem 1rem; text-align: center; align-items: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; row-gap: 1.5rem; }
    .nav-links a.active::after { bottom: -8px; height: 2px; }
    .progress-bar-container { display: none; }

    /* Hero */
    .hero { padding: 0 1.5rem; height: auto; min-height: 100vh; justify-content: flex-start; padding-top: 6.5rem; }
    .main-title { font-size: 4rem; letter-spacing: normal; margin-bottom: 1rem; text-align: center; width: 100%; word-break: keep-all; }
    .scroll-explore { display: none; }
    .countdown-container { flex-wrap: nowrap !important; justify-content: center; gap: 0.5rem !important; margin-bottom: 2rem !important; }
    .countdown-container > div > div:first-child { font-size: 1.4rem !important; padding: 0.4rem 0.6rem !important; }
    .countdown-container > div > div:last-child { font-size: 0.6rem !important; }
    .countdown-container > div:last-child { border-left: 1px solid rgba(255,255,255,0.2) !important; padding-left: 0.8rem !important; text-align: left !important; width: auto !important; margin-top: 0 !important; }
    .countdown-container > div:last-child > div:first-child { font-size: 0.65rem !important; padding: 0 !important; }
    .countdown-container > div:last-child > div:last-child { font-size: 0.9rem !important; padding: 0 !important; }
    .hero-descriptions { flex-direction: column; margin-top: 2rem; width: 100%; gap: 1.5rem; }
    .swipe-text { text-align: center; margin-top: 2rem; display: block; width: 100%; }
    .bottom-red-line { left: 50%; transform: translateX(-50%); }

    /* Recommendations */
    .recommendations { padding: 3rem 1.5rem; }
    .cards-container { flex-direction: column; }
    .card { margin-bottom: 1.5rem; }
    .rec-header h2 { font-size: 1.8rem; }

    /* Bottom Section */
    .bottom-section { padding: 3rem 1.5rem; height: auto; min-height: 100vh; text-align: center; }
    .bottom-title { font-size: 2.5rem; }
    .bottom-content { margin: 0 auto; }
    .play-btn-wrapper { justify-content: center; }
    .bottom-thumbnails { position: relative; bottom: 0; right: 0; margin-top: 3rem; flex-direction: column; align-items: center; }
    .social-link { position: relative; bottom: 0; right: 0; margin-top: 2rem; display: block; text-align: center; }
}

@media (max-width: 480px) {
    .main-title { font-size: 3rem; }
    .bottom-title { font-size: 2rem; }
    .thumbnail { width: 100%; }
}


/* NEW APP PAGES (SCHEDULE, REGISTER, ADMIN) */
.page-wrapper { background-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,1) 100%); min-height: 100vh; }
.page-container { padding: 4rem; max-width: 1400px; margin: 0 auto; animation: fadeUp 0.8s ease-out; }
.page-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -1px; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.trip-card { background: linear-gradient(145deg, #161616, #0a0a0a); border-radius: 12px; padding: 2rem; border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.trip-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: #1d4ed8; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.trip-card:hover { transform: translateY(-10px); border-color: rgba(29, 78, 216, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.trip-card:hover::before { transform: scaleX(1); }
.trip-date { color: #1d4ed8; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.8rem; letter-spacing: 1px; }
.trip-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.trip-btn { background: #1d4ed8; color: #fff; border: none; padding: 1rem 1.5rem; border-radius: 6px; font-weight: 700; font-size: 0.95rem; width: 100%; margin-top: 1.5rem; transition: all 0.3s; cursor: pointer; }
.trip-btn:hover { background: #cc0000; transform: scale(1.02); }
.form-container { max-width: 500px; margin: 2rem auto; background: linear-gradient(145deg, #161616, #0a0a0a); padding: 3rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.8rem; font-size: 0.9rem; font-weight: 600; color: #ccc; }
.form-input { width: 100%; padding: 1rem 1.2rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-size: 1rem; font-family: inherit; transition: all 0.3s; }
.form-input:focus { outline: none; border-color: #1d4ed8; background: rgba(29,78,216,0.05); }
.admin-layout { display: flex; height: 100vh; background: #000; }
.admin-sidebar { width: 280px; background: #0a0a0a; border-right: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; }
.admin-main { flex: 1; padding: 3rem; overflow-y: auto; }

/* Features Block */
.features-block {
    margin: 3rem auto 0;
    width: 100%;
    max-width: 700px;
}
.features-title {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.features-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.feature-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}
.feature-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    opacity: 0.9;
}
.feature-item p {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
    font-weight: 500;
}
.admin-nav { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 3rem; }
.admin-nav-link { padding: 1rem 1.2rem; border-radius: 8px; color: #888; font-weight: 500; transition: all 0.3s; font-size: 0.95rem; }
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(29, 78, 216, 0.1); color: #1d4ed8; padding-left: 1.5rem; }
.admin-header { display: flex; justify-content: space-between; margin-bottom: 3rem; align-items: center; }
.badge { background: rgba(29,78,216,0.1); color: #1d4ed8; padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: inline-block; border: 1px solid rgba(29,78,216,0.2); }
@media (max-width: 1024px) { .page-container { padding: 2rem; } }
@media (max-width: 768px) { .page-container { padding: 1.5rem; } .page-title { font-size: 2.2rem; text-align: center; } .form-container { padding: 2rem 1.5rem; } .admin-layout { flex-direction: column; height: auto; min-height: 100vh; } .admin-sidebar { width: 100%; height: auto; padding: 1.5rem; text-align: center; } .badge { align-self: center !important; margin: 0 auto; } .admin-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; } .admin-nav-link:hover, .admin-nav-link.active { padding-left: 1.2rem; } .admin-main { padding: 1.5rem; } .admin-header { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; } .admin-header h2 { font-size: 1.8rem !important; } }


/* Feature Animations */
.features-title { opacity: 0; animation: fadeUp 0.8s ease-out 0.8s forwards; }
.feature-item { opacity: 0; transform: translateY(30px); animation: featurePopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; transition: transform 0.3s ease; cursor: pointer; }
.feature-item:nth-child(1) { animation-delay: 1.0s; }
.feature-item:nth-child(2) { animation-delay: 1.2s; }
.feature-item:nth-child(3) { animation-delay: 1.4s; }
.feature-item:nth-child(4) { animation-delay: 1.6s; }
@keyframes featurePopIn { to { opacity: 1;  } }
.feature-item:hover { transform: translateY(-10px) scale(1.05) !important; }
.feature-icon { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease; }
.feature-item:hover .feature-icon { transform: scale(1.2) rotate(8deg); color: #1d4ed8; opacity: 1; }


/* Swup Page Transitions */
.transition-fade { transition: opacity 0.25s ease-in-out; opacity: 1; }
html.is-animating .transition-fade { opacity: 0; }


/* Admin Panel Responsive */
@media (max-width: 768px) {
  .admin-layout { flex-direction: column; height: auto; min-height: 100vh; }
  .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
  .admin-nav-link { flex: 1; min-width: 120px; text-align: center; padding: 0.8rem; }
  .admin-main { padding: 1.5rem; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .admin-header > div:last-child { width: 100%; justify-content: space-between; }
  .admin-header h2 { font-size: 2rem !important; }
}


/* Hamburger Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.admin-nav-wrapper { display: flex; flex-direction: column; flex: 1; }
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .admin-nav-wrapper { display: none; }
  .admin-nav-wrapper.show-menu { display: flex; animation: fadeUp 0.3s ease-out forwards; }
  .admin-logo-wrapper { margin-bottom: 0 !important; }
}

/* Floating WhatsApp */
.wa-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.wa-floating:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}
.wa-floating svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
