/* ==========================================================
   DH Travel Biz - Premium Corporate & Leisure Travel Stylesheet
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0b192c;
    --primary-light: #1e3e62;
    --primary-gradient: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
    --secondary-color: #f59e0b;
    --secondary-hover: #d97706;
    --accent-coral: #f43f5e;
    --accent-teal: #0d9488;
    --dark-bg: #070f1e;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 25, 44, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ==========================================================
   Header & Navigation
   ========================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #cbd5e1;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.main-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand img {
    max-height: 55px;
    object-fit: contain;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155 !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(245, 158, 11, 0.12);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px;
    background: #ffffff;
    animation: fadeInDown 0.25s ease forwards;
}

.dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: #334155;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    padding-left: 20px;
}

/* ==========================================================
   Buttons & Badges
   ========================================================== */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    border: none;
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #0b192c 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 25, 44, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.badge-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.badge-coral {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #ffffff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.badge-navy {
    background: #0b192c;
    color: #ffffff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

/* ==========================================================
   Hero Section & Animations
   ========================================================== */
.hero-slider {
    position: relative;
    height: 640px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .hero-slide {
    animation: kenburns 12s infinite alternate ease-in-out;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 15, 30, 0.88) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(7, 15, 30, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 780px;
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin: 20px 0 32px;
    font-weight: 400;
    line-height: 1.6;
}

/* Hero Quick Stats Floating Pill */
.hero-stats-ribbon {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

/* ==========================================================
   Quick Search Bar
   ========================================================== */
.quick-search-box {
    margin-top: -65px;
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: 0 20px 50px rgba(11, 25, 44, 0.14);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.search-tabs {
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
}

.search-tab-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.search-tab-btn:hover, .search-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

/* ==========================================================
   Tour & Hotel Cards
   ========================================================== */
.tour-card, .hotel-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #edf2f7;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card:hover, .hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.tour-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tour-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.tour-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.tour-card-deal {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

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

.tour-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    line-height: 1.35;
}

.tour-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tour-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.tour-card-price-old {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 6px;
}

/* ==========================================================
   Destination Grid
   ========================================================== */
.destination-card {
    position: relative;
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 25, 44, 0.1) 0%, rgba(11, 25, 44, 0.85) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

/* ==========================================================
   Corporate MICE Banner
   ========================================================== */
.mice-banner {
    background: linear-gradient(135deg, #070f1e 0%, #0f172a 50%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.mice-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* ==========================================================
   Testimonial & Faq Cards
   ========================================================== */
.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

/* ==========================================================
   Footer
   ========================================================== */
.main-footer {
    background: linear-gradient(180deg, #0b192c 0%, #030712 100%);
    color: #cbd5e1;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer p, .main-footer span, .main-footer li {
    color: #cbd5e1 !important;
}

.footer-title {
    color: #ffffff !important;
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color) !important;
    padding-left: 6px;
}

.footer-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.18) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fbbf24 !important;
    font-size: 1.05rem !important;
    flex-shrink: 0;
}

.footer-icon-box i {
    color: #fbbf24 !important;
    font-size: 1.05rem !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-icon-box.whatsapp-box {
    background: rgba(34, 197, 94, 0.18) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    color: #4ade80 !important;
}

.footer-icon-box.whatsapp-box i {
    color: #4ade80 !important;
}

/* ==========================================================
   Floating Widgets (WhatsApp & AI ChatBot)
   ========================================================== */
.floating-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.btn-whatsapp-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

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

.btn-chatbot-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(11, 25, 44, 0.4);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

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

.chatbot-window {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 500px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid #cbd5e1;
    z-index: 1055;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

.chatbot-header {
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-body {
    flex-grow: 1;
    padding: 14px;
    overflow-y: auto;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble-bot {
    align-self: flex-start;
    background: #ffffff;
    color: #1e293b;
    padding: 10px 14px;
    border-radius: 14px 14px 14px 2px;
    border: 1px solid #e2e8f0;
    max-width: 85%;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.chat-bubble-user {
    align-self: flex-end;
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 14px 14px 2px 14px;
    max-width: 85%;
    font-size: 0.9rem;
}

.chatbot-footer {
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================
   Admin Panel Layout
   ========================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background-color: #070f1e;
    color: #94a3b8;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-content {
    flex-grow: 1;
    background-color: #f1f5f9;
    padding: 30px;
    overflow-y: auto;
}

.admin-nav-item {
    padding: 12px 20px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border-radius: 6px;
    margin: 4px 12px;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    color: #ffffff;
    background-color: rgba(245, 158, 11, 0.15);
}

.admin-kpi-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.admin-kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.admin-kpi-card.gold::after { background: var(--secondary-color); }
.admin-kpi-card.coral::after { background: var(--accent-coral); }
.admin-kpi-card.teal::after { background: var(--accent-teal); }

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .hero-slider { height: 480px; }
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}