/* =====================================================================
   YEŞİL DÖNÜŞÜM A.Ş. — ANA STİL DOSYASI (style.css)
   =====================================================================
   Bu dosya sitenin TÜM sayfaları için kullanılan tek ve ortak
   stylesheet dosyasıdır. Önceki yapıda her sayfanın kendi CSS dosyası
   vardı (index.css, faaliyetler.css, atik-kodlari.css, lisanslar.css,
   hakkimizda.css, footer.css) — bunların hepsi bu dosyada birleştirildi.
   Artık her PHP sayfasında sadece şu satır olmalı:
       <link rel="stylesheet" href="stylesheets/style.css">

   TASARIM KONSEPTİ: "Endüstriyel Sicil"
   Şirket; lisanslı atık taşımacılığı, atık kodu sınıflandırması ve
   sertifikasyon gibi teknik/resmi bir iş yapıyor. Bu yüzden "çevreci
   broşür" (parlak yeşil gradyan + yuvarlak kartlar + emoji ikon)
   klişesi yerine; sertifika, sicil ve teknik doküman hissi veren daha
   sade, güvenilir, kurumsal bir dil kullanıldı.

   RENK PALETİ
     --ink      : neredeyse siyah, yeşile çalan ana metin rengi
     --paper    : soğuk, kireçtaşı tonunda sayfa zemini (krem değil)
     --surface  : kart / yüzey beyazı
     --forest   : koyu şişe yeşili — marka / vurgu rengi
     --moss     : ikincil, daha yumuşak yeşil
     --rust     : bakır/pas tonu — TEK canlı vurgu rengi (metal geri
                  kazanımına gönderme; buton, rakam, ayraç gibi
                  önemli noktalarda ölçülü kullanılır)
     --line     : ince ayraç / kenarlık çizgisi

   TİPOGRAFİ
     Başlıklar : "Archivo"       (kalın, endüstriyel görünümlü grotesk)
     Gövde     : "Inter"         (okunabilir, nötr gövde yazı tipi)
     Veri/Kod  : "IBM Plex Mono" (atık kodları, istatistik, etiketler)

   İÇİNDEKİLER
     1.  Yazı Tipleri & Değişkenler (:root)
     2.  Sıfırlama & Temel Stiller
     3.  Ortak Yapı Taşları (container, buton, bölüm başlığı, ikon)
     4.  Header / Navigasyon
     5.  Sayfa Banner'ı (iç sayfa başlıkları)
     6.  Footer
     7.  Ana Sayfa (index.php)
     8.  Faaliyetlerimiz Sayfası (faaliyetlerimiz.php)
     9.  Atık Kodları Sayfası (atik-kodlari.php)
     10. Lisanslar Sayfası (lisanslar.php)
     11. Hakkımızda Sayfası (hakkimizda.php)
     12. Diğer Faaliyetler Sayfası (diger-faaliyetler.php)
     13. Lightbox / Medya Modalı (ortak)
     14. Mobil Uyum (Responsive) — sayfa sırasına göre
   ===================================================================== */


/* =====================================================================
   1. YAZI TİPLERİ & DEĞİŞKENLER
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    /* Renkler */
    --ink:        #14201A;   /* ana metin / en koyu ton */
    --ink-soft:   #3E4F44;   /* ikincil metin */
    --paper:      #EAF3EC;   /* sayfa zemini — hafif nane tonu */
    --surface:    #FFFFFF;   /* kart / yüzey */
    --forest:     #1B8A4A;   /* marka rengi — canlı orman yeşili */
    --forest-2:   #21A358;   /* forest'in biraz daha açığı (hover vb.) */
    --moss:       #5DBE80;   /* ikincil, açık yeşil */
    --leaf:       #A8E063;   /* taze yaprak yeşili — ikinci canlı vurgu */
    --rust:       #E08A3C;   /* sıcak turuncu — geri dönüşüm/enerji vurgusu */
    --rust-dark:  #C06D26;   /* rust hover tonu */
    --line:       #CBE6D4;   /* ayraç / kenarlık */
    --line-dark:  #2A4636;   /* koyu zeminlerde ayraç */

    /* Tipografi */
    --font-display: 'Archivo', 'Segoe UI', sans-serif;
    --font-body:    'Inter', 'Segoe UI', sans-serif;
    --font-mono:    'IBM Plex Mono', 'Consolas', monospace;

    /* Ölçüler */
    --radius: 3px;                 /* sistemde tek, küçük bir radius kullanılır */
    --shadow: 0 1px 2px rgba(27, 33, 29, 0.06);
    --max-width: 1200px;
}

