/* ===================================
   Interactive portfolio base
====================================== */

/* font imports */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* KHOLIC font - SINGLE DEFINITION */
@font-face {
  font-family: 'Kholic Regular';
  src: url('https://caddecafe.de/fonts/kholic.woff2') format('woff2'),
       url('https://caddecafe.de/fonts/kholic.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* variables */
:root {     
    --base-color:#997f00;
    --dark-gray:#4b342d; /* ESKI: #0c0c0b */
    --medium-gray:#6f7071;
    --medium-slate-blue: #21211e;
    --alt-font: 'Bebas Neue', cursive;
    --primary-font: 'Inter', sans-serif;
    --white:#ffffff;
    --black:#000000;
    --text-color:#efe6dd; /* ANA YAZI RENGI */
} 

/* base typography */
body {
    font-family: var(--primary-font);
    background-color: #4b342d; /* ANA ARKAPLAN RENGI */
    color: var(--text-color);  /* ANA YAZI RENGI */
}

/* header default spacing */
header .container-fluid {
    padding-left: 0px;
    padding-right: 40px;
}

header .navbar-brand {
    padding: 38px 0;
}

header .navbar-brand img {
    max-height: 23px;
}

/* theme hamburger base */
.header-push-button .push-button {
    height: 8px;
}

.header-push-button .push-button span:first-child {
    width: 15px;
    margin-right: 0;
}

.show-menu .header-push-button .push-button span:nth-child(1) {
    width: 15px;
    top: 0;
}

.show-menu .header-push-button .push-button span:nth-child(2) {
    top: 6px;
    -webkit-transform: rotate(0deg); 
    transform: rotate(0deg);
}

/* hamburger menu typography */
.hamburger-menu-simple .menu-item-list .nav-link {
    font-size: 70px;
    line-height: 50px;
    font-family: var(--alt-font);
    text-transform: uppercase;
}

.hamburger-menu-simple .menu-item-list .nav-link:hover {
    padding-left: 10px;
}

/* sticky image */
.stickyImageContainer {
    height: 100vh;
    background-color: var(--dark-gray) !important; /* ESKI: var(--black) */
    position: relative;
    overflow: hidden;
}

.stickyImageContainer .bg-overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: 0.3s ease-in-out;
    background-size: cover;
    background-position: center;
}

.stickyImageContainer.scrolling .bg-overlay {
    transform: scale(0.75);    
}

.stickyImageContainer .slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* magic view cursor */
.magic-view-cursor #ball-cursor {
    background-color: rgba(255,255,255,.2);
    width: 150px;
    height: 150px;
}

.magic-view-cursor #ball-cursor:before {
    content: "Click and drag";
    font-family: var(--primary-font) !important;
    line-height: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

/* portfolio filter */
.portfolio-filter li:hover a, 
.portfolio-filter li:focus a, 
.portfolio-filter li.active a {
    color: var(--white);
}

/* big title sizes */
.fs-230 {
    font-size: 14.375rem;
    line-height: 12rem;
}

/* home page footer */
.home-page-footer {
    position: fixed;
    bottom: 0;
    padding:55px 40px;
    width: 100%;
}

/* page title */
.page-title-extra-large h1 {
    font-size:8.5rem;
    line-height:8.5rem;
}

/* background helpers */
.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(7%, #0c0c0b), to(transparent));
    background: linear-gradient(to top, #0c0c0b 7%, transparent 100%);
}

.bg-maire-yellow {
    background-color: #181817;
} 

.bg-bistre-brown {
    background-color: #3a2d1f;
}

.bg-nero-grey {
    background-color: #1f1f1f;
}

.hover-box.dark-hover:hover .text-light-opacity {
    opacity: 0.5;
}

/* footer dark */
.footer-dark {
    color: var(--text-color);  
}

.footer-dark p,
.footer-dark a {
    color: var(--text-color);
}

footer .footer-logo img {
    max-height: 35px;
}

/* =========================================
   CADDE CAFE CUSTOM (OVERRIDES)
   - Logo ve "Menü" yazisi
   - Mobil sticky header
========================================= */

/* LOGO (Cadde Café) - hem index hem about */
header .navbar-brand.logo-text {
    font-family: 'Kholic Regular', serif !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0.06em !important;
    color: #efe6dd !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    background: none !important;
    display: inline-block !important;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6) !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)) !important;
}

