﻿/* ===== GENERAL ===== */
body {
    font-family: "Cairo", sans-serif;
    background-color: #e6f0fa;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: transparent;
    transition: background-color 0.5s, padding 0.4s;
    padding: 15px 0;
}

    .navbar.scrolled {
        background-color: #00264d; /* الأزرق الداكن عند التمرير */
        padding: 10px 0;
    }

.navbar-brand {
    color: #ffdd57 !important;
    font-size: 1.5rem;
    font-weight: bold;
}

    .navbar-brand i {
        margin-right: 8px;
        color: inherit;
    }

.nav-link {
    color: #ffe9a6 !important;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
}

    .nav-link i {
        margin-left: 5px;
        color: inherit;
    }

    .nav-link:hover {
        color: #ffffff !important; /* لون فاتح عند hover */
    }

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom right, rgba(0,80,158,0.7), rgba(255,193,7,0.4)), url('../img/impotr1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

    .hero h1, .hero h3 {
        margin: 0;
        text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    }

/* ===== SECTIONS ===== */
section {
    padding: 60px 0;
}

h2 {
    color: #003366;
    margin-bottom: 40px;
    text-align: center;
}

/* ===== BOXES / PRODUCTS / SERVICES ===== */
.box, .product-box, .service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid #d0e4ff;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 80, 158, 0.1);
}

.product-box {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
}

    .product-box h5, .service-card h5 {
        color: #003366;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .product-box p, .service-card p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* ===== HOVER EFFECTS ===== */
    .box:hover, .product-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(0, 80, 158, 0.2);
        background: linear-gradient(135deg, #ffeb99, #fff7cc); /* تدرج فاتح جذاب */
        color: #003366;
    }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 80, 158, 0.2);
    background: linear-gradient(135deg, #ffc107, #fff3cd); /* أصفر ساطع */
    color: #003366;
}

.service-card i {
    transition: color 0.3s;
}

.service-card:hover i {
    color: #00264d; /* أزرق داكن واضح */
}

/* ===== CONTACT FORM ===== */
#contact .card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#contactForm .form-control {
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #003366;
    transition: all 0.4s ease;
}

    .btn-primary:hover {
        background-color: #ffcc33; /* أصفر ساطع */
        border-color: #ffcc33;
        color: #003366;
        transform: scale(1.05);
    }

/* ===== MAP ===== */
#map iframe {
    border-radius: 12px;
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(135deg, #003366, #00264d);
    color: #fff;
    text-align: center;
    padding: 25px 10px;
    font-size: 15px;
}

    .main-footer a {
        color: #ffd700;
        text-decoration: none;
        transition: color 0.3s;
    }

        .main-footer a:hover {
            color: #fff;
        }

.footer-contact {
    margin-bottom: 15px;
}

    .footer-contact p {
        margin: 5px 0;
    }

.footer-social {
    margin: 15px 0;
}

    .footer-social a {
        font-size: 22px;
        margin: 0 8px;
        display: inline-block;
    }

.footer-copy {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* ===== QUALITY SECTION ===== */
#quality img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    #quality img:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

/* ===== SCROLL DOWN ICON ===== */
.scroll-down i {
    font-size: 32px;
    color: #fff;
    animation: bounce 1.8s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h3 {
        font-size: 1.4rem;
    }

    .product-box, .service-card {
        padding: 20px;
    }
}

@media (min-width: 600px) {
    .footer-contact {
        display: flex;
        justify-content: center;
        gap: 30px;
    }
}



/* ===== FOOTER ENHANCED STYLE ===== */
.main-footer {
    background: linear-gradient(135deg, #00264d, #003366);
    color: #fff;
    text-align: center;
    padding: 40px 10px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

    /* خط علوي ذهبي للمسة فخامة */
    .main-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 3px;
        width: 80%;
        background: #ffd700;
        border-radius: 50px;
    }

    /* الروابط */
    .main-footer a {
        color: #ffd700;
        text-decoration: none;
        transition: color 0.3s, transform 0.3s;
    }

        .main-footer a:hover {
            color: #ffffff;
            transform: scale(1.1);
        }

/* الأيقونات */
.footer-social a {
    font-size: 25px;
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s, color 0.3s;
}

    /* تأثير hover للأيقونات */
    .footer-social a:hover {
        transform: translateY(-4px) scale(1.15);
        color: #ffd700 !important;
    }

/* نص الحقوق */
.footer-copy {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 15px;
}

/* نص المطور */
.footer-dev {
    font-size: 14px;
    opacity: 0.85;
    transition: opacity 0.3s;
}

    .footer-dev:hover {
        opacity: 1;
    }


