/* Custom Colors */
:root {
    --primary-red: #dc3545;
    --primary-red-dark: #c82333;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    direction: rtl;
}

/* Navbar Styles */
.custom-navbar {
    background-color: var(--primary-red) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
}

.brand-text {
    color: var(--text-white) !important;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    padding: 8px 15px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-white) !important;
}

.navbar-toggler {
    border-color: var(--text-white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    margin-top: -76px;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    bottom: 30%;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Section Titles */
.section-title {
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* About Cards */
.about-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.vision-card,
.mission-card,
.goals-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.vision-card:hover,
.mission-card:hover,
.goals-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vision-card .card-body,
.mission-card .card-body,
.goals-card .card-body {
    padding: 30px;
}

.vision-card i,
.mission-card i,
.goals-card i {
    color: var(--primary-red) !important;
}

/* Product Cards */
.product-category-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-category-card img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-category-card .card-body {
    padding: 20px;
}

.product-category-card h4 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* Contact Cards */
.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-card h4 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.contact-card p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-card i {
    color: var(--primary-red);
    width: 25px;
}

.contact-card a {
    color: var(--primary-red);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline !important;
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 10px;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: var(--text-white);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.social-link i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link[href*="facebook"]:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    border-color: #1877f2;
}

.social-link[href*="tel"]:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: #25d366;
}

.social-link[href*="maps"]:hover,
.social-link[href*="goo.gl"]:hover {
    background: linear-gradient(135deg, #ea4335, #fbbc04);
    border-color: #ea4335;
}

/* Responsive for social links */
@media (max-width: 768px) {
    .social-link {
        width: 45px;
        height: 45px;
        margin: 0 5px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
}

/* Products Page */
.products-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--text-white);
}

.category-title {
    color: var(--primary-red);
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-red);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item img {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 20%;
        padding: 20px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.vision-card,
.mission-card,
.goals-card,
.product-category-card,
.contact-card {
    animation: fadeIn 0.6s ease-out;
}

