
/* Root Variables */
:root {
    --primary-color: #1C1C1C;
    --secondary-color: #C9A14A;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-radius: 15px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary-color);
    }

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s;
}

    .loading-spinner.hidden {
        opacity: 0;
        pointer-events: none;
    }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

    .whatsapp-float:hover {
        background-color: #128C7E;
        color: white;
        transform: scale(1.1);
    }

    .whatsapp-float i {
        margin-top: 3px;
    }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

/* Navbar */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 5px;
    position: relative;
}

    .nav-link:hover {
        background-color: rgba(28, 28, 28, 0.1);
    }

    .nav-link.active {
        color: var(--secondary-color) !important;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 15px;
            left: 15px;
            height: 2px;
            background-color: var(--secondary-color);
        }

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px;
    animation: fadeInDown 0.3s;
}

.dropdown-item {
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 5px;
    transition: var(--transition);
}

    .dropdown-item:hover {
        background-color: rgba(28, 28, 28, 0.1);
        padding-right: 20px;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 60vh;
    }

    .hero-slider .carousel-caption {
        bottom: 10%;
        padding: 20px;
    }

        .hero-slider .carousel-caption h2 {
            font-size: 1.5rem;
        }

        .hero-slider .carousel-caption p {
            font-size: 0.9rem;
        }

    .stat-number {
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 24px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .back-to-top,
    .navbar-toggler,
    .btn-primary {
        display: none !important;
    }
}
