/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    /* Colors - Balanced Blue & Green */
    --color-brand-900: #1e3a8a; /* Deep Navy */
    --color-brand-800: #1e40af;
    --color-brand-600: #2563eb; /* Primary Blue */
    --color-brand-500: #3b82f6;
    --color-brand-100: #dbeafe;
    --color-brand-50:  #eff6ff;

    /* Eco Green Accent */
    --color-accent-green: #84cc16; /* Lime 500 */
    --color-accent-green-dark: #65a30d;

    --color-text-main: #1f2937;
    --color-text-light: #4b5563;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    
    /* Layout */
    --header-height: 70px;
    --container-width: 1280px;
    --radius-lg: 0.5rem;
    --radius-pill: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: #fff;
}
a { text-decoration: none; color: inherit; display: inline-block; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* =========================================
   2. Layout & Typography
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Reduced padding as requested */
.section { padding: 3rem 0; }
.section-alt { background-color: var(--color-brand-50); }

/* Updated Section Header with overlapped decoration */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem; /* Space for bottom text but decoration will sit behind */
}

.section-decoration-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 350px;
    height: auto;
    z-index: 0; /* Behind text */
    opacity: 0.8;
}

.section-title-wrapper {
    position: relative;
    z-index: 1; /* Above decoration */
}

.section-label {
    color: var(--color-brand-600);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 5px rgba(255,255,255,0.8); /* Ensure readable over grass */
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
}
.section-sub {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand-800);
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}
.section-line {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--color-accent-green); /* Green line */
    margin: 0.75rem auto 0;
    border-radius: var(--radius-pill);
}

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

/* =========================================
   3. Components
   ========================================= */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background-color: var(--color-brand-600); color: #fff; }