/* =====================================================================
   2. SIFIRLAMA & TEMEL STİLLER
   ===================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--forest);
    line-height: 1.15;
    font-weight: 700;
}

ul {
    list-style: none;
}

/* Klavye ile gezinen kullanıcılar için görünür odak halkası */
a:focus-visible,
button:focus-visible,
.license-card:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 3px;
}

/* Hareketi azalt tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* =====================================================================
   3. ORTAK YAPI TAŞLARI
   ===================================================================== */

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

/* --- Bölüm başlığı (section-title) : birçok sayfada tekrar eder --- */
.section-title {
    margin-bottom: 44px;
    max-width: 560px;
}

.section-title h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--ink-soft);
    font-size: 16px;
}

/* --- Butonlar --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1.5px solid transparent;
}

.btn-green {
    background-color: var(--rust);
    color: var(--surface);
    border-color: var(--rust);
}

.btn-green:hover {
    background-color: var(--rust-dark);
    border-color: var(--rust-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--forest);
    border-color: var(--forest);
}

.btn-outline:hover {
    background-color: var(--forest);
    color: var(--surface);
}

/* --- Ortak ikon kabı (emoji yerine kullanılan SVG ikonlar için) ---
   Emojiler tarayıcı/işletim sistemine göre farklı göründüğü ve kurumsal
   bir sitede tutarsız durduğu için kaldırıldı; yerine tek renkli,
   çizgisel SVG ikonlar (currentColor ile tema rengini alan) kullanılıyor. */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =====================================================================
   4. HEADER / NAVİGASYON
   ===================================================================== */

.site-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* Logo görseli: header yüksekliği 76px, görsel bu alana oranla
   ölçekleniyor. Kendi logonuzun en-boy oranına göre max-width'i
   ihtiyaç halinde ayarlayabilirsiniz. */
.logo img {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo h2 {
    font-size: 21px;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.logo span {
    color: var(--rust);
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: inline-block;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: var(--radius);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover {
    color: var(--forest);
    background-color: var(--paper);
}

.main-nav a.active {
    color: var(--forest);
    font-weight: 600;
    background-color: var(--paper);
}

/* Mobil menü butonu (masaüstünde gizli) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =====================================================================
   5. SAYFA BANNER'I (iç sayfa başlıkları — atik-kodlari, faaliyetlerimiz,
      lisanslar, hakkimizda ortak kullanır)
   ===================================================================== */

/* Eski tasarımdaki "fotoğraf üzerine yeşil gradyan" klişesi kaldırıldı;
   yerine düz koyu zemin + tek ince bakır ayraç kullanan, sertifika/
   doküman başlığı gibi duran sade bir banner kullanılıyor. */
.page-banner {
    background-color: var(--forest);
    color: var(--surface);
    padding: 72px 0 40px;
    margin-bottom: 56px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--rust), var(--leaf)) 1;
}

.page-banner h1 {
    color: var(--surface);
    font-size: 38px;
    margin-bottom: 14px;
}

.page-banner p {
    color: #D2EEDB;
    font-size: 17px;
    max-width: 560px;
    line-height: 1.6;
}


/* =====================================================================
   6. FOOTER
   ===================================================================== */

.site-footer {
    background-color: var(--ink);
    color: #B9D9C4;
    padding: 64px 0 0;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-dark);
}

.brand-col h3 {
    font-size: 22px;
    color: var(--surface);
    margin-bottom: 12px;
}

.brand-col h3 span {
    color: var(--rust);
}

.slogan {
    color: #8FBB9E;
    line-height: 1.6;
    font-size: 14.5px;
    max-width: 30ch;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--surface);
    margin-bottom: 18px;
    text-transform: lowercase;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: #A0CDAF;
    font-size: 15px;
    transition: color 0.2s ease;
}

.links-col ul li a:hover {
    color: var(--rust);
}

.contact-col p {
    margin-bottom: 14px;
    color: #A0CDAF;
    line-height: 1.55;
    font-size: 14.5px;
}

.contact-col p strong {
    color: var(--surface);
    display: block;
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: lowercase;
}

.contact-col a {
    color: var(--rust);
}

.contact-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #6FA285;
}


/* =====================================================================
   7. ANA SAYFA (index.php)
   ===================================================================== */

