@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;700&display=swap');

body {
    background-color: #000000;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif; 
}

.header {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    color: #e50914;
    font-size: 2rem;
    font-weight: bold;
}
h1 {
    margin-bottom: 45px;
}
.settings-container h1 {
    padding-bottom: 45px;
    border-bottom: 1px solid #303030;
    font-size: 32px;
}
h2 {
    font-size: 26px;
}
h3 {
    font-size: 20px;
}
.hero {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
}

.features {
    background-color: #000;
    border-top: 8px solid #222;
    border-bottom: 8px solid #222;
}

.feature-box {
    padding: 2rem;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-box:nth-child(1) {
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.feature-box:nth-child(2) {
    background: url('https://images.unsplash.com/photo-1621259182978-fc58d978e727?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.feature-box:nth-child(3) {
    background: url('https://images.unsplash.com/photo-1593642532973-d31b6557fa68?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.feature-box:nth-child(4) {
    background: url('https://images.unsplash.com/photo-1611162617474-5b21e879e113?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.feature-box h3 {
    font-size: 2rem;
    font-weight: 700;
}

.feature-box p {
    font-size: 1.2rem;
}

.faq {
    background-color: #000;
    border-bottom: 8px solid #222;
}

.accordion-button {
    background-color: #303030 !important;
    color: #fff !important;
    font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background-color: #303030 !important;
    color: #fff !important;
}

.accordion-body {
    background-color: #303030 !important;
    color: #fff !important;
}

.navbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1000;
}

.navbar-brand.logo {
    margin-right: 25px;
}
.navbar-brand.logo img {
    max-width: 100px; 
}
.navbar .container {
    max-width: 100%;
    padding: 0px 80px;
}
.nav-link {
    color: #b2b2b2 !important;
    font-size: 14px;
    font-weight: 200;
}

.nav-link:hover {
    color: #fff !important;
}

.main-content {
    overflow: hidden;
}

/* Hlavní slider */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
}
.hero-slide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.slick-initialized .slick-slide {
    display: flex !important;
}
.hero-slide:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 2) 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    left: 0;
    right: 0;
}

.main-slider img {
    height: 100vh;
    object-fit: cover;
    width: 100%;
}
.main-slider-info {
    width: 100%;
    padding:10px 80px;
    position: absolute;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.main-slider-info h1 {
    width: 100%;
    margin-bottom: 15px;
}
.main-slider-info p {
    width: 100%;
    font-size: 20px;
    margin-bottom: 40px;
}
.main-slider-info .play-btn {
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 4px;
    padding: 10px 35px;
    width: auto;
    height: 50px;
    font-weight: 600;
    margin-left: 0;
}
.main-slider-info .play-btn img {
    margin-right: 10px;
}
.main-slider-info .more-info {
    display: flex;
    justify-content: center;
    align-items: center;
    border:none;
    border-radius: 4px;
    padding: 10px 35px;
    width: auto;
    height: 50px;
    font-weight: 600;
    margin-left: 0;
}
.main-slider-info .more-info:hover {
    background-color: #e9e9e9;
    color: #000;
}
.main-slider-info .more-info img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}
/* Kategorie slidery */
.category-sliders {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    top: -200px;
    position: relative;
}

.category-sliders h2 {
    padding-left: 80px;
}

.category-slider, .promoted-slider {
    width: 100%;
    position: relative;
    padding-left: 80px;
    padding-right: 80px;
    margin-bottom: 65px;
}

.category-slider:hover, .promoted-slider:hover {
    z-index: 99;
}
.slick-list {
    position: relative;
    display: block;
    overflow: visible;
    margin: 0;
    padding: 0;
}

.slick-track {
    display: flex;
    align-items: center;
}

.video-card {
    position: relative;
    margin-right: 10px;
    transition: transform 0.3s ease, margin-top 0.3s ease;
}

.video-card a {
    text-decoration: none;
}

.video-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
}

.video-info {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #181818;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
    padding: 15px;
    border-radius: 0 0 5px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.video-info h3 {
    font-size: 14px;
    margin-bottom: 0;
}
.description {
    font-size: 0.9rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
    color: #fff;
}

.video-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 20px;
}
.video-details .video-actions {
    width: auto;
}
.video-details p.video-description{
    color: #878787
}
.video-details .video-meta strong {
    font-weight: 300;
    color: #878787;
}
.video-details h1 {
    font-size: 26px;
    margin-bottom: 10px;
}
.video-actions button {
    background: none;
    padding: 0;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
    border-radius: 100%;
    border: 2px solid #303030;
    transition: all 400ms ease;
}
.video-actions button.big {
    width: 50px;
    height: 50px;
}
.like-btn.big, .dislike-btn.big {
    border-radius: 30px;
    width: 70px !important;
    color: #fff;
}
.like-btn.big img, .dislike-btn.big img {
    margin-right: 6px;
}
.video-actions button:hover {
    border-color: #fff;
}
.video-actions button img {
    width: 18px;
    height: 18px;
}
.video-actions button.more-btn {
    margin-left: auto;
    margin-right: 0;
}
.video-actions button.more-btn:hover {
    background-color: transparent;
    color: #fff;
}
.like-btn.active img, .dislike-btn.active img {
    content: url('https://img.icons8.com/fluency-systems-filled/48/FFFFFF/facebook-like.png');
}

