* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    text-align: center;
}

.buttons {
    margin: 20px;
}

.buttons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    background: darkorange;
    color: white;
    border-radius: 5px;
    transition: 0.5s;
}

.buttons button:hover {
    color: black;
    transition: 0.5s;
}

.section-header {
    margin: 20px 0;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image:hover img {
    transform: scale(0.9);
}

.hidden {
    display: none;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    max-height: 80%;
    overflow: hidden;
    text-align: center;
}

.popup img {
    width: 100%;
    height: auto;
    display: block;
}

.close, .prev, .next {
    position: absolute;
    background: darkorange;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.close { 
    top: 10px; right: 10px; 
    background: red;
}

.prev { 
    left: 10px; top: 50%; transform: translateY(-50%); 
}

.next { 
    right: 10px; top: 50%; transform: translateY(-50%); 
}