/* HEADER MENÜ BUTONU (ikon + "Menü" yazisi) */
header .header-push-button .push-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    height: auto !important;
    cursor: pointer !important;
    background: transparent !important;
}

/* Üç çizgi ikon */
header .header-push-button .push-button span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #efe6dd !important;
    border-radius: 2px !important;
    margin: 2px 0 !important;
    position: relative !important;
}

/* "Menü" yazisi – sadece burada Kholic */
header .header-push-button .push-button .push-button-text {
    position: static !important;
    transform: none !important;
    margin: 0 0 0 7px !important;
    padding: 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    font-family: 'Kholic Regular', serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    font-size: 23px !important;
    line-height: 1 !important;
    color: #efe6dd !important;
    text-shadow: none !important;
}

/* Sag üst kolonu hizala (MENÜ) */
header .col-auto.col-lg-2.text-end {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 22px !important;
}

/* Güvence: logo rengi sabit */
header .navbar-brand.logo-text,
header .navbar-brand.logo-text *,
header .header-push-button .push-button .push-button-text {
    color: #efe6dd !important;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Large Desktop */
@media (min-width: 1400px) {
    header .navbar-brand.logo-text { font-size: 64px !important; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    header .navbar-brand.logo-text { font-size: 56px !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    header .navbar-brand.logo-text { font-size: 48px !important; }
}

/* Tablet */
@media (max-width: 991px) {
    .fs-230 {
        font-size: 13.375rem;
        line-height:11rem ;
    }

    .page-title-extra-large h1 {
        font-size: 7.5rem;
        line-height: 7.5rem;
    }

    .hamburger-menu-simple .menu-item-list .nav-link {
        font-size: 50px;
        line-height: 40px;
    }

    .header-transparent[data-header-hover=dark] {
        background-color: transparent !important;
    }

    header .hamburger-push-button .push-button-text {
        color: var(--white)!important;
    }

        /* FIXED header for mobile/tablet */
    header {
        position: fixed !important;   /* sticky yerine fixed */
        top: 0 !important;
        left: 0;
        right: 0;
        z-index: 10000 !important;
        margin-top: 0 !important;     /* emin olalım, yukarı yapışsın */
    }


    header .navbar {
        background: rgba(0,0,0,0.6) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    header .navbar-brand.logo-text {
        font-size: 29px !important;
        padding: 8px 4px !important;
    }

    header .header-push-button .push-button .push-button-text {
        font-size: 18px !important;
        letter-spacing: 0.13em !important;
    }

    header .container-fluid {
        padding-left: 0px !important;
        padding-right: 16px !important;
    }
}

/* Small Tablet */
@media (max-width: 767px) {
    .page-title-extra-large h1 {
        font-size: 6.2rem;
        line-height: 6.2rem;
    }

    .hamburger-menu-simple .menu-item-list .nav-link {
        font-size: 46px;
        line-height: 38px;
    }

    header .navbar-brand.logo-text {
        font-size: 26px !important;
    }

    header .header-icon,
    header .header-push-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
  .fs-230 {
      font-size: 7.2rem;
      line-height: 6.5rem;
  }

  #stickyImgContainer .slides {
      padding: 0 4.5vw;
  }

  .home-page-footer {
      padding: 35px 15px;
  }










  /* LOGO – telefonda belirgin büyük */
  header .navbar-brand.logo-text {
      font-size: 36px !important;      /* 30 → 36 */
      padding: 14px 6px !important;    /* biraz daha yüksek padding */
  }

  /* "MENÜ" yazısı – daha da büyük ve belirgin */
  header .header-push-button .push-button .push-button-text {
      font-size: 22px !important;      /* 19 → 22 */
      letter-spacing: 0.18em !important;
      margin-left: 8px !important;
  }

  /* Hamburger çizgilerini de biraz uzatalım (isteğe bağlı ama şık durur) */
  header .header-push-button .push-button span {
      width: 24px !important;          /* 20 → 24 */
  }
}



#stickyImgContainer .bg-overlay {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    overflow: hidden;
}

/* Video hero alani */
#stickyImgContainer .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Üstüne tiklanmasin */
    transition: opacity .4s ease;
}

/* Eger baska yerde kullaniyorsan: */
#stickyImgContainer .hero-video.hidden {
    opacity: 0;
}

