:root {
    --tcs-primary: #0f172a;
    --tcs-secondary: #1e293b;
    --tcs-accent: #f59e0b;
    --tcs-accent-hover: #d97706;
    --tcs-gold: #fbbf24;
    --tcs-light: #f8fafc;
    --tcs-muted: #94a3b8;
    --tcs-border: #e2e8f0;
    --tcs-card-bg: #ffffff;
    --tcs-font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--tcs-font-family);
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

/* Navbar */
.navbar-tcs {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-tcs .navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.navbar-tcs .nav-link {
    color: #cbd5e1;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.navbar-tcs .nav-link:hover,
.navbar-tcs .nav-link.active {
    color: var(--tcs-accent);
}

.btn-tcs-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-tcs-gold:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

.btn-tcs-outline-gold {
    border: 2px solid var(--tcs-accent);
    color: var(--tcs-accent);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 1.3rem;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-tcs-outline-gold:hover {
    background: var(--tcs-accent);
    color: #0f172a;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1508009603885-50cf7c579365?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0 80px;
}

.hero-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* Search Floating Box */
.search-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-top: -40px;
    position: relative;
    z-index: 20;
}

/* Clean Compact Tour Card */
.tour-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.tour-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.tour-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-img-wrapper img {
    transform: scale(1.05);
}

.tour-img-overlay-top {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.tour-duration-badge {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
}

.tour-vip-badge {
    background: rgba(245, 158, 11, 0.95);
    color: #0f172a;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.tour-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.tour-card-summary {
    color: #64748b !important;
    font-size: 0.74rem !important;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.tour-price-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 8px;
    margin-top: auto;
    margin-bottom: 10px;
    border-top: 1px solid #f1f5f9;
}

.tour-card-footer {
    display: flex;
    gap: 6px;
}

/* Compact Clean Attraction Card */
.attraction-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.attraction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.1);
    border-color: #f59e0b;
}

.attraction-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.attraction-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.attraction-card:hover .attraction-img-wrapper img {
    transform: scale(1.05);
}

.attraction-province-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.attraction-highlight-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 2;
}

.slider-attraction-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 340px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.slider-attraction-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.slider-attraction-card:hover img {
    transform: scale(1.05);
}

.slider-attraction-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,23,42,0.88) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

/* Feature Box */
.feature-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--tcs-accent);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    text-decoration: none;
}

.fab-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.fab-line { background-color: #06c755; }
.fab-phone { background-color: #0284c7; }
.fab-whatsapp { background-color: #25d366; }

/* Timeline for Itinerary */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #cbd5e1;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    background: #f59e0b;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #f59e0b;
}

/* Map Containers */
#adminLiveMap, #customerTreeMap, #itineraryMap {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    z-index: 10;
}

/* Driver PWA UI Specifics */
.driver-app-body {
    background-color: #0f172a;
    color: #f8fafc;
    padding-bottom: 80px;
}

.driver-card {
    background: #1e293b;
    border-radius: 14px;
    border: 1px solid #334155;
    padding: 20px;
}

.driver-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.driver-bottom-nav a {
    color: #94a3b8;
    text-decoration: none;
    text-align: center;
    font-size: 0.75rem;
}

.driver-bottom-nav a.active, .driver-bottom-nav a:hover {
    color: #f59e0b;
}

.driver-bottom-nav i {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 2px;
}