/* --- 7.1 Hero --- */
/* Eski tasarımda sağ altta yüzen, yuvarlak köşeli, gölgeli bir "kart"
   içinde slogan vardı (AI-üretimi tasarımların tipik CTA kartı).
   Yerine, fotoğrafın altına oturan, tam genişlikte düz bir "alt bant"
   kondu — bir sergi/katalog fotoğrafı altyazısı gibi daha sakin ve
   kurumsal duruyor. */
.hero-section {
    position: relative;
    height: 72vh;
    min-height: 480px;
    background-color: var(--ink);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Slider katmanları: main.js bu iki katman arasında opacity ile
   geçiş yaparak "slayt" etkisini üretir (background-image doğrudan
   CSS transition ile yumuşak geçmediği için iki katman kullanılır). */
.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide-a {
    z-index: 1;
}

.hero-slide-b {
    z-index: 2;
}

/* Aktif katmanı öne çıkarmak için main.js bu sınıfı ekleyip kaldırır.
   Görünürlük sadece bu class ile kontrol edilir, katmanlardan biri
   opacity'yi kalıcı sabitlemez — aksi halde geçiş sadece bir kere
   çalışıp sonra kilitlenir. */
.hero-slide.is-visible {
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(27,33,29,0) 40%, rgba(27,33,29,0.85) 100%);
}

.hero-slogan {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 36px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--rust), var(--leaf)) 1;
    margin-bottom: 30px;
}

.hero-slogan h2 {
    color: var(--surface);
    font-size: 30px;
    margin-bottom: 8px;
}

.hero-slogan p {
    color: #DDF3E3;
    font-size: 16px;
    max-width: 46ch;
}

/* --- 7.2 Bilgi Bölümü (Nerede / Vizyon / Misyon) --- */
/* Üç kart yerine, aralarında ince dikey çizgiler olan tek bir "sicil
   şeridi" kullanıldı: bu üçü sıralı bir süreç olmadığından numaralama
   yapılmadı, sadece paralel üç madde olarak sunuldu. */
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--surface);
    border: 1px solid var(--line);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.info-box {
    padding: 40px 34px;
    border-left: 1px solid var(--line);
}

.info-box:first-child {
    border-left: none;
}

.info-box .icon {
    width: 30px;
    height: 30px;
    color: var(--rust);
    margin-bottom: 18px;
}

.info-box:nth-child(2) .icon {
    color: var(--leaf);
}

.info-box:nth-child(3) .icon {
    color: var(--forest);
}

.info-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-box p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* --- 7.3 Tesisimiz (Galeri) --- */
.facility-section {
    padding: 96px 0 88px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 4px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- 7.4 Politikalarımız --- */
.policies-section {
    padding: 0 0 96px;
}

/* Kalite politikası maddeleri: yuvarlak-köşe/gölge kart klişesi yerine
   üstte ince bir bakır çizgi olan, düz kenarlıklı sicil kartları. */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 64px;
}

.quality-card {
    background: var(--surface);
    padding: 28px 24px;
    border-top: 3px solid var(--rust);
}

.quality-card:nth-child(2) { border-top-color: var(--leaf); }
.quality-card:nth-child(3) { border-top-color: var(--moss); }
.quality-card:nth-child(4) { border-top-color: var(--forest); }

.quality-card h4 {
    font-family: var(--font-mono);
    color: var(--moss);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.quality-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

.policy-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

.policy-box {
    background: var(--surface);
    padding: 36px;
}

.policy-box h3 {
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.policy-box ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 13px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.policy-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--rust);
}

/* --- 7.5 Faaliyetlerimiz Yönlendirme Banner'ı --- */
.activities-banner {
    position: relative;
    padding: 96px 0;
    background-color: var(--forest);
    background-size: cover;
    background-position: center;
    color: var(--surface);
    overflow: hidden;
}

/* index.php arka plan fotoğrafını satır-içi style ile bu elemente basar
   (background-image). Klişe parlak gradyan yerine, üzerine düz bir
   forest tonu bindirilerek fotoğraf dokusu korunan sakin bir görünüm
   elde edilir. */
.activities-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--forest);
    opacity: 0.8;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    border-left: 3px solid var(--rust);
    padding-left: 28px;
}

.banner-content h2 {
    color: var(--surface);
    font-size: 32px;
    margin-bottom: 16px;
}

.banner-content p {
    color: #D2EEDB;
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.6;
}


/* =====================================================================
   8. FAALİYETLERİMİZ SAYFASI (faaliyetlerimiz.php)
   ===================================================================== */

