/* Kampanyalar: liste, detay ve anasayfa büyük modal */

/* ---------- Liste ---------- */
.cmp-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.cmp-card { display: flex; flex-direction: column; background: #050505; border: 1px solid #1a1a1a; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .3s, transform .3s; }
.cmp-card:hover { border-color: rgba(201,160,80,.55); transform: translateY(-6px); }
.cmp-card-img { position: relative; aspect-ratio: 16 / 10; background: #0b0b0b; overflow: hidden; }
.cmp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.cmp-card:hover .cmp-card-img img { transform: scale(1.05); }
.cmp-badge { position: absolute; left: 14px; top: 14px; background: #c9a050; color: #000; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 50px; padding: 6px 14px; }
.cmp-badge.soon { background: #ff6b5c; color: #fff; }
.cmp-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cmp-card-body h2 { margin: 0; font-size: 1.2rem; font-weight: 500; color: #fff; line-height: 1.35; }
.cmp-card-body p { margin: 0; color: #9aa0aa; line-height: 1.7; font-size: .95rem; }
.cmp-dates { font-size: .78rem; letter-spacing: .06em; color: #c9a050; }
.cmp-more { margin-top: auto; padding-top: 8px; color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.cmp-card:hover .cmp-more { color: #c9a050; }

/* ---------- Detay ---------- */
.cmp-detail { background: #000; padding: 140px 5% 70px; }
.cmp-detail > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.cmp-detail-img { border-radius: 12px; overflow: hidden; border: 1px solid #1a1a1a; margin-bottom: 34px; background: #0b0b0b; }
.cmp-detail-img img { width: 100%; display: block; }
.cmp-detail h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 300; color: #fff; margin: 0 0 14px; letter-spacing: .02em; }
.cmp-detail .cmp-dates { display: inline-block; margin-bottom: 18px; padding: 6px 16px; border: 1px solid rgba(201,160,80,.4); border-radius: 50px; }
.cmp-detail-text { color: #b6bbc4; line-height: 1.9; max-width: 780px; }
.cmp-detail-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.cmp-detail-actions a.cmp-link { color: #c9a050; text-decoration: none; letter-spacing: .05em; font-size: .92rem; }
.cmp-detail-actions a.cmp-link:hover { text-decoration: underline; }

/* ---------- Anasayfa büyük modal ---------- */
.cmp-modal { position: fixed; inset: 0; z-index: 4000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmp-modal.open { display: flex; animation: cmp-fade .35s ease; }
@keyframes cmp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmp-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.cmp-dialog { position: relative; width: min(1120px, 96vw); max-height: 94vh; display: flex; flex-direction: column; background: #0a0a0a; border: 1px solid rgba(201,160,80,.35); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.65); animation: cmp-pop .45s cubic-bezier(.2,.8,.2,1); }
.cmp-slide { display: none; flex-direction: column; min-height: 0; }
.cmp-slide.active { display: flex; }
.cmp-stage { display: flex; align-items: center; justify-content: center; background: #050505; min-height: 0; }
.cmp-stage a { display: block; line-height: 0; }
.cmp-stage img { display: block; max-width: 100%; max-height: min(74vh, 780px); width: auto; height: auto; object-fit: contain; }
.cmp-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding: 18px 26px; border-top: 1px solid #1c1c1c; }
.cmp-foot-text { min-width: 0; flex: 1 1 320px; }
.cmp-foot-text b { display: block; color: #fff; font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; }
.cmp-foot-text span { display: block; color: #9aa0aa; font-size: .88rem; margin-top: 4px; line-height: 1.5; }
.cmp-foot-btn { flex: 0 0 auto; padding: 13px 34px; border-radius: 50px; background: #c9a050; color: #000; font-weight: 600; letter-spacing: .08em; font-size: .85rem; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.cmp-foot-btn:hover { background: #e0b862; color: #000; }
.cmp-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.cmp-close:hover { background: #c9a050; border-color: #c9a050; color: #000; }
.cmp-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.cmp-nav:hover { background: #c9a050; border-color: #c9a050; color: #000; }
.cmp-nav.prev { left: 14px; } .cmp-nav.next { right: 14px; }
.cmp-dots { display: flex; gap: 8px; justify-content: center; padding: 0 0 14px; }
.cmp-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #3a3a3a; cursor: pointer; padding: 0; }
.cmp-dots button.active { background: #c9a050; }
body.cmp-lock { overflow: hidden; }

@media (max-width: 700px) {
    .cmp-modal { padding: 10px; }
    .cmp-detail { padding: 120px 16px 50px; }
    .cmp-stage img { max-height: 62vh; }
    .cmp-foot { padding: 14px 16px; }
    .cmp-foot-btn { width: 100%; text-align: center; }
    .cmp-nav { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .cmp-modal.open, .cmp-dialog { animation: none; } }
