﻿
@font-face {
    font-family: 'montserrat-regular';
    src: url('../fonts/montserrat-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'baskervville-bold';
    src: url('../fonts/baskervville-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'montserrat-bold';
    src: url('../fonts/montserrat-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'baskervville-medium';
    src: url('../fonts/baskervville-medium.ttf') format('truetype');
}
.movie {
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    height: 450px;
    position: relative;
    background: #000;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08), 0 2px 2px rgba(0,0,0,0.16), 0 4px 4px rgba(0,0,0,0.20), 0 8px 8px rgba(0,0,0,0.30);
    margin-bottom: 15px;
    margin-top: 15px;
}

    .movie .poster:before {
        content: '';
        position: absolute;
        bottom: -200px;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #a16157 45%, transparent);
        transition: 0.5s;
        z-index: 1;
    }

    .movie:hover .poster:before {
        bottom: 0;
    }

    .movie .poster img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: 0.5s;
    }

    .movie:hover .poster img {
        filter: blur(7px);
        transform: translateY(-50px);
    }

.details {
    position: absolute;
    padding: 20px;
    width: 100%;
    height: 80%;
    bottom: -220px;
    left: 0;
    box-sizing: border-box;
    transition: 0.5s;
    z-index: 2;
}

.movie:hover .details {
    bottom: 45px;
}

.details h2 {
    color: #edeae1;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

    .details h2 span {
        font-size: 14px;
        color: #edeae1;
    }

.tags span {
    color: #edeae1 !important;
}

.rating {
    position: relative;
    padding: 5px 0;
}

    .rating .fas, .rating .far {
        color: gold;
        margin-right: 2px;
        font-size: 16px;
    }

    .rating span {
        color: #fff;
        padding: 0 5px;
    }

.tags {
    position: relative;
    margin-top: 5px;
}

    .tags span {
        margin-right: 2px;
        display: inline-block;
    }

.info {
    color: #edeae1;
}

    .info p {
        margin: 15px 0 10px;
    }

.cast {
    text-align: right;
    align-items: center;
    margin-top: 1rem;
}

    .cast h4 {
        margin: 0;
        padding: 0;
        font-size: 20px;
        color: yellow;
    }

    .cast ul {
        margin: 10px 0 0;
        padding: 0;
        display: flex;
    }

        .cast ul li {
            list-style: none;
            width: 35px;
            height: 35px;
            background: #fff;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 6px;
            border: 2px solid #fff;
            transition: all .15s ease-in-out;
        }

            .cast ul li img {
                width: 100%;
            }

            .cast ul li:hover {
                transform: scale(1.7);
            }

.ribbon {
    position: absolute;
    right: var(--right, 10px);
    top: var(--top, -3px);
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
    box-shadow: inset 0px 1px 1px 0px rgba(255, 255, 255, 0.15), 0px 50px 100px -20px rgba(50, 50, 93, 0.35), 0px 30px 60px -30px rgba(0, 0, 0, 0.35);
}

    .ribbon > .content {
        color: white;
        font-size: 1.25rem;
        text-align: center;
        font-weight: 400;
        background: var(--color, #2ca7d8) linear-gradient(45deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.25) 100%);
        padding: 5px 2px 12px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 0 100%);
        width: var(--width, 32px);
        min-height: var(--height, 36px);
        transition: clip-path 1s, padding 1s, background 1s;
    }

    .ribbon.slant-up > .content {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% calc(100% - 6px), 0 100%);
    }

    .ribbon.up > .content {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 8px), 0 100%);
    }

@media screen and (max-width: 576px) {
    .movie {
        width: 100%;
        display: block;
    }
}

.btnMoreDetails {
    background: transparent;
    padding: 5px;
    border-radius: 20px;
    color: #edeae1;
    border: 1px solid #edeae1;
    text-align: center;
    font-weight: bold;
}

    .btnMoreDetails:hover {
        background: #edeae1 !important;
        color: #a16157 !important;
    }

