/**
 * ============================================
 * THUÊ XE TPHCM - MAIN STYLESHEET
 * ============================================
 * Giao diện hiện đại cho website thuê xe
 * Version: 1.0
 */

/* ============================================
   CSS VARIABLES - BIẾN MÀU SẮC
   ============================================ */
:root {
    /* Brand (dark) + CTA (orange) */
    --secondary-color: #0f172a;      /* Brand dark */
    --secondary-light: #1e293b;

    --primary-color: #f97316;        /* CTA */
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    
    /* Màu accent */
    --accent-color: #f59e0b;         /* Accent */
    --accent-green: #27ae60;         /* Xanh lá */
    --accent-blue: #3498db;          /* Xanh dương */
    
    /* Màu nền */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #1a252f;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    
    /* Màu text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #ffffff;
    --text-muted: #95a5a6;
    
    /* Border & Shadow */
    --border-color: #e9ecef;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-hover: 0 15px 50px rgba(249,115,22,0.22);
    
    /* Transition */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Prefer clipping where supported (helps iOS fixed elements causing sideways scroll) */
@supports (overflow-x: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

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

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES - LỚP TIỆN ÍCH
   ============================================ */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding: 0 15px;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.section-title .subtitle::before {
    left: -35px;
}

.section-title .subtitle::after {
    right: -35px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* Background variants */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-gradient { background: var(--bg-gradient); }
.bg-pattern {
    background-color: var(--bg-light);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e74c3c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: var(--secondary-color);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    justify-content: flex-end;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--primary-color);
}

.top-bar-item a:hover {
    color: var(--text-light);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header .navbar {
    padding: 8px 0;
}

/* Give the header menu more horizontal room on desktop */
@media (min-width: 1200px) {
    .main-header .container {
        max-width: 1400px;
    }
}

@media (min-width: 1400px) {
    .main-header .container {
        max-width: 1520px;
    }
}

@media (min-width: 992px) {
    /* Ensure the menu area can stretch wide */
    #mainNav {
        flex-grow: 1;
    }
    #mainNav .navbar-nav {
        width: 100%;
        justify-content: flex-end;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 140px;
    margin-right: 12px;
}

.navbar-brand .logo {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: var(--transition);
}

/* Give more room to the menu on larger screens */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 10px 14px;
    }
}

@media (max-width: 991.98px) {
    .main-header .navbar {
        padding: 6px 0;
    }

    .navbar-brand .logo {
        height: 28px;
        max-width: 110px;
    }

    .navbar-brand {
        max-width: 130px;
        margin-right: 8px;
    }
}

/* Dropdown menu (Danh mục dịch vụ) */
.navbar-nav .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 10px;
}

.navbar-nav .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 500;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(249,115,22,0.10);
    color: var(--primary-color);
}

.navbar-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav {
    gap: 5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(231,76,60,0.08);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30px;
}

/* Header Hotline */
.header-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 25px;
    padding-left: 25px;
    border-left: 1px solid var(--border-color);
}