.btn-primary:hover { background-color: var(--color-brand-800); }
.btn-outline { background-color: #fff; color: var(--color-brand-900); border-color: var(--color-brand-900); }
.btn-outline:hover { background-color: var(--color-brand-50); }
.btn-white { background-color: #fff; color: var(--color-brand-600); }
.btn-white:hover { background-color: var(--color-gray-100); }
.btn svg { margin-right: 0.5rem; }

/* =========================================
   4. Header
   ========================================= */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background-color: var(--color-brand-900);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}
.header-container { height: 100%; position: relative; }
.header-content { display: flex; justify-content: flex-end; align-items: center; height: 100%; }

.logo-wrapper { position: absolute; top: 0; left: 1rem; z-index: 1001; }
.logo-box {
    background-color: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1px; /* Minimal padding as requested */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* Reduced logo size to ~60% (75px) as requested */
.logo-img { height: 75px; width: auto; display: block; }
.logo-fallback { display: none; text-align: center; padding: 1rem; }

.desktop-nav { display: none; gap: 1.5rem; align-items: center; }
.nav-link { color: #fff; font-weight: 700; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--color-accent-green); } /* Green hover */
.btn-nav { background: #fff; color: var(--color-brand-900); padding: 0.5rem 1.25rem; font-size: 0.9rem; }

.mobile-menu-btn { display: block; background: none; border: none; color: #fff; cursor: pointer; z-index: 1002; }
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(30,58,138,0.98); z-index: 999; padding-top: 150px; text-align: center; }
.mobile-menu.active { display: block; }
.mobile-nav-content { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-link { color: #fff; font-size: 1.25rem; font-weight: 700; }

.header-spacer { height: var(--header-height); }
@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* =========================================
   5. Hero Section
   ========================================= */
.hero-section {
    position: relative; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    background-color: #f0f9ff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0); /* Transparent */ }

.hero-content { position: relative; z-index: 10; text-align: center; padding: 2rem 1rem; }

.hero-title-group { margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(255,255,255,0.9); }

/* Swapped styles: Slogan is smaller, Company is larger */
.hero-slogan {
    display: block;
    font-size: 1.5rem; /* Smaller */
    font-weight: 700;
    color: var(--color-brand-900);
    margin-bottom: 0.5rem;
}
.hero-company-name {
    display: block;
    font-size: 2.5rem; /* Larger */
    font-weight: 900;
    color: var(--color-brand-600);
    line-height: 1.2;
}

.hero-message-box {
    background-color: #fff; padding: 2rem; border-radius: 1rem; margin: 0 auto 2rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); max-width: 800px;
}
.hero-cta-box {
    display: inline-block; background-color: var(--color-brand-900); color: #fff;
    padding: 1rem 2rem; border-radius: var(--radius-pill); margin-bottom: 2rem;
}
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; }
@media (min-width: 768px) {
    .hero-buttons { flex-direction: row; }
    .desktop-br { display: block; }
    .hero-slogan { font-size: 2rem; }
    .hero-company-name { font-size: 3.5rem; }
}

/* =========================================
   6. Business Section
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 900px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.business-card {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-top: 4px solid var(--color-accent-green); /* Green Top Border */
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.biz-card-top { text-align: center; margin-bottom: 1rem; }
.biz-title { font-size: 1.4rem; font-weight: 800; color: var(--color-brand-800); }

/* Raw Image: ensure it doesn't break layout */
.biz-raw-wrapper { margin-bottom: 1rem; }
.biz-raw-img {
    width: 100%;
    max-width: 180px; /* Limit width */
    height: auto;     /* Maintain aspect ratio */
    background: #f9fafb;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
}

/* Main Image */
.biz-main-wrapper { margin-bottom: 1rem; }
.biz-main-img {
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}
.biz-main-img img { width: 100%; height: 100%; object-fit: cover; }

.biz-desc p { font-size: 0.9rem; color: var(--color-text-light); text-align: justify; }

/* =========================================
   7. Company & Access
   ========================================= */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.info-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--color-gray-200);
    border-top: 4px solid var(--color-accent-green); /* Green Top Border */
    overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
}
.card-header {
    background: var(--color-brand-600); color: #fff;
    padding: 0.75rem 1.25rem; font-weight: 700;
    display: flex; align-items: center; gap: 0.5rem;
}
.company-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.company-table th {
    text-align: left; background: var(--color-brand-50); padding: 0.75rem;
    border-bottom: 1px solid var(--color-gray-200); width: 30%; color: var(--color-text-light);
}
.company-table td {
    padding: 0.75rem; border-bottom: 1px solid var(--color-gray-200);
}

/* Access */
.access-column { display: flex; flex-direction: column; gap: 1.5rem; }
.map-container { height: 300px; background: #ddd; }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.access-info { padding: 1rem; }
.access-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.icon-blue { color: var(--color-brand-600); }
.access-title { font-weight: 700; }
.access-text { font-size: 0.9rem; color: var(--color-text-light); }

.banner-link { display: block; text-align: center; }
.banner-img { max-width: 100%; width: auto; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-gray-200); }

/* =========================================
   8. Factory Section
   ========================================= */
.process-flow {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) { .process-flow { grid-template-columns: repeat(5, 1fr); } }

.step-box {
    background: #fff; border: 1px solid var(--color-gray-200);
    border-bottom: 4px solid var(--color-accent-green); /* Green Bottom Border */
    border-radius: var(--radius-lg); padding: 1rem; text-align: center; height: 100%;
}
.step-number { font-size: 2rem; font-weight: 900; color: var(--color-brand-100); }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--color-brand-800); margin-bottom: 0.25rem; }
.step-desc { font-size: 0.8rem; color: var(--color-text-light); }
.step-arrow { display: none; position: absolute; top: 40%; right: -15px; color: var(--color-gray-300); }
@media (min-width: 768px) { .step-arrow { display: block; } }
.process-step { position: relative; }

.factory-card-container { max-width: 550px; margin: 0 auto; }
.factory-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: zoom-in;
    border: 1px solid var(--color-gray-200);
    border-top: 4px solid var(--color-accent-green);
}
.factory-card-img-area { height: 250px; position: relative; background: #eee; }
.factory-card-img { width: 100%; height: 100%; object-fit: cover; }
.factory-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.3); opacity: 0;
    display: flex; align-items: center; justify-content: center; transition: opacity 0.3s;
}
.factory-card:hover .factory-overlay { opacity: 1; }
.zoom-icon { color: #fff; background: rgba(255,255,255,0.2); padding: 0.5rem; border-radius: 50%; }
.factory-card-caption { padding: 1rem; text-align: center; border-top: 1px solid var(--color-gray-100); }

/* =========================================
   9. Contact & Footer
   ========================================= */
.contact-section { padding: 3rem 0; background: var(--color-brand-900); color: #fff; text-align: center; }
.contact-title { font-size: 2rem; font-weight: 900; }
.contact-grid { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 2rem auto 0; }
@media (min-width: 768px) { .contact-grid { flex-direction: row; } }

.contact-card {
    flex: 1; padding: 2rem; border-radius: 1rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.phone-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.mail-card { background: var(--color-brand-600); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.phone-number { font-size: 1.75rem; font-weight: 700; margin: 0.5rem 0; }

.site-footer { background: #111827; color: #9ca3af; padding: 2rem 0; text-align: center; font-size: 0.85rem; }

/* Lightbox */
.lightbox-modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000;
    align-items: center; justify-content: center; padding: 1rem;
}
.lightbox-content { max-width: 90%; max-height: 90vh; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.close-btn { position: absolute; top: 1rem; right: 2rem; color: #fff; font-size: 2.5rem; cursor: pointer; }