/* ==========================================
   HİZMET DETAY SAYFASI
   ========================================== */
.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text-main);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
    gap: 48px;
    align-items: start;
}

.detail-gallery {
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    background:
        repeating-linear-gradient(-45deg, transparent 0 14px, rgba(21, 34, 59, 0.03) 14px 28px),
        var(--surface-2);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.thumb {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: var(--surface-2);
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
}

.thumb.active {
    border-color: var(--accent-color);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-section {
    margin-top: 48px;
}

.detail-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
}

.specs-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.specs-list dt {
    color: var(--text-muted);
}

.specs-list dd {
    font-weight: 500;
    text-align: right;
}

.mono {
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
    font-size: 14px;
}

.detail-text {
    color: var(--text-muted);
    max-width: 65ch;
    line-height: 1.7;
}

/* SAĞ KUTU */
.detail-sticky-box {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.detail-sticky-box .eyebrow {
    margin-bottom: 8px;
}

.detail-sticky-box h1 {
    font-size: 40px;
}

.sticky-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sticky-pricing > div {
    padding: 14px 0;
}

.sticky-pricing > div + div {
    border-left: 1px solid var(--border-color);
    padding-left: 18px;
}

.sticky-pricing dt {
    font-size: 13px;
    color: var(--text-muted);
}

.sticky-pricing dd {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
}

.included-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 15px;
    color: var(--text-muted);
}

.included-list li {
    padding-left: 22px;
    position: relative;
}

.included-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(-45deg);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.sticky-note {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .detail-sticky-box {
        position: static;
    }
}

@media (max-width: 600px) {
    .specs-list {
        grid-template-columns: 1fr;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   MÜSAİTLİK TAKVİMİ
   ========================================== */
.calendar-widget {
    max-width: 340px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-top: 16px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cal-label {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

.cal-nav {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: none;
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.cal-nav:hover:not(:disabled) {
    border-color: var(--accent-color);
}

.cal-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: var(--surface-2);
    color: var(--text-main);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cal-day.empty {
    background: none;
    border: none;
}

.cal-day.free:hover {
    border-color: var(--accent-color);
    background: var(--accent-soft);
}

.cal-day.free.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--on-accent);
    font-weight: 700;
}

.cal-day.free.in-range {
    background: var(--accent-soft);
    border-color: var(--accent-color);
}

.cal-day.busy {
    background: #fdecea;
    color: var(--text-dim);
    text-decoration: line-through;
    cursor: not-allowed;
}

.cal-day.past {
    background: none;
    color: var(--text-dim);
    opacity: 0.35;
    cursor: default;
}

.calendar-legend {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cal-dot {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    display: inline-block;
}

.cal-dot.free {
    background: var(--accent-soft);
    border: 1px solid var(--accent-color);
}

.cal-dot.busy {
    background: #f2b8b3;
}

@media (max-width: 600px) {
    .calendar-widget {
        max-width: 100%;
    }
}

/* ==========================================
   AÇIK TEMA İNCE AYARLARI
   ========================================== */
.detail-gallery {
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
}

.gallery-fallback {
    color: var(--ink);
    background:
        radial-gradient(70% 90% at 85% 10%, #ffe08a 0%, transparent 60%),
        var(--accent-soft);
}

.detail-section {
    margin-top: 40px;
}

.detail-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.specs-list > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: none;
}

.specs-list dt {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-text);
}

.specs-list dd {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
}

.detail-sticky-box {
    background: var(--surface);
    border: none;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.detail-sticky-box h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

.calendar-widget {
    background: var(--surface);
    border: none;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.cal-day {
    border-radius: 12px;
}

@media (max-width: 640px) {
    .specs-list {
        grid-template-columns: 1fr;
    }
}
