:root {
    --primary-red: #D32F2F;
    --primary-black: #1A1A1A;
    --primary-white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-dark: #333333;
    --text-color: #333333;
    --transition: all 0.3s ease;
    --header-height: 130px;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-white);
    overflow-x: hidden;
    direction: rtl; /* Force RTL */
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--primary-white);
}

.btn-primary:hover {
    background-color: #b71c1c;
}

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

.btn-secondary:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
}

/* Typography Helpers */
h1, h2, h3, h4 {
    color: var(--primary-black);
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-black);
    line-height: 1.1;
    max-width: 250px;
}

.brand-logo {
    max-height: 110px;
    width: auto;
    display: block;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-red);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    background: url('images/hero.png') -2% center/105% no-repeat;
    display: flex;
    align-items: center;
    color: var(--primary-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--primary-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Grid Helper */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

/* About Section */
.about-text h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 2rem;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: -20px 20px 0px var(--primary-red); /* Shadow on left for RTL */
    margin-inline-end: 20px;
}

/* Products Section */
.product-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: var(--gray-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.map-placeholder {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 80px 0 20px;
}

.footer-col h4 {
    color: var(--primary-white);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-logo {
    max-height: 140px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-name {
    color: var(--primary-white);
    max-width: 300px;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
    padding-inline-start: 5px;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-col p i {
    color: var(--primary-red);
    margin-inline-end: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
}
