/* ══════════════════════════════════════════════════════════════
   ÖZDEMIR NATURAL — home.css
   Ana sayfaya özel stiller (global.css tamamlayıcısı)
══════════════════════════════════════════════════════════════ */

/* ── AD SLİDER / VİDEO BÖLÜMÜ ── */
.slideshow {
    width: 60%;
    margin: 40px auto;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.ad-track-wrapper {
    overflow: hidden;
    border-radius: 10px;
    background: #222;
    cursor: grab;
}

.ad-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.ad-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
    background: #1a1a1a;
    line-height: 0;
}

.ad-slide video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    background: #000;
}

.ad-slide.image-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ── SLIDE OKLAR ── */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.82);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
}
.slide-arrow:hover { background: white; transform: translateY(-50%) scale(1.1); }
.slide-prev { left: 12px; }
.slide-next { right: 12px; }


/* ── VİDEO KONTROLLERİ ── */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.ad-slide:hover .video-controls {
    opacity: 1;
    pointer-events: auto;
}

.vc-btn {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
    backdrop-filter: blur(4px);
}
.vc-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
.vc-btn svg { width: 16px; height: 16px; }

.vc-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    padding: 8px 0;
    margin: -8px 0;
    box-sizing: content-box;
}
.vc-progress-bar::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    pointer-events: none;
}
.vc-progress-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    background: white;
    border-radius: 4px;
    pointer-events: none;
    transition: height 0.1s ease;
}
.vc-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%) scale(0);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
}
.vc-progress-bar:hover .vc-progress-thumb,
.vc-progress-bar.dragging .vc-progress-thumb { transform: translate(-50%, -50%) scale(1); }
.vc-progress-bar:hover .vc-progress-fill,
.vc-progress-bar.dragging .vc-progress-fill { height: 6px; }

.vc-volume {
    width: 80px;
    accent-color: white;
    cursor: pointer;
}

.fullscreen-btn {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.fullscreen-btn:hover { background: rgba(255,255,255,0.3); }
.fullscreen-btn svg { width: 16px; height: 16px; }

/* ── VİDEO MODAL ── */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.92);
}

.video-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
}

.video-modal-inner {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    height: 85vh;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.video-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
}
.video-modal-close:hover { background: rgba(255,255,255,0.35); transform: scale(1.1); }

.video-modal-track-wrapper { width: 100%; height: 100%; overflow: hidden; }

.video-modal-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-track .ad-slide { min-width: 100%; height: 100%; position: relative; line-height: 0; }
.video-modal-track .ad-slide video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.video-modal-track .ad-slide.image-slide img { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.video-modal-track .ad-slide:hover .video-controls { opacity: 1; pointer-events: auto; }
.video-modal-track .fullscreen-btn { display: none; }

.video-modal .slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.video-modal .slide-prev { left: 12px; }
.video-modal .slide-next { right: 12px; }


/* ── POPÜLER ÜRÜNLER BÖLÜMÜ ── */
.popular-section { width: 60%; margin: 50px auto; }

.section-line {
    height: 3px;
    width: 700px;
    background: black;
    border: none;
    margin: 10px auto 30px;
}

.popular-outer {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.pop-arrow {
    background: rgba(0,0,0,0.08);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.pop-arrow:hover { background: rgba(0,0,0,0.16); transform: scale(1.1); }

.popular-slider {
    flex: 1;
    overflow: hidden;
    cursor: grab;
}
.popular-slider:active { cursor: grabbing; }

.popular-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── ÜRÜN KARTI (popüler slider) ── */
.product {
    min-width: 33.33%;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
}

.product-inner {
    border: 1.5px solid #a8d5a2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-inner:hover {
    box-shadow: 0 4px 16px rgba(100,180,100,0.25);
    transform: scale(1.03);
}

.product-inner img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fafafa;
    display: block;
    flex-shrink: 0;
}

.product-info {
    padding: 10px 12px 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-name { margin: 0; font-size: 15px; font-weight: 600; color: #222; }
.product-price { margin: 0; font-size: 13px; font-weight: 600; color: black; }
.product-discounted-price { text-decoration: line-through; margin: 0; font-size: 13px; font-weight: 600; color: #505050; }
.product-detail { margin: 0; font-size: 13px; color: #666; }

#zeytinyagı_header { margin-top: 100px; }


/* ── NİCEFOTO BÖLÜMÜ ── */
.nicefoto {
    border: solid rgb(221, 33, 33);
    border-radius: 15px;
    background-color: rgb(33, 221, 58);
    height: 200px;
    width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    box-sizing: border-box;
}

#nicefotofr {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.nicefototext {
    margin-left: 150px;
    color: rgb(0, 0, 0);
}


/* ── YORUMLAR ── */
.review_main_box {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    background-color: rgb(255, 203, 154);
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    padding: 35px;
    box-sizing: border-box;
}

.review_box {
    height: 280px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 1px 1px 10px #d8d8d8a4;
    padding: 20px;
    box-sizing: border-box;
}

.review_header { display: flex; align-items: center; gap: 15px; }
.review_header img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review_user_info { display: flex; flex-direction: column; }
.review_box_names { margin: 0; font-size: 18px; font-weight: 600; }
.review_stars { color: #ffc107; margin-top: 5px; font-size: 14px; }
.review_text { margin-top: 20px; line-height: 1.6; }


/* ── PESTİSİT BÖLÜMÜ ── */
.pestisit_main {
    margin-top: 60px;
    display: flex;
    gap: 200px;
    justify-content: center;
    align-items: center;
}
.pestisit_main .item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pestisit_main i { font-size: 60px; }
.pestisit_main a { padding: 30px; }


/* ── KATEGORİ BÖLÜMÜ ── */
.category-section { width: 60%; margin: 60px auto; }

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
}
.categories:active { cursor: grabbing; }

.category { width: calc(23% - 10px); transition: transform 0.3s ease; cursor: pointer; }
.category-inner { border: 1.5px solid #a8d5a2; border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow 0.3s ease; }
.category:hover .category-inner { box-shadow: 0 4px 16px rgba(100,180,100,0.18); }
.category:hover { transform: scale(1.04); }
.category-inner img { width: 100%; height: 160px; object-fit: cover; display: block; }
.category-inner a { display: block; padding: 8px 10px 10px; font-size: 15px; color: #333; text-decoration: none; }


/* ── SON REKLAM ── */
.lastad img {
    max-height: 300px;
    width: 1000px;
    border-radius: 30px;
    margin-bottom: 100px;
}
