/* --- Variables & Core Styles --- */
:root {
    --primary-red: #B22222;
    --crimson: #8B0000;
    --dark: #121212;
    --white: #FFFFFF;
    --light-gray: #f9f9f9;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Almarai', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.lang-en { font-family: 'Montserrat', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Header --- */
.main-header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

.main-logo { height: 50px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 30px; }

.nav-links a { 
    text-decoration: none; color: var(--dark); 
    font-weight: 700; transition: 0.3s;
}

.nav-links a:hover { color: var(--primary-red); }

.btn-lang {
    background: var(--dark); color: var(--white);
    border: none; padding: 8px 16px; cursor: pointer;
    font-weight: bold; border-radius: 4px;
}

/* --- Hero Section --- */
.hero-section {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* REPLACE 'hero-weaving.jpg' WITH YOUR MAIN [HERO_MAIN_SHOT] */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./source/background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; }

.btn-primary {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-primary:hover { background: var(--crimson); transform: translateY(-3px); }

/* --- About Us --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.responsive-img { width: 100%; height: auto; display: block; }

.shadow { box-shadow: var(--shadow); border-radius: 8px; }

.section-title { font-size: 2.2rem; margin-bottom: 25px; position: relative; }

.section-title::after {
    content: ''; display: block; width: 50px; height: 5px;
    background: var(--primary-red); margin-top: 10px;
}

/* --- Process --- */
.process-section { background: var(--light-gray); padding: 100px 0; }

.process-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 30px; margin-top: 50px; 
}

.process-card { text-align: center; background: white; padding: 30px; border-radius: 8px; transition: 0.3s; }
.process-card:hover { transform: translateY(-10px); }

.process-img {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; border: 4px solid var(--primary-red); margin-bottom: 20px;
}

/* --- Mosaic Grid --- */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }

.mosaic-item.large { grid-column: span 2; grid-row: span 2; }

/* Factory Video Section Styling */
.factory-video-section {
    background-color: var(--dark); /* Dark industrial background */
    padding: 100px 0;
    color: var(--white);
}

.video-card {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    border: 8px solid rgba(178, 34, 34, 0.2); /* Subtle Red Border */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.main-factory-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-overlay-text {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    text-align: center;
    border-top: 2px solid var(--primary-red);
}

.video-overlay-text p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Ensure the title is white for this dark section */
.white {
    color: var(--white) !important;
}

.white::after {
    background: var(--primary-red);
}
/* --- Contact & Map --- */
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 15px;
    border: 1px solid #ddd; font-family: inherit;
}

.map-container { height: 450px; background: #eee; }

/* --- Footer --- */
.main-footer { background: #000; color: white; padding: 60px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { height: 40px; margin-bottom: 10px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Add JS toggle for burger */
    .mosaic-grid { grid-template-columns: 1fr 1fr; }
}