/* ============================================
   مذاق الارض العالية - تصميم احترافي
   الألوان: أخضر (#2d5016, #4a7c2a) وأسود (#000000, #1a1a1a)
   ============================================ */

/* Google Fonts - Cairo */
* {
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2a;
    --light-green: #6b9f3d;
    --dark-black: #000000;
    --dark-gray: #1a1a1a;
    --text-gray: #333333;
    --white: #ffffff;
}

body {
    padding-top: 76px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   Navigation & Logo
   ============================================ */
.navbar {
    background-color: var(--dark-black) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-ma {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    font-size: 2rem;
    font-weight: 900;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
    transition: transform 0.3s ease;
}

.logo-ma:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-green);
    color: var(--white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-green);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    margin-top: -76px;
    position: relative;
}

.hero-slider .carousel-item {
    height: 600px;
    position: relative;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.hero-slider .carousel-caption h1 {
    color: var(--white);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-slider .carousel-caption .lead {
    color: var(--white);
    font-size: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--secondary-green);
}

.hero-slider .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--white);
    opacity: 0.5;
    margin: 0 5px;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--primary-green);
    opacity: 1;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    color: var(--primary-green);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    margin: 0 auto 30px;
    border-radius: 5px;
}

/* ============================================
   About Section
   ============================================ */
#about {
    background-color: #f8f9fa;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-top: 5px solid var(--primary-green);
}

.about-card h3 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.9;
}

.info-box {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid var(--secondary-green);
}

.info-box p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.info-box i {
    color: var(--primary-green);
    margin-left: 10px;
    width: 20px;
}

/* Vision, Mission, Goals */
.vision-mission-card {
    height: 100%;
}

.vm-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--secondary-green);
    transition: transform 0.3s ease;
}

.vm-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vm-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.vm-item h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.vm-item p {
    color: var(--text-gray);
    line-height: 1.9;
}

.vm-item ul {
    list-style: none;
    padding: 0;
}

.vm-item ul li {
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    color: var(--text-gray);
    line-height: 1.8;
}

.vm-item ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary-green);
}

/* ============================================
   Services Section
   ============================================ */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 5px solid var(--primary-green);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
    border-top-color: var(--secondary-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    color: var(--white);
    font-size: 2rem;
}

.service-card h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   Products Section
   ============================================ */
.product-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 5px solid var(--secondary-green);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(-5deg);
}

.product-icon i {
    color: var(--white);
    font-size: 2rem;
}

.product-card h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
#contact {
    background: linear-gradient(135deg, var(--dark-black), var(--dark-gray));
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--secondary-green);
    padding-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(45, 80, 22, 0.3);
    transform: translateX(-5px);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-item strong {
    color: var(--secondary-green);
    display: block;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item span {
    color: var(--white);
    text-decoration: none;
    display: block;
}

.contact-item a:hover {
    color: var(--secondary-green);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--secondary-green);
    padding-bottom: 15px;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-green);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 42, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border: none;
    padding: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 124, 42, 0.4);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: var(--dark-black) !important;
    border-top: 3px solid var(--primary-green);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-ma {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    font-size: 1.2rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 400px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .about-card,
    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .logo-ma {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .hero-slider .carousel-item {
        height: 300px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 1rem;
    }
}

/* ============================================
   Smooth Scroll
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.product-card,
.vm-item {
    animation: fadeInUp 0.6s ease-out;
}