/* Ses butonu */
#heroSoundToggle.hero-sound-toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 5;
    padding: 8px 10px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#heroSoundToggle.hero-sound-toggle.on {
    background: rgba(0, 0, 0, 0.85);
}

/* ===================================================
   YAPISKAN FILTRE MENÜSÜ - SADECE MASAÜSTÜ (v3)
=================================================== */
@media (min-width: 992px) {
  .sticky-filter-menu {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--dark-gray, #4b342d);
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-slate-blue, #21211e);
  }
}

/* =========================================
   CADDE CAFE – ÜRÜN GRIDİ (MENÜ SAYFASI)
   - Yuvarlak görseller
   - Alt panelde isim + fiyat
   - Uzun isimlerde "..."
========================================= */

/* Ürün görselleri daire olsun */
.half-section .portfolio-image {
  position: relative;
  width: 100%;
  padding-top: 100%;              /* kare alan */
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 3px solid #efe6dd;
  background-color: #efe6dd;
}

/* Resmi dairenin içine oturt */
.half-section .portfolio-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease, opacity .35s ease;
}

/* Tema'nın beyaz overlay katmanını iptal et */
.half-section .portfolio-box .portfolio-image::before,
.half-section .portfolio-box .portfolio-image::after {
  background: none !important;
  opacity: 0 !important;
}

/* Hover / tıklamada: keskinlik, hafif zoom */
.half-section .portfolio-box:hover .portfolio-image img,
.half-section .portfolio-box:focus-within .portfolio-image img {
  opacity: 1 !important;
  transform: scale(1.03);
  filter: contrast(1.08) saturate(1.08);
}

/* Kart hizası */
.half-section .portfolio-box {
  text-align: center;
}

/* ALT PANEL WRAPPER (isim + fiyat kapsayıcısı) */
.half-section .portfolio-box .portfolio-hover {
  position: static;
  background: transparent;
  margin-top: 12px;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: all .25s ease;
}

/* Panel kutusu */
.half-section .portfolio-box .info-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background-color: #efe6dd;
  border-radius: 6px;
  padding: 16px 22px;
}

/* Ürün ismi – TEK SATIR, taşarsa ... */
.half-section .product-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  color: #4b342d;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fiyat badge’i */
.half-section .price-badge {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  background-color: #efe6dd;
  color: #4b342d;
  border: 1px solid #d6c8bc;
  min-width: 60px;
  text-align: center;
}

/* Hover’da panel çok hafif koyulsun */
.half-section .portfolio-box:hover .info-box {
  filter: brightness(.97);
}

/* Mobilde biraz küçült */
@media (max-width: 767px) {
  .half-section .product-title {
    font-size: 15px;
  }
  .half-section .price-badge {
    min-width: 50px;
    padding: 5px 10px;
  }
}
/* =========================================
   MENU SAYFASI – BAŞLIK (UNSERE PRODUKTE)
   ========================================= */

