/* Path: css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    /* Light gradient background */
    background: linear-gradient(135deg, #fef9c3 0%, #dcfce7 50%, #cffafe 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: #1e293b; /* Dark text color */
}

/* Fixed Background */
.fixed-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}
.fixed-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fixed-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Light overlay */
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(2px);
}

/* --- Bright Glass Panel --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.55); /* White transparent */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8); /* Strong white border */
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    color: #064e3b; /* Dark green text */
}

/* --- Fade Up Animation --- */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Masonry Grid */
.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
}
@media (min-width: 640px) { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }

.break-inside-avoid {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Filter Buttons */
.filter-btn {
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}
.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
.filter-btn.active {
    background-color: #059669; /* Strong green */
    color: white;
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Lightbox */
#lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(255,255,255,0.9); /* Light background */
    backdrop-filter: blur(15px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
#lightbox.active { opacity: 1; visibility: visible; }
#lightbox img { 
    max-height: 85vh; max-width: 90vw; 
    border-radius: 12px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f0fdf4; }
::-webkit-scrollbar-thumb { background: #34d399; border-radius: 5px; border: 2px solid #f0fdf4; }