/* ============================================================
   Lezzetli — Ana Stil Dosyası
   Tema: Sıcak, sofistike, editorial restoran keşif sitesi
   ============================================================ */

/* --- Değişkenler --- */
:root {
    --cream:      #FAF6F0;
    --warm-white: #FFF9F2;
    --terracotta: #C4622D;
    --terracotta-dark: #A3501F;
    --charcoal:   #2C2825;
    --warm-gray:  #8A8078;
    --border:     #E8DDD4;
    --gold:       #C9A84C;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius: 12px;
    --radius-sm: 6px;
    --shadow: 0 4px 24px rgba(44,40,37,.08);
    --shadow-hover: 0 8px 40px rgba(44,40,37,.16);
    --transition: .25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.65;
    font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Tipografi --- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }

/* --- Butonlar --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--terracotta);
    color: #fff;
    border-color: var(--terracotta);
}
.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
}
.btn-outline {
    background: transparent;
    color: var(--terracotta);
    border-color: var(--terracotta);
}
.btn-outline:hover {
    background: var(--terracotta);
    color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    font-size: 1.6rem;
    color: var(--terracotta);
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--charcoal);
    font-weight: 600;
}
.main-nav ul {
    display: flex;
    gap: 8px;
}
.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 400;
    color: var(--warm-gray);
    transition: var(--transition);
}
.main-nav a:hover { color: var(--charcoal); background: var(--cream); }
.main-nav a.active { color: var(--terracotta); font-weight: 500; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--charcoal);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(196,98,45,.25) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,.12) 0%, transparent 60%);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-subtitle {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
    font-style: italic;
    color: var(--gold);
}
.hero-desc {
    color: rgba(255,255,255,.65);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 420px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Arama Kutusu */
.hero-search {
    display: flex;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    overflow: hidden;
}
.hero-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 18px 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}
.hero-search input::placeholder { color: rgba(255,255,255,.4); }
.hero-search button {
    background: var(--terracotta);
    border: none;
    color: #fff;
    padding: 0 28px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.hero-search button:hover { background: var(--terracotta-dark); }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    display: block;
}
.stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ============================================================
   KATEGORİLER
   ============================================================ */
.section { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-label {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: block;
    margin-bottom: 10px;
}
.section-header p {
    color: var(--warm-gray);
    margin-top: 12px;
    font-size: 1.05rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
.category-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.category-card:hover {
    border-color: var(--terracotta);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.category-card .icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.category-card .name { font-size: .9rem; font-weight: 500; color: var(--charcoal); }
.category-card .count { font-size: .78rem; color: var(--warm-gray); margin-top: 4px; }

/* ============================================================
   RESTORAN KARTLARI
   ============================================================ */
.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.restaurant-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.restaurant-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.card-image {
    height: 200px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--terracotta);
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 99px;
}
.card-body { padding: 22px; }
.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.card-category { font-size: .8rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: .06em; }
.card-rating { margin-left: auto; font-size: .9rem; font-weight: 500; color: var(--gold); }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: .9rem; color: var(--warm-gray); line-height: 1.5; }
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    color: var(--warm-gray);
}
.card-price { font-weight: 500; color: var(--charcoal); }

/* ============================================================
   PLACEHOLDER (resim yok)
   ============================================================ */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #EDE8E2, #D9D0C5);
    color: rgba(44,40,37,.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,.7);
    padding-top: 64px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: .9rem; line-height: 1.7; max-width: 260px; }
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: .9rem; margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    text-align: center;
    font-size: .83rem;
    color: rgba(255,255,255,.35);
}

/* ============================================================
   RESPONSİF
   ============================================================ */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .main-nav { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 50px; }
    .section { padding: 52px 0; }
}
