/* MBC Hà Nội Website Styles */
:root {
    --primary: #1a5276;
    --primary-dark: #0e2f44;
    --secondary: #e74c3c;
    --accent: #f39c12;
    --text: #333;
    --text-light: #666;
    --bg: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img { height: 45px; width: auto; }

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: #e67e22; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

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

/* Features */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-item:hover { transform: translateY(-5px); }

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h3 { margin-bottom: 10px; color: var(--primary); }
.feature-item p { color: var(--text-light); font-size: 14px; }

/* Products Preview */
.products-preview {
    padding: 80px 0;
    background: var(--bg);
}

.products-preview h2 {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.product-card:hover { transform: translateY(-8px); }

.product-img {
    font-size: 56px;
    margin-bottom: 15px;
}

.product-card h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { opacity: 0.9; font-size: 16px; }

/* About Page */
.about-content { padding: 60px 0; }

.about-section {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.about-section p { color: var(--text-light); margin-bottom: 10px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.value-item h4 { color: var(--primary); margin-bottom: 8px; }
.value-item p { font-size: 14px; }

/* Products Detail Page */
.products-detail { padding: 60px 0; }

.product-detail-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.product-icon { font-size: 72px; flex-shrink: 0; }

.product-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 22px;
}

.product-info p { color: var(--text-light); margin-bottom: 10px; }

.product-info ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-info ul li {
    background: var(--bg);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
}

/* Contact Page */
.contact-section { padding: 60px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box, .contact-form-box {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info-box h2, .contact-form-box h2 {
    color: var(--primary);
    margin-bottom: 25px;
}

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

.contact-item-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-item h4 { font-size: 15px; margin-bottom: 3px; }
.contact-item p { color: var(--text-light); }
.contact-item a { color: var(--primary); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p { font-size: 14px; opacity: 0.8; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    header .container { flex-direction: column; height: auto; padding: 10px 20px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 28px; }
    .feature-grid, .product-grid, .values-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-detail-card { flex-direction: column; }
}

@media (max-width: 480px) {
    .feature-grid, .product-grid, .values-grid { grid-template-columns: 1fr; }
}
