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

:root {
    --bg-dark: #072e19;
    --bg-card: #0c4f2c;
    --text-primary: #8ad457;
    --text-secondary: #8ad457;
    --accent: #ead87b;
    --accent-hover: #e6b82e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', system-ui, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 79, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.site-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

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

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent);
}

.lang-switch {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.lang-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    transition: color 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--accent);
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

section {
    margin-bottom: 6rem;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 2250px;
    margin: 0 auto;
}

.gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #072e19;
    text-decoration: none;
    min-height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(7, 46, 25, 0.95) 0%, rgba(7, 46, 25, 0.7) 50%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.about-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1000px;
}

.about-image {
    flex-shrink: 0;
    width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.about-content {
    flex: 1;
    text-align: left;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: left;
}

.about-content .resume-link {
    justify-content: flex-start;
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    justify-content: flex-start;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skills h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skills ul {
    display: block;
    gap: 0;
    list-style: none;
}

.skills li {
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    list-style: disc;
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.skills li strong {
    color: var(--accent);
}

.resume-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.social-btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.contact {
    text-align: center;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.archive-link {
    text-align: center;
    margin-top: 3rem;
}

footer {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    text-align: center;
    margin-top: 1.5rem;
}

.lightbox-caption h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    color: var(--text-secondary);
}

.close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.8rem;
    }
    
    .about {
        padding: 2rem;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
