/* Bendri nustatymai */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Kalbų perjungiklis */
.lang-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
}

.lang-dropdown {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-trigger:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
}

.lang-trigger .fa-globe {
    font-size: 1.1rem;
}

.lang-trigger .fa-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.lang-dropdown.open .lang-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown.open .lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: #f0f0f0;
}

.lang-option.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
}

.lang-option.active:hover {
    background: linear-gradient(135deg, #5a6fd6, #6a4190);
}

/* Antraštė */
header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Pagrindinis turinys */
main {
    flex: 1;
}

/* Projektų sekcija */
.projects {
    margin-bottom: 4rem;
}

.projects h2 {
    text-align: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-color: #667eea;
}

.project-card.placeholder {
    opacity: 0.7;
    cursor: not-allowed;
}

.project-card.placeholder:hover {
    transform: none;
    border-color: transparent;
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.project-arrow {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.project-card:hover .project-arrow {
    transform: translateX(5px);
}

/* Donacijų sekcija */
.donations {
    text-align: center;
    padding: 3rem 0;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.donations h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.donation-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.donation-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.donation-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
}

.donation-btn i {
    font-size: 1.2rem;
}

.donation-btn.paypal {
    background: linear-gradient(135deg, #0070ba, #00457c);
}

.donation-btn.boosty {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.donation-btn.kofi {
    background: linear-gradient(135deg, #ff5722, #d84315);
}

.donation-btn.patreon {
    background: linear-gradient(135deg, #ff424d, #f96854);
}

.donation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Poraštė */
footer {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: auto;
}

/* Responsyvus dizainas */
@media (max-width: 768px) {
    .lang-wrapper {
        top: 15px;
        right: 15px;
    }
    
    .lang-trigger {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .lang-current {
        display: inline;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .donation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .donation-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .donations h2 {
        font-size: 1.8rem;
    }
    
    .donation-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .lang-wrapper {
        top: 10px;
        right: 10px;
    }
    
    .lang-list {
        min-width: 140px;
    }
    
    header {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .projects h2 {
        font-size: 1.8rem;
    }
    
    .donations {
        padding: 2rem 1rem;
    }
    
    .donations h2 {
        font-size: 1.6rem;
    }
}