/* Galeri Sayfası Stilleri */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-primary: #333;
    --text-secondary: #666;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #f8f9fa;
    --border-color: #dee2e6;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #f8f9fa;
    --footer-text: #333333;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f8f9fa;
    --card-bg: #1e1e1e;
    --border-color: #333333;
    --navbar-bg: rgba(26, 26, 26, 0.95);
    --footer-bg: #1a1a1a;
    --footer-text: #f8f9fa;
}


/* Video Arka Plan */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

    .video-background video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translateX(-50%) translateY(-50%);
        object-fit: cover;
    }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100% );
    z-index: 2;
}

/* Galeri Hero Section */
.gallery-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.gallery-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    margin: 10px auto 0;
    position: relative;
    animation: bounce 2s infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

    .scroll-arrow::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: -4px;
        width: 10px;
        height: 10px;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: rotate(45deg);
    }

/* Video Kontrolleri için Özel Stiller */
.video-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--dark-color));
    z-index: 2;
}

/* Video yükleme durumu için */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 3;
}

/* Mobil cihazlarda video performansı için */
@media (max-width: 768px) {
    .video-background video {
        display: block;
    }

    /* Mobil cihazlarda video kalitesini düşürme */
    .video-background {
        background: var(--dark-color); /* Fallback arka plan */
    }
}

/* Video otomatik oynatma desteklenmezse */
.no-video .video-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    .no-video .video-background video {
        display: none;
    }

/* Geri kalan CSS aynı kalacak... */

/* Galeri Filtreleri */
.gallery-filters {
    padding: 40px 0;
    background: var(--light-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: white;
    border: 2px solid transparent;
    color: var(--text-primary);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .filter-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .filter-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    }

/* Galeri Grid */
.gallery-grid {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    padding: 10px;
}

.gallery-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

    .gallery-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-card:hover .gallery-info h4 {
    transform: translateY(0);
}

.gallery-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-card:hover .gallery-category {
    transform: translateY(0);
}

.gallery-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    transform: translateY(-20px);
    transition: var(--transition);
}

.gallery-card:hover .gallery-actions {
    transform: translateY(0);
}

.gallery-action-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

    .gallery-action-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.1);
    }

    .gallery-action-btn.liked {
        background: var(--primary-color);
        color: white;
    }

.gallery-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.gallery-card:hover .gallery-badge {
    opacity: 1;
    transform: translateX(0);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

.lightbox-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

    .lightbox-close:hover {
        color: var(--primary-color);
        transform: scale(1.1);
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    z-index: 1001;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 20px;
    max-width: 600px;
}

    .lightbox-caption h3 {
        margin: 0 0 10px;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .lightbox-caption p {
        margin: 0;
        font-size: 1.1rem;
        opacity: 0.8;
    }

.lightbox-counter {
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.6;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

    .floating-btn:hover {
        background: var(--secondary-color);
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(76, 205, 196, 0.4);
    }

    .floating-btn:nth-child(2) {
        display: none;
    }

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

.loading-content p {
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .gallery-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .gallery-title {
        font-size: 3rem;
    }

    .gallery-item {
        padding: 8px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 60vh;
        min-height: 400px;
    }

    .gallery-title {
        font-size: 2.5rem;
        padding: 0 20px;
    }

    .gallery-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .gallery-image-container {
        height: 250px;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    /* Mobil cihazlarda video overlay'ı koyulaştır */
    .video-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        height: 50vh;
        min-height: 300px;
    }

    .gallery-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .filter-btn {
        width: 200px;
        justify-content: center;
    }

    .gallery-grid {
        padding: 20px 0;
    }

    .gallery-item {
        padding: 5px;
    }

    .lightbox-caption h3 {
        font-size: 1.4rem;
    }

    .lightbox-caption p {
        font-size: 1rem;
    }

    /* Mobil cihazlarda video tam ekran değil */
    .video-background video {
        min-width: auto;
        width: 100%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .gallery-filters {
        background: #2d2d2d;
    }

    .filter-btn {
        background: #3d3d3d;
        color: white;
    }

    .gallery-grid {
        background: #1a1a1a;
    }

    .gallery-card {
        background: #2d2d2d;
    }
}
/* İstatistikler */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filtre Başlığı */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

    .filter-header h3 {
        color: var(--text-primary);
        margin: 0;
        font-size: 1.5rem;
    }

.filter-search {
    position: relative;
    max-width: 300px;
}

    .filter-search i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-secondary);
    }

    .filter-search input {
        width: 100%;
        padding: 12px 15px 12px 45px;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        background: white;
        transition: var(--transition);
    }

        .filter-search input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
        }

/* Filtre Sayıları */
.filter-count {
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 5px;
    min-width: 20px;
    display: inline-block;
    text-align: center;
}

.filter-btn:not(.active) .filter-count {
    background: var(--text-secondary);
}

/* Boş Kategori Butonları */
.filter-btn[style*="pointer-events: none"] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

    .filter-btn[style*="pointer-events: none"]:hover {
        transform: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

/* Sonuç Bulunamadı */
.no-results {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

    .no-results i {
        margin-bottom: 20px;
        opacity: 0.5;
    }

    .no-results h3 {
        margin-bottom: 10px;
        color: var(--text-primary);
    }

    .no-results p {
        opacity: 0.7;
    }

/* Responsive Tasarım Güncellemeleri */
@media (max-width: 768px) {
    .gallery-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .filter-header {
        flex-direction: column;
        text-align: center;
    }

    .filter-search {
        max-width: 100%;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .filter-count {
        font-size: 0.7rem;
        padding: 1px 6px;
    }
}

@media (max-width: 576px) {
    .gallery-stats {
        flex-direction: column;
        gap: 15px;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
        justify-content: center;
    }
}
/* İstatistik sayıları için özel animasyon */
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Filtre sayıları için animasyon */
.filter-count {
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 5px;
    min-width: 20px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.filter-btn:not(.active) .filter-count {
    background: var(--text-secondary);
}

/* Sayı animasyonu için ek keyframes */
@keyframes numberPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.number-pop {
    animation: numberPop 0.3s ease;
}