/* =============================================
   FİLM DETAY SAYFASI - Modern Tasarım
   Site renkleri: #0e101c, #171a27, #c60909, #9ca3af
   ============================================= */

/* Breadcrumb – hero sağ üst */
.be-breadcrumb {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 7px 14px;
    margin: 0;
    font-size: 12px;
    list-style: none;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    line-height: 1;
}
.be-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.be-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    line-height: 1;
    transition: color .2s;
}
.be-breadcrumb-item a:hover {
    color: #fff;
}
.be-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    padding: 0 6px;
    user-select: none;
    line-height: 1;
}
.be-breadcrumb-item.active a {
    color: #fff;
    font-weight: 600;
    pointer-events: none;
}

/* Ana Container */
.film-detail-page {
    background: #0e101c;
    min-height: 100vh;
    padding-bottom: 40px;
}

.film-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner */
.film-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.film-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
}

.film-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(14, 16, 28, 0.4) 0%,
        rgba(14, 16, 28, 0.7) 50%,
        rgba(14, 16, 28, 1) 100%
    );
}

.film-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    padding: 60px 20px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Poster */
.film-poster-wrapper {
    flex-shrink: 0;
    width: 280px;
}

.film-poster {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #181a25;
}

.film-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.film-rating-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(14, 16, 28, 0.95);
    border: 1px solid #c60909;
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.film-rating-badge svg {
    width: 18px;
    height: 18px;
    fill: #ffd700;
}

.film-rating-badge span {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.film-quality-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #c60909;
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

/* Film Bilgi Alanı */
.film-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.film-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.film-badge {
    background: #171a27;
    border: 1px solid #181a25;
    color: #9ca3af;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.film-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.film-badge.year {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

.film-badge.duration {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.film-badge.country {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.film-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.film-original-title {
    font-size: 16px;
    color: #6d7080;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Türler */
.film-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.film-genre-tag {
    background: rgba(198, 9, 9, 0.15);
    border: 1px solid rgba(198, 9, 9, 0.3);
    color: #ff8080;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.film-genre-tag:hover {
    background: #c60909;
    border-color: #c60909;
    color: #fff;
}

/* Açıklama */
.film-description {
    font-size: 15px;
    line-height: 1.8;
    color: #9ca3af;
    margin-bottom: 25px;
}

/* Aksiyon Butonları */
.film-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.film-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.film-btn-primary {
    background: #c60909;
    color: #fff;
}

.film-btn-primary:hover {
    background: #e00a0a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 9, 9, 0.35);
}

.film-btn-secondary {
    background: #171a27;
    border: 1px solid #181a25;
    color: #9ca3af;
}

.film-btn-secondary:hover {
    background: #1f2335;
    border-color: #282d42;
    color: #fff;
}

.film-btn-secondary.active {
    border-color: #c60909;
    background: rgba(198, 9, 9, 0.1);
}

.film-btn-secondary.active svg {
    fill: #c60909;
}

.film-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* =============================================
   VİDEO PLAYER BÖLÜMÜ
   ============================================= */

.film-player-section {
    background: #171a27;
    border: 1px solid #181a25;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #181a25;
    flex-wrap: wrap;
    gap: 15px;
}

.player-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.player-title svg {
    width: 22px;
    height: 22px;
    fill: #c60909;
}

/* Kaynak Seçici */
.source-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.source-btn {
    background: #0e101c;
    border: 1px solid #181a25;
    color: #9ca3af;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.source-btn:hover {
    border-color: #c60909;
    color: #fff;
}

.source-btn.active {
    background: #c60909;
    border-color: #c60909;
    color: #fff;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #171a27 0%, #0e101c 100%);
    color: #6d7080;
}

.video-placeholder svg {
    width: 80px;
    height: 80px;
    fill: #c60909;
    margin-bottom: 20px;
    opacity: 0.5;
}

.video-placeholder p {
    margin: 0;
    font-size: 16px;
}

/* =============================================
   FİLM BİLGİLERİ
   ============================================= */

.film-meta-section {
    background: #171a27;
    border: 1px solid #181a25;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.film-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.film-meta-item {
    text-align: center;
    padding: 20px;
    background: #0e101c;
    border-radius: 12px;
    border: 1px solid #181a25;
    transition: all 0.2s ease;
}

.film-meta-item:hover {
    border-color: rgba(198, 9, 9, 0.3);
}

.film-meta-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(198, 9, 9, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.film-meta-icon svg {
    width: 24px;
    height: 24px;
    fill: #c60909;
}

.film-meta-label {
    font-size: 11px;
    color: #6d7080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.film-meta-value {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

/* =============================================
   ETİKETLER
   ============================================= */

.film-tags-section {
    background: #171a27;
    border: 1px solid #181a25;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.tags-header {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tags-header svg {
    width: 18px;
    height: 18px;
    fill: #c60909;
}

.film-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.film-tag {
    background: #0e101c;
    border: 1px solid #181a25;
    color: #9ca3af;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.film-tag:hover {
    border-color: #c60909;
    color: #fff;
}

/* =============================================
   FRAGMAN
   ============================================= */

.film-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #181a25;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title svg {
    width: 22px;
    height: 22px;
    fill: #c60909;
}

.trailer-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #171a27;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #181a25;
}

.trailer-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================
   YORUMLAR
   ============================================= */

.comments-section {
    background: #171a27;
    border: 1px solid #181a25;
    border-radius: 16px;
    padding: 30px;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    background: #0e101c;
    border: 1px solid #181a25;
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #c60909;
}

.comment-form textarea::placeholder {
    color: #6d7080;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #181a25;
}

.comment-item:first-child {
    border-top: none;
}

.comment-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #0e101c;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.comment-date {
    font-size: 12px;
    color: #6d7080;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin: 0;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: #6d7080;
}

.comments-count {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 5px;
}

.film-comment-form {
    margin-bottom: 30px;
}

.film-comment-form .comment-form-field textarea {
    width: 100%;
    min-height: 120px;
    background: #0e101c;
    border: 1px solid #181a25;
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.film-comment-form .comment-form-field textarea:focus {
    outline: none;
    border-color: #c60909;
}

.film-comment-form p.form-submit {
    margin: 15px 0 0;
    text-align: right;
}

.film-comment-form .logged-in-as,
.film-comment-form .comment-notes {
    display: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 992px) {
    .film-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
    }

    .film-poster-wrapper {
        width: 220px;
    }

    .film-title {
        font-size: 30px;
    }

    .film-genres,
    .film-badges,
    .film-actions {
        justify-content: center;
    }

    .player-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .source-selector {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .be-breadcrumb {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 5px 10px;
        max-width: calc(100% - 20px);
    }
    .be-breadcrumb-item.active a span {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: bottom;
    }

    .film-poster-wrapper {
        width: 180px;
    }

    .film-title {
        font-size: 26px;
    }

    .film-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .film-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .film-poster-wrapper {
        width: 160px;
    }

    .film-title {
        font-size: 22px;
    }

    .film-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .source-btn {
        flex: 1;
        text-align: center;
    }
}
