:root {
    --premium-gold: #b3834d;
    --dark-bg: #121212;
    --card-bg: #1a1a1a;
    --border-color: #2a2a2a;
}

body {
    background-color: var(--dark-bg);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================== ANİMASYON ================== */
.animate-element, .animate-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate-element.fade-in-up, .animate-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* ================== SAYFA ÜST (HERO) ================== */
.page-hero {
    background: linear-gradient(rgba(18,18,18,0.8), rgba(18,18,18,0.9)), url('../uploads/hizmetlerimiz/sabitkasa.png') center/cover;
    padding: 100px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 48px;
    margin: 0 0 15px 0;
    font-weight: 800;
    letter-spacing: 2px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--premium-gold);
    font-weight: 600;
}

.breadcrumb a { color: #888; text-decoration: none; transition: 0.3s; }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 10px; margin: 0 8px; color: #555; }

/* ================== VİDEO GALERİ BAŞLIK ================== */
.video-gallery-section {
    padding: 80px 0;
    min-height: 50vh;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--premium-gold);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-main-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.gold-text { color: var(--premium-gold); }

.section-desc {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* ================== VİDEO GRID & KARTLAR ================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--premium-gold);
    box-shadow: 0 15px 30px rgba(179, 131, 77, 0.2);
}

/* Küçük Resim ve Hover Karartması */
.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-icon-box {
    width: 60px;
    height: 60px;
    background: var(--premium-gold);
    color: #121212;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon-box i {
    margin-left: 5px; /* Play ikonunu mükemmel ortalamak için */
}

.video-card:hover .play-icon-box {
    transform: scale(1);
}

/* Video Başlığı */
.video-info {
    padding: 20px;
    text-align: center;
}

.video-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.video-card:hover .video-info h3 {
    color: var(--premium-gold);
}

/* Boş Durum */
.empty-media {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

.empty-media i {
    font-size: 50px;
    color: var(--border-color);
    margin-bottom: 20px;
}

/* ================== YOUTUBE VİDEO MODAL (POPUP) ================== */
.yt-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.yt-modal-content {
    width: 80%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(179, 131, 77, 0.3);
    border: 1px solid var(--premium-gold);
    animation: zoomIn 0.3s ease;
}

.yt-close {
    position: absolute;
    top: 30px; right: 50px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.yt-close:hover { color: var(--premium-gold); transform: scale(1.1); }

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ================== MOBİL UYUMLULUK ================== */
@media (max-width: 1200px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { 
    .video-grid { grid-template-columns: 1fr; } 
    .page-title { font-size: 36px; }
    .section-main-title { font-size: 32px; }
    .yt-modal-content { width: 95%; }
    .yt-close { top: 15px; right: 20px; font-size: 40px; }
}