/* ==========================================================================
   DUYEM ELEKTRONİK - GÜNCEL PAYLAŞIMLAR, VİDEO VİTRİN & YAPILAN İŞLER
   Existing styles.css ile tam uyumlu, çakışmasız (duyem-*) stil modülü
   ========================================================================== */

.duyem-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: duyemPulseDot 2s infinite;
    flex-shrink: 0;
}

@keyframes duyemPulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.duyem-updates-section {
    padding: 4.5rem 0;
    position: relative;
}

.duyem-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem auto;
}

.duyem-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.duyem-section-header h2 {
    margin-bottom: 0.85rem;
}

.duyem-section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* ==========================================================================
   SPOTLIGHT / ÖNE ÇIKAN TANITIM VİDEOSU VİTRİNİ
   ========================================================================== */
.duyem-spotlight-wrap {
    margin-bottom: 2.75rem;
}

.duyem-spotlight-card {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.65));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(59, 130, 246, 0.14);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.duyem-spotlight-card:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.65), 0 0 45px rgba(59, 130, 246, 0.22);
}

.duyem-spotlight-media {
    position: relative;
    background: #020617;
    aspect-ratio: 16 / 9;
    min-height: 310px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duyem-spotlight-media video,
.duyem-spotlight-media iframe,
.duyem-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

.duyem-spotlight-media video {
    object-fit: contain;
    background: #020617;
}

.duyem-spotlight-overlay-play {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 11, 20, 0.25), rgba(5, 11, 20, 0.65));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
    color: #fff;
    transition: background 0.3s ease;
}

.duyem-spotlight-overlay-play:hover {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2), rgba(5, 11, 20, 0.5));
}

.duyem-play-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.22), 0 10px 30px rgba(59, 130, 246, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding-left: 4px;
}

.duyem-spotlight-overlay-play:hover .duyem-play-circle {
    transform: scale(1.1);
}

.duyem-spotlight-info {
    padding: 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.duyem-spotlight-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.duyem-badge-featured {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(168, 85, 247, 0.25));
    border: 1px solid rgba(96, 165, 250, 0.45);
    color: #93c5fd;
}

.duyem-spotlight-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main);
    margin: 0.6rem 0 0.7rem 0;
}

.duyem-spotlight-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
    white-space: pre-line;
}

.duyem-spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.duyem-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.duyem-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-blue), #2563eb);
    color: #fff;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.duyem-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(59, 130, 246, 0.5);
}

.duyem-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: #34d399;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.duyem-btn-whatsapp:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   FILTER PILLS
   ========================================================================== */
.duyem-filters-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
}

.duyem-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.duyem-filter-pill:hover {
    color: var(--text-main);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.12);
}

.duyem-filter-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--neon-blue), #2563eb);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.duyem-filter-count {
    font-size: 0.76rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   FEED CARDS GRID
   ========================================================================== */
.duyem-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
}

.duyem-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    animation: duyemCardIn 0.45s ease both;
}

.duyem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.48);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 24px rgba(59, 130, 246, 0.14);
}

@keyframes duyemCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.duyem-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #020617;
    overflow: hidden;
    cursor: pointer;
}

.duyem-card-media img,
.duyem-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.duyem-card:hover .duyem-card-media img {
    transform: scale(1.06);
}

.duyem-media-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.duyem-media-tag.video {
    background: rgba(239, 68, 68, 0.88);
    border-color: rgba(252, 165, 165, 0.4);
}

.duyem-media-tag.ba {
    background: rgba(168, 85, 247, 0.88);
    border-color: rgba(216, 180, 254, 0.45);
}

.duyem-media-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(2, 6, 23, 0.8);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.duyem-card-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(168, 85, 247, 0.92));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding-left: 3px;
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.22), 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease;
    z-index: 3;
}

.duyem-card-media:hover .duyem-card-play-badge {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Text-only Status / Announcement Banner Top */
.duyem-status-banner {
    padding: 1.4rem 1.4rem 0.9rem 1.4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(168, 85, 247, 0.12));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.duyem-status-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Card Body */
.duyem-card-body {
    padding: 1.35rem 1.4rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
}

.duyem-card-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.duyem-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.24rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.28);
}