.dislike-btn img {
    transform: rotate(180deg);
}

.play-btn {
    margin-bottom: 10px;
}

.show-all {
    background: #303030;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.show-all a {
    text-decoration: none;
    font-weight: bold;
}

/* Hover efekt pro video kartu */
.video-card:hover {
    transform: scale(1.3);
    margin-top: -20px;
    z-index: 10;
}

.video-card:hover .video-info {
    opacity: 1;
}

/* Custom šipky slideru */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    z-index: 1;
    opacity: 0; /* Skryté, dokud nenajedeme na slider */
    transition: opacity 0.3s ease;
}

.hero-slider:hover .slick-prev,
.hero-slider:hover .slick-next,
.category-slider:hover .slick-prev,
.category-slider:hover .slick-next,
.promoted-slider:hover .slick-prev,
.promoted-slider:hover .slick-next {
    opacity: 1; /* Zobrazení při najetí */
}

.slick-prev:before,
.slick-next:before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-image: url('https://img.icons8.com/ios-filled/50/ffffff/forward--v1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:before {
    transform: rotate(180deg);
}

/* Patička */
.footer {
    background-color: #000;
    border-top: 1px solid #303030;
    padding: 80px 0px;
}

.footer a {
    color: #737373;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer a:hover {
    text-decoration: underline;
}

.footer ul {
    padding: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

/* Přidání stylu pro tvůrce */
.creator {
    font-size: 0.9rem;
    margin: 5px 0;
}

.creator a {
    color: #fff;
    text-decoration: none;
}

.creator a:hover {
    text-decoration: underline;
}

/* Stylizace modálního okna pro přehrávání videa */
#videoModal .modal-dialog {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

#videoModal .modal-content {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background-color: #000;
}

#videoModal .modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.7);
    border-bottom: none;
}

#videoModal .modal-title {
    color: #fff;
    font-size: 1.5rem;
}

#videoModal .btn-close-white {
    filter: invert(1);
}

#videoModal .modal-body {
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#videoModal video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Skrytí nadpisu při fullscreen */
#videoModal:fullscreen .modal-header,
#videoModal:-webkit-full-screen .modal-header,
#videoModal:-moz-full-screen .modal-header,
#videoModal:-ms-fullscreen .modal-header {
    display: none;
}

/* Vlastní modální okno */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    display: flex;
    opacity: 1;
}

.custom-modal-content {
    background-color: #141414;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1);
    opacity: 1;
}

.custom-modal-header {
    border-bottom: none;
    padding: 0;
    position: relative;
}
.custom-modal-header:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #141414 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    left: 0;
    right: 0;
}

.custom-modal-header img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.custom-modal-header .custom-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    cursor: pointer;
    z-index: 1051;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background-color: #181818;
}
.custom-modal-header .custom-modal-close img {
    width: 22px;
    height: 22px;
}
.custom-modal-header .views {
    margin-bottom: 0;
    position: absolute;
    right: 25px;
    bottom: 38px;
    z-index: 3;
}
.custom-modal-body {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
}
.custom-modal-body .left {

}
.custom-modal-body .left p {
    color: #878787;
}
.custom-modal-body .left h3 {

}
.custom-modal-body .right {

}
.custom-modal-body .right strong {
    font-weight: 300;
    color: #878787;
}
.custom-modal-header .modal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 3;
}
#videoInfoModalDislikeBtn, #videoInfoModalLikeBtn {
    border-radius: 30px;
    width: 70px;
}
#videoInfoModalDislikeBtn img, #videoInfoModalLikeBtn img {
    margin-right: 6px;
}
.custom-modal-header .modal-actions button {
    padding: 0;
    cursor: pointer;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
    border-radius: 100%;
    border: 2px solid #a7a7a7;
    background-color: #ffffff17;
    color: #fff;
}

.custom-modal-header .modal-actions button img {
    width: 22px;
    height: 22px;
}

.custom-modal-header .btn {
    margin: 0 5px;
}

.custom-modal-header .btn.active {
    background-color: #e50914;
    color: #fff;
}

.alert-btn {
    background-color: transparent;
    border: none;
    position: relative; /* Pro pozicování notifikačního čísla */
    padding: 5px;
}
.alert-btn:after {
    display: none;
}

.alert-btn:hover {
    background-color: transparent;
}

.alert-btn img {
    width: 18px;
    height: 18px;
}

/* Styly pro číslo notifikací */
.alert-btn .notification-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e50914;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.user-btn {
    background-color: transparent;
    border: none;
}

.user-btn:hover {
    background-color: transparent;
}


.favorite-btn.active img {
    content: url('https://img.icons8.com/fluency-systems-filled/48/FFFFFF/like.png');
}

