/* style.css - Stylesheet chung cho VINAJAPAN */

:root {
    --primary-navy: #1a2b48;
    --accent-orange: #ff5e14;
    --text-navy: #1a2b48;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    color: #2d3436;
    overflow-x: hidden;
}

/* Utilities */
.text-navy { color: var(--primary-navy) !important; }
.text-orange { color: var(--accent-orange) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }
.bg-orange { background-color: var(--accent-orange) !important; }
.bg-light-custom { background-color: #f4f7f9 !important; }
.object-fit-cover { object-fit: cover; }

/* Buttons */
.btn-orange {
    background-color: var(--accent-orange);
    color: white;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}
.btn-orange:hover {
    background-color: #e04d0b;
    color: white;
    transform: translateY(-2px);
}
.btn-outline-navy {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    font-weight: 600;
    transition: 0.3s;
}
.btn-outline-navy:hover {
    background-color: var(--primary-navy);
    color: white;
}
.btn-outline-light {
    border: 2px solid white;
    font-weight: 600;
}

/* Navbar */
.navbar { box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.navbar-brand {
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-navy) !important;
    letter-spacing: -1px;
}
.navbar-brand span { color: var(--accent-orange); }
.nav-link {
    color: var(--primary-navy) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    margin: 0 5px;
    transition: 0.3s;
}
.nav-link:hover, .nav-item.show .nav-link {
    color: var(--accent-orange) !important;
}
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--accent-orange);
    border-radius: 0;
    box-shadow: var(--shadow-md);
}

/* Hero Section (General & Subpages) */
.hero {
    padding: 120px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-main {
    background-image: linear-gradient(rgba(26, 43, 72, 0.8), rgba(26, 43, 72, 0.8)),
    url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=1600');
}
/* Subpage Hẻo bannes */
.hero-gas {
    background-image: linear-gradient(rgba(26, 43, 72, 0.8), rgba(26, 43, 72, 0.8)),
    url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?w=1600');
}
.hero-car {
    background-image: linear-gradient(rgba(26, 43, 72, 0.8), rgba(26, 43, 72, 0.8)),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1600');
}
.hero-hr {
    background-image: linear-gradient(rgba(26, 43, 72, 0.8), rgba(26, 43, 72, 0.8)),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1600');
}
.hero-about {
    background-image: linear-gradient(rgba(26, 43, 72, 0.8), rgba(26, 43, 72, 0.8)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600');
}
.hero-healthcare {
    background-image: linear-gradient(rgba(26, 43, 72, 0.8), rgba(26, 43, 72, 0.8)),
    url('images/suc-khoe.jpg');
}

/* Section Header Line */
.section-line { width: 60px; height: 4px; background: var(--accent-orange); margin: 0 auto; }

/* Cards & Wrappers */
.m-card {
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
    box-shadow: var(--shadow-sm);
}
.m-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md) !important;
    border-bottom: 5px solid var(--accent-orange);
    background-color: white !important;
}

.quote-box {
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.hc-image-wrap { position: relative; }
.hc-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent-orange);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(241, 90, 36, 0.3);
    text-align: center;
    z-index: 10;
}

.re-img-box {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.re-img-box:hover img { transform: scale(1.05); }

.contact-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

/* Form Styling */
.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 5px rgba(241, 90, 36, 0.15);
}

/* Footer */
footer { background: #111; color: #aaa; }
footer h4, footer h5 { color: white; }
footer .logo span { color: var(--accent-orange); }
footer a { color: #aaa; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--accent-orange); }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero { padding: 80px 0; }
    .hc-badge { left: 10px; bottom: -10px; padding: 10px 15px; }
}

section[id] {
    scroll-margin-top: 15vh;
}

#license {
    scroll-margin-top: 15vh;
}

.biz-card {
    height: 400px; /* Tăng chiều cao để phù hợp với bố cục 2 cột */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.biz-card:hover {
    transform: scale(1.02); /* Phóng to nhẹ cả card */
    z-index: 2;
}

.biz-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lớp phủ chuyển màu từ trong suốt sang xanh Navy đậm ở dưới */
    background: linear-gradient(to top, rgba(0, 29, 61, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    transition: background 0.3s ease;
}

.biz-card:hover .biz-overlay {
    /* Khi di chuột vào sẽ chuyển sang tông cam thương hiệu mờ */
    background: linear-gradient(to top, rgba(255, 102, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.biz-card img {
    transition: transform 0.6s ease;
}

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

/* Trên mobile rất nhỏ thì mới về 1 cột */
@media (max-width: 576px) {
    .biz-card {
        height: 250px;
    }
}

/* Loại bỏ gạch chân mặc định của thẻ a */
#business-sectors a.text-decoration-none {
    color: inherit;
    display: block; /* Giúp toàn bộ vùng card có thể click được */
}

/* Thêm hiệu ứng khi rà chuột để người dùng biết là click được */
.biz-card {
    transition: all 0.4s ease;
    cursor: pointer;
}

.biz-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

/* Hiệu ứng mũi tên hoặc icon nhỏ xuất hiện khi hover (Tùy chọn) */
.biz-overlay::after {
    content: '\f061'; /* Icon arrow-right của FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: white;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.biz-card:hover .biz-overlay::after {
    opacity: 1;
    transform: translateX(0);
}

.step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: #F97316;
}
.step-number {
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.step-title {
    min-height: 3rem; /* Đảm bảo các tiêu đề có chiều cao bằng nhau */
    display: flex;
    align-items: center;
    justify-content: center;
}
