/* Özel sayfa Puck blokları — iframe önizleme ve public render */

:root {
    --pb-font: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    --pb-text: #2d2d2d;
    --pb-text-muted: #6b7280;
    --pb-bg: #ffffff;
    --pb-bg-muted: #f8f9fa;
    --pb-bg-subtle: #f1f3f5;
    --pb-primary: #1a1a2e;
    --pb-secondary: #e94560;
    --pb-accent: #f5a623;
    --pb-border: #e5e7eb;
    --pb-radius: 8px;
    --pb-container: 1280px;
    --pb-space-sm: 1rem;
    --pb-space-md: 1.5rem;
    --pb-space-lg: 2rem;
    --pb-space-xl: 3rem;
    --pb-space-2xl: 5rem;
}

.puck-blocks {
    font-family: var(--pb-font);
    color: var(--pb-text);
    line-height: 1.6;
}

.puck-blocks *,
.puck-blocks *::before,
.puck-blocks *::after {
    box-sizing: border-box;
}

.pb-container {
    width: 100%;
    max-width: var(--pb-container);
    margin-inline: auto;
    padding-inline: var(--pb-space-md);
}

.pb-container--narrow {
    max-width: 768px;
}

.pb-container--wide {
    max-width: 1440px;
}

.pb-container--full {
    max-width: none;
}

.pb-section {
    width: 100%;
}

.pb-section--py-none {
    padding-block: 0;
}

.pb-section--py-sm {
    padding-block: var(--pb-space-sm);
}

.pb-section--py-md {
    padding-block: var(--pb-space-md);
}

.pb-section--py-lg {
    padding-block: var(--pb-space-lg);
}

.pb-section--py-xl {
    padding-block: var(--pb-space-xl);
}

.pb-section--bg-default {
    background: var(--pb-bg);
}

.pb-section--bg-muted {
    background: var(--pb-bg-muted);
}

.pb-section--bg-subtle {
    background: var(--pb-bg-subtle);
}

.pb-section--bg-transparent {
    background: transparent;
}

/* Blok görünüm yardımcı sınıfları */
.pb-text--sm {
    font-size: 0.875rem;
}

.pb-text--base {
    font-size: 1rem;
}

.pb-text--lg {
    font-size: 1.125rem;
}

.pb-text--xl {
    font-size: 1.25rem;
}

.pb-text--2xl {
    font-size: 1.5rem;
}

.pb-weight--medium {
    font-weight: 500;
}

.pb-weight--semibold {
    font-weight: 600;
}

.pb-weight--bold {
    font-weight: 700;
}

.pb-align--center {
    text-align: center;
}

.pb-align--right {
    text-align: right;
}

.pb-radius--sm {
    border-radius: 4px;
}

.pb-radius--md {
    border-radius: var(--pb-radius);
}

.pb-radius--lg {
    border-radius: 16px;
}

.pb-columns {
    display: grid;
    gap: var(--pb-space-md);
}

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

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

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

@media (max-width: 767px) {
    .pb-columns--2,
    .pb-columns--3,
    .pb-columns--4 {
        grid-template-columns: 1fr;
    }
}

.pb-spacer--sm {
    height: var(--pb-space-sm);
}

.pb-spacer--md {
    height: var(--pb-space-md);
}

.pb-spacer--lg {
    height: var(--pb-space-lg);
}

.pb-spacer--xl {
    height: var(--pb-space-xl);
}

.pb-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 20rem;
    padding-block: var(--pb-space-2xl);
    background: var(--pb-primary);
    color: #fff;
}

.pb-hero--tall {
    min-height: 28rem;
}

.pb-hero--short {
    min-height: 14rem;
}

.pb-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.pb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
}

.pb-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.pb-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
}

.pb-hero__subtitle {
    margin: 0 0 1.5rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.92;
    max-width: 42rem;
    margin-inline: auto;
}

.pb-page-header {
    padding-block: var(--pb-space-xl);
    border-bottom: 1px solid var(--pb-border);
}

.pb-page-header__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
}

