/* ============================================================
   ABOUT / INFO SECTION
   ============================================================ */
.about-section {
    padding: 100px 0 80px;
    background-color: var(--slide-1-bg);
    overflow: hidden;
}

.about-drop-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-drop {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow:
        inset 18px 18px 18px rgba(0,0,0,0.04),
        22px 30px 20px rgba(0,0,0,0.05),
        22px 26px 28px rgba(0,0,0,0.04),
        inset -18px -18px 22px rgba(255,255,255,0.85);
    animation: blobMorph 6s linear infinite;
    background: #F9F3EF;
    backdrop-filter: blur(4px);
}

.about-drop::before {
    content: '';
    position: absolute;
    top: 70px; left: 58px;
    height: 36px; width: 36px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    animation: blobMorph 6s linear infinite;
}
.about-drop::after {
    content: '';
    position: absolute;
    top: 108px; left: 90px;
    height: 18px; width: 18px;
    background: rgba(255,255,255,0.75);
    border-radius: 50%;
    animation: blobMorph 6s linear infinite;
}

.about-drop img {
    width: 75%; height: auto;
    object-fit: contain;
    position: relative; z-index: 2;
    transition: transform 0.4s ease;
}
.about-drop:hover img { transform: scale(1.06); }

@keyframes blobMorph {
    0%   { border-radius: 47% 53% 70% 30% / 30% 43% 57% 70%; }
    30%  { border-radius: 61% 39% 52% 48% / 44% 59% 41% 56%; }
    70%  { border-radius: 35% 65% 31% 69% / 57% 59% 41% 43%; }
    100% { border-radius: 47% 53% 70% 30% / 30% 43% 57% 70%; }
}

.about-text-wrap {
    display: flex; flex-direction: column; justify-content: center;
    padding-left: 40px;
}

.about-title-main {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    color: var(--slide-1-title);
    line-height: 1.1; margin-bottom: 8px;
}
.about-title-sub {
    font-family: var(--font-primary);
    font-size: clamp(13px, 1.5vw, 18px);
    font-weight: 300; letter-spacing: 0.28em;
    color: #4E2A0E; margin-bottom: 24px;
}
.about-description {
    font-size: 15px; line-height: 1.8;
    color: #4E2A0E; opacity: 0.78;
    margin-bottom: 36px; max-width: 480px;
}

.about-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--slide-1-title); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 13px 28px; border-radius: 50px;
    letter-spacing: 0.04em; width: fit-content;
    overflow: hidden; position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 6px 20px rgba(190,96,27,0.28);
}
.about-cta::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
    transform: translateX(-100%); transition: transform 0.5s ease;
}
.about-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 32px rgba(190,96,27,0.38); color: #fff; }
.about-cta:hover::after { transform: translateX(100%); }
.about-cta i { font-size: 12px; transition: transform 0.3s ease; }
.about-cta:hover i { transform: translateX(4px); }

@media (max-width: 991.98px) {
    .about-section { padding: 60px 0; }
    .about-drop-wrap { margin-bottom: 40px; }
    .about-drop { width: 260px; height: 260px; }
    .about-text-wrap { padding-left: 0; text-align: center; align-items: center; }
    .about-description { max-width: 100%; }
}
@media (max-width: 575.98px) {
    .about-drop { width: 200px; height: 200px; }
}



/* ============================================================
   REÇEL / ÜRÜN CAROUSEL SECTION
   ============================================================ */
