:root {
    --primary-color: #c0392b;
    /* Deep Red/Brick color suitable for construction */
    --secondary-color: #2c3e50;
    /* Dark Blue/Grey */
    --accent-color: #f1c40f;
    /* Yellow/Gold for highlights */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    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(--white);
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a93226;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #34495e;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list a {
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('origine-images/hero.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    /* To account for fixed header */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .btn {
    margin: 0 10px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.legal-info {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border-right: 4px solid var(--primary-color);
}

.legal-info h4 {
    margin-bottom: 10px;
}

.legal-info ul li {
    margin-bottom: 8px;
}

.about-cards {
    display: grid;
    gap: 20px;
}

.card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.values {
    margin-top: 60px;
}

.values h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.values-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 150px;
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.value-item span {
    font-weight: 600;
}

/* Products Section */
.products {
    background-color: var(--light-bg);
}

.products-grid {
    display: grid;
    gap: 40px;
}

.product-category {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-category h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.product-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.product-images img:hover {
    transform: scale(1.05);
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.address {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.address p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: #eee;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
}

.contact-item a {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    margin-bottom: 10px;
}

.info-item a {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

.developer-info {
    margin-top: 15px;
    font-size: 0.85rem;
}

.developer-info a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.developer-info a:hover {
    color: #ff0000d8;
    font-size: 1.2rem;
}

.dev-logo {
    width: 20px;
    /* حجم الشعار */
    height: 20px;
    opacity: 0;
    /* مخفي افتراضياً */
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
}

.developer-info a:hover .dev-logo {
    opacity: 1;
    /* يظهر عند المرور */
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .about-grid,
    .location-content {
        grid-template-columns: 1fr;
    }
}