
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Dancing+Script:wght@700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-red: #cc0000;
    --primary-navy: #0a2240;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --border-color: #e5e7eb;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body { color: var(--text-color); background: #fff; line-height: 1.6; overflow-x: hidden;}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* HEADER */
header { border-bottom: 1px solid var(--border-color); background: #fff; }
.top-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.logo-container img { height: 50px; }
.main-nav { display: flex; gap: 20px; }
.main-nav a { font-weight: 600; color: var(--primary-navy); padding: 10px 5px; text-transform: uppercase; font-size: 0.9rem;}
.main-nav a.active { color: var(--primary-red); border-bottom: 2px solid var(--primary-red); }
.header-contact { display: flex; align-items: center; gap: 15px; }
.header-hotline { color: var(--primary-red); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 5px; }
.header-lang { padding: 5px 10px; border: 1px solid var(--border-color); border-radius: 4px; font-weight: 600; }

/* HERO SECTION */
.hero-section {
    position: relative;
    background: url('/images/banner-trang-chu.png') center/cover no-repeat;
    padding: 60px 0 100px 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
}
.hero-wave {
    position: absolute; bottom: -2px; left: 0; width: 100%; height: 60px;
    background: var(--primary-navy);
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: 1;
}
.hero-content-wrapper {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.hero-text { max-width: 50%; }
.hero-brand { font-family: 'Dancing Script', cursive; color: var(--primary-red); font-size: 4rem; line-height: 1; margin-bottom: -10px; }
.hero-title { color: var(--primary-navy); font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; font-style: italic;}
.hero-subtitle { color: var(--text-color); font-weight: 600; margin-bottom: 20px; font-style: italic; }
.hero-features { display: flex; gap: 15px; margin-bottom: 30px; font-weight: 600; color: var(--primary-navy); }
.hero-features i { color: var(--primary-navy); margin-right: 5px; }

.btn-red { background: var(--primary-red); color: #fff; padding: 12px 30px; border-radius: 8px; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;}
.btn-outline { background: transparent; color: var(--primary-navy); border: 2px solid var(--primary-navy); padding: 10px 25px; border-radius: 8px; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; }

.hero-booking-card {
    background: var(--primary-navy);
    padding: 2px;
    border-radius: 12px;
    width: 350px;
}
.hero-booking-inner {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}
.hero-booking-header {
    background: var(--primary-navy); color: #fff;
    margin: -20px -20px 20px -20px;
    padding: 15px; text-align: center;
    border-radius: 10px 10px 0 0;
}
.hero-booking-header h3 { font-size: 1.2rem; font-weight: 700; }
.hero-booking-header p { font-size: 0.8rem; opacity: 0.8; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--text-color); }
.form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.9rem;}
.form-group input:focus { outline: none; border-color: var(--primary-navy); }

/* HERO BOTTOM BAR */
.hero-bottom-bar {
    background: transparent;
    position: relative; z-index: 10;
    margin-top: -30px;
    padding-bottom: 40px;
}
.hero-bar-inner {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex; justify-content: space-between;
    padding: 20px 40px;
}
.hero-bar-item { display: flex; align-items: center; gap: 15px; }
.hero-bar-icon { color: var(--primary-navy); font-size: 2rem; }
.hero-bar-text h4 { color: var(--primary-navy); font-weight: 700; font-size: 0.95rem; }
.hero-bar-text p { color: var(--text-color); font-size: 0.85rem; }

/* SECTION TITLES */
.section-title { text-align: center; color: var(--primary-navy); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; margin-bottom: 40px; position: relative;}
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary-red); margin: 15px auto 0; }

