* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.Head-gallery {
    background-color: #ed8522;
    border-radius: 8px;
}

.Head-gallery h1 {
    text-align: center;
    padding: 20px 0px 0px 0px;
    margin-bottom: 30px;
    font-family: "Lora", serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 600;
    color: white;
    border-radius: 8px;
    margin: 0px;
}

.Head-gallery p {
    text-align: center;
    padding: 20px 0px 20px 0px;
    margin-bottom: 30px;
    font-size: 20px;
    font-family: "Catamaran", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    color: #ffffff;
    margin: 0px;
}


main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Album Section Styles */
.albums-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 30px;
    font-family: "Catamaran", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    color: #281483;
    margin: 30px 0px 20px 0px;
    padding: 0px 0px 15px 0px;
    border-bottom: 3px solid #281483;
}

.albums-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.album {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: white;
}

.album:hover {
    transform: translateY(-5px);
}

.album-cover {
    height: 400px;
    background-color: #ddd;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.album-title h2 {
    font-size: 22px;
    font-family: "Catamaran", sans-serif;
    text-transform: capitalize;
    font-weight: 500;
    color: #281483;
    text-align: center;
    margin: 10px 0px;
}

.album-title p {
    font-size: 15px;
    font-family: "Catamaran", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

/* Photos Section Styles */
.photos-section {
    display: none;
    margin-top: 30px;
}

.back-to-albums {
    font-size: 15px;
    font-family: "Catamaran", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(351deg, rgb(196, 229, 242) 0%, #5a3c22 47%, rgb(232, 128, 36) 100%);
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-item {
    height: 180px;
    border-radius: 4px;
    border: 1px solid #281483;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

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

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.lightbox-controls {
    position: absolute;
    bottom: -60px;
    display: flex;
    gap: 20px;
}

.control-btn {
    background-color: white;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

/* Hide the photo containers initially */
.album-photos {
    /* display: none; */
    margin: 30px 0px 40px 0px;
}

@media screen and (max-width:1300px) {
    main {
        margin: 20px 20px
    }
}

@media screen and (max-width:992px) {
    .album {
        margin-top: 25px;
    }

}