/*
 Theme Name:   Flavor Starter
 Theme URI:    https://example.com
 Description:  Custom theme - Clone thangmaytaza.com layout
 Author:       Developer
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  flavor-starter
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #221854;
    --secondary: #ff6604;
    --dark: #0a0a0a;
    --gray: #f6f6f6;
    --white: #ffffff;
    --border: #eee;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Roboto", sans-serif; color: var(--dark); font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1270px; margin: 0 auto; padding: 0 15px; }
.section { padding: 80px 0; }
.section-gray { background: var(--gray); }

/* ===== HEADER ===== */
.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo a { font-size: 24px; font-weight: 800; color: var(--primary); }
.main-nav ul { display: flex; gap: 25px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--dark); }
.main-nav a:hover { color: var(--secondary); }
.header-hotline { font-size: 16px; font-weight: 700; color: var(--secondary); }

/* ===== HERO ===== */
.hero-slider { position: relative; height: 500px; overflow: hidden; }
.hero-slide { width: 100%; height: 100%; background-size: cover; background-position: center; }

/* ===== SECTION TITLE ===== */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title span { display: inline-block; background: var(--secondary); color: var(--white); padding: 10px 30px; font-size: 18px; font-weight: 700; position: relative; }
.section-title span::after { content: ""; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-left-color: var(--secondary); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p.label { color: #897eb3; letter-spacing: 8px; margin-bottom: 10px; }
.about-text h2 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.about-text p { margin-bottom: 15px; }
.about-text .btn-more { color: var(--secondary); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-number { font-size: 48px; font-weight: 800; color: var(--secondary); }
.stat-label { font-size: 14px; color: var(--dark); }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product-card { border: 1px solid var(--secondary); border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card .card-body { padding: 20px; background: #291880; color: var(--white); }
.product-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.product-card p { font-size: 13px; opacity: 0.9; margin-bottom: 15px; }
.product-card .btn-more { color: var(--secondary); font-weight: 600; font-size: 13px; }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-card .card-body { padding: 20px; }
.project-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.project-card h3 a { color: var(--primary); }
.project-card h3 a:hover { color: var(--secondary); }

/* ===== SERVICES ===== */
.services-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.service-card { text-align: center; width: 150px; }
.service-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }
.service-card h3 { font-size: 14px; font-weight: 600; }

/* ===== EQUIPMENT ===== */
.equipment-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.equipment-card { text-align: center; background: var(--white); padding: 15px; border-radius: 8px; }
.equipment-card img { width: 80px; height: 80px; object-fit: cover; margin-bottom: 10px; }
.equipment-card h4 { font-size: 13px; font-weight: 600; }

/* ===== NEWS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card .card-body { padding: 20px; }
.news-card .date { font-size: 12px; color: #999; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.news-card h3 a { color: var(--primary); }
.news-card h3 a:hover { color: var(--secondary); }

/* ===== PARTNERS ===== */
.partners-grid { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.partners-grid img { height: 40px; opacity: 0.6; filter: grayscale(100%); transition: all 0.3s; }
.partners-grid img:hover { opacity: 1; filter: grayscale(0%); }

/* ===== CTA ===== */
.cta-section { background: var(--primary); color: var(--white); padding: 80px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-left h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.cta-left p { font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
.cta-left .hotline { font-size: 24px; font-weight: 700; color: var(--secondary); }
.cta-form { background: var(--white); padding: 30px; border-radius: 8px; }
.cta-form input, .cta-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.cta-form input[type="submit"] { background: var(--secondary); color: var(--white); border: none; cursor: pointer; font-weight: 600; }
.cta-form input[type="submit"]:hover { background: #e55a00; }

/* ===== FOOTER ===== */
.site-footer { background: #0a0a0a; color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--white); font-size: 14px; }
.footer-col a:hover { color: var(--secondary); }
.footer-col p { font-size: 14px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; color: #999; }

/* ===== BLOG LAYOUT ===== */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }

/* ===== SIDEBAR ===== */
.blog-sidebar .sidebar-widget { background: var(--white); padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.blog-sidebar h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); }
.blog-sidebar ul li { margin-bottom: 8px; }
.blog-sidebar a { font-size: 14px; }
.blog-sidebar a:hover { color: var(--secondary); }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--gray); padding: 15px 0; }
.breadcrumb p { font-size: 14px; }
.breadcrumb a { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid, .cta-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .equipment-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-layout, .single-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav ul { display: none; }
    .products-grid, .projects-grid, .news-grid { grid-template-columns: 1fr; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