/* DỊCH VỤ ROW */
.services-section { padding: 50px 0; }
.services-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 15px; }
.service-item { border: 1px solid var(--border-color); border-radius: 8px; padding: 20px 10px; text-align: center; transition: 0.3s; }
.service-item:hover { border-color: var(--primary-navy); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-icon { font-size: 2.5rem; color: var(--primary-navy); margin-bottom: 10px; }
.service-item h4 { color: var(--primary-red); font-weight: 700; font-size: 0.9rem; margin-bottom: 5px; }
.service-item p { font-size: 0.75rem; color: var(--text-color); line-height: 1.3;}

/* ĐỘI XE GRID */
.fleet-section { padding: 50px 0; background: var(--bg-light); }
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fleet-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; position: relative;}
.fleet-badge { position: absolute; top: 10px; left: 10px; background: var(--primary-red); color: #fff; font-size: 0.7rem; font-weight: bold; padding: 3px 8px; border-radius: 4px; }
.fleet-img { height: 180px; width: 100%; object-fit: cover; }
.fleet-info { padding: 15px; }
.fleet-info h3 { color: var(--primary-navy); font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; }
.fleet-info p { font-size: 0.85rem; color: var(--text-color); margin-bottom: 15px; }
.fleet-info a { color: var(--primary-navy); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between;}
.fleet-info a i { color: var(--text-color); }

/* VÌ SAO CHỌN */
.why-section { background: var(--primary-navy); padding: 60px 0; color: #fff; }
.why-container { display: flex; align-items: center; }
.why-left { width: 30%; padding-right: 40px;}
.why-left h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; text-transform: uppercase;}
.why-left p { opacity: 0.8; margin-bottom: 25px; font-size: 0.95rem; }
.why-right { width: 70%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 40px;}
.why-icon-box { margin-bottom: 15px; }
.why-icon-box i { font-size: 2.5rem; color: #fff; }
.why-right h4 { font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.why-right p { font-size: 0.8rem; opacity: 0.7; }

/* ĐỐI TÁC & TIN TỨC */
.bottom-section { padding: 60px 0; display: flex; gap: 40px; }
.bottom-left { width: 50%; }
.bottom-right { width: 50%; }
.partner-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 30px; }
.partner-logos img { border: 1px solid var(--border-color); padding: 10px; border-radius: 6px; width: 100%; object-fit: contain; height: 60px;}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.testi-card { border: 1px solid var(--border-color); padding: 15px; border-radius: 8px; font-size: 0.8rem; }
.stars { color: #fbbf24; margin-bottom: 5px; }
.testi-author { font-weight: 700; color: var(--primary-navy); margin-top: 10px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.news-card { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.news-card img { height: 120px; width: 100%; object-fit: cover; }
.news-info { padding: 15px; }
.news-date { font-size: 0.7rem; color: #9ca3af; margin-bottom: 5px; }
.news-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary-navy); margin-bottom: 10px; line-height: 1.4; height: 38px; overflow: hidden;}
.news-info a { font-size: 0.8rem; color: var(--primary-navy); font-weight: 600;}

/* FOOTER */
footer { background: var(--primary-navy); color: #fff; padding: 60px 0 20px 0; font-size: 0.85rem;}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 40px;}
.footer-logo { font-size: 1.8rem; font-weight: 800; margin-bottom: 15px; color: #fff; display: flex; align-items: center; gap: 10px;}
.footer-logo span { color: var(--primary-red); }
.footer-col h4 { font-weight: 700; margin-bottom: 20px; text-transform: uppercase; font-size: 0.95rem; position: relative;}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background: var(--primary-red); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; opacity: 0.8; display: flex; gap: 10px;}
.footer-col ul li i { margin-top: 4px; }
.footer-col ul a:hover { color: var(--primary-red); opacity: 1; }
.newsletter-form { display: flex; margin-top: 15px;}
.newsletter-form input { flex: 1; padding: 10px 15px; border: none; outline: none; border-radius: 4px 0 0 4px; }
.newsletter-form button { background: var(--primary-red); color: #fff; border: none; padding: 0 15px; border-radius: 0 4px 4px 0; font-weight: bold; cursor: pointer;}
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a { width: 30px; height: 30px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icons a:hover { background: var(--primary-red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; opacity: 0.6; font-size: 0.8rem; }

@media (max-width: 991px) {
    .services-row, .fleet-grid, .partner-logos, .testimonial-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content-wrapper { flex-direction: column; align-items: center; text-align: center; }
    .hero-text { max-width: 100%; margin-bottom: 40px; }
    .hero-features { justify-content: center; }
    .hero-bottom-bar { display: none; }
    .why-container { flex-direction: column; text-align: center; }
    .why-left, .why-right { width: 100%; padding: 0; border: none; }
    .why-left { margin-bottom: 40px; }
    .why-right { grid-template-columns: repeat(2, 1fr); }
    .bottom-section { flex-direction: column; }
    .bottom-left, .bottom-right { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .services-row, .fleet-grid, .partner-logos, .testimonial-grid, .news-grid, .why-right, .footer-grid { grid-template-columns: 1fr; }
    .hero-brand { font-size: 3rem; }
    .hero-title { font-size: 2.5rem; }
}

/* BỔ SUNG CSS CHO TRANG CON (GIỚI THIỆU, BẢNG GIÁ, TIN TỨC) */
.subpage-header { background: var(--primary-navy); color: #fff; padding: 40px 0; margin-bottom: 30px;}
.subpage-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.breadcrumb { list-style: none; display: flex; gap: 10px; font-size: 0.9rem; opacity: 0.8; padding: 0;}
.breadcrumb li + li::before { content: '/'; margin-right: 10px; opacity: 0.5; }
.breadcrumb a:hover { color: var(--primary-red); }

.content-section { padding-bottom: 60px; line-height: 1.8; }
.content-section h2 { color: var(--primary-navy); font-size: 1.5rem; font-weight: 700; margin: 30px 0 15px 0; }
.content-section h3 { color: var(--primary-red); font-size: 1.2rem; font-weight: 600; margin: 20px 0 10px 0; }
.content-section p { margin-bottom: 15px; }
.content-section ul { margin-left: 20px; margin-bottom: 15px; }
.content-section li { margin-bottom: 5px; }

/* Bảng giá styles */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.price-table th { background: var(--primary-navy); color: #fff; padding: 12px; text-align: left; }
.price-table td { border: 1px solid var(--border-color); padding: 12px; }
.price-table tr:nth-child(even) { background: #f9fafb; }
.price-val { font-weight: bold; color: var(--primary-red); }

/* Chỉnh lại font Hero Brand */
.hero-brand { font-family: 'Dancing Script', cursive, sans-serif; text-transform: none; }
