* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'AspektaVF';
    src: url('../fonts/AspektaVF-Regular.woff2');
}

body {
    font-family: sans-serif;
    background-color: white;
    color: black;
}



/* wedding images */
.wedding-heading-section {
    text-align: center;
    margin: 0px 6%;
    padding-top: 100px;
    margin-bottom: 50px;
}

.wedding-heading {
    font-size: 36px;
    font-family: 'Lora';
    font-weight: 500;
    padding: 20px;
    color: black;
    border-top: 1px solid rgb(147, 147, 147, 0.4);
    border-bottom: 1px solid rgb(147, 147, 147, 0.4);
}

.gallery-section {
    width: 88%;
    margin: 0px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0px;
    transition: transform 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 0px;
}

.close-btn,
.prev-btn,
.next-btn {
    position: absolute;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.close-btn {
    top: 20px;
    right: 35px;
}

.prev-btn,
.next-btn {
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    padding: 10px;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.prev-btn:hover,
.next-btn:hover,
.close-btn:hover {
    color: #ccc;
}

@media only screen and (max-width: 750px) {

    .close-btn {
        top: 120px;
        right: 30px;
    }

    .wedding-heading-section {
        padding-top: 120px;
        margin-bottom: 30px;
    }

    .wedding-heading {
        font-size: 26px;
        padding: 14px;
    }
}




/* -- Image Category -- */
.heading-section {
    width: 100%;
    text-align: center;
}

.photography_heading {
    font-size: 36px;
    font-family: 'Lora';
    font-weight: 500;
    padding: 120px 0px 60px 0px;
}

.category-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 60px;
}

.category-item {
    text-decoration: none;
    width: 220px;
    text-align: center;
    cursor: pointer;
}

.image-wrapper {
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-title {
    font-size: 18px;
    font-family: 'lora';
    font-weight: bold;
    color: #333;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.category-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 1px;
    width: 0%;
    background-color: #e74c3c;
    transition: width 0.3s ease-out, left 0.3s ease-out;
    transform: translateX(-50%);
}

.category-item:hover .category-title::after {
    width: 60%;
}

.category-item:hover .category-title {
    color: #000;
}

@media (max-width: 700px) {

    .photography_heading {
        font-size: 26px;
        padding: 60px 0px 30px 0px;
    }

    .category-item {
        width: 29%;
    }

    .category-grid {
        margin-bottom: 40px;
    }

    .category-title {
        font-size: 16px;
    }
}