.recel-section {
    --radius:     340px;
    --thumb-size:  84px;
    --items:        6;
    --step:        36deg;   /* 5 boşluk × 36° = 180° toplam yay */
    --start:      -90deg;   /* Yayı ortala: sol -90° → sağ +90° */
    --duration:   400ms;

    padding: 80px 0 0;
    background-color: var(--slide-1-bg);
    background-image: url('../images/recel_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.recel-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.recel-title {
    font-family: var(--font-primary);
    font-size: clamp(16px, 2.2vw, 26px);
    font-weight: 300;
    letter-spacing: 0.32em;
    color: #4E2A0E;
    margin-bottom: 16px;
}

.recel-desc {
    font-size: 15px; line-height: 1.75;
    color: #4E2A0E; opacity: 0.72;
    max-width: 1050px; margin: 0 auto;
}

/* ============================================================
   DAIRESEL CAROUSEL
   ============================================================ */
.recel-carousel-wrap {
    position: relative;
    z-index: 2;
    padding: 70px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: calc(var(--radius) * 2 + 140px); */
    overflow: visible;
}

.recel-cards {
    position: relative;
    width:  calc(var(--radius) * 2);
    height: calc(var(--radius) * 2);
    flex-shrink: 0;
    list-style: none;
    padding: 0; margin: 0;
    /* ul artık dönmüyor — transition kaldırıldı */
}

/* Seçilen görselin ismi */
.recel-selected-name {
    position: absolute;
    top: calc(50% - var(--radius) * 0.55 - 40px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    translate: 0 8px;
    transition: opacity 0.35s ease, translate 0.35s ease;
}
.recel-selected-name.visible {
    opacity: 1;
    translate: 0 0;
}

/* Merkez büyük görsel */
.recel-center-img {
    position: absolute;
    top:  50%;
    left: 50%;
    width:  calc(var(--radius) * 1.10);
    height: calc(var(--radius) * 1.10);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 20px 44px rgba(116,89,68,0.26));
    z-index: 20;
    opacity: 0;
    scale: 0;
    transition:
        opacity 0.4s cubic-bezier(0.34,1.56,0.64,1),
        scale   0.4s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
}
.recel-center-img.visible {
    opacity: 1;
    scale: 1;
}

/* Her li: yarım ay düzeni — sabit açıyla yerleşir, ul dönmez */
.recel-cards li {
    position: absolute;
    inset: 0;
    margin: 0; padding: 0;
    transform-origin: center;
    display: grid;
    place-content: center;
    transform: rotate(calc(var(--start) + var(--i) * var(--step)));
    pointer-events: none;
}

/* Radio gizle */
.recel-cards input[type="radio"] {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border-width: 0;
}

/* Thumbnail label */
.recel-cards li > label {
    position: absolute;
    inset: 0;
    margin: auto;
    transform: translateY(calc(var(--radius) * -1));
    width:  var(--thumb-size);
    height: var(--thumb-size);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid transparent;
    box-shadow: 0 4px 14px rgba(116,89,68,0.18);
    cursor: pointer;
    pointer-events: initial;
    transition:
        border-color 0.3s ease,
        box-shadow   0.3s ease,
        transform    0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.recel-cards li > label > img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition:
        opacity var(--duration) ease,
        scale  var(--duration) ease;
    opacity: var(--label-opacity, 1);
    scale:   var(--label-scale, 1);
}

/* Hover efektleri */
.recel-cards:has(label:hover) label                        { --label-scale: 0.75; }
.recel-cards li:has(+ li > label:hover) > label,
.recel-cards li:has(label:hover) + li > label             { --label-scale: 1.2;  }
.recel-cards li > label:hover                              { transform: translateY(calc(var(--radius) * -1)) scale(1.15); }

/* Seçili öğe */
.recel-cards li:has(input:checked) > label {
    --label-opacity: 0.35;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(190,96,27,0.20);
}

/* ---- Responsive ---- */
@media (max-width: 1399.98px) {
    .recel-section { --radius: 300px; --thumb-size: 76px; }
}
@media (max-width: 1199.98px) {
    .recel-section { --radius: 260px; --thumb-size: 68px; }
}
@media (max-width: 991.98px) {
    .recel-section { --radius: 200px; --thumb-size: 56px; }
    .recel-carousel-wrap { padding: 50px 0 60px; }
}
@media (max-width: 767.98px) {
    .recel-section { --radius: 160px; --thumb-size: 46px; }
    .recel-carousel-wrap { padding: 40px 0 50px; }
}
@media (max-width: 575.98px) {
    .recel-section { --radius: 120px; --thumb-size: 36px; }
    .recel-carousel-wrap { padding: 30px 0 40px; }
}
@media (max-width: 400px) {
    .recel-section { --radius: 100px; --thumb-size: 30px; }
}


/* ============================================================
   ÇÖZÜMLER SECTION
   ============================================================ */
.cozumler-section {
    padding: 0 0 80px 0;
    background-color: #FFF7F1;
    position: relative;
}

/* .cozumler-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.07;
    background-image: url('../images/doodle-pattern.svg');
    background-repeat: repeat;
    background-size: 260px;
    pointer-events: none;
} */

.cozumler-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.cozumler-title {
    font-family: var(--font-primary);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-dark-brown);
    margin-bottom: 20px;
}

