/* Website sayfa bilesenleri — frontend render */

.website-page-builder-content
{
    width: 100%;
}

.website-pb-row
{
    width: 100%;
}

.website-pb-row > .website-tema1-container
{
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.website-pb-grid
{
    /* Kalan birim sagda kalsin. space-between bu boslugu sutunlarin arasina iter. */
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.website-pb-grid > [class*="col-"]:first-child
{
    padding-left: 0;
}

.website-pb-grid > [class*="col-"]:last-child
{
    padding-right: 0;
}

.website-pb-carousel
{
    display: block;
    width: 100%;
}

.website-pb-carousel-baslik-wrap
{
    width: 100%;
    margin-bottom: 10px;
}

.website-pb-carousel-baslik
{
    font-weight: 600;
    line-height: 1.3;
}

/* Swiper kendi overflow/height degerlerini override edebilir */
.website-pb-swiper
{
    --wpb-carousel-h: var(--wpb-h-xs, 250px);
    height: var(--wpb-carousel-h) !important;
    overflow: hidden !important;
    border-radius: 8px;
}

@media (min-width: 450px)
{
    .website-pb-swiper
    {
        --wpb-carousel-h: var(--wpb-h-sm, var(--wpb-h-xs, 250px));
    }
}

@media (min-width: 650px)
{
    .website-pb-swiper
    {
        --wpb-carousel-h: var(--wpb-h-md, var(--wpb-h-sm, 250px));
    }
}

@media (min-width: 950px)
{
    .website-pb-swiper
    {
        --wpb-carousel-h: var(--wpb-h-lg, var(--wpb-h-md, 250px));
    }
}

@media (min-width: 1350px)
{
    .website-pb-swiper
    {
        --wpb-carousel-h: var(--wpb-h-xl, var(--wpb-h-lg, 250px));
    }
}

.website-pb-swiper .swiper-wrapper,
.website-pb-swiper .swiper-slide,
.website-pb-swiper .website-pb-carousel-img
{
    height: var(--wpb-carousel-h, 250px) !important;
}

.website-pb-carousel .website-pb-swiper
{
    overflow: hidden !important;
    border-radius: 8px;
}

.website-pb-carousel .swiper-wrapper
{
    align-items: stretch !important;
}

.website-pb-carousel .website-pb-carousel-slide,
.website-pb-carousel .swiper-slide
{
    overflow: hidden !important;
    flex-shrink: 0;
    /* Yukseklik PHP inline style'dan gelir.
       Ek koruma icin CSS var ile de zorlanir. */
    height: var(--wpb-carousel-h, 250px) !important;
}

/*
 * !important olan hicbir kural (Bootstrap, Swiper, tema CSS) bu degerleri gezemez.
 * --wpb-carousel-h ve --wpb-carousel-fit PHP render'da swiper container'a set edilir.
 * CSS degiskenleri cascade uzerinden child elemanlara akar.
 */
.website-pb-carousel-img
{
    width: 100% !important;
    height: var(--wpb-carousel-h, 250px) !important;
    display: block !important;
    object-fit: var(--wpb-carousel-fit, cover) !important;
    object-position: center center !important;
    max-width: 100%;
    flex-shrink: 0;
}

/* Kes modu icin ek sinif desteği (geriye donuk uyumluluk) */
.website-pb-carousel-fit-kes .website-pb-carousel-img
{
    object-fit: cover !important;
}

/* Sigdir modu: resmin tum alani gozuksun */
.website-pb-carousel-fit-sigdir .website-pb-carousel-img
{
    object-fit: contain !important;
    background: #f5f5f5;
}

.website-pb-swiper-wrap
{
    width: 100%;
}

.website-pb-swiper-pagination
{
    position: static !important;
    inset: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 14px;
    transform: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.website-pb-swiper-pagination .swiper-pagination-bullet
{
    margin: 0 !important;
    width: 8px;
    height: 8px;
    background: #c5cdd4;
    opacity: 1;
}

.website-pb-swiper-pagination .swiper-pagination-bullet-active
{
    background: var(--website-primary, #1780c1);
}

/* Metin bileseni — CKEditor icerik tipografisi */
.website-pb-text-inner
{
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.website-pb-text-inner p
{
    margin: 0 0 0.65em;
}

.website-pb-text-inner p:last-child
{
    margin-bottom: 0;
}

.website-pb-text-inner ul,
.website-pb-text-inner ol
{
    margin: 0 0 0.65em;
    padding-left: 1.35em;
}

.website-pb-text-inner h1,
.website-pb-text-inner h2,
.website-pb-text-inner h3,
.website-pb-text-inner h4,
.website-pb-text-inner h5,
.website-pb-text-inner h6
{
    margin: 0 0 0.5em;
}

.website-pb-text-inner br
{
    display: block;
    content: "";
    margin-top: 0.25em;
}

/* Hero 1 — tam genislik arkaplan (tema1/page-components.css ile senkron tutulmali) */
.website-pb-component.website-pb-hero1
{
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.website-pb-hero.website-pb-hero1
{
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.website-pb-hero.website-pb-hero1::before
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.website-pb-hero.website-pb-hero1 .container
{
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Resim bileseni — mobil etiketli ayri gorsel (tema1/page-components.css ile senkron tutulmali) */
.website-pb-resim-img-mobil
{
    display: none;
}

@media (max-width: 767.98px)
{
    .website-pb-resim-img-desktop
    {
        display: none !important;
    }

    .website-pb-resim-img-mobil
    {
        display: inline-block;
    }
}

/* Hero 4 — Nicepage tarzi overlap kart (tema1/page-components.css ile senkron tutulmali) */
.website-pb-hero4
{
    background-color: var(--website-pb-hero4-bg, #f9e100);
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.website-pb-hero4-inner
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.website-pb-hero4-layout
{
    display: flex;
    align-items: stretch;
    min-height: 440px;
}

/* Gorsel alani: flex itemin tum genisligini ve yuksekligini doldurur */
.website-pb-hero4-media
{
    flex: 0 0 45%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.website-pb-hero4-img
{
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.website-pb-hero4-img-placeholder
{
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: rgba(255, 255, 255, 0.3);
}

/* Beyaz kart: soldan resmin ustune 40px biner, sol padding bu miktari telafi eder */
.website-pb-hero4-card
{
    flex: 1;
    background: #fff;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.10);
    margin-left: -40px;
    padding: 52px 52px 44px 72px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.website-pb-hero4-num
{
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 300;
    color: #c8c8c8;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.website-pb-hero4-title
{
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111;
    margin: 0 0 20px;
    line-height: 1.2;
}

.website-pb-hero4-text
{
    font-style: italic;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #333;
    margin: 0 0 28px;
    max-width: 480px;
    line-height: 1.7;
    font-size: 1rem;
}

.website-pb-hero4-btn
{
    display: inline-block;
    background-color: var(--website-pb-hero4-btn, #f9e100);
    color: #111;
    padding: 13px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 0.03em;
    align-self: flex-start;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.website-pb-hero4-btn:hover
{
    opacity: 0.85;
    color: #111;
}

.website-pb-hero4-credit
{
    margin-top: auto;
    padding-top: 28px;
    font-size: 0.875rem;
    color: #888;
}

.website-pb-hero4-credit a
{
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 991px)
{
    .website-pb-hero4
    {
        padding: 0 0 40px;
    }

    .website-pb-hero4-layout
    {
        flex-direction: column;
        min-height: 0;
    }

    .website-pb-hero4-media
    {
        flex: none;
        width: 100%;
        /* Resim kartin ustune biner — kart asagida resmin ustune gelir */
        margin-bottom: -40px;
        max-height: 380px;
    }

    .website-pb-hero4-img
    {
        min-height: 280px;
        max-height: 380px;
        object-position: center 20%;
    }

    .website-pb-hero4-card
    {
        margin-left: 0;
        padding: 56px 28px 36px;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 575px)
{
    .website-pb-hero4-card
    {
        padding: 52px 20px 32px;
    }

    .website-pb-hero4-title
    {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
}

/* Hero 5 — Nicepage Page 7 (tema1/page-components.css ile senkron tutulmali) */
.website-pb-hero5
{
    width: 100%;
    padding: 24px 16px;
}

.website-pb-hero5-inner
{
    max-width: 1140px;
    margin: 0 auto;
}

.website-pb-hero5-layout
{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 420px;
    overflow: hidden;
}

.website-pb-hero5-content
{
    flex: 1 1 50%;
    min-width: min(100%, 320px);
    background: #fff;
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.website-pb-hero5-title
{
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin: 0 0 20px;
}

.website-pb-hero5-intro
{
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
    margin: 0 0 24px;
    max-width: 540px;
}

.website-pb-hero5-sep
{
    border: 0;
    border-top: 1px solid #e8e8e8;
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
    opacity: 1;
}

.website-pb-hero5-list
{
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.website-pb-hero5-item
{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.website-pb-hero5-item:last-child
{
    margin-bottom: 0;
}

.website-pb-hero5-thumb
{
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
}

.website-pb-hero5-thumb-placeholder
{
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.website-pb-hero5-thumb-img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.website-pb-hero5-item-text
{
    flex: 1;
    margin: 0;
    padding-top: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.website-pb-hero5-credit
{
    margin: auto 0 0;
    padding-top: 16px;
    font-size: 0.875rem;
    color: #666;
}

.website-pb-hero5-credit a
{
    color: inherit;
    text-decoration: underline;
}

.website-pb-hero5-visual
{
    flex: 1 1 50%;
    min-width: min(100%, 320px);
    background-color: var(--website-pb-hero5-visual-bg, #f7c35f);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 360px;
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    box-sizing: border-box;
}

.website-pb-hero5-main-img
{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.website-pb-hero5-main-placeholder
{
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

@media (max-width: 991px)
{
    .website-pb-hero5
    {
        padding: 16px 12px;
    }

    .website-pb-hero5-layout
    {
        flex-direction: column;
        min-height: 0;
    }

    .website-pb-hero5-visual
    {
        order: 2;
        min-height: 320px;
    }

    .website-pb-hero5-content
    {
        order: 1;
    }
}

/* Foto Galeri — grid + lightbox */
.website-pb-galeri
{
    display: block;
    width: 100%;
}

.website-pb-galeri-baslik-wrap
{
    width: 100%;
    margin-bottom: 10px;
}

.website-pb-galeri-baslik
{
    font-weight: 600;
    line-height: 1.3;
}

.website-pb-galeri-grid
{
    display: grid;
    grid-template-columns: repeat(var(--wpb-galeri-cols-lg, 4), 1fr);
    gap: var(--wpb-galeri-gap, 8px);
    width: 100%;
}

@media (max-width: 991px)
{
    .website-pb-galeri-grid
    {
        grid-template-columns: repeat(var(--wpb-galeri-cols-md, 3), 1fr);
    }
}

@media (max-width: 575px)
{
    .website-pb-galeri-grid
    {
        grid-template-columns: repeat(var(--wpb-galeri-cols-xs, 2), 1fr);
    }
}

.website-pb-galeri-item
{
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: transform 0.25s ease;
}

.wpb-galeri-oran-43 .website-pb-galeri-item
{
    aspect-ratio: 4 / 3;
}

.wpb-galeri-oran-169 .website-pb-galeri-item
{
    aspect-ratio: 16 / 9;
}

.wpb-galeri-oran-serbest .website-pb-galeri-item
{
    aspect-ratio: auto;
    min-height: 120px;
}

.website-pb-galeri-carousel .website-pb-galeri-item
{
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
    cursor: pointer;
}

.website-pb-galeri-carousel .website-pb-galeri-item:hover .website-pb-galeri-img,
.website-pb-galeri-carousel .website-pb-galeri-item:focus-visible .website-pb-galeri-img
{
    transform: none;
}

.website-pb-galeri-img
{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: var(--wpb-galeri-fit, cover);
    object-position: center center;
    transition: transform 0.35s ease;
}

.wpb-galeri-oran-serbest .website-pb-galeri-img
{
    height: auto;
}

.website-pb-galeri-hover
{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.website-pb-galeri-item:hover .website-pb-galeri-hover,
.website-pb-galeri-item:focus-visible .website-pb-galeri-hover
{
    opacity: 1;
}

.website-pb-galeri-item:hover .website-pb-galeri-img,
.website-pb-galeri-item:focus-visible .website-pb-galeri-img
{
    transform: scale(1.04);
}

.website-pb-galeri-item:focus-visible
{
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}

.website-pb-galeri-placeholder
{
    aspect-ratio: 1;
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    min-height: 80px;
}

.wpb-galeri-data
{
    display: none;
}

body.wpb-lightbox-open
{
    overflow: hidden;
}

.wpb-lightbox
{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.wpb-lightbox.is-open
{
    opacity: 1;
    pointer-events: all;
}

.wpb-lightbox-stage
{
    max-width: min(92vw, 1200px);
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}

.wpb-lightbox-img
{
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
    will-change: transform;
}

.wpb-lightbox-img.is-dragging
{
    cursor: grabbing;
}

.wpb-lightbox-close,
.wpb-lightbox-prev,
.wpb-lightbox-next
{
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.wpb-lightbox-close:hover,
.wpb-lightbox-prev:hover,
.wpb-lightbox-next:hover,
.wpb-lightbox-close:focus-visible,
.wpb-lightbox-prev:focus-visible,
.wpb-lightbox-next:focus-visible
{
    background: rgba(255, 255, 255, 0.25);
}

.wpb-lightbox-close
{
    top: 16px;
    right: 16px;
}

.wpb-lightbox-prev
{
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.wpb-lightbox-next
{
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.wpb-lightbox-counter
{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    letter-spacing: 0.02em;
}

@media (max-width: 575px)
{
    .wpb-lightbox-prev
    {
        left: 8px;
    }

    .wpb-lightbox-next
    {
        right: 8px;
    }

    .wpb-lightbox-close
    {
        top: 10px;
        right: 10px;
    }
}

/* Tablo bileseni */
.website-pb-tablo
{
    display: block;
    width: 100%;
}

.website-pb-tablo-baslik-wrap
{
    width: 100%;
    margin-bottom: 10px;
}

.website-pb-tablo-baslik
{
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.website-pb-tablo-scroll
{
    width: 100%;
    overflow-x: auto;
}

.website-pb-tablo-table
{
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.4;
}

.website-pb-tablo-table th,
.website-pb-tablo-table td
{
    padding: 10px 12px;
    border-bottom: 1px solid #e6e8eb;
    text-align: left;
    vertical-align: top;
}

.website-pb-tablo-table thead th
{
    font-weight: 600;
    background: #f7f8fa;
    border-bottom: 2px solid #d5dbe1;
}

.website-pb-tablo-table tbody tr:nth-child(even) td
{
    background: #fafbfc;
}

.website-pb-tablo-fiyat .website-pb-tablo-table th:last-child,
.website-pb-tablo-fiyat .website-pb-tablo-table td:last-child
{
    text-align: right;
    white-space: nowrap;
}
