/* Main Styles for CinePass */

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-size: 16px;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc3545;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 100%;
}

.btn-danger {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
}

/* Custom logo styling */
.navbar-brand img {
    margin-right: 8px;
}

/* Hero Slider Styles */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 800px;
}

.carousel-item {
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-item.image-loaded {
    background-color: transparent;
}

.carousel-item.image-loaded img {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Custom Slider Controls */
.slider-controls-container {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 10;
}

.carousel-control-prev, .carousel-control-next {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 1;
    transition: background-color 0.3s;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Slider Progress Indicators */
.slider-progress {
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #dc3545;
    width: 60px;
}

/* Movies Section Styles */
.movies-section {
    background-color: #121212;
    padding: 50px 0;
    color: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.navigation-buttons {
    display: flex;
    gap: 10px;
}

.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.movie-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.movie-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.movie-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
}

.movie-poster {
    position: relative;
    height: 0;
    padding-bottom: 150%; /* 2:3 aspect ratio for movie posters */
    overflow: hidden;
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}

.movie-title {
    padding: 15px 15px 5px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.movie-info {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    font-size: 14px;
    color: #aaa;
}

.movie-duration i {
    margin-right: 5px;
}

.movie-genre {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 2px 10px;
    border-radius: 4px;
}

/* Promotions Section Styles */
.promotions-section {
    background-color: #121212;
    padding: 0 0 50px;
    color: white;
}

.promo-header {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 30px;
}

.promo-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.promo-banner {
    position: relative;
    width: 100%;
    max-width: 1300px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 12px;
}

.promo-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.promo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.promo-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-description {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .btn-danger {
        margin-top: 10px;
    }
    
    .slider-controls-container {
        padding: 0 20px;
    }
    
    .carousel-item {
        height: 50vh;
    }
    
    .movie-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .promo-banner {
        height: 350px;
        max-width: 90%;
    }
    
    .promo-title {
        font-size: 40px;
    }
    
    .promo-description {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .movie-card {
        flex: 0 0 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
    
    .promo-banner {
        height: 300px;
        max-width: 95%;
    }
    
    .promo-title {
        font-size: 32px;
    }
    
    .promo-description {
        font-size: 16px;
    }
}

/* Coming Soon Section Styles */
.coming-soon-section {
    background-color: #0D0D14;
    padding-top: 50px;
}

.coming-soon-section .movie-genre {    background-color: rgba(220, 53, 69, 0.2);    color: #dc3545;}

/* Registration Section Styles */
.registration-section {
    background-color: #0D0D14;
    padding: 30px 0 80px;
    color: white;
}

.registration-banner {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.registration-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3);
}

.registration-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 80px;
    z-index: 1;
}

.registration-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    max-width: 650px;
}

.registration-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    max-width: 600px;
}

.registration-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .registration-banner {
        height: 400px;
    }
    
    .registration-content {
        padding: 0 50px;
    }
    
    .registration-title {
        font-size: 40px;
    }
    
    .registration-description {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .registration-banner {
        height: 350px;
    }
    
    .registration-content {
        padding: 0 30px;
    }
    
    .registration-title {
        font-size: 32px;
    }
    
    .registration-description {
        font-size: 16px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #111111;
    padding-top: 40px;
    color: white;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
    letter-spacing: 1px;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-item {
    margin: 0 15px;
}

.footer-menu-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.footer-menu-item a:hover {
    color: #dc3545;
}

.footer-menu-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #dc3545;
    transition: width 0.3s;
}

.footer-menu-item a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding: 20px 0;
    background-color: #0a0a0a;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px 0;
    }
    
    .footer-menu-item {
        margin: 5px 10px;
    }
}

@media (max-width: 576px) {
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-menu-item {
        margin: 5px 0;
    }

    .text-muted {
        color: none!important;
    }
} 