/*
Theme Name: Astra Child
Template: astra
Version: 1.1
*/

.ast-header,
.ast-primary-header-bar,
.main-header-bar,
.site-header,
.ast-breadcrumbs,
.ast-title-bar {
    display: none !important;
}

.home .site-content {
    display: none !important;
}

footer,
.site-footer,
.ast-builder-footer {
    display: none !important;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body.home {
    overflow: hidden;
    height: 100vh;
}

/* İçerik alanı her zaman viewport yüksekliğini doldursun, footer aşağıda kalsın */
body {
    display: flex;
    flex-direction: column;
}


#page,
.ast-site-content-wrap,
#content,
.site-content {
    flex: 1;
}

#primary,
.ast-article-single,
main.site-main {
    min-height: 0;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #f5edd8;
    background-color: #2e7040;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(245, 237, 216, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(16, 48, 25, 0.15), rgba(46, 112, 64, 0.12));
    pointer-events: none;
    z-index: -1;
}

.custom-header,
.hero-section,
.home-panels,
.bottom-banner,
.hero-dm {
    position: relative;
    z-index: 1;
}

.custom-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 48px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo-wrap img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 35px rgba(16, 48, 25, 0.2);
}

.logo-text {
    display: flex;
    align-items: baseline;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.logo-simply {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #daf6e0;
    font-size: 32px;
}

.logo-simple {
    font-family: 'Cardo', serif;
    font-style: italic;
    color: #e6d6c1;
    font-size: 36px;
    margin-left: 2px;
}

.header-lang {
    flex-shrink: 0;
}

.menu {
    display: flex;
    align-items: center;
    gap: 34px;
    flex: 1;
    justify-content: center;
}

.menu a {
    color: #daf6e0;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: #f5edd8;
    transition: width 0.3s ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.active {
    color: #ffffff;
}

.menu a:hover::after,
.menu a:focus-visible::after,
.menu a.active::after {
    width: 100%;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(218, 246, 224, 0.16), rgba(246, 231, 180, 0.08));
    border: 1px solid rgba(218, 246, 224, 0.28);
    box-shadow: 0 14px 28px rgba(16, 48, 25, 0.12);
    backdrop-filter: blur(14px);
}

.language-switch__button {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(245, 237, 216, 0.75);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    padding: 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.language-switch__button.is-active {
    color: #ffffff;
    transform: translateY(-1px);
    text-shadow: 0 0 18px rgba(245, 237, 216, 0.45);
}

.language-switch__divider {
    color: rgba(245, 237, 216, 0.45);
}

.hero-section {
    min-height: calc(100vh - 128px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 48px 28px;
    overflow: visible;
}

.hero-copy {
    max-width: 460px;
    margin: 0;
    text-align: left;
    align-self: center;
}

.hero-copy__kicker {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(245, 237, 216, 0.82);
}

.hero-big-title {
    margin: 0;
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: clamp(42px, 4.8vw, 74px);
    line-height: 1.05;
    color: #f6e7b4;
    position: relative;
    z-index: 1;
}

.hero-pages {
    position: relative;
    min-height: 520px;
    width: min(620px, 100%);
}

.story-page {
    position: absolute;
    inset: auto 0 auto auto;
    width: min(420px, 100%);
    min-height: 320px;
    padding: 28px 28px 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(251, 245, 230, 0.96), rgba(238, 228, 204, 0.94));
    border: 1px solid rgba(153, 120, 82, 0.2);
    box-shadow: 0 24px 50px rgba(16, 48, 25, 0.14);
    transform-origin: center center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-page::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(170, 137, 101, 0.12);
    pointer-events: none;
}

.story-page--front {
    top: 8px;
    right: 92px;
    z-index: 3;
}

.story-page--middle {
    top: 82px;
    right: 28px;
    z-index: 2;
}

.story-page--back {
    top: 164px;
    right: 106px;
    z-index: 1;
}

.story-page__text {
    margin: 0;
    font-family: 'Source Serif 4', serif;
    font-size: 22px;
    line-height: 1.7;
    color: #5a4630;
}

.story-page__text strong {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    color: #7b5631;
}

.story-page__sign {
    display: inline-block;
    margin-left: 8px;
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 24px;
    color: #90633b;
}

.home-panels {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 10px;
    padding: 4px 48px 6px;
    align-items: start;
    zoom: 0.82;
}

.quote-panel {
    min-height: 290px;
    padding: 20px 22px 16px;
    border-radius: 26px;
    background: #adc8ec;
    border: 1px solid rgba(245, 237, 216, 0.3);
    box-shadow: 0 20px 42px rgba(16, 48, 25, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(28px);
    position: relative;
    overflow: hidden;
}

.quote-panel::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 22px;
    width: 68px;
    height: 88px;
    opacity: 0.72;
    background:
        linear-gradient(140deg, transparent 34%, #e8ffe9 35%, #e8ffe9 43%, transparent 44%) 0 0 / 100% 100% no-repeat;
    clip-path: polygon(20% 0, 34% 0, 64% 38%, 63% 43%, 38% 22%, 49% 100%, 41% 100%, 30% 22%, 3% 42%, 0 38%);
}

.quote-panel__text {
    margin: 0;
    max-width: 9ch;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.12em;
    color: #eef9d8;
    text-transform: none;
}

.quote-panel__jump {
    align-self: flex-start;
    margin-top: 24px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-cards--collage {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    grid-auto-rows: 168px;
    align-items: start;
    justify-content: start;
    max-width: 700px;
}

.home-card {
    position: relative;
    min-height: 168px;
    padding: 16px 18px;
    border-radius: 28px;
    text-decoration: none;
    border: 1px solid rgba(245, 237, 216, 0.24);
    box-shadow: 0 18px 36px rgba(16, 48, 25, 0.12);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-cards--collage .home-card:nth-child(1) {
    background: #efb5c6;
    transform: translateY(8px) rotate(-1.4deg);
}

.home-cards--collage .home-card:nth-child(2) {
    background: #f4efa7;
    transform: translateY(-2px) rotate(0.9deg);
}

.home-cards--collage .home-card:nth-child(3) {
    background: #b7e39e;
    transform: translateY(-8px) rotate(-0.8deg);
    max-width: 320px;
}

.home-cards--collage .home-card:nth-child(3) {
    grid-column: 1;
}

.home-card--peach,
.home-card--mint,
.home-card--butter {
    color: #315234;
}

.home-card__plus {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 255, 216, 0.62);
    color: #f0fbdf;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--card-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-card::before {
    content: none;
}

.home-card:hover,
.home-card:focus-visible {
    transform: translateY(-12px) rotate(0deg) !important;
    border-color: rgba(246, 231, 180, 0.35);
    box-shadow: 0 24px 48px rgba(16, 48, 25, 0.16);
}

.home-card__tag {
    display: inline-flex;
    max-width: calc(100% - 34px);
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #315234;
}

.home-card__title {
    margin: 0;
    max-width: 19ch;
    font-family: 'Quicksand', sans-serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.34;
    color: #315234;
}

.story-ribbon {
    padding: 12px 48px 72px;
}

.story-ribbon__intro {
    max-width: 820px;
    margin-bottom: 26px;
}

.story-ribbon__eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(218, 246, 224, 0.82);
}

.story-ribbon__title {
    margin: 0;
    font-family: 'Cardo', serif;
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.14;
    color: #f6e7b4;
}

.story-ribbon__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.story-step {
    position: relative;
    min-height: 240px;
    padding: 28px 24px;
    border-radius: 28px;
    background: rgba(246, 231, 180, 0.07);
    border: 1px solid rgba(246, 231, 180, 0.14);
    box-shadow: 0 20px 42px rgba(16, 48, 25, 0.12);
    overflow: hidden;
}

.story-step::after {
    content: "";
    position: absolute;
    top: 26px;
    right: 24px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 246, 224, 0.18), transparent 72%);
}

.story-step__number {
    display: inline-flex;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(218, 246, 224, 0.82);
}

.story-step__title {
    margin: 0 0 16px;
    font-family: 'Cardo', serif;
    font-size: 32px;
    line-height: 1.18;
    color: #f5edd8;
}

.story-step__text {
    margin: 0;
    max-width: 32ch;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(218, 246, 224, 0.88);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
    gap: 20px;
    padding: 0 48px 72px;
}

.spotlight-card {
    min-height: 220px;
    padding: 28px 26px;
    border-radius: 30px;
    background:
        linear-gradient(150deg, rgba(218, 246, 224, 0.08), rgba(246, 231, 180, 0.04)),
        rgba(28, 78, 43, 0.16);
    border: 1px solid rgba(218, 246, 224, 0.14);
    box-shadow: 0 18px 42px rgba(16, 48, 25, 0.12);
}

.spotlight-card--wide {
    min-height: 280px;
}

.spotlight-card__label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(218, 246, 224, 0.14);
    color: #daf6e0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.spotlight-card__title {
    margin: 0 0 18px;
    font-family: 'Cardo', serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    color: #f6e7b4;
}