.cozumler-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-dark-brown);
    opacity: 0.72;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Kartlar ---- */
.cozumler-grid {
    position: relative;
    z-index: 1;
}

.cozum-card {
    text-align: center;
    padding: 0 16px;
    /* Flex column: buton her zaman en alta sabitleniyor */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.cozum-img-wrap {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 28px;
    box-shadow: 0 16px 48px rgba(116,89,68,0.18);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.4s ease;
}

.cozum-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cozum-card:hover .cozum-img-wrap {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(116,89,68,0.26);
}
.cozum-card:hover .cozum-img-wrap img {
    transform: scale(1.06);
}

.cozum-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-brown);
    margin-bottom: 14px;
    line-height: 1.3;
}

.cozum-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-dark-brown);
    opacity: 0.70;
    /* margin-bottom: auto → butonu en alta iter */
    margin-bottom: auto;
    padding-bottom: 24px;
    max-width: 300px;
}

.cozum-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    overflow: hidden;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 6px 18px rgba(190,96,27,0.26);
}
.cozum-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.cozum-cta:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 28px rgba(190,96,27,0.36);
    color: #fff;
}
.cozum-cta:hover::after { transform: translateX(100%); }
.cozum-cta i { font-size: 11px; transition: transform 0.3s ease; }
.cozum-cta:hover i { transform: translateX(4px); }

@media (max-width: 991.98px) {
    .cozumler-section { padding: 60px 0; }
    .cozum-img-wrap { width: 200px; height: 200px; }
    .cozum-card { margin-bottom: 48px; }
    .cozum-card:last-child { margin-bottom: 0; }
}
@media (max-width: 575.98px) {
    .cozum-img-wrap { width: 170px; height: 170px; }
}


/* ============================================================
   REFERANSLAR SECTION
   ============================================================ */
.referanslar-section {
    padding: 70px 0 90px;
    background-color: #FFF7F1;
    overflow: hidden;
}

.referanslar-title {
    font-family: var(--font-primary);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #4E2A0E;
    text-align: center;
    margin-bottom: 44px;
}

/* ---- Desktop: grid ---- */
.referanslar-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 60px;
}

.referans-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.60;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.referans-logo:hover {
    opacity: 1;
    transform: scale(1.08);
}

.referans-logo img {
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.referans-logo:hover img {
    filter: grayscale(0);
}

/* ---- Mobile: yatay kaydırmalı slider ---- */
@media (max-width: 767.98px) {
    .referanslar-logos {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 12px 24px;
        /* Infinite marquee efekti için */
    }
    .referanslar-logos::-webkit-scrollbar { display: none; }

    .referans-logo {
        scroll-snap-align: center;
        flex: 0 0 140px;
        padding: 0 20px;
    }

    .referans-logo img { height: 36px; }
}

/* ---- Infinite marquee (scroll animation) ---- */
@media (min-width: 768px) {
    .referanslar-track {
        display: flex;
        align-items: center;
        gap: 60px;
        animation: marquee 24s linear infinite;
        width: max-content;
    }
    .referanslar-logos-wrap {
        overflow: hidden;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
