/* style.css - تصميم احترافي */
:root {
    --primary: #6C63FF;
    --secondary: #2C3E50;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Tahoma', Arial, sans-serif;
    background: #f8f9fa;
}

/* الهيدر */
.navbar {
    background: var(--gradient) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white !important;
}

/* بطاقات الباقات */
.package-card {
    border: none;
    border-radius: 20px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.package-card.border-primary {
    border: 3px solid var(--primary) !important;
    transform: scale(1.05);
}

.price {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: bold;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* بطاقات الصور */
.image-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.image-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-card:hover .image-info {
    opacity: 1;
}

/* الفوتر */
footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

/* إعلانات منبثقة */
.popup-ad {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-ad.active {
    display: flex;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

/* استجابة للشاشات */
@media (max-width: 768px) {
    .package-card.border-primary {
        transform: scale(1);
    }
    .image-card img {
        height: 180px;
    }
}