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

body {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    padding-top: 60px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #171616;
    z-index: 1000;
}

.navbar .logo {
    color: #00d9ff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d9ff;
}

.gallery-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.gallery-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #00d9ff;
    font-family: 'Playfair Display', serif;
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.photo-item.tall {
    grid-row: span 2;
}

.photo-item.wide {
    grid-column: span 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.photo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-title {
    opacity: 1;
}

footer {
    background-color: #171616;
    color: white;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-content p {
    color: #888;
    font-size: 14px;
}

@media (max-width: 768px) {
    .gallery-wrapper {
        padding: 2rem 1rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .creative-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-item.wide,
    .photo-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}
