/* ============================================================
   MODEL PREMIUM - Mezar / Tezgah detay sayfaları
   Ana site tasarım diliyle tutarlı: beyaz, minimal, lacivert
   ============================================================ */

.model-premium {
    --white:        #ffffff;
    --paper:        #fbfaf7;
    --soft:         #f5f4f1;
    --line:         #e9e7e1;
    --ink:          #2b2b2b;
    --ink-soft:     #5e5e5e;
    --gold:         #1a3a5c;
    --gold-soft:    #3d6a99;
    --gold-tint:    #edf3f9;
    --whatsapp:     #25d366;
    --whatsapp-dk:  #1aa851;

    --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 40px rgba(32, 35, 42, .08);
    --shadow-sm: 0 6px 20px rgba(32, 35, 42, .06);

    background: var(--white);
    color: var(--ink);
    font-family: var(--ff);
    font-size: 16px;
    line-height: 1.65;
}

.model-premium *,
.model-premium *::before,
.model-premium *::after { box-sizing: border-box; }

/* ============ HEADER ============ */
.mp-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: clamp(24px, 3vw, 40px) 0 clamp(20px, 2.5vw, 32px);
}

.mp-shell {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
}

.mp-header .breadcrumb {
    margin-bottom: clamp(20px, 3vw, 32px);
}

.mp-header__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.mp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--gold-tint);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 16px;
}

.mp-title {
    margin: 0 0 clamp(12px, 1.8vw, 16px);
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--ink);
}

.mp-desc {
    margin: 0;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 62ch;
}

.mp-meta {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 32px);
    box-shadow: var(--shadow-sm);
}

.mp-meta__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.mp-meta__row:last-child { border-bottom: 0; }

.mp-meta__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mp-meta__value {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.mp-meta__count {
    text-align: center;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.mp-meta__count-num {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 6px;
}

.mp-meta__count-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============ FEATURES STRIP ============ */
.mp-features {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: clamp(20px, 3vw, 32px) 0;
}

.mp-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(16px, 3vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mp-feature__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.mp-feature__note {
    font-size: 13px;
    color: var(--ink-soft);
}

/* ============ BODY ============ */
.mp-body {
    padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
}

.mp-body__grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

/* ============ SIDEBAR ============ */
.mp-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 32px);
}

.mp-nav {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.mp-nav__title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mp-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-nav__item {
    border-bottom: 1px solid var(--line);
}

.mp-nav__item:last-child { border-bottom: 0; }

.mp-nav__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    text-decoration: none;
    transition: all .2s ease;
}

.mp-nav__link:hover { padding-left: 14px; color: var(--gold); }

.mp-nav__no {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-soft);
}

.mp-nav__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.mp-nav__count {
    font-size: 12px;
    color: var(--ink-soft);
}

.mp-nav__item--current .mp-nav__link {
    color: var(--gold);
    font-weight: 700;
    padding-left: 14px;
}

.mp-nav__item--current .mp-nav__no { color: var(--gold); }

/* Contact card */
.mp-contact {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 12px 30px rgba(26, 58, 92, .25);
}

.mp-contact__kicker {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .8;
}

.mp-contact__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.mp-contact__text {
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.6;
    opacity: .9;
}

.mp-contact__phone {
    display: block;
    margin-bottom: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
}

.mp-contact__phone:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.mp-contact__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    transition: all .2s ease;
}

.mp-contact__wa:hover {
    background: var(--whatsapp-dk);
    transform: translateY(-2px);
}

.mp-contact__wa svg { width: 18px; height: 18px; }

.mp-contact__note {
    margin: 14px 0 0;
    font-size: 11px;
    opacity: .7;
    text-align: center;
}

/* ============ GALLERY ============ */
.mp-gallery { min-width: 0; }

.mp-gallery__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(24px, 4vw, 40px);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}

.mp-gallery__count {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

.mp-gallery__count strong {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    margin-right: 8px;
}

.mp-views {
    display: flex;
    gap: 8px;
}

.mp-view {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .2s ease;
}

.mp-view svg { width: 16px; height: 16px; }

.mp-view:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.mp-view.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.mp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 28px);
}

