/* Container Styles */
.cinema1 {
    position: relative;
    height: 410px; /* Set height to 370px */
    overflow: hidden;
}

.cinema1 video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover; /* Cover the container fully */
    width: 100%;
    height: 100%;
    z-index: -2; /* Behind the overlay and content */
}

/* Dark Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay with transparency */
    z-index: -1; /* Behind text, above video */
}

/* Content Styles */
.vidCont {
    position: relative;
    z-index: 1; /* Above overlay */
    text-align: center;
    height: 100%; /* Ensures vertical centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff; /* White text for contrast */
    padding: 0 20px; /* Adds padding for smaller screens */
}

.p1 {
    font-size: 1.8rem; /* Adjust font size */
    font-weight: bold;
    margin-bottom: 10px;
}

.p2 {
    font-size: 1rem;
    margin-bottom: 20px;
}


/*About Us pictorial*/
.gallery-section .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.gallery-section .gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}
.gallery-section .gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-section .gallery-item:hover .overlay {
    opacity: 1;
}
.gallery-section .overlay .text {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
}


/*Product card*/
:root {
    --primary-color: #D83344;
    --text-color: #333333;
    --background-color: #f5f5f7;
    --card-background: #ffffff;
}
.product-card {
    background-color: var(--card-background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card__image {
    height: 250px;
    overflow: hidden;
}

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

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__info {
    padding: 20px;
}

.product-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-card__description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.product-card__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-card__btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card__btn:hover {
    background-color: #C71729;
}

@media (max-width: 480px) {
    .cont {
        max-width: 100%;
        padding: 0 20px;
    }

    .product-card__image {
        height: 200px;
    }

    .product-card__title {
        font-size: 1.3rem;
    }

    .product-card__description {
        font-size: 0.8rem;
    }

    .product-card__price {
        font-size: 1.1rem;
    }

    .product-card__btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}