.activities-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 88px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

.activity-row {
    display: flex;
    align-items: stretch;
    gap: 4px;
    background-color: var(--paper);
}

.activity-row.reverse {
    flex-direction: row-reverse;
}

.activity-img {
    flex: 0 0 42%;
    overflow: hidden;
    background-color: var(--surface);
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

.activity-content {
    flex: 1;
    background-color: var(--surface);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-content h2 {
    font-size: 26px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--rust);
    display: inline-block;
}

.activity-content p {
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 15.5px;
}

blockquote {
    background: var(--paper);
    border-left: 3px solid var(--moss);
    margin: 20px 0 0 0;
    padding: 18px 22px;
    font-style: italic;
    color: var(--forest);
    font-size: 14.5px;
    line-height: 1.6;
}

/* --- Ürünlerimiz --- */
.products-section {
    background-color: var(--surface);
    padding: 88px 0;
    border-top: 1px solid var(--line);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

/* Eski tasarımda her kart bağımsız yuvarlak köşe + gölge + hover'da
   büyüyen resim + koyu gradyan overlay kullanıyordu (SaaS kart
   klişesi). Yerine düz kenarlıklı, alt bilgi şeridi sabit duran daha
   sakin bir kart tasarımı kullanıldı. */
.product-card {
    position: relative;
    background-color: var(--surface);
    aspect-ratio: 4/3;
    cursor: default;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
    transition: filter 0.3s ease;
}

.product-card:hover img {
    filter: grayscale(0%);
}

.product-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--ink);
    padding: 14px 18px;
}

.product-overlay h3 {
    margin: 0;
    color: var(--surface);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
}


/* =====================================================================
   9. ATIK KODLARI SAYFASI (atik-kodlari.php)
   ===================================================================== */

/* İçerik doğası gereği (resmi bir liste/register) bu sayfa bilinçli
   olarak bir "teknik sicil defteri" gibi tasarlandı: monospace kodlar,
   sade satırlar, minimum dekorasyon. */
.waste-codes-section {
    margin-bottom: 88px;
}

.category-block {
    background-color: var(--surface);
    border: 1px solid var(--line);
    margin-bottom: 32px;
}

.category-title {
    background-color: var(--forest);
    color: var(--surface);
    padding: 18px 26px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
}

.codes-list li {
    display: flex;
    padding: 15px 26px;
    border-bottom: 1px solid var(--line);
}

.codes-list li:last-child {
    border-bottom: none;
}

.codes-list li:hover {
    background-color: var(--paper);
}

.code-number {
    flex: 0 0 130px;
    font-weight: 600;
    color: var(--forest);
    font-family: var(--font-mono);
    font-size: 15px;
}

.code-desc {
    flex: 1;
    color: var(--ink-soft);
    font-size: 15px;
}

.empty-message {
    padding: 22px 26px;
    color: #7FAE93;
    font-style: italic;
}

.error-message {
    background-color: #FBEEDD;
    color: var(--rust-dark);
    padding: 20px 26px;
    border: 1px solid #F0CFA0;
}


/* =====================================================================
   10. LİSANSLAR SAYFASI (lisanslar.php)
   ===================================================================== */