/* Sadece menu.html için (menu-page-title sınıfı) */
.menu-page-title {
  padding-top: 110px;        /* header altında, çok boşluk değil */
  padding-bottom: 30px;      /* başlık ile filtre arası */
}

/* Başlık boyutu – desktop */
.menu-page-title .page-title-extra-large h3 {
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: 0.16em;
}

/* Tablet + mobilde biraz daha kompakt */
@media (max-width: 991px) {
  .menu-page-title {
    padding-top: 90px;
    padding-bottom: 18px;
  }

  .menu-page-title .page-title-extra-large h3 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: 0.14em;
  }
}

/* Küçük telefonlar için */
@media (max-width: 575px) {
  .menu-page-title .page-title-extra-large h3 {
    font-size: 2.6rem;
    letter-spacing: 0.12em;
  }
}

/* =========================================
   MENU SAYFASI – GRID'E GEÇİŞ BOŞLUĞU
   ========================================= */

/* Menü grid'i başlığa yakın dursun */
.menu-page-title + .half-section {
  padding-top: 0;
  margin-top: 0;
}

/* Mobil/tablet için de aynısı */
@media (max-width: 991px) {
  .menu-page-title + .half-section {
    padding-top: 0;
  }
}

/* =========================================
   MENU SAYFASI – KATEGORİ FİLTRELERİ
   ========================================= */

/* Başlık ile kategori menüsü arası boşluk */
.menu-page-title + .half-section .sticky-filter-menu {
  margin-top: 0;
  margin-bottom: 14px;
}

/* Desktop'ta biraz daha nefes alsın */
@media (min-width: 992px) {
  .menu-page-title + .half-section .sticky-filter-menu {
    margin-bottom: 24px;
  }
}

/* ----- Mobilde chip-style, sola yaslı filtre ----- */
@media (max-width: 767px) {

  /* Kapsayıcının hizası */
  .menu-page-title + .half-section .tab-style-04 {
    text-align: left;
  }

  /* UL – sola yaslı, yatay kaydırmalı */
  .menu-page-title + .half-section .portfolio-filter {
    justify-content: flex-start !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    column-gap: 8px;
    scrollbar-width: thin; /* Firefox */
  }

  /* Scrollbar görünümü (mobil tarayıcı destekliyorsa) */
  .menu-page-title + .half-section .portfolio-filter::-webkit-scrollbar {
    height: 4px;
  }

  .menu-page-title + .half-section .portfolio-filter::-webkit-scrollbar-thumb {
    background: rgba(239, 230, 221, 0.6);
    border-radius: 999px;
  }

  /* Her kategori tek satır, taşmasın */
  .menu-page-title + .half-section .portfolio-filter li {
    white-space: nowrap;
  }

  /* Chip görünümü */
  .menu-page-title + .half-section .portfolio-filter li a {
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: rgba(239, 230, 221, 0.06);
  }

  /* Aktif / hover hali */
  .menu-page-title + .half-section .portfolio-filter li.active a,
  .menu-page-title + .half-section .portfolio-filter li:hover a {
    background-color: #efe6dd;
    color: #4b342d;
  }
}
/* =========================================
   MENU SAYFASI – BASLIK & GRID MESAFESI
   (Unsere Produkte)
========================================= */

.page-title-big-typography .page-title-extra-large h3 {
  font-size: 3.2rem;
  line-height: 1.1;
  letter-spacing: 0.16em;
}

@media (max-width: 767px) {
  .page-title-big-typography .page-title-extra-large h3 {
    font-size: 2.4rem;
    letter-spacing: 0.12em;
  }

  /* Basliktan sonra gelen ürün bölümü çok boşluklu olmasın */
  .page-title-big-typography + .half-section {
    padding-top: 5px;
    margin-top: 0;
  }
}

/* =========================================
   MENU SAYFASI – MOBIL SOL KATEGORI NAV
========================================= */