.pagination-container {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    gap: 10px;
    margin: 40px 0;
    font-family: baskervville-bold;
}

.page-link {
    display: inline-block !important;
    padding: 10px 18px !important;
    font-size: 16px !important;
    color: #edeae1 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    margin-right: 5px;
    background-color: #a16157 !important;
    transition: transform 0.3s, background-color 0.3s, color 0.3s !important;
}

    .page-link:hover {
        background-color: #2d2d2d !important;
        color: #edeae1 !important;
        border-color: #2d2d2d !important;
        transform: scale(1.2) !important;
    }

    .page-link.active {
        background-color: #2d2d2d !important;
        color: #a16157 !important;
        animation: bounce 0.4s !important;
    }
.page-item.active .page-link {
    background-color: #2d2d2d !important;
    z-index: auto!important;
}

.arrow {
    font-size: 20px;
    font-weight: bold;
    color: #edeae1;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

    .arrow:hover {
        transform: scale(1.2);
        color: #c9af92;
    }

/* Bounce animation */
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.4);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.hover {
    overflow: hidden;
    position: relative;
    padding-bottom: 60%;
}

.hover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    transition: all 0.4s;
}

.hover img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.hover-content {
    position: relative;
    z-index: 99;
}

.hover-3::after {
    content: '';
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    border: 1px solid #fff;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 90;
    transition: all 0.3s;
    transform: scale(1.1);
    opacity: 0;
    display: block;
    opacity: 0;
}

.hover-3-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 99;
}

.hover-3-description {
    opacity: 0;
    transform: scale(1.3);
    transition: all 0.3s;
    font-size: 16px !important;
    color: #edeae1 !important;
}

.hover-3 img {
    width: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hover-3-title {
    color: #edeae1 !important;
}

.hover-3 .hover-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.hover-3:hover img {
    width: 100%;
}

.hover-3:hover::after {
    opacity: 1;
    transform: none;
}

.hover-3:hover .hover-3-description {
    opacity: 1;
    transform: none;
}

.hover-3:hover .hover-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.container-fluid2 {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    .container-fluid2 > .col-lg-6 {
        margin-right: 20px;
    }

        .container-fluid2 > .col-lg-6:last-child {
            margin-right: 0; /* prevent extra space on right side */
        }

.divheight {
    flex: 0 0 calc(50% - 10px);
    height: 600px;
}

@media (max-width: 500px) {
    .divheight {
        flex: 0 0 100%;
        float: none !important;
        margin-bottom: 20px !important;
        height: 450px !important;
    }

    .container-fluid2 {
        display: block !important;
    }
}

@media only screen and (min-width: 501px) and (max-width: 1200px) {
    .divheight {
        height: 500px !important;
    }
}

.aBase {
    opacity: 0;
    transform: scale(1.3);
    transition: all 0.3s;
}

.aBase {
    font-size: 16px;
    border: 1px solid #f4f4f4;
    padding: 10px;
    color: #f4f4f4;
    text-decoration: none !important;
    border-radius: 20px;
}

    .aBase:hover {
        background: #f4f4f4 !important;
        color: #a16157;
        border-color: #f4f4f4 !important;
    }

.hover-3:hover .aBase {
    opacity: 1;
    transform: none;
}


.imagelatest {
    height: 280px;
    object-fit: cover;
}

.divsectionabout {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.imagelatest {
    transition: transform 0.4s ease;
}

.image-container:hover .imagelatest {
    transform: scale(1.05);
    filter: brightness(70%);
}

.readmore-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    color: #edeae1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1rem;
}

.image-container:hover .readmore-overlay {
    opacity: 1;
}

.readmore-overlay span {
    background: transparent;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #edeae1;
    backdrop-filter: blur(4px);
}

    .readmore-overlay span:hover {
        background: #a16157;
        color: #edeae1;
        border-color: #a16157;
    }

.divboxx {
    height: 210px;
}