:root {
    --bg-color: #141414;
    --card-bg: #282828;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --divider-color: #333333;
    --btn-bg: #383838;
    --nav-inactive: #888888;
    --badge-bg: #E52A2A;
}

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

body {
    background-color: #111; /* For desktop viewing */
    display: flex;
    justify-content: center;
    color: var(--text-primary);
}

.app-container {
    width: 100%;
    max-width: 414px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-color);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.app-container::-webkit-scrollbar {
    display: none;
}
.app-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Top Tabs */
.top-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 10px 24px 0 24px;
    border-bottom: 1px solid var(--divider-color);
    margin-bottom: 16px;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    color: var(--nav-inactive);
    font-weight: 600;
    font-size: 17px;
    position: relative;
    cursor: pointer;
}

.tab.active {
    color: var(--text-primary);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px 3px 0 0;
}

/* Main Content */
.main-content {
    padding: 0 16px 100px 16px; /* Padding bottom for nav */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid #444;
    border-radius: 50px;
    padding: 6px 6px 6px 16px;
    height: 56px;
}

.search-input {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
}

.search-input .material-symbols-rounded {
    font-size: 24px;
    color: var(--text-primary);
}

.search-input span {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.schedule-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--btn-bg);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.schedule-btn .material-symbols-rounded {
    font-size: 20px;
}

/* Destinations */
.destinations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dest-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--card-bg);
    padding: 16px;
    border-radius: 12px;
}

.dest-icon {
    width: 36px;
    height: 36px;
    background-color: var(--btn-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dest-icon .material-symbols-rounded {
    font-size: 20px;
    color: var(--text-primary);
}

.dest-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.dest-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dest-info p {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow-btn .material-symbols-rounded {
    font-size: 20px;
}

/* Services Grid */
.services-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding: 0 16px;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    position: relative;
}

.service-icon-container {
    width: 80px;
    height: 80px;
    background-color: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.service-name {
    font-size: 13px;
    font-weight: 600;
}

.badge-new {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--badge-bg);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    z-index: 2;
    white-space: nowrap;
}

/* Promos Carousel */
.promos-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 20px 16px;
}

.promos-carousel::-webkit-scrollbar {
    display: none;
}

.promo-card {
    min-width: 280px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-image-wrapper {
    width: 100%;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.promo-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.promo-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background-color: var(--bg-color);
    display: flex;
    justify-content: space-between;
    padding: 12px 24px 24px 24px;
    border-top: 1px solid var(--divider-color);
    z-index: 100;
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, rgba(20,20,20,0.9), transparent);
    pointer-events: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--nav-inactive);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.nav-item.active {
    color: var(--text-primary);
}

.nav-item .material-symbols-rounded {
    font-size: 26px;
}

.nav-icon-wrapper {
    position: relative;
    display: inline-flex;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #4285F4;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
}