.hotline-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 22px;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(231,76,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

.hotline-info {
    display: flex;
    flex-direction: column;
}

.hotline-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.hotline-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.hotline-number:hover {
    color: var(--primary-dark);
}

/* Mobile hotline button */
.btn-hotline-mobile {
    background: var(--bg-gradient);
    color: var(--text-light) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile menu */
.navbar-toggler {
    border: none;
    padding: 8px;
    background: var(--bg-light);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-white);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
        box-shadow: var(--shadow-md);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

/* ============================================
   FIXED BUTTONS - NÚT CỐ ĐỊNH
   ============================================ */
.fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fixed-buttons a,
.fixed-buttons button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-call {
    background: var(--bg-gradient);
    position: relative;
}

.btn-call.pulse {
    animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
    0% { box-shadow: 0 0 0 0 rgba(231,76,60,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(231,76,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

.btn-call:hover {
    transform: scale(1.1);
}

.btn-call .btn-text {
    position: absolute;
    right: 65px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 25px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-width: min(70vw, 260px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-call:hover .btn-text {
    opacity: 1;
    visibility: visible;
}

.btn-zalo {
    background: #0068ff;
}

.btn-zalo img {
    width: 30px;
    height: 30px;
}

.btn-messenger {
    background: linear-gradient(135deg, #00c6ff 0%, #0078ff 100%);
}

.btn-scroll-top {
    background: var(--secondary-color);
    opacity: 0;
    visibility: hidden;
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-modern {
    padding: 70px 0 50px;
    background: linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(255,255,255,0) 60%);
}

.hero-modern .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(249,115,22,0.10);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
}

.hero-modern .hero-title {
    margin-top: 14px;
    font-size: 44px;
    line-height: 1.15;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.hero-modern .hero-subtitle {
    margin-top: 14px;
    font-size: 18px;
    color: var(--text-secondary);
}

.hero-modern .hero-points {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.hero-modern .hero-point {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-primary);
}

.hero-modern .hero-point i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
}

.hero-modern .hero-ctas {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-modern .hero-form {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 22px;
}

.hero-modern .hero-form h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.hero-modern .hero-form .btn-submit {
    width: 100%;
    padding: 12px 14px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .hero-modern {
        padding: 55px 0 40px;
    }
    .hero-modern .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .hero-modern .hero-title {
        font-size: 28px;
    }
    .hero-modern .hero-subtitle {
        font-size: 16px;
    }
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    height: 600px;
    position: relative;
}

.hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,62,80,0.85) 0%, rgba(44,62,80,0.6) 100%);
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
    max-width: 700px;
}

.hero-slider .slide-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero-slider .slide-title {
    color: var(--text-light);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-slider .slide-desc {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-slider .slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.hero-trust .trust-chip {
    background: rgba(15,23,42,0.06);
    border: 1px solid rgba(15,23,42,0.08);
    color: var(--secondary-color);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}
/* ============================================
   MOBILE BOTTOM CTA BAR
   ============================================ */
.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mobile-cta-bar a,
.mobile-cta-bar button {
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    border: none;
}
.mobile-cta-bar .cta-call {
    background: var(--bg-gradient);
    color: var(--text-light);
}
.mobile-cta-bar .cta-book {
    background: var(--secondary-color);
    color: var(--text-light);
}
@media (max-width: 768px) {
    body {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }
    .fixed-buttons {
        bottom: calc(120px + env(safe-area-inset-bottom));
        z-index: 1001;
    }
}
/* Slider Navigation */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: var(--primary-color);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 20px;
}

.hero-slider .swiper-pagination {
    bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-slider .swiper-slide {
        height: 500px;
    }
    
    .hero-slider .slide-content {
        padding: 0 20px;
    }
    
    .hero-slider .slide-title {
        font-size: 32px;
    }
    
    .hero-slider .slide-desc {
        font-size: 15px;
    }
}

/* ============================================
   BOOKING FORM - FORM ĐẶT XE
   ============================================ */
.booking-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.booking-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.booking-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.booking-form-wrapper h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-form .form-label i {
    color: var(--primary-color);
}

.booking-form .form-control,
.booking-form .form-select {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(231,76,60,0.1);
}

.booking-form .btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

/* ============================================
   BUTTONS - CÁC NÚT BẤM
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(231,76,60,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.4);
    background: var(--primary-dark);
    color: var(--text-light);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--text-light);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-lg {
    padding: 16px 35px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ============================================
   WHY CHOOSE US - TẠI SAO CHỌN CHÚNG TÔI
   ============================================ */
.why-choose-section {
    padding: 80px 0;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(231,76,60,0.1) 0%, rgba(231,76,60,0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    background: var(--bg-gradient);
}

.feature-card:hover .feature-icon i {
    color: var(--text-light);
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   SERVICES - DỊCH VỤ
   ============================================ */
.services-section {
    padding: 80px 0;
}

/* Filter buttons (services/tours) */
.btn-filter {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* Light background utilities (used in cards/stats) */
.bg-primary-light { background: rgba(249, 115, 22, 0.12) !important; }
.bg-success-light { background: rgba(34, 197, 94, 0.12) !important; }
.bg-warning-light { background: rgba(234, 179, 8, 0.12) !important; }
.bg-info-light { background: rgba(59, 130, 246, 0.12) !important; }

/* ============================================
   PAGE CONTENT (dynamic pages)
   ============================================ */
.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.page-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.page-content table th,
.page-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.page-content table th {
    background: #f8f9fa;
}

/* ============================================
   SERVICE DETAIL
   ============================================ */
.service-detail-content {
    font-size: 16px;
    line-height: 1.8;
}

.service-detail-content h2,
.service-detail-content h3,
.service-detail-content h4 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-detail-content ul,
.service-detail-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-detail-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.booking-widget {
    border-radius: var(--border-radius-lg);
    padding: 30px;
}

.price-display {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.contact-list {
    margin: 0;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-list li:last-child {
    border-bottom: none;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    padding-left: 5px;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-item h6 {
    margin: 0 0 5px;
    font-size: 14px;
    color: var(--secondary-color);
}

.related-item .price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.service-views {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-category {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-title a:hover {
    color: var(--primary-color);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.service-seats {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.service-seats i {
    color: var(--primary-color);
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.service-buttons .btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
}

/* ============================================
   ABOUT SECTION - VỀ CHÚNG TÔI
   ============================================ */
.about-section {
    padding: 80px 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 25px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge .number {
    font-size: 42px;
    font-weight: 800;
    display: block;
}

.about-badge .text {
    font-size: 14px;
}

.about-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content .lead {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.about-list li i {
    color: var(--accent-green);
    font-size: 20px;
    margin-top: 2px;
}

.about-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.about-phones a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.about-phones a i {
    color: var(--primary-color);
}

.about-phones a:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.about-phones a:hover i {
    color: var(--text-light);
}

/* ============================================
   TOURS - TOUR DU LỊCH
   ============================================ */
.tours-section {
    padding: 80px 0;
}

.tour-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tour-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tour-duration {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-body {
    padding: 25px;
}

.tour-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.tour-title a:hover {
    color: var(--primary-color);
}

.tour-info {
    margin-bottom: 15px;
}

.tour-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.tour-info-item i {
    color: var(--primary-color);
    width: 18px;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.tour-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.tour-price span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ============================================
   PRICE TABLE - BẢNG GIÁ
   ============================================ */
.price-section {
    padding: 80px 0;
}

.price-table-wrapper {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.price-table {
    width: 100%;
    margin: 0;
}

.price-table thead {
    background: var(--bg-gradient);
    color: var(--text-light);
}

.price-table th {
    padding: 18px 15px;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
}

.price-table td {
    padding: 16px 15px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.price-table tbody tr:hover {
    background: var(--bg-light);
}

.price-table .vehicle-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.price-table .price-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================================
   TESTIMONIALS - ĐÁNH GIÁ KHÁCH HÀNG
   ============================================ */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    color: rgba(231,76,60,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.testimonial-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   CONTACT SECTION - LIÊN HỆ
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-info-card {
    background: var(--bg-gradient);
    color: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 45px;
    height: 100%;
}

.contact-info-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info-item .content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-item .content p,
.contact-info-item .content a {
    font-size: 15px;
    opacity: 0.9;
}

.contact-info-item .content a:hover {
    opacity: 1;
    color: var(--text-light);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--text-light);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.page-header .breadcrumb-item {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item a:hover {
    color: var(--text-light);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--bg-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('/assets/images/cta-pattern.png') no-repeat center right;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--text-light);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
}

.company-name {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.tax-code {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tax-code i {
    color: var(--primary-color);
}

.widget-title {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

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

.footer-links a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    color: var(--primary-color);
    font-size: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-phones a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-fb { background: #1877f2; color: var(--text-light); }
.social-zalo { background: #0068ff; color: var(--text-light); }
.social-yt { background: #ff0000; color: var(--text-light); }
.social-tiktok { background: #000; color: var(--text-light); }

.footer-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
}

.copyright {
    font-size: 14px;
    margin: 0;
}

.footer-stats {
    text-align: right;
    font-size: 13px;
}

.footer-stats i {
    color: var(--primary-color);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .footer-stats {
        text-align: center;
        margin-top: 10px;
    }
    
    .copyright {
        text-align: center;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-link {
    padding: 12px 18px;
    margin: 0 4px;
    border-radius: 10px;
    border: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.pagination .page-item.active .page-link {
    background: var(--bg-gradient);
    color: var(--text-light);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget .widget-title {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-slider .slide-title {
        font-size: 42px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-slider .swiper-slide {
        height: 450px;
    }
    
    .booking-section {
        margin-top: 0;
    }
    
    .booking-form-wrapper {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title .subtitle::before,
    .section-title .subtitle::after {
        display: none;
    }
    
    .hero-slider .slide-content {
        text-align: center;
    }
    
    .hero-slider .slide-buttons {
        justify-content: center;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .about-badge {
        position: static;
        display: inline-block;
        margin-top: 20px;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .fixed-buttons {
        bottom: 20px;
        right: 15px;
    }
    
    .fixed-buttons a,
    .fixed-buttons button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .btn-call .btn-text {
        display: none;
    }
}

/* Touch devices: no hover, keep tooltip off to avoid accidental overflow */
@media (hover: none) {
    .btn-call .btn-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .booking-form-wrapper {
        padding: 25px;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert-custom {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
