:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #bb86fc;
    --card-bg: #1e1e1e;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

header {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #000000, var(--bg-color));
}

h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-family: var(--font-body);
    color: #aaa;
    font-size: 1.1rem;
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Masonry Gallery */
.gallery {
    column-count: 1;
    column-gap: 25px;
    padding: 20px 0;
}

@media (min-width: 600px) { .gallery { column-count: 2; } }
@media (min-width: 900px) { .gallery { column-count: 3; } }
@media (min-width: 1400px) { .gallery { column-count: 4; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 25px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: var(--card-bg);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s, transform 0.5s;
    filter: brightness(0.95);
}

.gallery-item:hover img {
    filter: brightness(1.05);
    transform: scale(1.03);
}

/* Overlay Icon */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.icon {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    border: 1px solid white;
    border-radius: 50%;
    width: 50px; height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.4);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    border-radius: 2px;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s;
}

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

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 20px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    transition: all 0.3s;
    user-select: none;
}

.nav-btn:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

footer {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    margin-top: 40px;
}

.contact-link a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

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