html {
    scroll-behavior: smooth;
}

body {
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--emerald-gold);
    z-index: 99999;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.8);
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #060d09;
}

::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 128, 0.4);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(197, 168, 128, 0.8);
    }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

.btn {
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    will-change: transform;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-badges-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.pioneer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, rgba(220, 39, 67, 0.25), rgba(220, 39, 67, 0.05));
    border: 1px solid rgba(220, 39, 67, 0.6);
    color: #ff4757;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 0;
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.3), inset 0 0 10px rgba(220, 39, 67, 0.1);
    animation: pulseRed 2.5s infinite;
    text-transform: uppercase;
    transform: scale(1.05);
}

.tr-flag-svg {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(220, 39, 67, 0.8);
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 15px rgba(220, 39, 67, 0.3), inset 0 0 5px rgba(220, 39, 67, 0.1);
    }

    50% {
        box-shadow: 0 0 35px rgba(220, 39, 67, 0.6), inset 0 0 15px rgba(220, 39, 67, 0.2);
    }

    100% {
        box-shadow: 0 0 15px rgba(220, 39, 67, 0.3), inset 0 0 5px rgba(220, 39, 67, 0.1);
    }
}

.news-skeleton {
    width: 100%;
    height: 320px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(10,23,18,0.4) 25%, rgba(20,54,37,0.7) 50%, rgba(10,23,18,0.4) 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 2s infinite;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-gold);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

@keyframes skeletonPulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.hero-accreditation {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 23, 18, 0.7);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-left: 4px solid var(--emerald-gold);
    padding: 14px 30px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 100%;
}

.acc-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acc-top {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.acc-bottom {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: var(--emerald-gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.ataturk-section {
    position: relative;
    width: 100%;
    min-height: 460px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(197, 168, 128, 0.25);
    background: var(--forest-dark);
}

.ataturk-bg-layer {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('/anitkabir-arka.jpg') center center / cover no-repeat;
    background-image: image-set(url('/anitkabir-arka.webp') type('image/webp'), url('/anitkabir-arka.jpg') type('image/jpeg'));
    filter: blur(6px) brightness(0.25) contrast(1.05);
    z-index: 1;
}

.ataturk-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 60px 40px;
    max-width: 850px;
    width: 100%;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 90px;
    color: rgba(197, 168, 128, 0.25);
    line-height: 0;
    margin-bottom: 25px;
}

.ataturk-quote {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.6;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-style: italic;
}

.quote-fade-out {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
}

.quote-fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.author-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    gap: 6px;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    padding-top: 25px;
    width: auto;
    min-width: min(320px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.author-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.ataturk-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--emerald-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.signature-svg {
    height: 45px;
    margin-top: 5px;
    fill: rgba(197, 168, 128, 0.85);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    transition: fill 0.3s;
}

.author-wrapper:hover .signature-svg {
    fill: #ffffff;
}

.interaktif-modul-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.action-banner {
    border: 1px solid var(--emerald-gold);
    border-radius: 24px;
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    will-change: transform, box-shadow;
    height: 100%;
}

    .action-banner::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(197, 168, 128, 0.1) 0%, transparent 60%);
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .action-banner:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(197, 168, 128, 0.4);
    }

        .action-banner:hover::before {
            opacity: 0.8;
        }

.calc-banner {
    background: linear-gradient(135deg, rgba(10, 23, 18, 0.92) 0%, rgba(20, 54, 37, 0.78) 100%), url('/orman-arka.jpg') center center / cover no-repeat;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(2px);
}

.pledge-banner {
    background: linear-gradient(135deg, rgba(13, 31, 23, 0.94) 0%, rgba(5, 12, 9, 0.88) 100%), url('/orman1.png') center center / cover no-repeat;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(197, 168, 128, 0.15);
    border-color: rgba(197, 168, 128, 0.5);
    backdrop-filter: blur(2px);
}

.banner-icon {
    font-size: 60px;
    line-height: 1;
    user-select: none;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    margin-bottom: 5px;
}

.icon-float {
    animation: floatTree 4s ease-in-out infinite;
}

.icon-pulse {
    animation: pulseMini 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(197,168,128,0.3));
}

.banner-content {
    flex: 1;
    z-index: 1;
    text-align: left;
}

.banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.banner-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.banner-action {
    z-index: 1;
    width: 100%;
    margin-top: 10px;
}

