:root {
    /* --bg-color: #121212; */
    --bg-color: black;
    --text-color: #e0e0e0;
    --accent-color: #1e78df;
    --secondary-color: #03dac6;
    --font-main: 'Roboto', sans-serif;
    --spacing-unit: 1rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Navigation */
.site-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100;
}

.site-nav a {
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 1.5rem;
}

/* Utilities */
.hidden {
    display: none;
}

/* Homepage Layout */
.home-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.profile-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    /* Slightly lighter than bg for contrast */
    padding: 2rem;
}

.content-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.profile-content {
    text-align: center;
}

.avatar-container {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.2);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.content-wrapper {
    max-width: 600px;
}

.content-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    /* Solid color */
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.bio p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
    }

    .profile-section,
    .content-section {
        flex: none;
        padding: 3rem 1.5rem;
    }

    .profile-section {
        background-color: transparent;
        /* Remove bg on mobile for cleaner stack */
    }

    .avatar-container {
        width: 180px;
        height: 180px;
    }

    .content-wrapper h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .bio {
        text-align: center;
    }
}

/* Photos Page */
.photos-container {
    padding-top: 6rem;
    /* Space for fixed nav */
    padding-bottom: 4rem;
    max-width: 95vw;
}

.photos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.photos-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.photos-description {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.gallery {
    column-count: 5;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    /* Stronger zoom */
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 1600px) {
    .gallery {
        column-count: 4;
    }
}

@media (max-width: 1200px) {
    .gallery {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery {
        column-count: 1;
    }

    .photos-header h1 {
        font-size: 2.5rem;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s ease;
    z-index: 1001;
}

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

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}