.licenses-section {
    margin-bottom: 88px;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

/* Sertifika kartları: hover'da yükselen/gölgelenen kart klişesi yerine
   yalnızca kenarlık rengi değişen, belge dosyası gibi duran sade
   kartlar kullanıldı. */
.license-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.license-card:hover {
    border-color: var(--rust);
}

.card-thumbnail {
    width: 100%;
    /* aspect-ratio: 3 / 4; */
    margin-bottom: 18px;
    overflow: hidden;
    background: var(--paper);
    position: relative;
    border: 1px solid var(--line);
    pointer-events: none;
}

.card-thumbnail img,
.card-thumbnail embed {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* =====================================================================
   11. HAKKIMIZDA SAYFASI (hakkimizda.php)
   ===================================================================== */

.about-main {
    margin-bottom: 88px;
}

.about-text-section {
    max-width: 720px;
    margin: 0 auto 60px;
}

.about-text-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text-section p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.contact-section {
    background: var(--surface);
    border: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.contact-info-box {
    background: var(--forest);
    color: var(--surface);
    padding: 52px 44px;
}

.contact-info-box h3 {
    color: var(--surface);
    font-size: 24px;
    margin-bottom: 14px;
}

.contact-desc {
    color: #C7E8D2;
    margin-bottom: 36px;
    line-height: 1.6;
    font-size: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-dark);
}

.contact-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-list .icon {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    color: var(--rust);
}

.contact-list .details {
    display: flex;
    flex-direction: column;
}

.contact-list .details strong {
    color: var(--surface);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: lowercase;
}

.contact-list .details span {
    color: #C7E8D2;
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-list .details a {
    color: var(--surface);
    transition: color 0.2s ease;
}

.contact-list .details a:hover {
    color: var(--rust);
    text-decoration: underline;
}

.map-box {
    width: 100%;
    height: 100%;
    min-height: 400px;
    filter: grayscale(45%) contrast(1.05);
}


/* =====================================================================
   12. DİĞER FAALİYETLER SAYFASI (diger-faaliyetler.php)
   =====================================================================
   Bu sayfa, yönetim panelinden ("Faaliyetler" ekranı) eklenen başlık +
   açıklama + resim galerisi kayıtlarını, en yeniden en eskiye doğru
   sıralı bir "akış / kayıt defteri" (feed) olarak listeler. Sabit sayıda
   kart yerine, panelden eklenen her yeni faaliyetle birlikte kendiliğinden
   uzayan bir zaman çizelgesi mantığı kullanılır — yani panoya panelden
   yeni bir şey eklendiğinde bu sayfa otomatik güncellenir, kod
   değişikliği gerekmez.
   ===================================================================== */

.activity-feed-section {
    margin-bottom: 88px;
}

/* Her faaliyet kendi başına duran, koyu bir üst şerit ile açıkça
   ayrılan bağımsız bir "kayıt fişi" gibi tasarlandı. Kartlar arasında
   bilinçli olarak geniş boşluk bırakıldı (gap: 64px) — böylece art arda
   akan bir liste yerine, birbirinden net şekilde ayrışan bağımsız
   kayıtlar hissi verir. */
.feed-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.feed-item {
    background-color: var(--surface);
    border: 1px solid var(--line);
}

/* Üst şerit: sıra numarası + başlık + tarih bir arada, atık kodları
   sayfasındaki .category-title ile aynı dilde (koyu forest zemin). */
.feed-item-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    background-color: var(--forest);
    padding: 16px 28px;
}

.feed-number {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    color: #AEE9C4;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    flex-shrink: 0;
}

.feed-item-header h3 {
    color: var(--surface);
    font-size: 19px;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.feed-date {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: #C7E8D2;
    white-space: nowrap;
    flex-shrink: 0;
}

/* İçerik alanı: sol tarafta açıklama, sağ tarafta resim galerisi —
   aradaki ince "hat" boşluğu iki bölgeyi görsel olarak ayırıyor
   (aynı .policy-lists / .quality-grid mantığı: gap yerine background
   çizgisi kullanılıyor). 992px altında tek sütuna iniyor. */
.feed-item-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: var(--line);
}

.feed-desc-col {
    background-color: var(--surface);
    padding: 30px 32px;
}

.feed-desc {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.75;
    white-space: pre-line;
}

.feed-gallery-col {
    background-color: var(--surface);
    padding: 20px;
    display: flex;
}

/* --- Mozaik (bento) galeri ---
   Resimler tek düze bir ızgara yerine, farklı boyutlarda kutulardan
   oluşan bir mozaik gibi diziliyor: küçük bir kare, yanında geniş bir
   dikdörtgen, altında yine geniş bir dikdörtgen + küçük bir kare, ve
   en sağda yukarıdan aşağı tam boy uzanan "öne çıkan" bir resim.
   Desen 5'li gruplar halinde tekrar eder (nth-child(5n+...)), böylece
   galeriye 1 resim de eklense 20 resim de eklense düzen otomatik
   kendini tekrar eder; kod değişikliği gerekmez. */
.feed-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 92px;
    grid-auto-flow: row dense;
    gap: 4px;
}

.feed-gallery-item {
    overflow: hidden;
    cursor: pointer;
    background-color: var(--paper);
}

.feed-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(12%);
    transition: transform 0.35s ease, filter 0.3s ease;
}

.feed-gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* 5'li tekrarlayan mozaik deseni */
.feed-gallery-item:nth-child(5n+2),
.feed-gallery-item:nth-child(5n+3) {
    grid-column: span 2;
}

.feed-gallery-item:nth-child(5n) {
    grid-row: span 2;
}

/* Tek başına 1 resim varsa: tüm alanı kaplayan tek bir öne çıkan kare */
.feed-gallery-item:first-child:last-child {
    grid-column: span 4;
    grid-row: span 2;
}

