/* Arkali Photo & Video Gallery - Arkalı Çiçek kurumsal tema */

/* Genel layout */
.arkali-layout {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin: 20px 0 30px;
}

.arkali-layout-hero {
    order: 1;
}

.arkali-layout-main {
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
    gap: 22px;
}

@media (max-width: 900px) {
    .arkali-layout-main {
        grid-template-columns: 1fr;
    }
}

/* Genel grid galeri */
.arkali-gallery-wrapper {
    display: grid;
    grid-gap: 20px;
    margin: 0;
}

.arkali-gallery-wrapper.arkali-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.arkali-gallery-wrapper.arkali-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arkali-gallery-wrapper.arkali-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.arkali-gallery-wrapper.arkali-columns-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.arkali-gallery-wrapper.arkali-columns-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .arkali-gallery-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .arkali-gallery-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .arkali-gallery-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Kart tasarımı – yeşil temaya uygun */
.arkali-gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    background: #ffffff;
    border: 1px solid rgba(46, 125, 50, 0.14); /* #2e7d32 */
}

.arkali-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
    border-color: rgba(102, 187, 106, 0.7); /* #66bb6a */
}

.arkali-gallery-inner {
    position: relative;
    overflow: hidden;
}

.arkali-gallery-thumb {
    width: 100%;
    padding-top: 70%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.35s ease, background-image 0.3s ease;
}

.arkali-gallery-item:hover .arkali-gallery-thumb {
    transform: scale(1.06);
}

.arkali-gallery-thumb.arkali-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #a5d6a7 0, #2e7d32 55%, #1b5e20 100%);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Overlay – sadece rozet, isim yok */
.arkali-gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(5, 40, 20, 0.92), rgba(5, 40, 20, 0.10));
    color: #f1fff6;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Rozet – yaprak hissi */
.arkali-gallery-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(129, 199, 132, 0.18);
    border: 1px solid rgba(200, 230, 201, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e8f5e9;
}

/* Lightbox */

.arkali-lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.arkali-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(129, 199, 132, 0.18), rgba(0, 0, 0, 0.88));
    backdrop-filter: blur(5px);
}

.arkali-lightbox-content {
    position: relative;
    max-width: 980px;
    width: 100%;
    max-height: 90vh;
    background: #08110a;
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(129, 199, 132, 0.4);
}

.arkali-lightbox-close {
    position: absolute;
    right: 12px;
    top: 6px;
    border: none;
    background: none;
    color: #e8f5e9;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.arkali-lightbox-close:hover {
    color: #a5d6a7;
}

.arkali-lightbox-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.arkali-lightbox-media {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1b5e20 0, #000 60%);
}

.arkali-lightbox-media img,
.arkali-lightbox-media iframe,
.arkali-lightbox-media video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.arkali-lightbox-caption {
    padding: 8px 18px 12px;
    color: #c8e6c9;
    font-size: 13px;
    border-top: 1px solid rgba(200, 230, 201, 0.16);
    min-height: 0.5rem;
}

/* Empty mesajı */
.arkali-gallery-empty {
    font-style: italic;
    color: #607d8b;
}

/* ===== Slider (Ana Sayfa Banner’ı için) ===== */

.arkali-gallery-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.30);
    margin: 5px 0 10px;
    background: radial-gradient(circle at top left, #e8f5e9 0, #ffffff 50%, #e0f2f1 100%);
    border: 1px solid rgba(129, 199, 132, 0.32);
}

.arkali-gallery-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.arkali-gallery-slider-wrapper .arkali-gallery-item {
    min-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.arkali-gallery-slider-wrapper .arkali-gallery-inner {
    border-radius: 20px;
}

/* Slider navigasyon okları */

.arkali-gallery-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(5, 40, 20, 0.70);
    color: #e8f5e9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.arkali-gallery-slider-nav:hover {
    background: rgba(76, 175, 80, 0.95);
    transform: translateY(-50%) scale(1.04);
}

.arkali-gallery-slider-prev {
    left: 16px;
}

.arkali-gallery-slider-next {
    right: 16px;
}

@media (max-width: 768px) {
    .arkali-gallery-slider-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* ===== Sağ tarafta "Video Köşesi" ===== */

.arkali-layout-video {
    background: #f5fbf7;
    border-radius: 18px;
    padding: 14px 14px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(129, 199, 132, 0.35);
}

.arkali-layout-video-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1b5e20;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.arkali-layout-video-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arkali-layout-video-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
    border: none;
}

.arkali-layout-video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.arkali-layout-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #a5d6a7 0, #2e7d32 55%, #1b5e20 100%);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.arkali-layout-video-badge {
    position: absolute;
    right: 8px;
    bottom: 6px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(5, 40, 20, 0.85);
    color: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.40);
}

.arkali-layout-video-empty {
    font-size: 13px;
    color: #607d8b;
    margin: 6px 0 0;
}
