/* =====================
          Temalar & Değişkenler
          ===================== */
:root {
    --avokadioColor: rgb(200, 250, 138);
    --avokadioGreen: #8FDF74;
    --avokadioYellow: rgb(217, 235, 54);
    --avokadioOrange: rgb(248, 167, 61);
    --avokadioBackGround: rgb(247, 247, 247);
    --avokadioSplashScreenColor: #00943B;
    --text: #1b1b1b;
    --muted: #5f6b6b;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --radius: 16px;
    --container: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

.features, .footer {
    display: block !important;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--avokadioBackGround);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}


.header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255, 255, 255, .75);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
}

.brand__logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}
.brand__logo__text {
    color: #00943B;
    font-size: 30px;
    font-weight: normal;
    vertical-align: bottom;
}

.brand__logo::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 8px;
    background: var(--white);
    opacity: .25;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--avokadioSplashScreenColor);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.nav__link {
    padding: 8px 10px;
    border-radius: 10px;
    color: #334;
    font-weight: 500;
}

.nav__link:hover {
    background: var(--avokadioColor);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -260px;
    width: 240px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0,0,0,0.15);
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: right 0.3s ease;
    z-index: 1001;
}

.sidebar.is-open {
    right: 0;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

.sidebar__nav .nav__link,
.sidebar__nav .nav__cta {
    display: block;
    padding: 12px;
    margin: 4px 0;
    border-radius: 8px;
    font-weight: 500;
}

.sidebar__nav .nav__cta {
    background: var(--avokadioSplashScreenColor);
    color: #fff;
    text-align: center;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger__bar {
    width: 26px;
    height: 3px;
    background: #2b2b2b;
    border-radius: 2px;
}

/* Mobil görünüm */
@media (max-width: 900px) {
    .nav__links {
        display: none; /* yatay menü gizleniyor */
    }
    .burger {
        display: flex;
    }
}

/* =====================
   Hero
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/header.png') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    margin: 0 0 16px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

.hero__subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    max-width: 700px;
    margin: 0 auto 24px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.hero__bottomText {
    font-size: clamp(14px, 0.6vw, 17px);
    max-width: 700px;
    margin: 0 auto 24px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.hero__bottomAltText {
    font-size: clamp(12px, 0.6vw, 15px);
    max-width: 700px;
    margin: 0 auto 24px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.hero__cta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    background: var(--avokadioSplashScreenColor);
    color: #fff;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.btn--ghost {
    background: var(--avokadioOrange);
    color: #2b2b2b;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.badge-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #000;
    box-shadow: var(--shadow);
}

.hero__downloads {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 100px;
    flex-wrap: wrap;
}

.hero__bottom {
    margin-top: 30px;
}
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Özellikler (ikonlu)
   ===================== */
.features {
    padding: 56px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--avokadioYellow);
    margin-bottom: 10px;
}

.feature__title {
    margin: 0 0 6px;
    font-weight: 700;
}

.feature__text {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 992px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

.photo{
    margin: 20px 25vh;
}
.photo__style{
    border-radius: 10px;
}

@media (max-width: 600px) {
    .photo{
        margin: 20px 2vh;
    }
    .photo__style{
        border-radius: 10px;
    }
}

/* =====================
   Nasıl Çalışır – 3 Adım
   ===================== */
.steps {
    padding: 64px 0;
}

.section__title {
    text-align: center;
    font-size: clamp(22px, 3vw, 34px);
    margin: 0 0 14px;
}

.section__lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 32px;
}

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

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.step__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-weight: 800;
    background: var(--avokadioColor);
    padding: 6px 10px;
    border-radius: 999px;
}

.step__img {
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--avokadioGreen), var(--avokadioColor));
    margin-bottom: 14px;
}

.step__title {
    margin: 6px 0;
    font-weight: 700;
}

.step__text {
    color: var(--muted);
    margin: 0;
}

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

/* =====================
   Bilim & Sonuçlar (Sayaçlar)
   ===================== */
.science {
    padding: 64px 0 0 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px;
    text-align: center;
}

.stat__num {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #0f5a2e;
}

.stat__desc {
    color: var(--muted);
}

.science__cta {
    margin-top: 70px;
    text-align: center;
}

@media (max-width: 900px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .stats {
        grid-template-columns: 1fr;
    }
}

/* =====================
   SSS (Akordeon)
   ===================== */
.faq {
    padding: 64px 0;
}

.accordion {
    display: grid;
    gap: 10px;
}

.accordion__item {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion__button {
    width: 100%;
    text-align: left;
    padding: 18px 18px;
    border: 0;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    font-weight: 300;
    cursor: pointer;
    color: #1b1b1b;
    text-decoration: none;
}

.accordion__content {
    height: 0;
    overflow: hidden;
    transition: height .25s ease;
    padding: 0 18px;
}

.accordion__content-inner {
    padding: 0 0 18px;
    font-size: 14px;
    color: var(--muted);
}

/* =====================
   CTA – Risk Testi
   ===================== */
.cta {
    padding: 64px 0;
}
.card{
    padding: 15px;
    border-radius: 10px;
}
.cta__box {
    background: linear-gradient(180deg, #ecffde, var(--avokadioGreen));
    border-width: 1px;
    border-radius: 20px;
    padding: 80px 26px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.cta__title {
    margin: 0 0 8px;
    font-weight: bold;
    font-size: 25px;
    color: var(--avokadioSplashScreenColor);
}

.cta__text {
    margin: 30px 0;
    color: var(--avokadioSplashScreenColor);
}

@media (max-width: 900px) {
    .cta__box {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Footer
   ===================== */
.footer {
    padding: 28px 0 64px;
    color: #d3d3d3;
    background-color: #1b1b1b;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 20px;
}

.footer a {
    color: #d3d3d3;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Basit Reveal Animasyonları
   ===================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

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