/* ============================================================
   BİTANTUNİ — Modern Tasarım
   Renk teması: kurumsal turuncu (RGB 208, 93, 40).
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
    --primary: #d05d28;
    --primary-dark: #a8431c;
    --primary-light: #e09673;
    --primary-soft: #fbeae3;
    --dark: #1a1d20;
    --light: #ffffff;
    --gray: #6c757d;
    --gray-light: #f7f8fa;
    --gray-dark: #343a40;
    --border: #ececf0;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
    --shadow-primary: 0 12px 30px rgba(208, 93, 40, 0.28);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-pill: 50px;

    --header-h: 84px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max: 1180px;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.75;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* push content below fixed header on inner pages */
main > section:first-child:not(.hero),
main > .container:first-child,
main > .page-hero { margin-top: 0; }
main { padding-top: 0; }

/* ---------- SECTION HEADINGS ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}
.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    text-align: center;
    max-width: 620px;
    margin: 0 auto 64px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
    z-index: -1;
}
.btn:hover::before { left: 100%; }

.btn-primary { background: var(--primary); color: var(--light); box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }

.btn-danger { background: var(--primary); color: var(--light); box-shadow: var(--shadow-primary); }
.btn-danger:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(208, 93, 40, 0.38); }

.btn-light { background: var(--light); color: var(--primary); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- ANIMATIONS ---------- */
[data-animate] { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
[data-animate="fade-right"] { transform: translateX(-34px); }
[data-animate="fade-in"] { transform: none; }
[data-animate].animate-visible { opacity: 1; transform: translate(0); }

@keyframes heroTitle { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroSubtitle { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 12px); } }

/* ============================================================
   HEADER
   ============================================================ */
#header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}
#header.scrolled {
    background: #ffffff;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    transition: var(--transition);
}
#header.scrolled .header-inner { padding: 12px 0; }
.header-logo img { width: 150px; transition: var(--transition); }
#header.scrolled .header-logo img { width: 130px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary);
    padding: 6px 10px;
}

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 6px;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 26px; }
.main-nav a.active {
    background: var(--primary);
    color: var(--light);
}
.main-nav a.active::after { display: none; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
    position: absolute; inset: 0;
    /* Overlay kaldırıldı: hero görseli orijinal beyaz arka planıyla gösterilir */
    background: transparent;
    z-index: -1;
}
.hero__inner { text-align: center; color: var(--light); max-width: 820px; padding: 0 20px; }
.hero__title {
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
    animation: heroTitle 1.1s ease-out;
}
.hero__subtitle {
    font-size: clamp(1.1rem, 3vw, 1.85rem);
    font-weight: 300;
    margin-bottom: 2.4rem;
    opacity: 0.95;
    animation: heroSubtitle 1.1s ease-out 0.3s both;
}
.hero__cta { animation: heroSubtitle 1.1s ease-out 0.5s both; padding: 16px 44px; font-size: 1.15rem; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.hero__scroll span {
    display: block; width: 28px; height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px; position: relative;
}
.hero__scroll span::after {
    content: ''; position: absolute; top: 8px; left: 50%;
    width: 4px; height: 8px; background: var(--light);
    border-radius: 2px; transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* ============================================================
   BRAND STRIP
   ============================================================ */
.brand-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}
.brand-strip__logo { margin-bottom: 44px; }
.brand-strip__logo img { width: 100%; max-width: 560px; margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25)); }
.brand-strip__menu {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 14px; max-width: 980px; margin: 0 auto;
}
.brand-strip__menu .btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: var(--light);
    box-shadow: none;
    backdrop-filter: blur(4px);
}
.brand-strip__menu .btn:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
    min-height: 540px;
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.about-preview__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    z-index: 1;
}
.about-preview__box { max-width: 560px; color: var(--light); position: relative; z-index: 2; }
.about-preview__box h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800; margin-bottom: 1.4rem; line-height: 1.2; letter-spacing: -0.01em;
}
.about-preview__box p { font-size: 1.12rem; margin-bottom: 2rem; opacity: 0.92; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--gray-light); padding: 90px 0; }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px; text-align: center;
}
.stats__item {
    padding: 40px 24px;
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.stats__item:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.stats__num {
    display: block; font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800; color: var(--primary); margin-bottom: 8px; line-height: 1;
}
.stats__label { font-size: 1.08rem; color: var(--gray-dark); font-weight: 500; }

/* ============================================================
   FEATURED DISHES + CARDS
   ============================================================ */
.featured { padding: 96px 0; background: var(--light); }
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.dish-card {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.dish-card__img { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.dish-card__img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent 40%);
    opacity: 0; transition: var(--transition);
}
.dish-card:hover .dish-card__img::after { opacity: 1; }
.dish-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.dish-card:hover .dish-card__img img { transform: scale(1.08); }
.dish-card__body { padding: 30px 28px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.dish-card__body h4 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.dish-card__body p { color: var(--gray); font-size: 1rem; margin-bottom: 26px; flex: 1; }
.dish-card__btn { align-self: center; padding: 12px 30px; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 96px 0; text-align: center; color: var(--light); position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -60%; right: -10%;
    width: 480px; height: 480px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 1.3rem; line-height: 1.2; position: relative; }
.cta p { font-size: 1.18rem; margin: 0 auto 2.4rem; opacity: 0.94; max-width: 620px; position: relative; }
.cta .cta__btn { position: relative; padding: 16px 44px; font-size: 1.08rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    height: 60vh;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.about-row:last-child { border-bottom: none; }
.about-row > div { flex: 1 1 340px; }
.about-row h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.2rem;
    line-height: 1.25;
    position: relative;
    padding-left: 18px;
}
.about-row h2::before {
    content: '';
    position: absolute; left: 0; top: 6px; bottom: 6px;
    width: 5px; border-radius: 4px;
    background: linear-gradient(var(--primary), var(--primary-dark));
}
.about-row p { color: var(--gray-dark); margin-bottom: 1rem; font-size: 1.04rem; }
.about-row .lead { font-size: 1.18rem; color: var(--primary-dark); }
.about-imgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.about-imgs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.about-imgs img:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow); }

