/* Website CSS started */
html, body {
    height: 100%; /* Ensure the body takes the full height */
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1; /* Allow content to grow and push the footer to the bottom */
}

.site-footer {
    background-color: #000; /* Black background for footer */
    color: #fff;
}

body {
    font-family: 'Roboto', sans-serif;
}

.movie-card,
.review-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.movie-card:hover,
.review-card:hover {
    transform: scale(1.05);
}

.platform-logo {
    max-width: 80px;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff5722 !important;
}

footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

.footer-menu-item {
    width: 50%;
}

.footer-menu-link {
    color: #6c757d;
    font-weight: var(--font-weight-light);
    display: inline-block;
    vertical-align: top;
    margin-top: 4px;
    margin-bottom: 4px;
}

.section-heading {
    margin-bottom: 30px;
}
.movie-card,
.review-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.movie-card:hover,
.review-card:hover {
    transform: scale(1.05);
}

.platform-logo {
    max-width: 80px;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff5722 !important;
}

footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

.footer-menu-item {
    width: 50%;
}

.footer-menu-link {
    color: #6c757d;
    font-weight: var(--font-weight-light);
    display: inline-block;
    vertical-align: top;
    margin-top: 4px;
    margin-bottom: 4px;
}

.section-heading {
    margin-bottom: 30px;
}

.genre-btn {
    border: 1px solid #fff;
    color: white;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    text-transform: none;
    -webkit-font-smoothing: auto;
    align-items: center;
    border-radius: 1rem;
    cursor: pointer;
    display: inline-flex;
    margin: 0;
    padding: 0.5rem 1.25rem;
    position: relative;
    overflow: hidden;
    user-select: none;
    background: none;
}
.genre-btn:hover {
    border: 1px solid #000000;
    color: #000000;
    background-color: grey;
}

/* Sidebar Styles */
.sidebar {
    background: #e9ecef;
    padding: 20px;
    border-radius: 8px;
}

/* Cast Item Styles */
.cast-item {
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    padding: 5px;
    background-color: #e9ecef;
}

.cast-item:hover {
    background: #cfe2ff;
    padding: 10px;
}

.cast-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

/* Text Adjustments */
.cast-item h6 {
    font-size: 16px;
    font-weight: 600;
}

.cast-item small {
    font-size: 14px;
}

.cast-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.yt-iframe {
    border-radius: 10px;
}

/* Streaming Platform Section OTT */

.card-body:hover {
    background: #cfe2ff;
    padding: 20px 15px;
}

/* Cast Item Styles */
.card-body {
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    background-color: #e9ecef;
}

.accordion-header{
    border: 2px solid white;
}

/* Accordion Item Styling */
.accordion-button {
    border: 1px solid #444;
    color: #fff;
    font-weight: bold;
    background-color: grey;
}

.accordion-button:hover {
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Smooth transition for hover effects */
    transform: scale(1.02); /* Slight scaling effect */
    background: #4966b2;

}

/* Active Accordion Styling */
.accordion-button:not(.collapsed) {
    color: #000; /* Black text for contrast */
}

/* Transition for Accordion Content */
.accordion-collapse {
    transition: all 0.3s ease-in-out;
}

/* Optional: Add a shadow effect on hover */
.accordion-button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
/* Expanded State */
.accordion-collapse.show .accordion-body {
    padding: 15px; /* Add padding when expanded */
    max-height: 500px; /* Set a reasonable max-height */
    transition: all 0.4s ease-in-out; /* Smooth expand */
}

/* Optional: Icon Animation */
.accordion-button::after {
    transition: transform 0.4s ease-in-out; /* Rotate the icon */
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg); /* Flip the icon when expanded */
}