.duyem-cat-badge.cat-elektrik { background: rgba(234, 179, 8, 0.14); color: #facc15; border-color: rgba(234, 179, 8, 0.3); }
.duyem-cat-badge.cat-beyaz { background: rgba(168, 85, 247, 0.14); color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }
.duyem-cat-badge.cat-kombi { background: rgba(239, 68, 68, 0.14); color: #f87171; border-color: rgba(239, 68, 68, 0.3); }
.duyem-cat-badge.cat-su { background: rgba(6, 182, 212, 0.14); color: #22d3ee; border-color: rgba(6, 182, 212, 0.3); }
.duyem-cat-badge.cat-duyuru { background: rgba(16, 185, 129, 0.14); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }

.duyem-date-text {
    color: var(--text-muted);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.duyem-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.35;
    cursor: pointer;
    transition: color 0.2s ease;
}

.duyem-card-title:hover {
    color: #60a5fa;
}

.duyem-card-desc {
    color: var(--text-muted);
    font-size: 0.91rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.duyem-card-location {
    font-size: 0.8rem;
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.duyem-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.85rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.duyem-card-actions-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.duyem-icon-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.duyem-icon-action:hover {
    color: #fff;
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
}

.duyem-icon-action.liked {
    color: #fb7185;
    border-color: rgba(251, 113, 133, 0.45);
    background: rgba(251, 113, 133, 0.12);
}

.duyem-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: none;
    color: #60a5fa;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.3rem 0.2rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.duyem-read-more-btn:hover {
    color: #93c5fd;
    transform: translateX(3px);
}

/* ==========================================================================
   BEFORE / AFTER INTERACTIVE COMPARISON SLIDER
   ========================================================================== */
.duyem-ba-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
    background: #020617;
}

.duyem-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.duyem-ba-before-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
}

.duyem-ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.9);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
}

.duyem-ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    border: 2px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.duyem-ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    margin: 0;
}

.duyem-ba-label {
    position: absolute;
    bottom: 10px;
    z-index: 3;
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(2, 6, 23, 0.8);
    color: #fff;
    pointer-events: none;
}

.duyem-ba-label.before { left: 10px; border: 1px solid rgba(239, 68, 68, 0.5); }
.duyem-ba-label.after { right: 10px; border: 1px solid rgba(16, 185, 129, 0.5); }

/* Load more & empty state */
.duyem-load-more-wrap {
    text-align: center;
    margin-top: 2.25rem;
}

.duyem-empty-feed {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--text-muted);
}

/* ==========================================================================
   FULLSCREEN POST / VIDEO DETAIL MODAL
   ========================================================================== */
.duyem-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.duyem-modal-overlay.active {
    display: flex;
    animation: duyemFadeIn 0.22s ease;
}

@keyframes duyemFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.duyem-modal-box {
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow-y: auto;
    background: #0b1220;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(59, 130, 246, 0.2);
    position: relative;
}

.duyem-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(2, 6, 23, 0.78);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.duyem-modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.duyem-modal-media {
    position: relative;
    width: 100%;
    background: #020617;
    aspect-ratio: 16 / 9;
    max-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.duyem-modal-media iframe,
.duyem-modal-media video {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

.duyem-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.duyem-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(2, 6, 23, 0.72);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.duyem-gallery-nav:hover { background: var(--neon-blue); }
.duyem-gallery-nav.prev { left: 14px; }
.duyem-gallery-nav.next { right: 14px; }

.duyem-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem 0 1.5rem;
    overflow-x: auto;
}

.duyem-gallery-thumb {
    width: 68px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.duyem-gallery-thumb.active,
.duyem-gallery-thumb:hover {
    opacity: 1;
    border-color: var(--neon-blue);
}

.duyem-modal-content {
    padding: 1.75rem 2rem 2rem 2rem;
}

.duyem-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.75rem 0 0.75rem 0;
    line-height: 1.3;
}

.duyem-modal-desc {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.7;
    white-space: pre-line;
    margin-bottom: 1.5rem;
}

.duyem-modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Toast notification */
.duyem-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    border: 1px solid rgba(59, 130, 246, 0.5);
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 200000;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.duyem-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   SPOTLIGHT AUTO-LOOP CONTROLS & COMPACT ARCHIVE CARDS
   ========================================================================== */
.duyem-sound-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #f8fafc;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.duyem-sound-toggle:hover {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    transform: translateY(-1px);
}

