:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --text-light: #555555;
    --accent: #E5A3B3; /* For gradient */
    --font-mono: 'Courier Prime', monospace;
    --font-logo: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-mono);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    padding: 40px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    text-decoration: none;
    font-family: var(--font-logo);
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
    /* Creating a subtle gradient similar to screenshot */
    background: linear-gradient(135deg, #7C8EA2 0%, #E6ACB7 50%, #90A0D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lightning {
    font-size: 1.5rem;
    position: absolute;
    bottom: -5px;
    right: -25px;
    -webkit-text-fill-color: #4A90E2; /* Blue lightning bolt */
    transform: rotate(15deg);
}

.bio {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 15px;
}

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

.nav-menu a:hover, .nav-menu a.active {
    color: #4A90E2;
}

.social-links {
    margin-top: auto;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #000;
}

.dashboard-link {
    font-size: 0.75rem;
    color: #999;
    text-decoration: none;
    margin-top: 10px;
}

.dashboard-link:hover {
    text-decoration: underline;
}

/* Gallery Styles */
.gallery {
    margin-left: 300px;
    padding: 40px 40px 40px 0;
    width: calc(100% - 300px);
    
    /* Masonry Layout */
    columns: 3 300px;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
    background-color: #f4f4f4; /* Placeholder color before load */
}

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

.item-title {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.loading {
    margin-top: 50px;
    font-size: 1.2rem;
    color: #777;
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery {
        columns: 2 250px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .gallery {
        margin-left: 0;
        width: 100%;
        padding: 20px;
        columns: 1 100%;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .bio {
        margin-bottom: 20px;
    }
    
    .social-links {
        margin-top: 30px;
    }
}
