@import url('https://fonts.googleapis.com/earlyaccess/droidarabickufi.css');

/* Main Variables */
:root {
    --primary-color: #007bff;
    /* Blue */
    --secondary-color: #f8f9fa;
    /* Light White/Grey */
    --text-color: #333;
    --light-text: #fff;
    --dark-blue: #0056b3;
}

body {
    font-family: 'Droid Arabic Kufi', sans-serif;
    background-color: #fff;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header & Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.site-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
    /* Prevent shrinking */
    display: block;
    /* Remove inline spacing */
    background-color: #fff;
    /* Ensure transparent logos look good */
}

.nav-link {
    color: #555 !important;
    font-weight: 600;
    /* Bolder */
    margin-left: 20px;
    font-size: 1.3rem;
    /* Bigger font */
    transition: color 0.3s;
}

.navbar-brand {
    /* Existing properties... */
    margin-left: 50px;
    /* Spacing from logo */
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Slider Section */
.carousel {
    margin: 20px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-item {
    height: 70vh;
    background-color: #000;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
    transform-origin: center;
    transition: transform 10s ease;
}

.carousel-item.active img {
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.carousel-caption {
    bottom: 40%;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.carousel-caption h5 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.product-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    overflow: hidden;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    height: 250px;
    object-fit: cover;
}

.product-card .card-body {
    text-align: center;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: white;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-left: 10px;
}

/* Footer */
footer {
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
        margin-left: 0;
        /* Reset margin on mobile */
    }

    .site-logo {
        width: 60px;
        height: 60px;
    }

    .nav-link {
        margin-left: 0;
        text-align: center;
        padding: 10px 0;
    }

    .carousel {
        border-radius: 20px;
        /* Less curve on mobile */
        margin: 10px;
    }

    .carousel-item {
        height: 50vh;
        /* Smaller height on mobile */
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}