/* Modern Video Tube Theme CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #d0d0d0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Video sayfası için daha geniş container */
body.video-page .container {
    max-width: 1400px;
}

@media (min-width: 1600px) {
    body.video-page .container {
        max-width: 1600px;
    }
}

@media (min-width: 1920px) {
    body.video-page .container {
        max-width: 1800px;
    }
}

/* Header */
.site-header {
    background-color: #222;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Modern Colorful Logo */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text-modern {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.logo-text-modern span {
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo-link:hover .logo-text-modern span {
    transform: translateY(-2px);
    text-shadow: 2px 4px 8px rgba(255,107,107,0.5);
}

.logo-link:hover .logo-text-modern span:nth-child(1) { transition-delay: 0s; }
.logo-link:hover .logo-text-modern span:nth-child(2) { transition-delay: 0.05s; }
.logo-link:hover .logo-text-modern span:nth-child(3) { transition-delay: 0.1s; }
.logo-link:hover .logo-text-modern span:nth-child(4) { transition-delay: 0.15s; }
.logo-link:hover .logo-text-modern span:nth-child(5) { transition-delay: 0.2s; }
.logo-link:hover .logo-text-modern span:nth-child(6) { transition-delay: 0.25s; }
.logo-link:hover .logo-text-modern span:nth-child(7) { transition-delay: 0.3s; }
.logo-link:hover .logo-text-modern span:nth-child(8) { transition-delay: 0.35s; }

.logo-sparkle {
    font-size: 20px;
    animation: sparkle 2s infinite;
    display: inline-block;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ff6b6b;
}

.search-box form {
    display: flex;
}

.search-box input {
    padding: 10px;
    border: 1px solid #333;
    border-right: none;
    border-radius: 5px 0 0 5px;
    background-color: #2a2a2a;
    color: #fff;
    outline: none;
}

.search-box input:focus {
    background-color: #333;
    border-color: #444;
}

.search-box input::placeholder {
    color: #888;
}

.search-box button {
    padding: 10px 15px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #ff6b6b;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #ff5252;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    background-color: #1a1a1a;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #f0f0f0;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tablet için 3 sütun */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

.video-item {
    background-color: #252525;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #444;
}

.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-item:hover .video-thumb img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: #fff;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-title a {
    color: #fff;
    text-decoration: none;
}

.video-title a:hover {
    color: #ff6b6b;
}

.video-meta {
    font-size: 0.9rem;
    color: #ccc;
}

/* Video Article */
.video-article {
    max-width: 1000px;
    margin: 0 auto;
}

/* Geniş ekranlarda daha fazla genişlik */
@media (min-width: 1400px) {
    .video-article {
        max-width: 1200px;
    }
}

@media (min-width: 1600px) {
    .video-article {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .video-article {
        max-width: 1600px;
    }
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.video-header h1 {
    font-size: 2rem;
}

.video-actions {
    display: flex;
    gap: 10px;
}

.like-btn, .share-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.like-btn {
    background-color: #4CAF50;
    color: white;
}

.share-btn {
    background-color: #2196F3;
    color: white;
}

.like-btn:hover {
    background-color: #45a049;
}

.share-btn:hover {
    background-color: #0b7dda;
}

/* Video Player */
.video-player {
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Share Menu */
.share-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    opacity: 0;
    transition: all 0.3s ease;
}

.share-menu.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.share-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #333;
}

.share-menu-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.close-share {
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s;
}

.close-share:hover {
    background: #333;
    color: #fff;
}

.share-options {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    font-weight: 500;
    background: #252525;
}

.share-option:hover {
    transform: translateX(5px);
}

.share-option svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.share-option.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.share-option.whatsapp:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.share-option.telegram {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

.share-option.telegram:hover {
    box-shadow: 0 5px 15px rgba(42, 171, 238, 0.4);
}

.share-option.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.share-option.twitter:hover {
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.share-option.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
}

.share-option.facebook:hover {
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.share-option.reddit {
    background: linear-gradient(135deg, #FF4500 0%, #d93c00 100%);
}

.share-option.reddit:hover {
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

.share-option.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005f8f 100%);
}

.share-option.linkedin:hover {
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.share-option.copy {
    background: linear-gradient(135deg, #6B46C1 0%, #553c9a 100%);
}

.share-option.copy:hover {
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.4);
}

/* Video Details */
.video-details {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 10px;
}

/* Related Videos */
.related-videos h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination .current {
    background-color: #ff6b6b;
    color: white;
}

.pagination a {
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #333;
}

.pagination a:hover {
    background-color: #333;
    border-color: #444;
}

/* Footer */
.site-footer {
    background-color: #222;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
}

.site-footer p {
    color: #999;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .main-nav ul {
        justify-content: center;
    }

    .video-item {
        font-size: 14px;
    }

    .video-title {
        font-size: 14px;
    }
}
/* Video Details Toggle */
.video-details {
    background-color: #252525;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #333;
}

.details-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.details-preview {
    flex: 1;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    max-height: 1.6em;
}

.toggle-btn {
    background: none;
    border: none;
    color: #4a9eff;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    white-space: nowrap;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.toggle-btn:hover {
    color: #6bb3ff;
}

.details-content {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
    animation: slideDown 0.3s ease;
}

.details-content p {
    margin: 0;
    line-height: 1.8;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Page Responsive Improvements */
.video-article {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.video-header h1 {
    flex: 1;
    font-size: 28px;
    line-height: 1.3;
    margin: 0;
}

.video-actions {
    display: flex;
    gap: 10px;
}

.video-actions button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.like-btn {
    background-color: #4a9eff;
    color: white;
}

.like-btn:hover {
    background-color: #3d8ce7;
}

.share-btn {
    background-color: #333;
    color: white;
}

.share-btn:hover {
    background-color: #444;
}

/* Video Thumb Images Responsive */
.video-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 12px;
    color: #999;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .video-header h1 {
        font-size: 24px;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-header {
        flex-direction: column;
        padding: 15px 0;
    }

    .video-header h1 {
        font-size: 18px;
        line-height: 1.4;
    }

    .video-actions {
        width: 100%;
        justify-content: center;
    }

    .video-actions button {
        flex: 1;
        padding: 12px 15px;
        font-size: 16px;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }

    .video-info {
        padding: 10px;
    }

    .video-title {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .video-meta {
        font-size: 11px;
    }

    .related-videos h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .video-details {
        padding: 12px;
        margin: 15px 0;
    }

    .details-preview {
        font-size: 14px;
        line-height: 1.5;
    }

    .toggle-btn {
        font-size: 13px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .video-header h1 {
        font-size: 16px;
    }

    .video-actions button {
        font-size: 14px;
        padding: 10px 12px;
    }

    .video-title {
        font-size: 13px;
    }

    .video-meta {
        font-size: 10px;
    }

    .related-videos h2 {
        font-size: 16px;
    }

    .video-grid {
        gap: 8px;
    }
}

/* Video Title Bar */
.video-title-bar {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.title-bar-content {
    flex: 1;
    min-width: 0;
}

.video-title-main {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #f0f0f0;
    line-height: 1.3;
    word-wrap: break-word;
}

.video-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #999;
}

.meta-item i {
    font-style: normal;
    font-size: 16px;
}

.video-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-icon {
    font-size: 18px;
}

.action-btn.like-btn {
    background: linear-gradient(135deg, #4a9eff 0%, #3d8ce7 100%);
    color: white;
}

.action-btn.like-btn:hover {
    background: linear-gradient(135deg, #3d8ce7 0%, #2a7ad4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.4);
}

.action-btn.share-btn {
    background: linear-gradient(135deg, #555 0%, #444 100%);
    color: white;
}

.action-btn.share-btn:hover {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Tablet için ayarlamalar */
@media (max-width: 1024px) {
    .video-title-bar {
        padding: 18px 20px;
    }

    .video-title-main {
        font-size: 20px;
    }

    .action-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Mobil için ayarlamalar */
@media (max-width: 768px) {
    .video-title-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }

    .video-title-main {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .video-meta-info {
        gap: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

    .video-actions {
        width: 100%;
        justify-content: space-between;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
    }

    .btn-text {
        display: inline;
    }
}

/* Küçük mobil için */
@media (max-width: 480px) {
    .video-title-bar {
        padding: 12px;
    }

    .video-title-main {
        font-size: 16px;
    }

    .meta-item {
        font-size: 12px;
    }

    .meta-item i {
        font-size: 14px;
    }

    .action-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-icon {
        font-size: 16px;
    }
}

/* Compact Info Bar - Universal */
.info-bar {
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    min-height: 50px;
}

.info-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.info-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.info-item {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

.info-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.info-btn.like-btn {
    background: linear-gradient(135deg, #4a9eff 0%, #3d8ce7 100%);
    color: white;
}

.info-btn.like-btn:hover {
    background: linear-gradient(135deg, #3d8ce7 0%, #2a7ad4 100%);
    transform: translateY(-1px);
}

.info-btn.share-btn {
    background: linear-gradient(135deg, #555 0%, #444 100%);
    color: white;
}

.info-btn.share-btn:hover {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    transform: translateY(-1px);
}

/* SEO Title for Video Page */
.seo-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #f0f0f0;
    line-height: 1.4;
}

/* Page Info Bar - For Homepage/New Page */
.page-info-bar .bar-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #f0f0f0;
}

/* Tablet */
@media (max-width: 1024px) {
    .info-bar {
        padding: 10px 16px;
        min-height: 45px;
    }

    .seo-title {
        font-size: 20px;
    }

    .page-info-bar .bar-title {
        font-size: 20px;
    }

    .info-btn {
        padding: 7px 14px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .info-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 12px;
        min-height: auto;
    }

    .info-bar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .info-bar-right {
        width: 100%;
        justify-content: space-between;
    }

    .info-btn {
        flex: 1;
        padding: 10px 12px;
        justify-content: center;
    }

    .seo-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .page-info-bar .bar-title {
        font-size: 18px;
    }

    .info-item {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .info-bar {
        padding: 10px;
    }

    .seo-title {
        font-size: 16px;
    }

    .page-info-bar .bar-title {
        font-size: 16px;
    }

    .info-btn {
        font-size: 12px;
        padding: 8px 10px;
    }

    .info-item {
        font-size: 12px;
    }
}