.duyem-video-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
}

.duyem-archive-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 1.25rem 0;
}

.duyem-archive-heading h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.duyem-feed-grid.compact-mode {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

.duyem-feed-grid.compact-mode .duyem-card {
    border-radius: 18px;
}

.duyem-feed-grid.compact-mode .duyem-card-body {
    padding: 0.95rem 1rem 0.9rem 1rem;
    gap: 0.45rem;
}

.duyem-feed-grid.compact-mode .duyem-card-title {
    font-size: 0.96rem;
}

.duyem-feed-grid.compact-mode .duyem-card-desc {
    font-size: 0.83rem;
    -webkit-line-clamp: 2;
}

.duyem-card.is-now-playing {
    border-color: rgba(16, 185, 129, 0.75);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   UPGRADED SERVICE CARD IMAGES (NO DUPLICATES, CLEAN 1-COL & 2-COL GRID)
   ========================================================================== */
.service-item .service-images {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.85rem;
    padding-bottom: 0;
    overflow: visible !important;
}

.service-item .service-images.single-photo {
    grid-template-columns: 1fr;
}

.service-item .service-images img {
    width: 100% !important;
    height: 112px !important;
    border-radius: 12px !important;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.35s ease, border-color 0.3s ease;
}

.service-item:hover .service-images img {
    border-color: rgba(59, 130, 246, 0.45);
}

/* ==========================================================================
   INTERACTIVE FAULT / ERROR CODE LOOKUP BAR (ARIZA KODU REHBERİ)
   ========================================================================== */
.duyem-fault-lookup {
    max-width: 920px;
    margin: 0 auto 3rem auto;
    padding: 1.75rem 2rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.62));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45);
}

.duyem-fault-lookup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.duyem-fault-lookup-top h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-main);
}

.duyem-fault-search-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.duyem-fault-search-input {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(2, 6, 23, 0.65);
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.duyem-fault-search-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.duyem-fault-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.duyem-fault-chip {
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.duyem-fault-chip:hover {
    border-color: var(--neon-blue);
    background: rgba(59, 130, 246, 0.16);
    color: #fff;
}

.duyem-fault-results {
    display: none;
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1rem;
}

.duyem-fault-result-card {
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-align: left;
}

.duyem-fault-code-pill {
    display: inline-block;
    padding: 0.22rem 0.65rem;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

/* Rich Service Modal Technical Tables & Transparency Callouts */
.duyem-code-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 1rem 0;
    font-size: 0.86rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.duyem-code-table th {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    text-align: left;
    padding: 0.6rem 0.75rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.duyem-code-table td {
    padding: 0.58rem 0.75rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.duyem-code-table tr:last-child td {
    border-bottom: none;
}

.duyem-code-table .code-cell {
    font-weight: 800;
    color: #fca5a5;
    white-space: nowrap;
}

.duyem-transparency-box {
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #d1fae5;
    font-size: 0.9rem;
    line-height: 1.65;
}

.duyem-transparency-box h4 {
    color: #34d399 !important;
    margin-bottom: 0.45rem !important;
}

.duyem-safe-check-box {
    margin: 1rem 0;
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fde68a;
    font-size: 0.88rem;
}

.duyem-safe-check-box h4 {
    color: #fbbf24 !important;
    margin-bottom: 0.45rem !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
    .duyem-feed-grid.compact-mode {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .duyem-spotlight-card {
        grid-template-columns: 1fr;
    }
    .duyem-feed-grid,
    .duyem-feed-grid.compact-mode {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .duyem-updates-section {
        padding: 3rem 0;
    }
    .duyem-feed-grid,
    .duyem-feed-grid.compact-mode {
        grid-template-columns: 1fr;
    }
    .duyem-spotlight-info {
        padding: 1.4rem;
    }
    .duyem-modal-content {
        padding: 1.25rem;
    }
    .duyem-modal-media {
        max-height: 44vh;
    }
    .duyem-fault-lookup {
        padding: 1.25rem;
    }
}