.mp-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mp-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s ease;
}

.mp-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.mp-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--soft);
    overflow: hidden;
    cursor: zoom-in;
}

.mp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.mp-card:hover .mp-card__img { transform: scale(1.05); }

.mp-card__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: var(--ink);
    opacity: 0;
    transform: scale(.9);
    transition: all .25s ease;
}

.mp-card:hover .mp-card__zoom {
    opacity: 1;
    transform: scale(1);
}

.mp-card__zoom svg { width: 18px; height: 18px; }

.mp-card__body {
    padding: 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.mp-card__no {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
}

.mp-card__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gold-tint);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: 999px;
    text-decoration: none;
    transition: all .2s ease;
}

.mp-card__cta:hover {
    background: var(--gold);
    color: #fff;
    transform: translateX(2px);
}

.mp-card__cta svg { width: 12px; height: 12px; }

.mp-empty {
    padding: 60px 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 17px;
}

/* ============ CTA FOOTER ============ */
.mp-cta {
    margin-top: clamp(48px, 6vw, 80px);
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
    box-shadow: 0 16px 48px rgba(26, 58, 92, .3);
}

.mp-cta__kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .8;
}

.mp-cta__title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
}

.mp-cta__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    opacity: .92;
    max-width: 52ch;
}

.mp-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mp-cta__phone,
.mp-cta__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.mp-cta__phone {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
}

.mp-cta__phone:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.mp-cta__wa {
    background: var(--whatsapp);
    color: #fff;
}

.mp-cta__wa:hover {
    background: var(--whatsapp-dk);
    transform: translateY(-2px);
}

.mp-cta__wa svg { width: 20px; height: 20px; }

/* ============ LIGHTBOX ============ */
.mp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    background: rgba(0, 0, 0, .95);
    backdrop-filter: blur(8px);
}

.mp-lightbox.is-open { display: flex; }

.mp-lightbox__stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
}

.mp-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    border-radius: var(--radius);
    animation: mpFadeIn .4s ease;
}

@keyframes mpFadeIn {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}

.mp-lightbox__bar {
    position: absolute;
    top: clamp(20px, 3vw, 32px);
    left: clamp(20px, 3vw, 40px);
    right: clamp(20px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mp-lightbox__count {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .04em;
}

.mp-lightbox__close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.mp-lightbox__close:hover {
    background: rgba(255, 255, 255, .2);
    transform: rotate(90deg);
}

.mp-lightbox__close svg { width: 18px; height: 18px; }

.mp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.mp-lightbox__nav:hover {
    background: rgba(255, 255, 255, .2);
}

.mp-lightbox__nav svg { width: 20px; height: 20px; }

.mp-lightbox__nav--prev { left: clamp(12px, 3vw, 32px); }
.mp-lightbox__nav--next { right: clamp(12px, 3vw, 32px); }

.mp-lightbox__caption {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    text-align: center;
    letter-spacing: .02em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .mp-body__grid {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 32px;
    }

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

@media (max-width: 900px) {
    .mp-header__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mp-meta { max-width: 520px; }

    .mp-body__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mp-sidebar {
        position: static;
        order: -1;
    }

    .mp-nav {
        display: none;
    }

    .mp-contact {
        margin-bottom: 28px;
    }

    .mp-cta {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .mp-grid { gap: 14px; }

    .mp-card__body {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .mp-card__cta { display: none; }

    .mp-features__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mp-cta__actions {
        flex-direction: column;
    }

    .mp-contact { display: none; }
}

@media (max-width: 480px) {
    .mp-grid { grid-template-columns: 1fr; }

    .mp-lightbox__nav {
        width: 40px;
        height: 40px;
    }
}

/* ============ ACCESSIBILITY ============ */
.model-premium :focus-visible {
    outline: 3px solid var(--gold-soft);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .model-premium *,
    .model-premium *::before,
    .model-premium *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