/* ============================================================
   LEZZETLER PAGE
   ============================================================ */
.lezzet-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    padding: 70px 0;
    border-bottom: 1px solid var(--border);
}
.lezzet-detail:last-child { border-bottom: none; }
.lezzet-detail:nth-child(even) { flex-direction: row-reverse; }
.lezzet-detail > div { flex: 1 1 320px; }
.lezzet-detail img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.lezzet-detail:hover img { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.lezzet-detail .text h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.lezzet-detail .text p { color: var(--gray-dark); font-size: 1.06rem; }

/* ============================================================
   FRANCHISE PAGE (accordion)
   ============================================================ */
.franchise-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.franchise-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800; color: var(--dark); margin-bottom: 1rem;
}
.divider {
    width: 70px; height: 4px; border: none;
    margin: 0 auto 1.4rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}
.franchise-head p { color: var(--gray); font-size: 1.12rem; }

.accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.accordion-item {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.accordion-item.open { box-shadow: var(--shadow); border-color: var(--primary-light); }
.accordion-header {
    padding: 22px 56px 22px 26px;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: var(--transition);
}
.accordion-header:hover { color: var(--primary); }
.accordion-item.open .accordion-header { color: var(--primary); background: var(--primary-soft); }
.accordion-header::after {
    content: '+';
    position: absolute; right: 26px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem; font-weight: 400; color: var(--primary);
    transition: transform 0.3s ease;
    line-height: 1;
}
.accordion-item.open .accordion-header::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 26px;
}
.accordion-item.open .accordion-body { max-height: 600px; padding: 4px 26px 24px; }
.accordion-body p { color: var(--gray-dark); }

/* Franchise başvuru formu kartı */
.franchise-form-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px;
}
.franchise-apply .form-control { background: var(--light); }
.franchise-apply .form-group label { color: var(--gray-dark); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    padding: 80px 0 60px;
    align-items: start;
}
.contact-row .section-title { text-align: left; }
.contact-row .section-title::after { margin-left: 0; }
.contact-row > div:first-child > p { color: var(--gray); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--gray-dark); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    background: var(--gray-light);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 0 0 4px rgba(208, 93, 40, 0.1);
}
textarea.form-control { resize: vertical; min-height: 150px; }
.form-group input[type="submit"] { width: auto; cursor: pointer; padding: 14px 44px; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.98rem;
    border-left: 4px solid;
}
.alert-success { background: #e8f7ee; color: #1e7e44; border-color: #2ecc71; }
.alert-danger { background: var(--primary-soft); color: var(--primary-dark); border-color: var(--primary); }

.branch {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}
.branch:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.branch h4 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 14px; }
.branch ul { display: flex; flex-direction: column; gap: 10px; }
.branch li { color: var(--gray-dark); font-size: 0.98rem; line-height: 1.5; }
.branch li i { color: var(--primary); width: 18px; margin-right: 6px; }
.branch a { color: var(--primary); }
.branch a:hover { color: var(--primary-dark); text-decoration: underline; }

.map {
    width: 100%;
    height: 440px;
    margin-top: 20px;
}
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.2);
    transition: filter 0.4s ease;
}
.map iframe:hover { filter: grayscale(0); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
}
.footer-copyright {
    padding: 32px 0;
    text-align: center;
    border-top: 3px solid var(--primary);
}
.footer-copyright p { font-size: 0.95rem; margin: 0; letter-spacing: 0.01em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .contact-row { grid-template-columns: 1fr; gap: 40px; }
    .about-preview { background-attachment: scroll; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }

    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .main-nav.open { max-height: 420px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
    .main-nav a { padding: 14px 24px; border-radius: 0; }
    .main-nav a::after { display: none; }

    .brand-strip__menu { flex-direction: column; align-items: center; }
    .brand-strip__menu .btn { width: 100%; max-width: 320px; }

    .form-row { grid-template-columns: 1fr; }

    .about-row, .lezzet-detail { gap: 32px; padding: 56px 0; }
    .lezzet-detail:nth-child(even) { flex-direction: row; }

    .section, .featured, .stats, .cta { padding: 64px 0; }
    .page-hero { height: 44vh; min-height: 280px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .about-imgs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .franchise-form-wrap { padding: 26px 20px; }
}
