/*
Theme Name: AlMumtaz Jotun Theme
Theme URI: https://almumtaz.ly
Author: Mega Studio Dev Team
Description: Official bilingual theme for AlMumtaz Company (Jotun Libya Partner).
Version: 1.2
*/

:root {
    --brand-blue: #002F6C;
    --brand-red: #D71921;
    --brand-grey: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--white);
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
    margin: 0;
    font-size: 16px;
}

/* --- LANGUAGE LOGIC --- */
/* Arabic (Default) */
body.lang-ar { 
    direction: rtl; 
    font-family: 'Noto Kufi Arabic', sans-serif; 
}

/* English */
body.lang-en { 
    direction: ltr; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
}

/* Toggle Visibility */
body.lang-ar .en-content { display: none !important; }
body.lang-en .ar-content { display: none !important; }

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-lockup { display: flex; align-items: center; gap: 20px; }

.jotun-logo {
    height: 60px;
    padding-inline-end: 25px;
    border-inline-end: 2px solid #eee;
}

.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-name {
    font-size: 1.5rem; font-weight: 800; color: var(--brand-blue);
    line-height: 1.1; text-transform: uppercase;
}
.brand-sub {
    font-size: 0.8rem; color: var(--brand-red); font-weight: 700;
    text-transform: uppercase; margin-top: 5px;
}
.brand-loc {
    font-size: 0.7rem; color: var(--brand-grey); font-weight: 600;
    text-transform: uppercase; border-top: 1px solid #ddd;
    margin-top: 5px; padding-top: 3px; width: 100%;
}

.lang-btn {
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-btn:hover { background: #001f4d; }

/* --- HERO --- */
.hero {
    height: 80vh;
    background-image: linear-gradient(rgba(0, 47, 108, 0.75), rgba(0, 47, 108, 0.6)), url('http://al-mumtaz.ly/wp-content/uploads/2026/01/hero-.webp?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}
.hero-content { max-width: 800px; animation: fadeIn 1s ease-out; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.4rem; opacity: 0.95; line-height: 1.6; }

/* --- SECTIONS --- */
.section { padding: 100px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.bg-light { background-color: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { color: var(--brand-blue); font-size: 2.5rem; margin-bottom: 15px; }
.divider { width: 80px; height: 5px; background: var(--brand-red); margin: 0 auto; border-radius: 2px; }

/* --- ABOUT GRID --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-text p { margin-bottom: 25px; font-size: 1.1rem; color: #555; text-align: justify; }
.about-img img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* --- SOLUTIONS GRID --- */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 35px; }
.card { 
    background: white; border-radius: 12px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s, box-shadow 0.3s; 
    border-bottom: 5px solid var(--brand-blue); 
    height: 100%;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 47, 108, 0.15); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.card-body { padding: 30px; }
.card-body h3 { color: var(--brand-blue); margin-bottom: 15px; font-size: 1.3rem; }
.card-body p { font-size: 1rem; color: #666; line-height: 1.6; }

/* --- MARKET PILLS --- */
.market-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 50px; }
.market-pill { 
    background: white; color: var(--brand-blue); 
    padding: 18px 35px; border-radius: 50px; 
    font-weight: bold; border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.market-pill:hover { background: var(--brand-blue); color: white; transform: translateY(-2px); }

/* --- FOOTER --- */
footer { background-color: var(--brand-blue); color: white; padding: 80px 5% 40px 5%; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto; }
.footer-col h3 { 
    border-bottom: 3px solid var(--brand-red); 
    padding-bottom: 10px; display: inline-block; 
    margin-bottom: 30px; font-size: 1.4rem;
}
.contact-item { margin-bottom: 20px; display: flex; gap: 15px; align-items: flex-start; opacity: 0.9; font-size: 1.05rem;}
.copyright { text-align: center; margin-top: 60px; opacity: 0.6; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 20px; }
    .about-grid { grid-template-columns: 1fr; }
    .logo-lockup { width: 100%; justify-content: center; flex-direction: column; text-align: center; }
    .jotun-logo { border-right: none; border-bottom: 2px solid #eee; padding-right: 0; padding-bottom: 10px; width: 150px; height: auto;}
    .hero h1 { font-size: 2.2rem; }
    .brand-loc { display: none; } /* Hide detailed address in mobile header to save space */
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
