@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css'); :root { --netflix-black: #141414; --netflix-red: #E50914; --primary-text: #FFFFFF; --secondary-text: #A9A9A9; --card-hover-border: #fff; } body { background-color: var(--netflix-black); color: var(--primary-text); font-family: 'Roboto', sans-serif; } .page-wrapper { background-color: var(--netflix-black); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; } /* --- Navigation --- */ #main-nav { background-color: transparent; transition: background-color 0.4s ease-out; padding-top: 10px; padding-bottom: 10px; } #main-nav.navbar-scrolled { background-color: #0c0c0c; } .navbar-brand { font-family: 'Bebas Neue', sans-serif; color: var(--netflix-red) !important; font-size: 2.5rem; letter-spacing: 1px; } .nav-link { color: var(--secondary-text) !important; font-weight: 500; transition: color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--primary-text) !important; } /* --- Hero Section --- */ .hero-section { position: relative; height: 95vh; display: flex; align-items: center; padding: 0 4%; } .hero-backdrop { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center 20%; opacity: 0.6; } .hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(20, 20, 20, 0.8) 0%, rgba(20, 20, 20, 0) 50%); } .hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 15vh; background: linear-gradient(to top, var(--netflix-black) 20%, transparent 100%); } .hero-content { position: relative; z-index: 2; max-width: 40vw; } .hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 6vw, 6rem); font-weight: bold; text-shadow: 0 0 30px rgba(0,0,0,0.8); } .hero-description { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; margin: 1.5rem 0 2.5rem; text-shadow: 0 0 20px rgba(0,0,0,0.8); max-width: 600px; } .hero-buttons .btn { margin-right: 1rem; font-weight: bold; padding: 0.8rem 2.2rem; border-radius: 5px; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 0.7rem; border: none; transition: transform 0.2s ease; } .hero-buttons .btn:hover { transform: scale(1.05); } .btn-play { background-color: var(--primary-text); color: #000; } .btn-play:hover { background-color: rgba(255, 255, 255, 0.8); } .btn-more-info { background-color: rgba(109, 109, 110, 0.7); color: var(--primary-text); } .btn-more-info:hover { background-color: rgba(109, 109, 110, 0.5); } /* --- Movie Carousels --- */ .movie-sections { margin-top: -10vh; /* Overlap with hero section */ position: relative; z-index: 10; padding: 0 4%; } .section-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; font-weight: 500; margin-bottom: 1.2rem; } .movie-carousel { display: flex; gap: 10px; padding-bottom: 2rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; /* Firefox */ } .movie-carousel::-webkit-scrollbar { display: none; /* Safari and Chrome */ } .movie-card { flex: 0 0 18%; max-width: 280px; min-width: 200px; background-color: #181818; border-radius: 5px; overflow: hidden; position: relative; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; border: 2px solid transparent; } .movie-card .card-img-top { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; } .movie-card-body { padding: 1rem; opacity: 0; position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, #181818 50%, transparent); transition: opacity 0.4s ease; } .movie-card:hover { transform: scale(1.15) translateY(-10px); z-index: 20; border-color: var(--card-hover-border); box-shadow: 0 15px 25px rgba(0,0,0,0.7); } .movie-card:hover .movie-card-body { opacity: 1; } .movie-card-title { font-family: 'Roboto', sans-serif; font-size: 1rem; font-weight: bold; margin-bottom: 0.5rem; } .movie-card-text { font-size: 0.8rem; color: var(--secondary-text); } /* --- Footer --- */ .main-footer { border-top: 1px solid #222; font-size: 0.9rem; } /* Responsive */ @media (max-width: 992px) { .hero-content { max-width: 60vw; } .movie-card { flex-basis: 22%; } } @media (max-width: 768px) { .hero-content { max-width: 80vw; } .hero-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .movie-card { flex-basis: 30%; } }