/*
Theme Name: Viet Hung Logistics
Description: Template HTML cho website Logistics Việt Hưng, chuẩn bị để chuyển đổi sang WordPress.
Version: 1.0
Author: Antigravity
*/

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    /* Colors */
    --primary: #047857;       /* Emerald 700 */
    --primary-hover: #065f46; /* Emerald 800 */
    --primary-light: #ecfdf5; /* Emerald 50 */
    --primary-accent: #10b981;/* Emerald 500 */
    --secondary: #0f172a;     /* Slate 900 */
    --text-main: #334155;     /* Slate 700 */
    --text-muted: #64748b;    /* Slate 500 */
    --bg-light: #f8fafc;      /* Slate 50 */
    --border-color: #f1f5f9;  /* Slate 100 */
    --white: #ffffff;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
    --gradient-accent: linear-gradient(135deg, #047857 0%, #10b981 100%);
    
    /* Typography */
    --font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 50px rgba(4, 120, 87, 0.1);
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Selection */
::selection {
    background-color: #d1fae5; /* Emerald 100 */
    color: #065f46; /* Emerald 800 */
}

/* ==========================================
   LAYOUT & UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }

.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-16 { margin-bottom: 64px; }

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(4, 120, 87, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary-accent);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background-color: var(--primary);
    color: var(--white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo-text h1 {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.logo-text p {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

.nav-links a span:last-child {
    font-size: 10px;
    opacity: 0.6;
    font-weight: 400;
    margin-top: 2px;
}

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

.nav-links a:hover span:last-child {
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 50px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

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

.hero-img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--white);
    width: 100%;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s infinite ease-in-out;
}

.badge-icon {
    background: var(--primary-light);
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.badge-text p:first-child {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
}

.badge-text p:last-child {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

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

.service-zh {
    font-size: 12px;
    color: var(--primary-accent);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.service-card:hover .service-link {
    text-decoration: underline;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.about-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.about-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-hover);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.core-values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 12px;
}

.value-item i {
    color: var(--primary-accent);
    margin-top: 4px;
}

.value-item span {
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.value-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Legal Profile Card */
.legal-profile {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.legal-profile::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.legal-profile h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.legal-list {
    list-style: none;
}

.legal-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #cbd5e1; /* slate-300 */
}

.legal-list li i {
    color: var(--primary-accent);
    margin-top: 4px;
}

.legal-stats {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.stat-label {
    color: #94a3b8; /* slate-400 */
    font-size: 12px;
}

.stat-value {
    font-weight: 700;
    font-family: monospace;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.leader-card {
    display: flex;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.leader-img {
    width: 160px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.leader-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leader-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.leader-pos {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.leader-zh {
    font-size: 10px;
    background-color: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.leader-quote {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    position: relative;
    padding-left: 16px;
}

.leader-quote::before {
    content: '"';
    font-size: 40px;
    color: var(--primary-light);
    position: absolute;
    top: -15px;
    left: -5px;
    font-family: serif;
}

.team-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.badge-item {
    background-color: var(--bg-light);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--secondary);
    border: 1px solid var(--border-color);
}

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

/* ==========================================
   PARTNERS SECTION
   ========================================== */
.partners {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.partners-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
}

.partners-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-item {
    font-size: 24px;
    font-weight: 900;
    color: #64748b;
    letter-spacing: -1px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-wrapper {
    background-color: var(--secondary);
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-xl);
}

.contact-info {
    padding: 60px;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-method-item:hover .method-icon {
    background-color: var(--primary);
}

.method-text span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-accent);
}

.method-text p {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--secondary);
    color: #94a3b8; /* slate-400 */
    padding-top: 80px;
    border-top: 8px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo-icon {
    background-color: var(--primary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
}

.footer-logo h2 {
    font-size: 18px;
    font-weight: 800;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 400px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: #1e293b; /* slate-800 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

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

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

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

.footer-links ul a:hover {
    color: var(--primary-accent);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .legal-profile {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
