/*
Theme Name: Özsevgiç Gıda
Description: Özsevgiç Gıda su dükkanı gel-al sitesi için özel WordPress teması. "Özsevgiç Gıda - Gel Al Sitesi" eklentisiyle birlikte çalışır.
Version: 0.1 (STEN / TASLAK)
Author: IDE Danışmanlık
Text Domain: ozsevgic-gida-tema
Requires at least: 5.8
Requires PHP: 7.4
*/

:root {
    --ozg-renk: #0f6fb2;
    --ozg-renk-koyu: #0a4f80;
    --ozg-renk-acik: #e6f4fb;
    --ozg-yazi: #1a202c;
    --ozg-gri: #718096;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ozg-yazi);
    background: #fff;
    line-height: 1.6;
}

a { color: var(--ozg-renk); }
img { max-width: 100%; height: auto; display: block; }

.ozg-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HEADER ---------- */
.ozg-site-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.ozg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.ozg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4em;
    font-weight: 800;
    color: var(--ozg-renk-koyu);
    text-decoration: none;
}
.ozg-logo img { max-height: 44px; width: auto; }
.ozg-logo .ozg-logo-damla { font-size: 1.2em; }

.ozg-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ozg-nav a {
    text-decoration: none;
    color: var(--ozg-yazi);
    font-weight: 500;
}
.ozg-nav a:hover { color: var(--ozg-renk); }

.ozg-header-cta {
    background: var(--ozg-renk);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.ozg-header-cta:hover { background: var(--ozg-renk-koyu); }

.ozg-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6em;
    cursor: pointer;
    color: var(--ozg-renk-koyu);
}

/* ---------- HERO (eklenti [ozg_anasayfa] içindeki .ozg-hero ile uyumlu, tema geneli için ek stiller) ---------- */
.ozg-hero { border-radius: 0 !important; }

/* ---------- İÇERİK ---------- */
.ozg-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.ozg-page-baslik {
    text-align: center;
    padding: 50px 20px 10px;
    color: var(--ozg-renk-koyu);
}

/* ---------- ŞERİT (özellik/avantaj kutuları) ---------- */
.ozg-avantajlar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}
.ozg-avantaj-kutu {
    flex: 1;
    min-width: 220px;
    background: var(--ozg-renk-acik);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}
.ozg-avantaj-kutu .ozg-ikon { font-size: 2em; margin-bottom: 8px; }
.ozg-avantaj-kutu h4 { margin: 8px 0 4px; color: var(--ozg-renk-koyu); }
.ozg-avantaj-kutu p { margin: 0; color: var(--ozg-gri); font-size: 0.95em; }

/* ---------- FOOTER ---------- */
.ozg-site-footer {
    background: var(--ozg-renk-koyu);
    color: #fff;
    margin-top: 60px;
}
.ozg-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 20px;
    justify-content: space-between;
}
.ozg-footer-col { flex: 1; min-width: 200px; }
.ozg-footer-col h4 { margin-top: 0; }
.ozg-footer-col a { color: #dceefb; text-decoration: none; }
.ozg-footer-col a:hover { text-decoration: underline; }
.ozg-footer-alt {
    text-align: center;
    padding: 14px;
    background: rgba(0,0,0,0.15);
    font-size: 0.9em;
}
.ozg-whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 999;
}

/* ---------- SAYFA / YAZI İÇERİĞİ (standart WP sayfaları için) ---------- */
.ozg-entry { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.ozg-entry h1 { color: var(--ozg-renk-koyu); }

/* ---------- MOBİL ---------- */
@media (max-width: 780px) {
    .ozg-nav { display: none; width: 100%; }
    .ozg-nav.ozg-nav-acik { display: block; }
    .ozg-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
    .ozg-nav li { border-top: 1px solid #edf2f7; }
    .ozg-nav a { display: block; padding: 12px 20px; }
    .ozg-header-inner { flex-wrap: wrap; }
    .ozg-menu-toggle { display: block; }
    .ozg-header-cta { display: none; }
}
