/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-red: #E31E24;
    --red-hover: #b01217;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1c1c1c;
    --text-white: #ffffff;
    --text-grey: #cccccc;
    --text-dark: #333333;
    
    --font-main: 'Fahkwang', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--dark-bg); color: var(--text-white); line-height: 1.6; overflow-x: hidden; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* =========================================
   2. UTILITY CLASSES
   ========================================= */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-dark { background-color: var(--dark-bg); }
.text-center { text-align: center; }
.text-highlight { color: var(--primary-red); }
.small-text { font-size: 0.85rem; }
.mb-20 { margin-bottom: 20px; }
.relative-z { position: relative; z-index: 2; }
.section-desc { max-width: 800px; margin: 20px auto 40px; color: var(--text-grey); }

/* =========================================
   3. BUTTON COMPONENTS
   ========================================= */
.btn { padding: 12px 28px; font-weight: 600; font-size: 14px; text-transform: uppercase; display: inline-block; cursor: pointer; border: 2px solid transparent; transition: var(--transition); letter-spacing: 0.5px; }
.btn:hover { transform: translateY(-3px); }
.btn--red { background-color: var(--primary-red); color: white; }
.btn--red:hover { background-color: white; color: var(--primary-red); }
.btn--red-bg { background-color: var(--primary-red); color: white; margin-top: 20px; }
.btn--red-bg:hover { background-color: var(--red-hover); }
.btn--white { background-color: white; color: var(--primary-red); }
.btn--white:hover { background-color: var(--primary-red); color: white; }
.btn--white-outline { border: 2px solid white; background: transparent; color: white; }
.btn--white-outline:hover { background: white; color: var(--dark-bg); }

/* =========================================
   4. NAVBAR
   ========================================= */
.header { background: white; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { max-width: 180px; height: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-dark); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links .active-link { color: var(--primary-red); }
.mobile-btn, .menu-toggle { display: none; }

/* =========================================
   5. HERO SECTIONS (Home & Equipment)
   ========================================= */
.hero-section { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 2; max-width: 1000px; padding: 20px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }

/* Home Hero */
.hero-section { height: 90vh; background: url('img/hero-bg.png') center/cover no-repeat; }

/* Equipment Hero - Specific */
.equipment-hero {
    height: 60vh;
    background: url('img/hero-bg.png') center/cover no-repeat;
}

/* =========================================
   6. EQUIPMENT CARDS (Zig Zag)
   ========================================= */
.equip-card-row {
    display: flex;
    margin-bottom: 50px;
    border-radius: 6px;
    overflow: hidden;
    background: #181818;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.equip-text-box {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #1f1f1f;
}

.equip-text-box h3 { font-size: 2rem; margin-bottom: 20px; color: white; }
.equip-text-box p { color: var(--text-grey); line-height: 1.7; }

.equip-image-box { flex: 1; min-height: 350px; }
.equip-image-box img { width: 100%; height: 100%; object-fit: cover; }

/* Reverse Class */
.reverse-row { flex-direction: row-reverse; }

/* =========================================
   7. CTA SECTIONS
   ========================================= */
   .cta-section, .thick-thin-cta { position: relative; background-attachment: fixed; text-align: center; color: white; }
.cta-section { background: url('img/hero-bg.png') center/cover no-repeat; }
.thick-thin-cta { background: url('img/cta-food-bg.jpg') center/cover no-repeat; }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.thick-thin-cta {
    position: relative;
    background: url('img/cta-food-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: white;
}
.thick-thin-cta .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }

/* =========================================
   8. FOOTER
   ========================================= */
footer { background-color: #222; padding: 60px 0 0; color: #aaa; width: 100%; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; }
.footer-col { flex: 1; min-width: 220px; padding: 0 20px; position: relative; margin-bottom: 30px; }
.brand-col { flex: 2; padding-right: 40px; }
.footer-logo img { height: 40px; margin-bottom: 15px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; align-items: center; }
.social-links i { width: 32px; height: 32px; background: var(--primary-red); color: white; display: flex; justify-content: center; align-items: center; border-radius: 4px; transition: 0.5s; }
.footer-bottom { background: var(--card-bg); padding: 20px; text-align: center; border-top: 1px solid #333; }

/* =========================================
   9. TESTIMONIALS (Shared)
   ========================================= */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.testimonial-card-box { background-color: var(--card-bg); padding: 40px; border-radius: 4px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.stars { color: #f1c40f; margin: 10px 0 20px; }
.testimonial-text { font-style: italic; color: #ddd; margin-bottom: 20px; }
.testimonial-nav { margin-top: 20px; display: flex; gap: 20px; justify-content: flex-end; }
.nav-arrow { font-size: 1.2rem; cursor: pointer; color: #666; }

/* =========================================
   10. RESPONSIVE
   ========================================= */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .equip-card-row, .reverse-row { flex-direction: column-reverse; }
    .equip-image-box { height: 250px; }
    .equip-text-box { padding: 30px 20px; }
    .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px; }
    .menu-toggle { display: block; color: var(--text-dark); font-size: 1.5rem; cursor: pointer; }
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background: white; flex-direction: column; align-items: center; padding: 30px; gap: 20px; transform: translateY(-150%); transition: 0.4s; z-index: 999; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.nav-active { transform: translateY(0); }
    .desktop-btn { display: none; }
    .mobile-btn { display: block; }
}