/* Reset أساسي */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0077cc, #00bfff); 
    margin: 0;
    padding: 0;
}

*/ 
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    padding: 0;

    /* الخلفية */
    background: url('../assets/images/background.svg') no-repeat center center fixed;
    background-size: cover;

    
    
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.55)
    );
    backdrop-filter: blur(6px);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}



.about {
    padding: 60px 0;
    background-color: rgba(0,0,0,0.55);
    text-align: center;
}
.about h2,
.services h2,
.contact h2 {
    font-size: 2.4rem;
    margin-bottom: 35px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

.about h2::after,
.services h2::after,
.contact h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #ff6600;
    margin: 15px auto 0;
    border-radius: 2px;
}
.about,
.services,
.contact {
    position: relative;
}

.about::after,
.services::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: rgba(255,255,255,0.15);
}


.about p {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.95;
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ff6600;
}

.lang-selector button {
    background: none;
    border: 1px solid white;
    color: white;
    margin-left: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: 0.3s;
}

.lang-selector button:hover {
    background-color: white;
    color: #0077cc;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* طبقة شفافة لتوضيح النصوص */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    height: 100px;
    margin-bottom: 10px;
}
.logo img {
    height: 80px; 
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);

}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;

}

.btn-primary {
    padding: 12px 30px;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(255,102,0,0.35);

}

.btn-primary:hover {
    background-color: #e65500;
    box-shadow: 0 15px 35px rgba(255,102,0,0.55);

}

/* Services Section */
.services {
    padding: 60px 0;
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: rgba(255,255,255,0.9);
    color: #231dd5;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
}


.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact {
    padding: 60px 0;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

.contact-form button {
    cursor: pointer;
}

/* Footer */
footer {
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 15px 0;
    text-align: center;
}



/* ===== NAV MENU ===== */

.nav {
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Desktop menu */
.nav-list {
    list-style: none;
    display: flex;
    gap: 22px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6600;
    transition: 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        z-index: 2001;
    }

    .nav {
        position: relative;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 70px;
        right: 15px;
        width: calc(100% - 30px);
        max-width: 320px;
        background: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        padding: 25px;
        border-radius: 15px;
        gap: 20px;
        display: none;
        z-index: 2000;
        box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    }

    .nav-list.show {
        display: flex;
        animation: slideDown 0.35s ease;
    }

    .nav-list a {
        font-size: 1.2rem;
        text-align: center;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact-text {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6600;
    transform: translateY(-5px);
}
.contact-direct {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.15);
    transition: 0.3s;
}

.contact-link i {
    font-size: 1.1rem;
}

.contact-link.whatsapp:hover {
    background: #25D366;
    color: #000;
}

.contact-link.location:hover {
    background: #ff6600;
}

