body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background: #fafafa;
    min-height: 100vh;
}

.Head {
    background: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.Head h1 {
    margin: 0 0 15px 0;
}

.Navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.Navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Album Grid Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.album {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.album:hover {
    transform: translateY(-4px);
}

.album img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.album-info {
    padding: 10px;
}

.album-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.album-count {
    font-size: 14px;
    color: #555;
}

/* Image Grid Styles */
.images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1800px;
    margin: 20px auto;
    padding: 0 20px;
}

.image-item {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.image-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.album-header {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
}

.back-button {
    padding: 12px 24px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-item:hover .image-title {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}