:root {
    /* Color Palette - NO PURPLE allowed */
    --primary-slate: #0F172A;
    --secondary-slate: #1E293B;
    --accent-amber: #D97706;
    --accent-amber-hover: #B45309;
    --accent-amber-light: #FDE68A;
    --success-emerald: #059669;
    
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    
    --text-main: #334155;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    
    --border-color: #E2E8F0;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* Typography for AR (RTL) */
html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}
html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-badge {
    font-family: 'Cairo', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-slate);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-slate);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.py-large {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-slate {
    background-color: var(--primary-slate);
    color: var(--text-light);
}

.bg-slate h2, .bg-slate p, .bg-slate span {
    color: var(--text-light);
}

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

.mb-4 {
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--accent-amber);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-amber-hover);
    color: var(--bg-white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-slate);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-slate);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    color: var(--accent-amber);
    margin-right: 6px;
}
html[dir="rtl"] .top-bar i { margin-right: 0; margin-left: 6px; }

.contact-quick {
    display: flex;
    gap: 20px;
}

.contact-quick a {
    color: var(--text-light);
}

.contact-quick a:hover {
    color: var(--accent-amber);
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background-color: var(--primary-slate);
    color: var(--accent-amber);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-amber);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    background-color: var(--primary-slate);
    color: var(--bg-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/wood/Plneer_Blogs_Plywood_vs_MDF_vs_Particle_Board.webp'); /* Placeholder */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%);
    z-index: 2;
}
html[dir="rtl"] .hero-overlay {
    background: linear-gradient(-90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%);
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    color: var(--text-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.hero-badge i {
    color: var(--accent-amber);
}

.hero h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}

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

.stat-number {
    font-size: 2rem;
    color: var(--accent-amber);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Typography utilities */
.section-tag {
    color: var(--accent-amber);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-slate);
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-list i {
    color: var(--success-emerald);
    font-size: 1.2rem;
}

.about-image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
}
html[dir="rtl"] .experience-badge {
    right: auto;
    left: 24px;
}

.experience-badge strong {
    font-size: 1.5rem;
    color: var(--primary-slate);
    font-family: 'Outfit', sans-serif;
}

.experience-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Products Section */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-slate);
    color: var(--primary-slate);
}

.tab-btn.active {
    background: var(--primary-slate);
    color: var(--bg-white);
    border-color: var(--primary-slate);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background: var(--bg-white);
    transition: var(--transition);
    aspect-ratio: 1;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
}

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

/* Logistics Section */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.logistics-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.logistics-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-amber);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary-slate);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.logistics-card h3 {
    margin-bottom: 12px;
}

.logistics-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Compliance Section */
.compliance-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px;
}

.compliance-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.compliance-header i {
    font-size: 3rem;
    color: var(--success-emerald);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #94A3B8;
    font-size: 0.95rem;
}

.detail-value {
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
}

.detail-value.highlight {
    color: var(--accent-amber);
    font-weight: 700;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.cm-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    color: var(--primary-slate);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cm-icon.whatsapp-color {
    background: #DCF8C6;
    color: #128C7E;
}

.cm-text strong {
    display: block;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.cm-text p, .cm-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-slate);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

html[dir="rtl"] .form-group input, 
html[dir="rtl"] .form-group select, 
html[dir="rtl"] .form-group textarea {
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-amber);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-slate);
    color: var(--text-muted);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

html[dir="rtl"] .close-lightbox {
    right: auto;
    left: 35px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .hero-stats {
        flex-direction: row;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .logistics-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero {
        height: auto;
        padding: 140px 0 60px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 4px 0;
    }
    .contact-quick {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .header-actions .btn-primary {
        display: none;
    }
    .logo-text span {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-stats {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .compliance-box {
        padding: 24px;
    }
    .compliance-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    html[dir="rtl"] .detail-row {
        align-items: flex-start;
    }
    .contact-form-card {
        padding: 24px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