/* Tam olarak 2 resim varsa: yan yana iki büyük kare */
.feed-gallery-item:first-child:nth-last-child(2),
.feed-gallery-item:first-child:nth-last-child(2) ~ .feed-gallery-item {
    grid-column: span 2;
    grid-row: span 2;
}

.feed-no-gallery {
    width: 100%;
    align-self: center;
    padding: 26px 18px;
    border: 1px dashed var(--line);
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: #7FAE93;
    text-transform: lowercase;
    text-align: center;
}


/* =====================================================================
   13. LIGHTBOX / MEDYA MODALI (ortak — index & lisanslar sayfalarında)
   ===================================================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 48px;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(27, 33, 29, 0.94);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    animation: fadeInScale 0.2s ease;
}

.close-lightbox,
.close-media-lightbox {
    position: absolute;
    top: 22px; right: 32px;
    color: var(--surface);
    font-size: 32px;
    font-weight: 400;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.close-lightbox:hover,
.close-media-lightbox:hover {
    color: var(--rust);
}

.media-container {
    width: 80%;
    height: 85vh;
    margin: 0 auto;
    background: var(--surface);
    overflow: hidden;
    animation: fadeInScale 0.2s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeInScale {
    from { transform: scale(0.97); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}


/* =====================================================================
   14. MOBİL UYUM (RESPONSIVE)
   Her blok, ilgili masaüstü kuralının hemen mantıksal grubu içinde,
   sayfa sırasına göre düzenlendi.
   ===================================================================== */

/* --- Header / Nav (tüm sayfalar, 768px altı) --- */
@media screen and (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: -100%;
        left: auto;
        width: 100%;
        background-color: var(--surface);
        border-bottom: 1px solid var(--line);
        transition: right 0.35s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-top: 1px solid var(--line);
    }

    .main-nav a {
        display: block;
        padding: 16px 24px;
        border-radius: 0;
    }
}

/* --- Footer (992px altı) --- */
@media screen and (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Ana sayfa (992px altı) --- */
@media screen and (max-width: 992px) {
    .info-section {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .info-box {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .info-box:first-child {
        border-top: none;
    }

    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .policy-lists {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-slogan h2 { font-size: 24px; }
    .quality-grid { grid-template-columns: 1fr; }
    .banner-content { padding-left: 18px; border-left-width: 2px; }
    .banner-content h2 { font-size: 26px; }
}

/* --- Faaliyetlerimiz (992px altı) --- */
@media screen and (max-width: 992px) {
    .activity-row,
    .activity-row.reverse {
        flex-direction: column;
    }

    .activity-img {
        flex: none;
        width: 100%;
    }

    .activity-img img {
        min-height: 240px;
    }

    .activity-content {
        padding: 32px 26px;
    }
}

/* --- Atık kodları (768px altı) --- */
@media screen and (max-width: 768px) {
    .codes-list li {
        flex-direction: column;
        gap: 4px;
    }

    .code-number {
        flex: none;
    }
}

/* --- Hakkımızda (992px altı) --- */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        padding: 40px 24px;
    }
}

/* --- Lisanslar / genel medya modalı (768px altı) --- */
@media screen and (max-width: 768px) {
    .media-container { width: 95%; height: 80vh; }
    .close-media-lightbox { top: 12px; right: 20px; }
}

/* --- Diğer Faaliyetler (992px altı: açıklama/galeri tek sütuna iner) --- */
@media screen and (max-width: 992px) {
    .feed-item-content {
        grid-template-columns: 1fr;
    }

    .feed-desc-col {
        padding: 26px 24px;
    }

    .feed-gallery-col {
        padding: 18px;
    }
}

/* --- Diğer Faaliyetler (768px altı) --- */
@media screen and (max-width: 768px) {
    .feed-list {
        gap: 40px;
    }

    .feed-item-header {
        padding: 14px 18px;
    }

    .feed-item-header h3 {
        font-size: 17px;
        min-width: 100%;
        order: -1;
    }

    .feed-desc-col {
        padding: 22px 18px;
    }

    .feed-gallery-col {
        padding: 14px;
    }

    .feed-gallery {
        grid-auto-rows: 76px;
    }
}

/* --- Sayfa banner'ı (576px altı) --- */
@media screen and (max-width: 576px) {
    .page-banner { padding: 56px 0 32px; }
    .page-banner h1 { font-size: 28px; }
}