@keyframes floatTree {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes pulseMini {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.vision-wrapper {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(20,54,37,0.15) 0%, rgba(10,23,18,0.4) 100%);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    margin-top: 40px;
}

.vision-text-content {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-video-container {
    flex: 1;
    position: relative;
    min-height: 400px;
    background: #060d09;
}

    .vision-video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-left: 2px solid var(--emerald-gold);
    }

.news-preview-card {
    display: flex;
    flex-direction: row;
    background: linear-gradient(180deg, rgba(20,54,37,0.3) 0%, rgba(10,23,18,0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
}

    .news-preview-card:hover {
        border-color: var(--emerald-gold);
        box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(197, 168, 128, 0.2);
        transform: translateY(-8px);
    }

.news-preview-img {
    flex: 1;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

    .news-preview-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

.news-preview-card:hover .news-preview-img img {
    transform: scale(1.05);
}

.news-preview-content {
    flex: 1.3;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.news-preview-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.news-preview-tag {
    background: var(--emerald-gold);
    color: var(--forest-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-preview-date {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.news-preview-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2.5vw, 26px);
    color: white;
    margin-bottom: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .news-preview-title::before {
        content: '🌿';
        font-size: 24px;
        flex-shrink: 0;
        filter: drop-shadow(0 0 8px rgba(197, 168, 128, 0.4));
    }

.news-preview-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.join-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-top: 50px;
}

.join-bg {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: url('/orman1.png') center center / cover no-repeat;
    filter: blur(8px) brightness(0.25) contrast(1.1);
    z-index: 1;
}

.join-content {
    position: relative;
    z-index: 2;
    padding: 60px;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.join-box.whatsapp-card { border-color: rgba(37, 211, 102, 0.35); }
.join-box.whatsapp-card:hover { border-color: #25d366; box-shadow: 0 12px 34px rgba(37, 211, 102, 0.18); }
.whatsapp-btn { background: #25d366; color: #052e16; font-weight: 800; border: 1px solid #25d366; }
.whatsapp-btn:hover, .whatsapp-btn:focus-visible { background: #3be27a; color: #052e16; }

@media (max-width: 1100px) {
    .join-grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
    .join-grid > .join-box:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.join-box {
    background: rgba(10, 23, 18, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .join-box.form-card {
        background: linear-gradient(180deg, rgba(20,54,37,0.75) 0%, rgba(10,23,18,0.95) 100%);
        border-color: rgba(197, 168, 128, 0.45);
        box-shadow: 0 0 35px rgba(197, 168, 128, 0.15);
    }

        .join-box.form-card:hover {
            border-color: var(--emerald-gold);
            box-shadow: 0 15px 40px rgba(197, 168, 128, 0.35);
        }

    .join-box.oksis:hover {
        border-color: var(--emerald-gold);
        box-shadow: 0 10px 30px rgba(197, 168, 128, 0.15);
    }

.card-recommended-badge {
    display: inline-block;
    background: rgba(197, 168, 128, 0.2);
    color: var(--emerald-gold);
    border: 1px solid rgba(197, 168, 128, 0.4);
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    padding: 4px 14px;
    border-radius: 50px;
    margin: 0 auto 15px auto;
    font-weight: 800;
    letter-spacing: 1px;
}

.join-icon {
    font-size: 46px;
    margin-bottom: 15px;
    transform: translateZ(30px);
}

@media (max-width: 1024px) {
    .join-grid {
        gap: 20px;
    }

    .join-content {
        padding: 50px 30px;
    }

    .interaktif-modul-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .interaktif-modul-grid {
        grid-template-columns: 1fr;
    }

    .action-banner {
        align-items: center;
        text-align: center;
        padding: 40px 25px;
    }

    .banner-content {
        text-align: center;
    }

    .news-preview-card {
        flex-direction: column !important;
        text-align: center !important;
    }

    .news-preview-content {
        text-align: center !important;
    }

    .news-preview-img {
        min-height: 250px;
        width: 100%;
    }

    .news-preview-content {
        padding: 35px 25px;
        align-items: center;
    }

    .news-preview-meta {
        justify-content: center;
    }
}

@media (max-width: 850px) {
    .join-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .join-content {
        padding: 40px 20px;
    }

    .vision-wrapper {
        flex-direction: column-reverse;
    }

    .vision-video-container {
        min-height: 320px;
        border-left: none;
        border-bottom: 2px solid var(--emerald-gold);
    }

    .vision-text-content {
        padding: 45px 25px;
        text-align: center;
    }

    .ataturk-section {
        min-height: 480px;
    }

    .ataturk-quote {
        font-size: 22px;
        min-height: 140px;
    }
}

@media (max-width: 768px) {
    .ataturk-section {
        min-height: 500px;
    }

    .ataturk-quote {
        font-size: 19px;
        min-height: 160px;
        padding: 0 10px;
    }

    .quote-mark {
        font-size: 70px;
    }

    .author-wrapper {
        margin-top: 25px;
        padding-top: 20px;
        min-width: 0;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .ataturk-name {
        font-size: 14px;
        letter-spacing: 1.5px;
        line-height: 1.5;
    }

    .author-title {
        font-size: 14px;
        letter-spacing: .3px;
        text-align: center;
    }

    .hero-accreditation {
        padding: 12px 20px;
        border-radius: 12px;
        text-align: left;
    }

    .acc-top {
        font-size: 10.5px;
        letter-spacing: .8px;
    }

    .acc-bottom {
        font-size: 11.5px;
    }
}

html.js .ataturk-bg-layer:not(.arka-yuklu),
html.js .join-bg:not(.arka-yuklu) { background-image: none; }
html.js .calc-banner:not(.arka-yuklu) { background-image: linear-gradient(135deg, rgba(10, 23, 18, 0.92) 0%, rgba(20, 54, 37, 0.78) 100%); }
html.js .pledge-banner:not(.arka-yuklu) { background-image: linear-gradient(135deg, rgba(13, 31, 23, 0.94) 0%, rgba(5, 12, 9, 0.88) 100%); }
