/* Site.css - Ana sayfa (Hero, Search, Popular, Category, CTA) */
:root {
    --wte-bg: #f9f1e8;
    --wte-surface: rgba(255, 255, 255, 0.88);
    --wte-surface-strong: #fffdf9;
    --wte-ink: #3f3024;
    --wte-muted: #6e6257;
    --wte-line: rgba(110, 95, 74, 0.12);
    --wte-green: #7f9d58;
    --wte-green-dark: #688745;
    --wte-green-soft: #d7e3bf;
    --wte-red: #970001;
    --wte-shadow: 0 24px 60px rgba(75, 58, 45, 0.14);
    --wte-shadow-soft: 0 16px 38px rgba(75, 58, 45, 0.1);
    --wte-radius-xl: 36px;
    --wte-radius-lg: 28px;
    --wte-radius-md: 22px;
    --wte-radius-sm: 18px;
    --wte-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
/* APP */
.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1 0 auto;
}

/* HERO */
.hero {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light));
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 42px 0 64px;
}

@media (min-width: 900px) {
    .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 56px;
        padding: 60px 24px 88px;
    }
}

.hero__left {
    flex: 1;
}

.hero__eyebrow {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 16px;
}

.hero__title {
    font-size: clamp(44px, 7vw, 88px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
    color: var(--wte-ink);
    font-weight: 800;
}

.hero__title span {
    display: block;
    color: var(--color-bg);
}

.hero__lead {
    font-size: 18px;
    max-width: 480px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0 0 24px;
}

/* Toggle buttons (aria-pressed) */
.hero-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
    margin-bottom: 16px;
}

.hero-toggle__button {
    border-radius: 999px;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #e7ffe9;
    opacity: .85;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

    .hero-toggle__button:hover {
        background: rgba(255, 255, 255, 0.22);
        opacity: 1;
    }

.hero-toggle__icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.hero-toggle__button.is-active {
    background: #ffffff;
    color: #25692A;
    opacity: 1;
}

    .hero-toggle__button.is-active .hero-toggle__icon {
        background: #E6F7E6;
        color: #25692A;
    }

/* Benefits (fade) */
.hero-benefits {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: max-height 260ms ease, opacity 420ms ease, transform 420ms ease;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
}

    .hero-benefits li::before {
        content: "\2713";
        margin-right: 8px;
        color: #d4edba;
        font-weight: 800;
    }

    .hero-benefits.is-active {
        max-height: 260px;
        opacity: 1;
        transform: translateY(0);
    }

/* Hero CTA buttons */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn--primary {
    background: linear-gradient(135deg, #8eab62 0%, #688745 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(104, 135, 69, 0.26);
}

.hero-btn--primary:hover {
    box-shadow: 0 22px 42px rgba(104, 135, 69, 0.32);
    color: #fff;
}

.hero-btn--secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* HERO: görseller üst üste + fade */
.hero__right {
    flex: 1.2;
    display: grid;
    place-items: center;
    overflow: visible;
}

    .hero__right > div {
        grid-area: 1 / 1;
        display: grid;
        place-items: center;
        width: 100%;
    }

    .hero__right img {
        display: block;
        width: 120%;
        max-width: 820px;
        height: auto;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 280ms ease, transform 280ms ease;
        pointer-events: none;
    }

        .hero__right img.is-active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

/* Cream bg ile doğal geçiş — wave gizli */
.hero-wave {
    display: none;
}

/* SEARCH SECTION */
.section--search {
    background: var(--color-bg);
}

.search-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 900px) {
    .search-layout {
        flex-direction: row;
        align-items: center;
        gap: 44px;
    }
}

.search-layout__text {
    flex: 1.1;
}

.search-form {
    margin-top: 14px;
    margin-bottom: 14px;
}

.search-form__row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 600px) {
    .search-form__row {
        flex-direction: row;
        align-items: center;
    }
}

.search-input {
    flex: 1;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input__icon {
    font-size: 15px;
}

.search-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #555555;
    background: transparent;
}

    .search-input input::placeholder {
        color: #B5B5B5;
    }

.search-form__button {
    align-self: flex-start;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    background: #ffffff;
    border: 1px solid #ECE1D6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #654B33;
    cursor: pointer;
}

.chip__icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--color-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Map card */
.search-layout__map {
    flex: 1;
    display: flex;
    justify-content: center;
}

.map-card {
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.map-card__iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

/* POPULAR RESTAURANTS */
.section--popular {
    background: var(--color-bg);
}

.popular-grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 900px) {
    .popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.restaurant-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .restaurant-card img {
        height: 170px;
        object-fit: cover;
    }

.restaurant-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.restaurant-card__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.restaurant-card__tags {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
}

.restaurant-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
    font-size: 12px;
    color: #666666;
}

.restaurant-card__icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--color-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 4px;
}

.restaurant-card__footer {
    padding: 0 16px 14px;
}

/* CATEGORIES */
.section--categories {
    background: var(--color-bg);
}

.category-grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 720px) {
    .category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.category-card {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    padding: 18px 14px 16px;
    text-align: center;
}

.category-card__image {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 10px;
}

.category-card__name {
    font-weight: 600;
    margin: 0 0 4px;
}

.category-card__count {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
}

/* CTA */
.cta {
    background: var(--color-secondary-light);
    color: #ffffff;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 24px;
}

.cta__title {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 8px;
}

.cta__subtitle {
    font-size: 16px;
    opacity: .9;
    line-height: 1.6;
    margin: 0;
}

.cta__button {
    margin-top: 4px;
}

@media (min-width: 768px) {
    .cta__inner {
        flex-direction: row;
        align-items: center;
    }
}

/* Mobil ekstra */
@media (max-width: 600px) {
    .hero__inner {
        padding: 28px 24px 56px;
    }

    .hero__lead {
        max-width: 100%;
    }

    .hero__right img {
        max-width: 100%;
    }

    .site-footer {
        padding-top: 24px;
        padding-bottom: 16px;
    }
}

@media (max-width: 520px) {
    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-btn {
        width: 100%;
    }
}
