/* Color Variables based on Logo */
:root {
    --primary-red: #C41E3A;
    --primary-orange: #FF8C00;
    --dark-red: #8B1538;
    --light-orange: #FFA500;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 80px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-red) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-orange) !important;
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-name {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.navbar-nav .nav-link {
    color: var(--primary-red) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.05rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    left: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: scaleX(0);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    right: 0;
    left: 0;
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    border-radius: 2px;
}

.navbar-toggler {
    border: 2px solid var(--primary-red);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(196, 30, 58, 0.25);
}

.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(196, 30, 58, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    height: 100vh;
    background-image: url('cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.85) 0%, rgba(196, 30, 58, 0.75) 100%);
    animation: overlayPulse 8s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.6) 0%, rgba(196, 30, 58, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-title .title-line {
    display: inline-block;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle .subtitle-highlight {
    display: inline-block;
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0.3rem 1rem;
    background: rgba(255, 140, 0, 0.2);
    border-right: 4px solid var(--primary-orange);
    border-radius: 5px;
    animation: highlightPulse 2s ease-in-out infinite;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.hero-description strong {
    color: var(--primary-orange);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 140, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.4);
    }
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
    }
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-fade-in-up.delay-2 {
    animation-delay: 0.4s;
}

.animate-fade-in-up.delay-3 {
    animation-delay: 0.6s;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--light-bg);
}

.about-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Vision, Mission, Goals Section */
.vmgo-section {
    background: var(--white);
}

.vmgo-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.vmgo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
    border-top-color: var(--primary-orange);
}

.vmgo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.vmgo-icon i {
    font-size: 2rem;
    color: var(--white);
}

.vmgo-title {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.vmgo-text {
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: var(--light-bg);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(196, 30, 58, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0) 0%, rgba(255, 140, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item .gallery-overlay i {
    color: var(--primary-orange);
    font-size: 1.5rem;
}

/* Features Section */
.features-section {
    background: var(--light-bg);
}

.feature-box {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    margin-top: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    background: var(--light-bg);
}

.filter-buttons {
    margin-bottom: 2rem;
}

.btn-filter {
    margin: 5px;
    padding: 10px 25px;
    border: 2px solid var(--primary-red);
    background: var(--white);
    color: var(--primary-red);
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-info-card,
.contact-form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h5 {
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-details a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-orange);
}

.contact-form-card .form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(196, 30, 58, 0.25);
}

/* Map Section */
.map-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 10px;
}

.map-link {
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    color: var(--white);
    margin-top: 3rem;
}

.footer h5 {
    color: var(--primary-orange);
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.copyright {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-subtitle .subtitle-highlight {
        font-size: 1.3rem;
        padding: 0.2rem 0.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px 25px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-filter {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .hero-text-wrapper {
        text-align: center;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

