/* Design & Code © ENG.Muhammad Samy Elbesy - All Rights Reserved */


body {
    margin: 0;
    font-family: 'Cairo', Tahoma, Arial;
    background: #f4f6f5;
    color: #222;
}

.navbar {
    background: var(--green-main);
    padding: 15px 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    transition: 0.3s;
}

.navbar ul li a:hover {
    background: var(--green-light);
    border-radius: 5px;
    color: #111;
}


:root {
    --green-main: #3b4941;
    --green-light: #a8f0c6;
    --gray-bg: #f1f4f2;
    --dark-bg: #0f1f17;
}


.company-name {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
}

.slogan {
    font-size: 20px;
    opacity: 0.9;
}


.hero {
    height: 70vh;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    ),
    url('./images/Afaq.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.company-name {
    font-size: 52px;
    font-weight: 700;
    color: #2ecc71; /* أخضر */
}

.slogan {
    font-size: 22px;
    margin-top: 10px;
    color: #a8f0c6; /* أخضر فاتح */
}



.overlay {
    text-align: center;
    color: white;
}

.btn {
    background: #0d6efd;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

section {
    padding: 90px 10%;
}

.about {
    background: var(--gray-bg);
}

.services {
    background: #ffffff;
}

.gallery:nth-of-type(even) {
    background: var(--gray-bg);
}



.services {
    padding: 80px 10%;
    background: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0d6efd;
}

.service-card p {
    line-height: 1.7;
    font-size: 15px;
}


.service-box {
    background: #eee;
    padding: 20px;
    text-align: center;
}

.gallery {
    background: #fff;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* عدد الصور */
.gallery-grid.six {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid.two {
    grid-template-columns: repeat(2, 1fr);
}


footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 80px 10% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-box h3 {
    color: var(--green-light);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.request {
    background: #fff;
    padding: 60px 10%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.request h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--green-main);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
}

.map-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.map-container iframe {
    width: 100%;
    max-width: 900px;
    height: 450px;
    border: 0;
    border-radius: 10px;
}


button[type="submit"] {
    background: var(--green-main);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background: var(--green-light);
    color: #111;
}


.footer-box p {
    line-height: 1.8;
    font-size: 15px;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}
