/* ==========================================================================
   BOĞAZİÇİ RESTAURANT — Site geneli stil dosyası
   ========================================================================== */

:root {
    --primary-dark: #0f1922;
    --secondary-dark: #1a2a3a;
    --gold-accent: #d4af37;
    --gold-accent-dark: #b8952c;
    --text-light: #f8f9fa;
    --text-dark: #333333;
    --bg-light: #fdfdfd;
    --bg-alt: #f4f2ea;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Georgia', serif; color: var(--primary-dark); }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* --- Header & Navigasyon --- */
header {
    background-color: rgba(15, 25, 34, 0.98);
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 2px solid var(--gold-accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; object-fit: contain; }

nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
nav ul li a {
    color: var(--text-light);
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--gold-accent);
    transition: width 0.3s ease;
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
nav ul li a:hover, nav ul li a.active { color: var(--gold-accent); }

nav ul li a.nav-cta {
    background: var(--gold-accent);
    color: var(--primary-dark);
    padding: 9px 20px;
    border-radius: 4px;
    font-weight: 700;
}
nav ul li a.nav-cta::after { display: none; }
nav ul li a.nav-cta:hover { background: #fff; color: var(--primary-dark); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text-light); }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(15, 25, 34, 0.72), rgba(15, 25, 34, 0.92)),
                url('images/hero.webp') center/cover no-repeat;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 40px 20px; }
.hero h1 { color: var(--text-light); font-size: 3.4rem; font-weight: 700; margin-bottom: 18px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { color: #e0e0e0; font-size: 1.25rem; margin-bottom: 30px; font-weight: 300; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 6px 22px;
}

.btn-gold, .btn-outline {
    display: inline-block;
    padding: 15px 36px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-gold {
    background-color: var(--gold-accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-gold:hover { background-color: #fff; color: var(--primary-dark); box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4); }
.btn-outline { border: 2px solid var(--text-light); color: var(--text-light); }
.btn-outline:hover { background: var(--text-light); color: var(--primary-dark); }

/* --- İçerik Bölümleri --- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2.5rem; margin-bottom: 16px; text-align: center; }
.section-subtitle { text-align: center; max-width: 760px; margin: 0 auto 50px; font-size: 1.15rem; color: #555; }
.section-title::after {
    content: '✦'; display: block; color: var(--gold-accent); font-size: 1.3rem;
    text-align: center; margin-top: 10px;
}

.alert-box {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 5px solid var(--gold-accent);
    padding: 25px; margin-top: 40px;
    font-size: 1.1rem; color: var(--secondary-dark); font-weight: 500;
    border-radius: 0 8px 8px 0;
}

/* --- Öne Çıkanlar (highlights) --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.highlight-card {
    background: #fff;
    padding: 34px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold-accent);
}
.highlight-card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.highlight-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.highlight-card p { font-size: 0.95rem; color: #666; }

/* --- Menü Grid --- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.menu-category { background: #fff; padding: 36px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 6px solid var(--secondary-dark); }
.menu-category.meze-icecek { border-top-color: var(--gold-accent); }
.menu-category h3 { color: var(--gold-accent); font-size: 1.6rem; margin-bottom: 22px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 1.1rem; }
.menu-item-name { font-weight: 600; color: var(--secondary-dark); }
.menu-item-dots { flex-grow: 1; border-bottom: 2px dotted #ccc; margin: 0 15px; }
.menu-note { font-size: 0.88rem; color: #777; margin-top: 18px; font-style: italic; }

/* --- Galeri --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; }
.gallery-img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform 0.4s ease, filter 0.4s ease; filter: brightness(0.92); }
.gallery-img:hover { transform: scale(1.06); filter: brightness(1.05); }

/* --- Yorumlar (testimonials) --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    position: relative;
}
.testimonial-card .stars { color: var(--gold-accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.1rem; }
.testimonial-card p.quote { font-style: italic; color: #444; font-size: 1.02rem; }
.testimonial-card .source { margin-top: 16px; font-weight: 700; color: var(--secondary-dark); font-size: 0.9rem; }

/* --- SSS (FAQ) --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 6px 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 18px 0;
    color: var(--primary-dark);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--gold-accent); font-size: 1.4rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 20px; color: #555; }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(120deg, var(--primary-dark), var(--secondary-dark));
    color: var(--text-light);
    text-align: center;
    padding: 60px 20px;
}
.cta-banner h2 { color: var(--text-light); margin-bottom: 14px; }
.cta-banner h2::after { content: none; }
.cta-banner p { color: #cfd6dc; margin-bottom: 26px; font-size: 1.1rem; }

/* --- İletişim --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: #fff; padding: 50px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.info-box p { font-size: 1.15rem; margin-bottom: 20px; }
.info-box strong { color: var(--secondary-dark); min-width: 150px; display: inline-block; }
.info-box a { color: var(--secondary-dark); font-weight: bold; text-decoration: underline; }

/* --- İçerik sayfaları (SEO makaleleri) --- */
.article-content { max-width: 760px; margin: 0 auto; font-size: 1.1rem; color: #444; }
.article-content h2 { margin: 40px 0 16px; font-size: 1.6rem; }
.article-content p { margin-bottom: 18px; }
.article-content ul { margin: 0 0 18px 22px; }
.article-content li { margin-bottom: 8px; }
.breadcrumb { font-size: 0.88rem; color: #888; margin-bottom: 20px; text-align: center; }
.breadcrumb a { color: var(--gold-accent-dark); }

/* --- Footer --- */
footer { background-color: var(--primary-dark); color: #aab3bc; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { color: var(--text-light); font-size: 1.05rem; margin-bottom: 14px; }
.footer-grid a { color: #aab3bc; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-accent); }
footer .footer-bottom { text-align: center; border-top: 1px solid #263544; padding-top: 20px; font-size: 0.88rem; }

/* --- Mobil Optimizasyon --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.6rem; }
    .contact-grid { grid-template-columns: 1fr; padding: 30px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    nav { position: fixed; top: 0; right: 0; height: 100vh; width: 260px;
        background: var(--primary-dark); transform: translateX(100%);
        transition: transform 0.3s ease; padding: 90px 24px 24px; box-shadow: -4px 0 20px rgba(0,0,0,0.3); }
    nav.open { transform: translateX(0); }
    nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
    nav ul li a.nav-cta { width: 100%; text-align: center; }
    .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; }
    .nav-overlay.open { display: block; }

    .hero { min-height: 60vh; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.9rem; }
}
