* {
    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;
}




/*  OUR FILMS SECTION */
.our-films {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.recent-films-title {
    margin: 100px 0px 60px 0px;
    font-size: 36px;
    font-family: 'Lora';
    font-weight: 500;
}

.popular-films-title {
    margin: 120px 0px 60px 0px;
    font-size: 36px;
    font-family: 'Lora';
    font-weight: 500;
}

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.video-container {
    width: 28vw;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.video-thumbnail,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.play-button-icon {
    width: 30x;
    height: 30px;
    filter: invert(1);
}

.video-container.playing .video-thumbnail,
.video-container.playing .play-button {
    display: none;
}

.video-container.playing iframe {
    display: block;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

@media only screen and (max-width: 900px) {

    .recent-films-title {
    margin: 120px 0px 30px 0px;
   font-size: 26px;
}


.popular-films-title {
    margin: 60px 0px 30px 0px;
   font-size: 26px;
}

    .video-gallery {
        gap: 10px;
        width: 90%;
        margin: 0px auto;
    }

    .video-container {
        width: 100%;
    }

}




/* -- 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;
    }
}