.pb-page-header__subtitle {
    margin: 0;
    color: var(--pb-text-muted);
    font-size: 1.125rem;
}

.pb-heading {
    margin: 0 0 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.pb-heading--h1 {
    font-size: 2.25rem;
}

.pb-heading--h2 {
    font-size: 1.875rem;
}

.pb-heading--h3 {
    font-size: 1.5rem;
}

.pb-heading--h4 {
    font-size: 1.25rem;
}

.pb-richtext {
    max-width: 75ch;
}

.pb-richtext p {
    margin: 0 0 1rem;
}

.pb-richtext ul,
.pb-richtext ol {
    margin: 0 0 1rem;
    padding-inline-start: 1.5rem;
}

.pb-figure {
    margin: 0;
}

.pb-figure__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--pb-radius);
}

.pb-figure__caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--pb-text-muted);
}

.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--pb-radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pb-btn:hover {
    opacity: 0.88;
}

.pb-btn--primary {
    background: var(--pb-secondary);
    color: #fff;
}

.pb-btn--secondary {
    background: var(--pb-primary);
    color: #fff;
}

.pb-btn--outline {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

.pb-btn--ghost {
    background: transparent;
    color: var(--pb-secondary);
}

.pb-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pb-divider {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--pb-border);
}

.pb-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--pb-radius);
    overflow: hidden;
    background: #000;
}

.pb-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pb-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    overflow: hidden;
    background: var(--pb-bg);
}

.pb-card__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pb-card__body {
    padding: var(--pb-space-md);
    flex: 1;
}

.pb-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.pb-card__text {
    margin: 0 0 1rem;
    color: var(--pb-text-muted);
    font-size: 0.9375rem;
}

.pb-grid {
    display: grid;
    gap: var(--pb-space-md);
}

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

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

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

@media (max-width: 767px) {
    .pb-grid--2,
    .pb-grid--3,
    .pb-grid--4 {
        grid-template-columns: 1fr;
    }
}

.pb-feature {
    padding: var(--pb-space-md);
    border-radius: var(--pb-radius);
    background: var(--pb-bg-muted);
}

.pb-feature__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pb-feature__title {
    margin: 0 0 0.375rem;
    font-weight: 600;
}

.pb-feature__text {
    margin: 0;
    color: var(--pb-text-muted);
    font-size: 0.9375rem;
}

.pb-stat {
    text-align: center;
    padding: var(--pb-space-md);
}

.pb-stat__value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--pb-secondary);
}

.pb-stat__label {
    display: block;
    margin-top: 0.25rem;
    color: var(--pb-text-muted);
    font-size: 0.875rem;
}

.pb-icon-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-icon-list__item {
    display: flex;
    gap: 0.75rem;
    padding-block: 0.5rem;
}

.pb-icon-list__icon {
    flex-shrink: 0;
    color: var(--pb-secondary);
    font-weight: 700;
}

.pb-team__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--pb-radius);
}

.pb-team__name {
    margin: 0.75rem 0 0.25rem;
    font-weight: 600;
}

.pb-team__role {
    margin: 0 0 0.5rem;
    color: var(--pb-secondary);
    font-size: 0.875rem;
}

.pb-team__bio {
    margin: 0;
    color: var(--pb-text-muted);
    font-size: 0.875rem;
}

.pb-timeline {
    position: relative;
    padding-inline-start: 1.5rem;
    border-inline-start: 2px solid var(--pb-border);
}

.pb-timeline__item {
    position: relative;
    padding-bottom: var(--pb-space-md);
}

.pb-timeline__item::before {
    content: '';
    position: absolute;
    left: -1.625rem;
    top: 0.35rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: var(--pb-secondary);
}

.pb-timeline__date {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pb-secondary);
}

.pb-timeline__title {
    margin: 0.25rem 0;
    font-weight: 600;
}

.pb-timeline__text {
    margin: 0;
    color: var(--pb-text-muted);
    font-size: 0.9375rem;
}

.pb-logo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--pb-space-lg);
}

