/* General Styles */
:root {
    --accent-color: #8F0506;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --text-color: var(--white);
    --bg-color: var(--dark-gray);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 25%;
}

.section-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: var(--white);
    padding-bottom: 100px;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

header.sticky {
    position: fixed;
    background: var(--dark-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

header.sticky .logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: all 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Stats Section */
.stats {
    background-color: transparent;
    color: var(--dark-gray);
    padding: 0;
    position: relative;
    margin-top: -100px;
    margin-bottom: -50px;
    z-index: 5;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-item .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
}

/* About Section */
.about {
    background-color: var(--dark-gray);
    color: var(--white);
    padding-top: 130px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text ul {
    margin-bottom: 20px;
}

.about-text ul li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    right: 0;
    top: 5px;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Partners Section */
.partners {
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 60px 0;
}

.partners-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.partner {
    width: 18%;
    padding: 20px;
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partner img {
    max-height: 80px;
    width: 100%;
    object-fit: contain;
}

/* Factories Section */
.factories {
    background-color: var(--dark-gray);
}

.factories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.factory-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.factory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.factory-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.factory-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.factory-content .more {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.factory-content .more::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.factory-content .more:hover::after {
    left: 5px;
}

/* Achievements Section */
.achievements {
    background-color: var(--white);
    color: var(--dark-gray);
}

.achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.achievements-text h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.achievements-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.achievements-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.achievements-text ul li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.achievements-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    right: 0;
    top: 5px;
}

.achievements-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Products Section */
.products {
    background-color: var(--dark-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.product-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.product-card h4 {
    font-size: 1.2rem;
    color: var(--white);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
    color: var(--dark-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background-color: var(--dark-gray);
}

.contact-info {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 0 30px;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-left: 15px;
}

.contact-item p {
    font-size: 1.2rem;
    color: var(--white);
}

.newsletter {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.newsletter form {
    display: flex;
    position: relative;
}

.newsletter input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
}

.newsletter button {
    position: absolute;
    left: 5px;
    top: 5px;
    padding: 10px 25px;
    border-radius: 30px;
}

/* Footer */
footer {
    background-color: #222;
    padding: 50px 0 20px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 70px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links ul {
    display: flex;
    justify-content: center;
}

.footer-links ul li {
    margin: 0 15px;
}

.footer-links ul li a {
    font-size: 1.1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-social a i {
    color: var(--white);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats {
        margin-top: -80px;
        margin-bottom: -40px;
    }
    
    .about {
        padding-top: 120px;
    }
    
    .about-content,
    .achievements-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image,
    .achievements-image {
        order: -1;
    }
    
    .factories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner {
        width: 30%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .stats {
        margin-top: -60px;
        margin-bottom: -30px;
    }
    
    .about {
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-gray);
        z-index: 100;
        transition: all 0.3s ease;
        padding-top: 80px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 101;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        margin: 15px 0;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter button {
        position: static;
        margin-top: 15px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .stats .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats {
        margin-top: -40px;
        margin-bottom: -20px;
    }
    
    .about {
        padding-top: 80px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .partner {
        width: 45%;
    }
    
    .footer-links ul {
        flex-wrap: wrap;
    }
    
    .footer-links ul li {
        margin: 10px 15px;
    }
} 