/* Ujištění, že .favorite-btn v modálním okně má stejné styly jako ve slideru */
.custom-modal-footer .modal-actions .favorite-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.custom-modal-footer .modal-actions .favorite-btn img {
    width: 24px;
    height: 24px;
}

/* Profilový obrázek v dropdownu */
.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
ul.dropdown-menu {
    background: #181818; 
}
.dropdown-item {
    color: #989898;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    font-weight: 600;
    background-color: transparent;
}
/* Levá navigace */
.sidebar {
    position: fixed;
    top: 70px; /* Výška horní navigace */
    left: 0;
    width: 200px;
    height: calc(100vh - 70px);
    background-color: #181818;
    padding-top: 20px;
    z-index: 1000;
}

.sidebar .nav-link {
    color: #fff;
    padding: 10px 20px;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.sidebar .nav-link:hover {
    background-color: #e50914;
    color: #fff;
}

.sidebar .nav-link.active {
    background-color: #e50914;
    color: #fff;
}

/* Hlavní obsah s levým paddingem kvůli sidebaru */
.content-wrapper {
    margin-left: 200px; /* Šířka sidebaru */
    padding: 20px;
    min-height: calc(100vh - 70px); /* Výška mínus horní navigace */
}

/* Custom notifikace */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    padding: 15px 20px;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    display: none;
}

.notification.alert-success {
    background-color: #28a745;
    color: #fff;
}

.notification.alert-danger {
    background-color: #dc3545;
    color: #fff;
}

/* Formuláře */
.form-label {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: #181818;
    border: 1px solid #303030;
    color: #b2b2b2;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    background-color: #181818;
    border-color: #e50914;
    color: #fff;
    box-shadow: none;
}

.form-control::placeholder {
    color: #737373;
}

.form-control[type="file"] {
    padding: 5px;
}

.btn-primary {
    background-color: #e50914;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c10812;
}

.btn-danger {
    background-color: #e50914;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c10812;
}

.btn-warning {
    background-color: #ff9900;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #e68a00;
}

/* Custom input pro profilový obrázek */
.profile-picture-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
}

.profile-picture-label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #303030;
}

.profile-picture-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-picture-label:hover .profile-picture-overlay {
    opacity: 1;
}

.profile-picture-overlay span {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

/* Statistiky */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stats-box {
    background-color: #181818;
    border: 1px solid #303030;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stats-box h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stats-box p {
    font-size: 0.9rem;
    color: #b2b2b2;
    margin: 0;
}

/* Taby */
.profile-tabs {
    border-bottom: 1px solid #303030;
    margin-bottom: 2rem;
}

.profile-tabs .nav-link {
    color: #737373;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.profile-tabs .nav-link:hover {
    color: #fff;
}

.profile-tabs .nav-link.active {
    color: #fff;
    font-weight: 700;
    border-bottom: 4px solid #e50914;
    background: none;
}

.tab-content {
    padding: 1rem 0;
}

/* Karty videí */
.card {
    background-color: #181818;
    border: 1px solid #303030;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1rem;
}

.card-title a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-text {
    color: #b2b2b2;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.card-text.text-danger {
    color: #e50914;
}

.settings-container {
    padding-top: 160px;
    padding-bottom: 120px;
}

.category-container {
    padding-top: 160px;
    padding-bottom: 120px;
}
.stats {
    padding-left: 65px;
    border-left: 1px solid #303030;
}
.profile {
    padding-right: 65px;
}
.play-btn {
    background: #fff;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
    margin-bottom: 0;
}
.play-btn:hover {
    background-color: #e9e9e9;
}
.custom-modal .play-btn {
    border-radius: 4px;
    padding: 10px 35px;
    width: auto;
    height: 50px;
    font-weight: 600;
    margin-left: 0;
}
.custom-modal .play-btn:hover {
    background-color: #e9e9e9;
    color: #000;
}
.custom-modal .play-btn img {
    margin-right: 15px;
}
.play-btn img {
    width: 18px;
    height: 18px;
}
.custom-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: transparent;
    border:none;
}

.suggestions {
            position: absolute;
            background-color:#181818;
            border-radius: 5px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            width: 300px;
            padding: 10px;
            display: none;
        }
        .suggestion-item {
            padding: 8px 12px;
            color: #989898;
            cursor: pointer;
            border-radius: 6px; /* Zaoblení položek */
        }
        .suggestion-item:hover {
            background-color: #666; /* Tmavší odstín při najetí */
        }
        .history-item {
            font-style: italic;
            color: #bbb; /* Světlejší barva pro historii */
        }
        .history-item:hover {
            background-color: #555; /* Lehce odlišný odstín pro historii */
        }
        /* Stylizace vyhledávacího inputu */
        .navbar .form-control {
            background-color: transparent; /* Průhledný pozadí */
            border: 1px solid #fff; /* Bílý okraj */
            border-radius: 30px; /* Zaoblení 30px */
            color: #fff; /* Bílý text */
            padding: 6px 12px;
        }
        .navbar .form-control::placeholder {
            color: #ccc; /* Světlejší placeholder */
        }
        .navbar .btn-outline-light {
            border-radius: 30px; /* Zaoblení tlačítka */
        }