/* Media Container: Resim ve Video kutucukları */
.media-container, .media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.btn-primary {
	background-color: #edd682;
}

/* Her bir kutu */
.media-box, .media-item {
    flex: 1 1 calc(50% - 20px);  /* Yan yana 2 kutu, gap kadar boşluk çıkart */
    max-width: calc(100% - 10px);
    background: linear-gradient(178deg, #fff1b8, #d4af37);
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.media-box h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #5a4a00;
    letter-spacing: 0.5px;
    position: relative;
}
/* Başlık */
.media-box h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #e6b800, #ffcc00);
    margin: 10px auto 0;
    border-radius: 3px;
}

/* Resim ve Video */
.media-item img,
.media-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.2s ease;
}

/* Hover efekti */
.media-item img:hover,
.media-item video:hover {
    transform: scale(1.05);
}

/* Responsive: Mobilde alt alta diz */
@media (max-width: 768px) {
    .media-box, .media-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none; /* JS ile açılacak */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Lightbox içindeki medya */
.lightbox-overlay img,
.lightbox-overlay video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}


/* Tümünü Görüntüle butonları */
.media-button .btn {
    display: inline-block;
    padding: 8px 24px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.media-button .btn {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #fff1b8, #d4af37);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.7s;
	font-size: 12px;
}

.media-button .btn:hover {
    background: #C0C0C0;
    color: #000 !important;   /* istediğin renk */
    text-decoration: none !important;
}


/* Media Box responsive */
@media (max-width: 768px) {
    .media-box, .media-item {
        flex: 1 1 100%;
        max-width: 100%;
		background: linear-gradient(178deg, #fff1b8, #d4af37);
    }
}