.mobile-category-nav {
  display: none; /* Varsayilan: kapali */
}

@media (max-width: 767px) {

  /* Üstteki yatay kategori barini mobilde gizle */
  .page-title-big-typography + .half-section .sticky-filter-menu {
    display: none;
  }

  /* Sol sabit nav – LOGO ALTINA YAKIN, SOLA YAPIŞIK */
  .mobile-category-nav {
    display: block;
    position: fixed;
    top: 90px;          /* header yüksekliği + biraz boşluk, istersen 80/100 yapabilirsin */
    left: 10px;
    z-index: 1100;
    transform: none;    /* artık ortalamıyoruz */
  }

  .mobile-category-nav .portfolio-filter {
    display: flex;
    flex-direction: column;  /* Hepsi ALT ALTA */
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-category-nav .portfolio-filter li {
    display: block !important;
    margin: 0 !important;    /* Tema’nin sağ sol marginlerini iptal et */
  }

  .mobile-category-nav .portfolio-filter li a {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    padding: 5px 10px;
    border-radius: 999px;
    background-color: rgba(239, 230, 221, 0.08);
    color: #efe6dd;
    text-align: left;        /* SOLDAN hizala */
    white-space: nowrap;
  }

  .mobile-category-nav .portfolio-filter li.active a,
  .mobile-category-nav .portfolio-filter li a:hover {
    background-color: #efe6dd;
    color: #4b342d;
  }

  /* Grid, soldaki menüye çarpmaması için biraz içeri girsin */
  .page-title-big-typography + .half-section .container {
    padding-left: 90px;   /* sol menü genişliği + nefes payı */
  }
}

/* Desktop'ta yan menüyü gizle (garanti olsun) */
@media (min-width: 768px) {
  .mobile-category-nav {
    display: none !important;
  }
}









  /* Sticky hero arka plan */
        #stickyImgContainer .bg-overlay {
            position: fixed;
            inset: 0;
            background-size: cover;
            background-position: center;
            z-index: -1;
            overflow: hidden;
        }

        /* Hero video sadece arka plan, içerik tıklanabilir kalsın */
        #stickyImgContainer .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            pointer-events: none;
            transition: opacity .4s ease;
            opacity: 1;
        }

        #stickyImgContainer .hero-video.hidden {
            opacity: 0;
        }

        /* Ses butonu - overlay dışında, her şeyin üstünde */
        .hero-sound-toggle {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 9999;
            padding: 8px 12px;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            font-size: 16px;
            line-height: 1;
            background: rgba(0,0,0,0.6);
            color: #fff;
            backdrop-filter: blur(4px);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .hero-sound-toggle.on {
            background: rgba(0,0,0,0.9);
        }





    /* --- GÜNCELLENEN KISIM (YUMUŞAK GÖLGE) --- */
        
        /* Başlık için güçlü ama yumuşak gölge */
        .slide-title {
            /* Mantık şudur: 
               0 (sağa kaydırma yok) 
               4px (aşağı hafif kaydırma) 
               20px (yüksek bulanıklık/dağıtma - yumuşaklık veren budur) 
               rgba(0,0,0,0.8) (Siyahın %80'i kadar koyu)
            */
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
        }

        /* Alt metin için biraz daha hafif gölge */
        .slide-meta {
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        }
        
        /* --- GÜNCELLEME SONU --- */







/* --- MOBİL İÇİN RESİM DEĞİŞTİRME (DÜZELTİLMİŞ) --- */
@media (max-width: 768px) {
    
    /* 'gozleme' kelimesini içeren slayt geldiğinde çalışır */
    #stickyImgContainer .bg-overlay[style*="gozleme"] {
        
        /* DİKKAT: Buraya doğrudan sitenizin tam linkini yazdım */
        background-image: url('https://caddecafe.de/images/gozleme-mobil.jpg') !important;
        
        background-position: center center !important;
        background-size: cover !important;
    }
}