/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #000;
}

/* --- Modern Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: transparent; /* Makes navbar blend into the image */
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Keeps logo white on the dark background */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #fff;
}

.btn-contact {
    background: #333;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #FFD700;
    color: #000;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    /* Note: ../images/ moves UP from CSS folder to Assets, then into Images */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), 
                url('../images/factory.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: flex-end; /* Pushes content to the bottom */
    padding: 80px 50px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    color: #fff;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 50px;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
}

.hero-text-side p {
    color: #fff;
    max-width: 450px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-discover {
    background: #FFD700; /* Industrial Yellow */
    color: #000;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
}

.btn-discover:hover {
    background: #fff;
    transform: translateY(-5px);
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem; /* Shrink text for tablets */
    }
}

@media (max-width: 768px) {
    /* Adjust Navbar for Mobile */
    .nav-container {
        padding: 0 20px;
    }

    .nav-links, .phone-number {
        display: none; /* Hide links on mobile to prevent clutter */
    }

    /* Adjust Hero for Mobile */
    .hero {
        padding: 40px 20px;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.8rem; /* Fit giant text on phone screens */
        margin-bottom: 30px;
    }

    .hero-bottom {
        flex-direction: column; /* Stack description and button vertically */
        align-items: flex-start;
        gap: 25px;
    }

    .hero-text-side p {
        font-size: 16px;
        max-width: 100%;
    }

    .btn-discover {
        width: 100%; /* Make button full width for easier tapping */
        text-align: center;
    }
}

/* Reset & Base */
.about-section { background: #fff; overflow: hidden; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: 3px; font-weight: 800; font-size: 12px; color: #888; margin-bottom: 10px; }
.eyebrow.yellow { color: #FFD700; }
.title-bold { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 30px; color: #000; letter-spacing: -2px; }
.title-bold.white { color: #fff; }

/* Part 1: Intro Row */
.about-container.light-row {
    max-width: 1300px;
    margin: 100px auto;
    display: flex;
    gap: 80px;
    padding: 0 40px;
    align-items: center;
}

.about-visual { flex: 1; position: relative; }
.main-factory-img { width: 100%; border-radius: 4px; display: block; box-shadow: 30px 30px 0 #f0f0f0; }
.since-badge { position: absolute; bottom: -20px; left: -20px; background: #000; color: #fff; padding: 20px; font-weight: 900; }
.since-badge span { color: #FFD700; display: block; font-size: 24px; }

.about-content { flex: 1.2; }
.description { font-size: 1.1rem; line-height: 1.7; color: #444; margin-bottom: 30px; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; list-style: none; gap: 15px; }
.check-grid li { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; background: #FFD700; display: inline-block; }

/* --- PART 2: CARDS REDESIGN (Minimalist Industrial) --- */
.cards-container {
    max-width: 1300px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.info-card {
    background: #ffffff;
    padding: 50px 40px;
    border: 1px solid #eee; /* Light border for structure */
    position: relative;
    transition: all 0.4s ease;
}

/* Replaced Icon with a sleek top bar */
.card-accent-bar {
    width: 40px;
    height: 4px;
    background: #000;
    margin-bottom: 30px;
}

.card-accent-bar.yellow {
    background: #FFD700;
}

.info-card.accent {
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.07); /* Subtle lift for the middle card */
    border: 1px solid transparent;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Hover Effect to match the "Discover Products" button style */
.info-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
}

.info-card:hover .card-accent-bar {
    width: 60px; /* Expands on hover for a dynamic feel */
    background: #FFD700;
    transition: 0.3s;
}


/* Part 3: Manufacturing Prowess (Dark Section) */
.prowess-section { background: #111; padding: 120px 0; color: #ccc; }
.prowess-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 100px;
}
.prowess-text { flex: 1.5; }
.prowess-text p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; }

.stats-row { display: flex; gap: 40px; margin-bottom: 40px; }
.stat-item { border-left: 3px solid #FFD700; padding-left: 20px; }
.stat-num { display: block; font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-lab { text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #FFD700; }

.team-box { flex: 1; background: #1a1a1a; padding: 50px; border-radius: 4px; border: 1px solid #333; }
.team-box h3 { font-size: 2rem; margin-bottom: 20px; }
.m-group { margin-top: 30px; }
.m-group label { display: block; color: #FFD700; font-weight: 800; font-size: 11px; text-transform: uppercase; margin-bottom: 5px; }
.m-group p { color: #fff; font-weight: 600; font-size: 15px; }

/* Mobile */
@media (max-width: 900px) {
    .about-container.light-row, .prowess-container { flex-direction: column; gap: 40px; }
    .cards-container { grid-template-columns: 1fr; }
    .title-bold { font-size: 2.5rem; }
}

/* --- Products Section (Architectural Style) --- */
.products-section.light-theme {
    padding: 120px 0;
    background-color: #ffffff; /* Clean off-white */
    color: #1a1a1a;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.product-row {
    display: flex;
    gap: 100px;
    align-items: center;
    margin-bottom: 80px;
}

/* Photo Box - Similar logic to since-badge */
.product-visual {
    flex: 1;
    position: relative;
}

.photo-box {
    border-radius: 4px;
    display: block;
    box-shadow: 20px 20px 0 #f0f0f0; /* Soft offset shadow */
}

.main-product-img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.product-content {
    flex: 1.2;
}

.product-desc-box p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

/* Table Style - Architecture Inspired */
.specifications-row {
    max-width: 1300px;
    margin: 0 auto;
}

.table-container {
    padding: 60px 50px;
    border: 1px solid #eee;
    border-radius: 4px;
    position: relative;
}

/* Accent bar matching cards */
.card-accent-bar.yellow {
    width: 40px;
    height: 4px;
    background: #FFD700;
    margin-bottom: 20px;
}

.table-container h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th, .spec-table td {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.spec-table th {
    text-align: left;
    color: #888;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
}

.spec-table td:first-child {
    font-weight: 700;
    color: #000;
}

.spec-table td:last-child {
    color: #444;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .product-row { flex-direction: column-reverse; gap: 40px; }
    .table-container { padding: 40px 20px; }
    .main-product-img { box-shadow: 10px 10px 0 #f0f0f0; }
}

/* --- CSS-ONLY SLIDER --- */
.product-visual {
    flex: 1;
    position: relative;
    max-width: 600px;
}/* --- Product Mosaic Showcase --- */
.product-showcase-section {
    padding: 100px 0;
    background: #ffffff;
}

.showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Mosaic Layout */
/* Mosaic Layout */
.mosaic-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr; /* Slightly wider side columns for better scaling */
    grid-template-rows: 450px 450px; /* Increased height to give images more breathing room */
    gap: 20px;
    margin-bottom: 80px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    background: #f9f9f9; /* Light neutral background for the "letterbox" areas */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows the FULL image without cropping */
    transition: transform 0.8s ease;
    padding: 10px; /* Optional: adds a small margin so the image doesn't touch the edges */
}

.mosaic-item:hover img {
    transform: scale(1.05);
}

/* Featured (Red V2) sizing */
.mosaic-item.featured {
    grid-row: span 2;
}

/* Labels & Overlays */
.mosaic-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.mosaic-label {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(0,0,0,0.7);
    color: #FFD700;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.mosaic-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 5px; }
.badge.yellow { background: #FFD700; color: #000; padding: 4px 10px; font-weight: 900; font-size: 12px; }

/* --- Technical Spec Sheet Redesign --- */
.specs-wrapper {
    background: #1a1a1a;
    padding: 80px 60px;
    color: #fff;
}

.specs-header { margin-bottom: 50px; }
.line-accent { width: 60px; height: 4px; background: #FFD700; margin-top: 15px; }

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

.spec-tile {
    border-left: 1px solid #444;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: #888;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.spec-value {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.specs-footer {
    margin-top: 60px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Responsive Mobile */
@media (max-width: 1000px) {
    .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .mosaic-item.featured { grid-column: span 2; height: 500px; }
    .specs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .mosaic-grid { grid-template-columns: 1fr; }
    .mosaic-item.featured { grid-column: span 1; }
    .specs-grid { grid-template-columns: 1fr; }
}

/* --- FULL WIDTH CONTACT & FOOTER TERMINAL --- */
.contact-terminal.full-width-design {
    padding: 120px 0 0;
    background-color: #fcfcfc;
    color: #1a1a1a;
    width: 100%;
    overflow: hidden;
}

.full-width-contact-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.split-hub-container {
    display: flex;
    width: 100%;
}

/* --- Left Side: Request Box --- */
.data-sheet-request {
    flex: 1.2;
    background: #ffffff;
    padding: 100px 80px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data-sheet-request h3 {
    text-align: left;
    margin-bottom: 25px;
}

.data-sheet-request .card-accent-bar.yellow {
    width: 60px;
    height: 4px;
    background: #FFD700;
    margin-bottom: 30px;
}

.data-sheet-request .card-text {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.badge-row {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

.badge-row span {
    border: 1px solid #eee;
    color: #FFD700;
    padding: 6px 14px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 800;
}

/* --- Right Side: Logistics Hub --- */
.logistics-channels {
    flex: 1;
    background: #f8f8f8;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.channel-col {
    display: flex;
    flex-direction: column;
}

.hub-label {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    color: #888;
    font-weight: 800;
    margin-bottom: 30px;
}

.address-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- Map Styling --- */
.map-container {
    width: 100%;
    margin: 20px 0;
    filter: grayscale(1) contrast(1.1) opacity(0.8); /* Industrial look */
    border: 1px solid #ddd;
    transition: 0.3s ease;
}

.map-container:hover {
    filter: grayscale(0) opacity(1);
}

/* --- Typography & Link Fixes (The "Ugly" Fix) --- */
.line-item {
    margin-bottom: 25px;
}

.line-item label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-link {
    font-size: 24px !important;
    font-weight: 800;
    color: #1a1a1a !important;
    text-decoration: none;
    transition: 0.3s;
}

.contact-link:hover {
    color: #FFD700 !important;
}

.email-btn {
    display: inline-block;
    background: #1a1a1a;
    color: #fff !important;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.3s;
    width: fit-content;
}

.email-btn:hover {
    background: #FFD700;
    color: #1a1a1a !important;
    transform: translateY(-3px);
}

.map-action {
    font-size: 12px !important;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 4px;
    transition: 0.3s;
    width: fit-content;
}

/* --- TECHNICAL FOOTER --- */
.technical-footer.full-bleed {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), 
                url('../images/footer.png') no-repeat center center/cover;
    position: relative;
    width: 100%;
}

.footer-overlay.dark-matte {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    padding: 0 80px;
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .split-hub-container { flex-direction: column; }
    .data-sheet-request, .logistics-channels { padding: 80px 40px; }
}

/* --- SMOOTH SCROLLING LOGIC --- */
html {
    scroll-behavior: smooth;
    /* This prevents the navbar from covering section titles when you arrive */
    scroll-padding-top: 100px; 
}

/* --- NAV HOVER ANIMATION --- */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

/* Creating the sliding underline on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FFD700; /* Industrial Yellow */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #FFD700; /* Text turns yellow */
}

.nav-links a:hover::after {
    width: 100%; /* Line slides across */
}

/* Button Hover Refinement */
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- CSR / COMMUNITY SECTION (INDUSTRIAL DARK) --- */
.csr-section {
    padding: 120px 0;
    background-color: #1a1a1a; /* Dark industrial theme */
    color: #ffffff;
}

.csr-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.csr-header {
    text-align: center;
    margin-bottom: 80px;
}

.csr-header .line-accent {
    width: 80px;
    height: 4px;
    background: #FFD700;
    margin: 20px auto 0;
}

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

.csr-card {
    background: #242424; /* Slightly lighter black for depth */
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.csr-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.csr-image {
    position: relative;
    height: 350px;
}

.csr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.4); /* Industrial photo filter */
    transition: 0.5s ease;
}

.csr-card:hover .csr-image img {
    filter: grayscale(0);
}

.csr-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #FFD700;
    color: #1a1a1a;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.csr-info {
    padding: 40px;
}

.csr-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.csr-info p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.csr-caption {
    display: block;
    font-style: italic;
    color: #FFD700;
    font-weight: 600;
    border-left: 2px solid #FFD700;
    padding-left: 15px;
}

/* Responsive Fix */
@media (max-width: 1000px) {
    .csr-grid { grid-template-columns: 1fr; }
    .csr-container { padding: 0 20px; }
}