/* Base Variables - Natamu Premium Theme */
:root {
    --primary: #1b4332;
    /* Forest Green */
    --primary-light: #2d6a4f;
    --accent: #d4a373;
    /* Warm Gold */
    --accent-light: #faedcd;
    --text-main: #1a1a1a;
    --text-muted: #52635c;
    --bg-page: #f8f9fa;
    --bg-app: #ffffff;
    --card-bg: #ffffff;
    --border: rgba(0, 0, 0, 0.05);

    /* Premium Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;

    --shadow-sm: 0 4px 6px -1px rgba(27, 67, 50, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(27, 67, 50, 0.08);
    --shadow-lg: 0 20px 40px -5px rgba(27, 67, 50, 0.1);

    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-main);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animation */
.observe-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* App Container */
.app-container {
    width: 100%;
    max-width: 480px;
    height: 100dvh;
    background-color: var(--bg-app);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-lg);
}

.app-container::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    /* Menggunakan gambar hero kustom dari folder assets/images/ */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
}

.hero-header .logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    margin-top: auto;
    padding: 40px 24px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 0;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.1;
    opacity: 0.9;
}

/* About Section Mockup */
.about-section-mockup {
    padding: 32px 24px;
    background: white;
}

.about-section-mockup p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    font-weight: 400;
}

.tradition-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    margin: 32px 0;
    background: var(--bg-page);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    line-height: 1.5;
    font-weight: 500;
}

.why-choose-section {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin: 32px 0;
}

.why-choose-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.benefit-list {
    list-style: none;
    margin-top: 16px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.benefit-list i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.cta-text {
    text-align: center;
    font-weight: 600 !important;
    margin-top: 32px;
}

.cta-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.notification-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--text-main);
    position: relative;
    transition: var(--transition);
}

.notification-btn:active {
    transform: scale(0.95);
}

.badge {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--bg-page);
}

/* Search Section */
.search-section {
    padding: 10px 24px 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-page);
    border-radius: var(--radius-md);
    padding: 6px 6px 6px 16px;
    gap: 12px;
}

.search-box i.ri-search-line {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 0.95rem;
    outline: none;
    color: var(--text-main);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.filter-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.filter-btn:active {
    transform: scale(0.95);
    background-color: #026b96;
}

/* Categories Section */
.section {
    margin-bottom: 28px;
}

.category-list {
    display: flex;
    gap: 20px;
    padding: 0 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    min-width: 60px;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.category-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.category-item.active .icon-wrapper {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 16px rgba(13, 138, 188, 0.25);
}

.category-item.active span {
    color: var(--primary);
    font-weight: 600;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.see-all {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Popular Destinations */
.destinations-scroll {
    display: flex;
    gap: 20px;
    padding: 0 24px 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.destinations-scroll::-webkit-scrollbar {
    display: none;
}

.destination-card {
    min-width: 280px;
    background-color: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-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;
}

.rating {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.rating i {
    color: #ffd700;
}

.favorite-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ef4444;
}

.card-content {
    padding: 20px;
}

.card-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.location {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.location i {
    color: var(--accent);
}

.price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-box span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-box strong {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
}

/* Packages */
.packages-list {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.package-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.package-item img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.package-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.duration {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.duration i {
    color: var(--accent);
}

.package-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.package-bottom .price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}

.book-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

.book-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    color: white !important;
}

/* Bottom Navigation */
.bottom-nav-spacer {
    height: 100px;
}

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 440px;
    height: 76px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: var(--glass-shadow);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 10px;
    border-radius: 50%;
}

.nav-item i {
    font-size: 1.6rem;
}

.nav-item span {
    display: none;
    /* Hide labels for a cleaner look */
}

.nav-item.active {
    color: var(--primary);
    transform: translateY(-5px);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Media Queries */
@media (max-width: 480px) {
    .app-container {
        border-radius: 0;
        box-shadow: none;
    }
}

/* Side Menu Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 201;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    left: 0;
}

.menu-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.menu-header .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.close-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-main);
}

.menu-nav {
    padding: 20px 0;
    flex: 1;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.menu-link:hover {
    background: var(--bg-page);
    color: var(--primary);
}

.menu-link i {
    font-size: 1.4rem;
    color: var(--primary);
}

.menu-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}