/* Video Galeri Sayfası - Modern UI */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #DEB887;
    --text-color: #333;
    --light-bg: #FFF8DC;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Sayfa Başlığı - Modern Tasarım */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../resimler/patterns/dental-pattern.png');
    opacity: 0.1;
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(1deg); }
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInDown 1s ease-out;
}

.page-header .lead {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Video Filtreleme - Modern Tasarım */
.video-filters {
    margin: -3rem auto 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.filter-button {
    padding: 1rem 2rem;
    border: 2px solid transparent;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.filter-button:hover::before,
.filter-button.active::before {
    opacity: 1;
}

.filter-button:hover,
.filter-button.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Video Grid - Modern Tasarım */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.video-card:hover .video-thumbnail::before {
    opacity: 0.3;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-info {
    padding: 2rem;
    background: white;
    position: relative;
}

.video-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 40px;
    height: 40px;
    background: white;
}

.video-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 700;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 1rem;
}

.category {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.views i {
    color: var(--primary-color);
}

/* Load More Button - Modern Tasarım */
.load-more {
    text-align: center;
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.load-more-button {
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.load-more-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.load-more-button i {
    transition: var(--transition);
}

.load-more-button.loading i {
    animation: spin 1s linear infinite;
}

/* Video Modal - Modern Tasarım */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.modal-close:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.modal-title {
    padding: 2rem;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    color: var(--text-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: black;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animasyonlar */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .page-header {
        padding: 6rem 0 4rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .video-filters {
        margin: -2rem auto 3rem;
    }

    .filter-buttons {
        flex-direction: column;
        padding: 1rem;
    }

    .filter-button {
        width: 100%;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-modal {
        padding: 1rem;
    }

    .modal-content {
        margin: 0;
    }

    .modal-title {
        padding: 1.5rem;
        font-size: 1.2rem;
    }
} 