/* Variablat e Ngjyrave */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --dark-text: #333333;
    --light-bg: #f1f8e9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader-logo {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    animation: pulseLogo 1s infinite alternate;
}

@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Keyframes Animacionet */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes pulseDonate {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Navigimi */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo-link:hover { transform: scale(1.05); }

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-lang {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-lang:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.btn-donate {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    animation: pulseDonate 2s infinite;
    transition: background 0.3s;
}

.btn-donate:hover {
    background-color: var(--primary-color);
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
}

/* Seksioni Kryesor (Hero) */
.hero-section {
    height: 80vh;
    background: linear-gradient(rgba(20, 60, 25, 0.6), rgba(20, 60, 25, 0.6)), url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    opacity: 0;
    animation: fadeInUp 1s forwards 1.2s; 
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    opacity: 0;
    animation: fadeInUp 1s forwards 1.5s;
}

.hero-content .btn-primary {
    opacity: 0;
    animation: fadeInUp 1s forwards 1.8s;
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: var(--light-bg);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Seksioni i Misionit */
.mission-section {
    padding: 4rem 10%;
    text-align: center;
    background-color: var(--light-bg);
    color: var(--dark-text);
    min-height: 60vh;
}

.mission-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.mission-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

/* Lista e Re Objektivave (Për faqen e Temave) */
.custom-list {
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 2rem auto;
    text-align: left;
}

.custom-list li {
    background: var(--white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid var(--secondary-color);
}

.custom-list li i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 2px;
}

.custom-list li strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: inline-block;
}

.custom-list li span {
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Seksionet për Scroll në Ballinë */
.scroll-section {
    padding: 6rem 10%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    overflow: hidden;
}

.scroll-section:nth-child(even) { flex-direction: row-reverse; }

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }

.content-wrapper {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.content-wrapper h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    color: var(--dark-text);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    max-width: 550px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: float 5s ease-in-out infinite;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-wrapper img:hover {
    animation-play-state: paused;
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.scroll-section:nth-child(even) .image-wrapper img { animation-delay: 2.5s; }

.btn-outline {
    display: inline-block;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before { width: 100%; }
.btn-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Animacionet e Scroll */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-in-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-in-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }

.fade-in-up.visible, 
.fade-in-left.visible, 
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Staggered Timings for List Items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }
.stagger-10 { transition-delay: 1.0s; }
.stagger-11 { transition-delay: 1.1s; }
.stagger-12 { transition-delay: 1.2s; }
.stagger-13 { transition-delay: 1.3s; }
.stagger-14 { transition-delay: 1.4s; }

/* Footer */
.site-footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 3rem 10% 1.5rem 10%;
}

.footer-container {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-actions { margin-right: 20px; }
    .hero-content h1 { font-size: 2.2rem; }
    .content-wrapper h2 { font-size: 2rem; }
    
    .scroll-section, .scroll-section:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 5%;
    }
    .content-wrapper { text-align: center; }
    
    .image-wrapper img { height: 280px; }
    .page-image { height: 240px; }
    
    .custom-list li {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .custom-list li i { margin-bottom: 10px; }
    
    .footer-contact p {
        flex-direction: column;
        gap: 2px;
        margin-bottom: 1.2rem;
    }
}
/* --- SEKSIONI I INSTAGRAMIT (AKTIVITETET) --- */
.instagram-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 300px;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Ngjyrat zyrtare të gradientit të Instagramit */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.5);
    color: var(--white);
}

.placeholder-box {
    border: 2px dashed #cccccc;
    padding: 4rem 2rem;
    border-radius: 10px;
    color: #888888;
    font-size: 1.1rem;
}