.pb-logo-grid__item {
    flex: 0 1 140px;
    opacity: 0.75;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.pb-logo-grid__item:hover {
    opacity: 1;
    filter: none;
}

.pb-logo-grid__img {
    width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

.pb-testimonial {
    padding: var(--pb-space-md);
    border-radius: var(--pb-radius);
    background: var(--pb-bg-muted);
    border: 1px solid var(--pb-border);
}

.pb-testimonial__quote {
    margin: 0 0 1rem;
    font-style: italic;
}

.pb-testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pb-testimonial__photo {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.pb-testimonial__name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.pb-testimonial__role {
    color: var(--pb-text-muted);
    font-size: 0.8125rem;
}

.pb-branch {
    padding: var(--pb-space-md);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: var(--pb-bg);
}

.pb-branch__name {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.pb-branch__detail {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    color: var(--pb-text-muted);
}

.pb-map {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: var(--pb-radius);
}

.pb-contact-card {
    padding: var(--pb-space-md);
    border-radius: var(--pb-radius);
    background: var(--pb-bg-muted);
    text-align: center;
}

.pb-contact-card__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    color: var(--pb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pb-contact-card__value {
    margin: 0;
    font-weight: 600;
}

.pb-cta {
    padding: var(--pb-space-xl);
    border-radius: var(--pb-radius);
    background: var(--pb-primary);
    color: #fff;
    text-align: center;
}

.pb-cta__title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.pb-cta__text {
    margin: 0 0 1.5rem;
    opacity: 0.9;
    max-width: 40rem;
    margin-inline: auto;
}

.pb-faq__item {
    border-bottom: 1px solid var(--pb-border);
}

.pb-faq__question {
    margin: 0;
    padding-block: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.pb-faq__question::-webkit-details-marker {
    display: none;
}

.pb-faq__question::after {
    content: '+';
    float: right;
    font-weight: 400;
    color: var(--pb-text-muted);
}

.pb-faq__item[open] .pb-faq__question::after {
    content: '−';
}

.pb-faq__answer {
    margin: 0;
    padding-bottom: 1rem;
    color: var(--pb-text-muted);
}

/* Gallery */
.pb-gallery {
    display: grid;
    gap: 1rem;
}

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

.pb-gallery--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pb-gallery--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 767px) {
    .pb-gallery--2,
    .pb-gallery--3,
    .pb-gallery--4 {
        grid-template-columns: 1fr;
    }
}

.pb-gallery__item {
    margin: 0;
}

.pb-gallery__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--pb-radius-md, 8px);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.pb-gallery__placeholder {
    aspect-ratio: 4 / 3;
    background: var(--pb-bg-alt, #f3f4f6);
    border-radius: var(--pb-radius-md, 8px);
}

.pb-gallery__caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--pb-text-muted);
    text-align: center;
}

/* Quote */
.pb-quote {
    border-left: 4px solid var(--pb-secondary, #e94560);
}

.pb-quote__text {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.6;
}

.pb-quote__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: var(--pb-text-muted);
}

.pb-quote__author {
    font-style: normal;
    font-weight: 600;
    color: var(--pb-text);
}

.pb-quote__role::before {
    content: '·';
    margin-right: 0.75rem;
}

/* Info box */
.pb-infobox {
    border-left: 4px solid transparent;
}

.pb-infobox--info {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.pb-infobox--success {
    background: #ecfdf5;
    border-left-color: #10b981;
}

.pb-infobox--warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.pb-infobox--neutral {
    background: var(--pb-bg-alt, #f8f9fa);
    border-left-color: var(--pb-border, #e5e7eb);
}

.pb-infobox__title {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.pb-infobox__text {
    margin: 0;
    color: var(--pb-text-muted);
    line-height: 1.6;
}

/* Social links */
.pb-social__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: inherit;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pb-social__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-md, 8px);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--pb-text);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pb-social__link:hover {
    background: var(--pb-bg-alt, #f8f9fa);
    border-color: var(--pb-secondary, #e94560);
}