.spotlight-card__text {
    margin: 0;
    max-width: 40ch;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    line-height: 1.72;
    color: rgba(245, 237, 216, 0.88);
}

.social-strip {
    position: fixed;
    bottom: 68px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 4px 48px 6px;
}

.social-strip__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    color: #2a2820;
    background: #f0ead4;
    border: 2px solid #2a2820;
    box-shadow: 1.5px 1.5px 0 rgba(42,40,32,0.18);
    transition: transform 0.18s ease;
    position: relative;
}

.social-pill__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
}

.social-pill__icon svg {
    width: 100%;
    height: 100%;
    fill: #2a2820;
}

.social-pill:hover,
.social-pill:focus-visible {
    transform: translate(-1px, -2px) scale(1.06);
}

.social-pill:active {
    transform: translate(1px, 1px) scale(0.96);
}

.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 2px 48px 2px;
    margin-top: 0;
}

.bottom-banner img {
    width: min(860px, 100%);
    max-height: 64px;
    object-fit: contain;
    opacity: 0.84;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(10px) scale(1.04);
    }
    50% {
        transform: translateY(-8px) scale(1.04);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-header {
    animation: fadeUp 0.55s ease both;
}

.hero-copy {
    animation: fadeUp 0.65s ease 0.08s both;
}

.hero-pages {
    animation: fadeUp 0.75s ease 0.16s both;
}

.quote-panel {
    animation: fadeUp 0.7s ease 0.18s both;
}

.home-card {
    animation: fadeUp 0.7s ease var(--card-delay, 0ms) both;
}

@media (max-width: 1180px) {
    .custom-header,
    .hero-section,
    .home-panels,
    .story-ribbon,
    .spotlight-grid,
    .social-strip,
    .bottom-banner {
        padding-left: 28px;
        padding-right: 28px;
    }

    .custom-header {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 28px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }

    .hero-section {
        padding-top: 12px;
    }

    .story-page {
        width: min(420px, 100%);
    }

    .home-panels {
        grid-template-columns: 1fr;
    }

    .quote-panel {
        min-height: 280px;
        transform: none;
    }

    .home-cards,
    .home-cards--collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .home-cards--collage .home-card:nth-child(1),
    .home-cards--collage .home-card:nth-child(2),
    .home-cards--collage .home-card:nth-child(3) {
        transform: none;
        max-width: none;
    }

    .home-cards--collage .home-card:nth-child(3) {
        grid-column: auto;
    }

    .story-ribbon__track,
    .spotlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .custom-header {
        padding-top: 20px;
    }

    .logo-wrap img {
        width: 64px;
        height: 64px;
    }

    .logo-simply {
        font-size: 28px;
    }

    .logo-simple {
        font-size: 32px;
    }

    .hero-big-title {
        font-size: 42px;
    }

    .hero-copy__kicker {
        font-size: 12px;
    }

    .hero-pages {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .story-page,
    .story-page--front,
    .story-page--middle,
    .story-page--back {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        min-height: auto;
        transform: none !important;
    }

    .story-page__text {
        font-size: 18px;
    }

    .home-cards,
    .home-cards--collage {
        grid-template-columns: 1fr;
    }

    .story-step__title {
        font-size: 28px;
    }

    .story-step__text,
    .spotlight-card__text {
        font-size: 17px;
    }

    .quote-panel__text {
        max-width: none;
        font-size: 18px;
        letter-spacing: 0.08em;
    }

    .home-card__title {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Homepage two-column layout */
.homepage-layout {
    display: flex;
    align-items: center;
    min-height: 0;
    height: calc(100vh - 74px - 104px);
    padding: 0 48px;
    overflow: visible;
}

.homepage-flip {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: visible;
}

.homepage-cards {
    flex: 0 0 780px;
    display: grid;
    grid-template-columns: 175px 1fr 1fr;
    column-gap: 36px;
    row-gap: 110px;
    padding: 120px 16px 20px 16px;
    align-items: start;
    zoom: 0.85;
}

/* Legacy selector kept for other pages */
.showcase-cards {
    display: flex;
    gap: 14px;
    padding: 105px 32px 44px;
    align-items: stretch;
}

.showcase-card {
    min-height: 255px;
    border-radius: 24px;
    padding: 96px 14px 20px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:not(.showcase-card--intro):hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 48, 25, 0.18);
}

.showcase-card--intro {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    background: #a8d8ea;
    overflow: visible;
    cursor: default;
    min-height: 145px;
    padding: 14px 14px 16px;
    align-items: center;
    justify-content: center;
}

.showcase-card--pink    { background: #f4b8c8; margin-top: -30px; }
.showcase-card--yellow  { background: #f8f0ce; margin-top: -30px; }
.showcase-card--green   { background: #c8e6c9; }
.showcase-card--lavender { background: #d9c0e8; }

.showcase-card__greeting {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    text-shadow: 0 2px 8px rgba(16, 48, 25, 0.18);
}

/* bennis.png — sol üstten taşıyor, kartın kenarına oturuyor */
.showcase-card__intro-photo {
    position: absolute;
    top: -145px;
    left: -10px;
    height: 190px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left top;
    pointer-events: none;
}

/* Karakter görselleri — kartın üstüne oturuyor */
.showcase-card__char {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    max-width: none;
    border-radius: 0;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
}

/* Başlık — dairenin dış kenarında yarım daire SVG arc */
.showcase-card__arc-title {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.showcase-card__text {
    margin-top: 0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.7;
    color: #0d5b9d;
    text-align: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Animations ── */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@keyframes floatChar {
    0%        { transform: translateX(calc(-50% - 6px)) rotate(-2.5deg); }
    50%       { transform: translateX(calc(-50% + 6px)) rotate(2.5deg); }
    100%      { transform: translateX(calc(-50% - 6px)) rotate(-2.5deg); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Karakter görselleri sağa-sola sallanır */
.showcase-card__char {
    animation: floatChar 3.5s ease-in-out infinite;
}
.showcase-card--pink   .showcase-card__char { animation-delay: 0s; }
.showcase-card--yellow .showcase-card__char { animation-delay: -0.9s; }
.showcase-card--green  .showcase-card__char { animation-delay: -1.8s; }
.showcase-card--lavender .showcase-card__char { animation-delay: -2.6s; }

/* Bennis de yüzer */
.showcase-card__intro-photo {
    animation: floatY 3.8s ease-in-out infinite;
}

/* Kartlar sırayla belirir */
.homepage-cards .showcase-card {
    opacity: 0;
    animation: fadeSlideUp 0.55s ease forwards;
}
.homepage-cards .showcase-card:nth-child(1) { animation-delay: 0.1s; }
.homepage-cards .showcase-card:nth-child(2) { animation-delay: 0.25s; }
.homepage-cards .showcase-card:nth-child(3) { animation-delay: 0.4s; }
.homepage-cards .showcase-card:nth-child(4) { animation-delay: 0.55s; }
.homepage-cards .showcase-card:nth-child(5) { animation-delay: 0.7s; }

/* Dijital Günlüğüm */
.dijital-gunlugum-content {
    padding: 48px;
    min-height: calc(100vh - 200px);
}

.sketchfab-embed-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.sketchfab-embed-wrapper iframe {
    width: 100%;
    height: 540px;
    border-radius: 16px;
}

.sketchfab-credit {
    font-size: 12px;
    color: rgba(245, 237, 216, 0.6);
    text-align: center;
    margin-top: 8px;
}

.sketchfab-credit a {
    color: rgba(245, 237, 216, 0.85);
    font-weight: 600;
    text-decoration: none;
}

/* DigiSapienHR */
.hero-dm {
    width: 100%;
    height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
}

.dm-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dm-svg path {
    stroke-linecap: round;
}

.dm-node {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 2;
}

.dm-node-1 {
    top: 1%;
    left: -6%;
}

.dm-node-2 {
    top: 35%;
    left: -6%;
}

.dm-node-3 {
    top: 9%;
    left: 21%;
}

.dm-node-4 {
    top: 47%;
    left: 21%;
}

.dm-ikon-left,
.dm-ikon-top {
    width: 135px;
    height: 135px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: -36px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.28));
}

.dm-card {
    background: #daf6e0;
    border: none;
    border-radius: 22px;
    padding: 20px 24px 18px;
    min-width: 230px;
    max-width: 265px;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.dm-node-3 .dm-card,
.dm-node-4 .dm-card {
    padding-top: 20px;
    text-align: center;
}

.dm-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #1a4a28;
    margin: 0 0 8px;
}

.dm-card p {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: #2d5c3a;
    margin: 0 0 14px;
}

.dm-btn {
    display: inline-block;
    background: #f6e7b4;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a3d22;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    cursor: pointer;
}

.dm-btn:hover {
    background: #5aaa68;
    transform: translateY(-1px);
}

.dm-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30%;
    min-width: 320px;
    display: flex;
    justify-content: flex-end;
}

.dm-right-inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 12px 40px 16px;
}

.dm-right-text {
    font-family: 'Source Serif 4', serif;
    font-size: 13px;
    line-height: 1.9;
    color: #f5edd8;
    text-align: center;
    margin: 0;
}

.dm-photo-wrap {
    position: relative;
    width: 185px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: auto;
    overflow: visible;
}

.dm-bubble-img {
    position: absolute;
    top: 20px;
    right: 8px;
    width: 115px;
    height: auto;
    object-fit: contain;
    z-index: 4;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
}

.dm-photo {
    width: 185px;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: right bottom;
    border-radius: 50px 0 0 50px;
    display: block;
    flex-shrink: 0;
    margin-left: auto;
}

.page-digisapienhr .custom-header {
    animation: fadeUp 0.6s ease both;
}

.dm-node-1 {
    animation: fadeUp 0.7s ease 0.1s both;
}

.dm-node-2 {
    animation: fadeUp 0.7s ease 0.2s both;
}

.dm-node-3 {
    animation: fadeUp 0.7s ease 0.3s both;
}

.dm-node-4 {
    animation: fadeUp 0.7s ease 0.4s both;
}

.dm-right {
    animation: fadeUp 0.8s ease 0.2s both;
}

.page-digisapienhr .bottom-banner {
    animation: fadeUp 0.7s ease 0.5s both;
}

.gooey-wrapper {
  position: fixed;
  bottom: 40px;
  right: 40px;
  filter: url(#goo);
  z-index: 999;
}

.menu-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #daf6e0;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.menu-items {
  position: absolute;
  bottom: 90px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.4s;
}

.menu-items.open {
  opacity: 1;
  transform: scale(1);
}

.menu-item {
  background: #daf6e0;
  padding: 14px 22px;
  border-radius: 30px;
  cursor: pointer;
}

/* ── Gezen Göçmen ── */
.page-gezen-gocmen main.site-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 128px);
}

.gg-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    padding: 24px 48px 48px;
}

.gg-left {
    flex: 0 0 auto;
    max-width: 340px;
}

.gg-retro-text {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: clamp(28px, 3.2vw, 50px);
    line-height: 1.3;
    color: #f6e7b4;
    text-align: center;
    margin: 0;
    letter-spacing: 0.03em;
    text-shadow:
        /* ince dış kenarlık */
        -2px -2px 0 #f2c6d4,
         2px -2px 0 #f2c6d4,
        -2px  2px 0 #f2c6d4,
         2px  2px 0 #f2c6d4,
        /* 3D derinlik katmanları — sağ-aşağı */
        3px  3px 0 #f2c6d4,
        4px  4px 0 #f2c6d4,
        5px  5px 0 #f2c6d4,
        6px  6px 0 #f2c6d4,
        7px  7px 0 #f2c6d4,
        8px  8px 0 #f2c6d4,
        /* zemin gölgesi */
        10px 10px 5px rgba(180, 120, 140, 0.3);
}

.gg-quote {
    color: #f6e7b4;
}

.mac-tilt-wrapper {
    display: inline-block;
    margin-top: 80px;
}

.mac-img-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.mac-image {
    display: block;
    max-height: 54vh;
    width: auto;
    max-width: 100%;
    cursor: pointer;
}

/* ── Traveler characters ── */
.gg-traveler {
    position: absolute;
    top: -20%;
    left: 2%;
    width: 30%;
    z-index: 30;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    display: block;
}
#ggTraveler1 {
    pointer-events: auto;
    cursor: grab;
}
#ggTraveler1:active { cursor: grabbing; }
#ggTraveler2,
#ggTraveler3 { display: none; }


/* Mac ekran içi — tab penceresi + klasörler */
.mac-screen-area {
    position: absolute;
    top: 21.5%;
    left: 17.5%;
    width: 58%;
    height: 40%;
    display: flex;
    flex-direction: column;
    perspective: 600px;
    border-radius: 6px;
    overflow: hidden;
    background: #e6d6c1;
}

/* Browser chrome */
.mac-browser-chrome {
    width: 100%;
    flex-shrink: 0;
    background: #f6e7b4;
    border-bottom: 1px solid #d8c878;
}
.mac-browser-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 7px 2px;
    background: #f0dc9a;
}
.mac-browser-dots {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.mac-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.mac-dot--red    { background: #ff5f57; }
.mac-dot--yellow { background: #ffbd2e; }
.mac-dot--green  { background: #28c840; }
.mac-browser-tab-pill {
    background: #f6e7b4;
    border-radius: 5px 5px 0 0;
    padding: 2px 10px;
    font-size: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #6a5a28;
    white-space: nowrap;
    border: 1px solid #d8c878;
    border-bottom: none;
}
.mac-browser-addressbar {
    display: flex;
    align-items: center;
    padding: 2px 7px;
    background: #f6e7b4;
}
.mac-browser-url {
    flex: 1;
    background: rgba(255,255,255,0.45);
    border: 1px solid #d8c878;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 7.5px;
    font-family: 'Quicksand', sans-serif;
    color: #6a5a28;
    text-align: center;
}

.mac-screen-folders {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12%;
    padding: 4px 10%;
}

.mac-folder-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.mac-folder-btn:hover {
    transform: scale(1.12) translateY(-3px);
}

.mac-folder-btn__img {
    width: 54px;
    height: auto;
    display: block;
    max-width: none;
}

.mac-folder-btn__label {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0.08em;
    color: #53805e;
    text-align: center;
    white-space: nowrap;
}

/* ── Dijital Günlüğüm – 3D Carousel ── */
.dg-scene-tagline {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 20;
    text-align: center;
    pointer-events: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 1.9vw, 28px);
    line-height: 1.4;
    color: #f8e8ff;
    letter-spacing: 0.03em;
    text-shadow:
        -1px -1px 0 #c090d8,
         1px -1px 0 #c090d8,
        -1px  1px 0 #c090d8,
         1px  1px 0 #c090d8,
        2px  2px 0 #c090d8,
        3px  3px 0 #b080cc,
        4px  4px 0 #a070c0,
        5px  5px 0 #9060b4,
        6px  6px 0 #8050a8,
        8px  8px 8px rgba(60, 10, 90, 0.4);
}

.dg-scene {
    position: relative;
    display: grid;
    overflow: hidden;
    width: 100%;
    height: calc(100vh - 148px);
    perspective: 600px;
    cursor: grab;
    user-select: none;
    -webkit-mask: linear-gradient(90deg, #0000, #000 18% 82%, #0000);
    mask: linear-gradient(90deg, #0000, #000 18% 82%, #0000);
}

.dg-scene:active { cursor: grabbing; }

.dg-a3d {
    display: grid;
    place-self: center;
    transform-style: preserve-3d;
}

.dg-card {
    --w: 260px;
    --ba: calc(1turn / var(--n));
    grid-area: 1 / 1;
    width: var(--w);
    height: 370px;
    border-radius: 1.2em;
    backface-visibility: hidden;
    background-size: cover;
    background-position: center;
    background-color: transparent;
    transform:
        rotateY(calc(var(--i) * var(--ba)))
        translateZ(calc(-1 * var(--r, 500px)));
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dg-card[data-title]:hover {
    scale: 1.08;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.dg-card[data-title]::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 14px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    border-radius: 0 0 1.2em 1.2em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.dg-card[data-title]:hover::after {
    opacity: 1;
}

.dg-hover-title {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 0 12px rgba(255,255,255,0.7), 0 0 28px rgba(255,255,255,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    z-index: 999;
}

.dg-hover-title--visible {
    opacity: 1;
}

.dg-card--dim {
    background-color: #1a1a1a !important;
    opacity: 0.18;
    pointer-events: none;
    box-shadow: none !important;
}

.dg-card__label {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 16px !important;
    margin: 0 !important;
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    color: rgba(60, 40, 55, 0.9) !important;
    text-shadow: 0 1px 3px rgba(255,255,255,0.4) !important;
    letter-spacing: 0.01em !important;
    pointer-events: none;
    box-sizing: border-box;
}

/* ── Dijital Günlüğüm – Player Arama Barı ── */
.dg-player-bar {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}
.dg-player-bar > * {
    pointer-events: auto;
}

.dg-player-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,250,255,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(210,185,230,0.55);
    border-radius: 20px;
    padding: 7px 18px 7px 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #5a3070;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    box-shadow: 0 2px 14px rgba(160,120,200,0.2);
}
.dg-player-btn:hover {
    background: rgba(220,195,245,0.92);
    transform: translateY(-1px);
}

.dg-player-btn-arrow {
    display: inline-block;
    font-size: 10px;
    transition: transform 0.3s ease;
}
.dg-player-bar.open .dg-player-btn-arrow {
    transform: rotate(180deg);
}

.dg-player-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(180,150,210,0.5);
    border-radius: 16px;
    width: 290px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 -6px 28px rgba(120,80,180,0.25);
    pointer-events: none;
}
.dg-player-bar.open .dg-player-list {
    max-height: 340px;
    overflow-y: auto;
    pointer-events: auto;
    padding: 6px 0;
}
.dg-player-list::-webkit-scrollbar { width: 3px; }
.dg-player-list::-webkit-scrollbar-thumb { background: rgba(200,170,225,0.4); border-radius: 2px; }

.dg-player-item {
    display: flex !important;
    align-items: center !important;
    padding: 9px 18px !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1a0030 !important;
    cursor: pointer !important;
    transition: background 0.15s;
    list-style: none !important;
    margin: 0 !important;
}
.dg-player-item:hover  { background: rgba(220,190,240,0.35) !important; }
.dg-player-item.active { background: rgba(215,170,235,0.5) !important; color: #0a0020 !important; font-weight: 700 !important; }

.dg-player-item-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #dcc8f0, #e090b8);
}
.dg-player-item-name {
    flex: 1;
    line-height: 1.4;
    color: #1a0030 !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* ── Avrupa harita sayfası — içerik alanı sıfırla ── */
.page-id-avrupa .ast-container,
.page-avrupa .ast-container,
body:has(.av-wrap) .entry-content,
body:has(.av-wrap) .ast-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}