@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

body {
    /* font-family: "Inter", sans-serif; */
    font-family: "Cairo", sans-serif;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(1, 2, 1, 0.9) 0%, rgba(0, 128, 0, 0.2) 100%);
}

.green-accent {
    color: #008000;
}

.bg-green-accent {
    background-color: #008000;
}

.border-green-accent {
    border-color: #008000;
}

.dark-bg {
    background-color: #010201;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.15);
}
/* دعم RTL */
.rtl {
    direction: rtl;
}
/* ألوان مخصصة */
.green-accent {
    color: #4ade80; /* أخضر فاتح */
}
.bg-green-accent {
    background-color: #4ade80;
}
.green-accent {
    color: #008000;
}

.bg-green-accent {
    background-color: #008000;
}

.border-green-accent {
    border-color: #008000;
}

.dark-bg {
    background-color: #010201;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.15);
}

.section-padding {
    padding: 5rem 0;
}

.tab-active {
    background-color: #008000;
    color: white;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card {
    position: relative;
    /* مهم جداً لكي تعمل الـ::before والـ::after */
    overflow: hidden;
}

.product-card::before,
.product-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    transition: all 0.4s ease-in-out;
    z-index: 1;
    /* أعلى من الخلفية لكنه أقل من المحتوى */
}
/*
        Top-left
        corner
        */
.product-card::before {
    top: 0;
    left: 0;
    border-top: 3px solid #32cd32;
    border-left: 3px solid #32cd32;
}
/*
        Bottom-right
        corner
        */
.product-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #32cd32;
    border-right: 3px solid #32cd32;
}
/*
        عند
        التحويم
        */
.product-card:hover::before,
.product-card:hover::after {
    width: 100%;
    height: 100%;
}
/*
        =====================
        IMAGE
        HOVER
        ANIMATION
        =====================
        */
.img-zoom {
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
    display: block;
}
.img-zoom:hover {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.2);
}
/*
        =====================
        MODAL
        STYLES
        =====================
        */
.modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-bg.active {
    display: flex;
}
.modal-content {
    animation: modalFadeIn 0.3s ease-out;
    z-index: 1010;
    /*
        أعلى
        من
        الخلفية
        */
}
.add-to-cart-btn,
.add-to-wishlist-btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
}
/*
        =====================
        ANIMATION
        =====================
        */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-image {
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.star-rating i {
    color: #d1d5db;
}

.star-rating i.active {
    color: #fbbf24;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-button.active {
    border-bottom: 3px solid #10b981;
    color: #10b981;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
