﻿/* ----------------------------------------------------
    File Name: style.css
    Template Name: Karakedş
    Created By: Template Visual
    http://karakediwebtasarim.com
------------------------------------------------------- */  

:root{
  --ink:#1B2117;
  --forest:#33401F;
  --sage:#8A9B6B;
  --sage-deep:#6E7F52;
  --sage-light:#E4E9D8;
  --cream:#FBF8EF;
  --gold:#C9A227;
  --text:#2B2B23;
  --text-soft:#5B6151;
  --serif: "Fraunces", serif;
  --sans: "Outfit", sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  color:var(--text);
  background:var(--cream);
  overflow-x:hidden;
}
section{scroll-margin-top:84px;}

h1,h2,h3,h4{font-family:var(--serif); color:var(--ink); margin:0;}

.eyebrow{
  font-family:var(--sans);
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:.74rem;
  font-weight:600;
  color:var(--sage-deep);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:26px;height:1px;
  background:var(--gold);
  display:inline-block;
}

.btn-leaf{
  background:var(--sage-deep);
  border:none;
  color:#fff;
  font-family:var(--sans);
  font-weight:500;
  letter-spacing:.03em;
  padding:.85rem 2rem;
  border-radius:999px;
  transition:all .3s ease;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
}
.btn-leaf:hover{
  background:var(--ink);
  color:#fff;
  transform:translateY(-2px);
}
.btn-outline-leaf{
  background:transparent;
  border:1px solid rgba(255,255,255,.65);
  color:#fff;
  font-family:var(--sans);
  font-weight:500;
  padding:.85rem 2rem;
  border-radius:999px;
  transition:all .3s ease;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
}
.btn-outline-leaf:hover{
  background:#fff;
  color:var(--ink);
}

/* ===== Leaf signature element ===== */
@keyframes leafFloat{
  0%,100%{transform:translateY(0) rotate(0deg);}
  50%{transform:translateY(-8px) rotate(1.4deg);}
}
@keyframes leafFloatMirror{
  0%,100%{transform:scaleX(-1) translateY(0) rotate(0deg);}
  50%{transform:scaleX(-1) translateY(-8px) rotate(-1.4deg);}
}

/* leaf accents pinned to section headings */
.heading-wrap{position:relative; display:inline-block; max-width:100%;}
.leaf-accent{
  position:absolute;
  width:118px;
  height:auto;
  pointer-events:none;
  z-index:0;
  opacity:.92;
  filter:drop-shadow(0 8px 16px rgba(27,33,23,.10));
  animation:leafFloat 7s ease-in-out infinite;
}
.leaf-accent.leaf-tr{ top:-44px; right:-76px; animation-name:leafFloat; }
.leaf-accent.leaf-tl{ top:-44px; left:-76px; animation-name:leafFloatMirror; }
.leaf-accent.leaf-on-dark{ opacity:.85; filter:brightness(1.25) drop-shadow(0 8px 16px rgba(0,0,0,.3)); }

/* leaf divider between sections */
.leaf-divider{
  position:relative;
  display:flex; align-items:flex-start; justify-content:center;
  height:104px;
  overflow:hidden;
  pointer-events:none;
}
.leaf-divider img{
  width:230px;
  margin:0 -16px;
  opacity:.9;
  filter:drop-shadow(0 10px 18px rgba(27,33,23,.12));
  animation:leafFloat 8s ease-in-out infinite;
}
.leaf-divider img.ld-right{ animation-name:leafFloatMirror; }

@media (max-width:767px){
  .leaf-accent{width:78px;}
  .leaf-accent.leaf-tr{ top:-30px; right:-22px; }
  .leaf-accent.leaf-tl{ top:-30px; left:-22px; }
  .leaf-divider{height:70px;}
  .leaf-divider img{width:150px; margin:0 -10px;}
}

@media (prefers-reduced-motion: reduce){
  .leaf-accent, .leaf-divider img{animation:none;}
}

/* ===== Navbar ===== */
.navbar-custom{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:14px 0;
  background:transparent;
  transition:background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.navbar-custom.is-solid{
  background:rgba(27,33,23,.92);
  backdrop-filter:blur(6px);
  padding:8px 0;
  box-shadow:0 6px 24px rgba(27,33,23,.08);
}
.navbar-custom .nav-link{
  font-family:var(--sans);
  font-weight:500;
  font-size:.95rem;
  color:#fff;
  margin:0 14px;
  position:relative;
  transition:color .3s ease;
}
.navbar-custom.is-solid .nav-link{color:#6e7f52;}
.navbar-custom .nav-link::after{
  content:"";
  position:absolute; left:0; bottom:-4px;
  width:0; height:2px; background:#b6cd90;
  transition:width .3s ease;
}
.navbar-custom .nav-link:hover::after{width:100%;}
.navbar-brand img{height:46px; transition:height .3s ease;}
.navbar-custom.is-solid .navbar-brand img{height:38px;}

.nav-icon-group{display:flex; align-items:center; gap:10px;}
.nav-icon-group a{
  width:38px; height:38px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:2px solid rgba(255,255,255,.5);
  color:#fff;
  transition:all .3s ease;
  font-size:.95rem;
  text-decoration: none;
}
.navbar-custom.is-solid .nav-icon-group a{border: 2px solid rgba(255, 255, 255, .5);
    color: #fff;}
.nav-icon-group a:hover{background: #6e7f52;border-color: #b6cd90;color: #ffffff !important;}
.nav-icon-group a.whatsapp-icon:hover{background:#3FBE5C; border-color:#3FBE5C; color:#fff;}
.navbar-toggler{border:none; box-shadow:none;}
.navbar-custom .navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-custom.is-solid .navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero ===== */
.hero{position:relative; height:100vh; min-height:620px; overflow:hidden;}
.hero .carousel, .hero .carousel-inner, .hero .carousel-item{height:100%;}
.hero .carousel-item img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(1.05);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,20,10,.55) 0%, rgba(15,20,10,.35) 45%, rgba(20,24,14,.75) 100%);
  z-index:1;
}
.hero-content{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; color:#fff; padding:0 20px;
}
.hero-eyebrow{
  font-family:var(--sans);
  letter-spacing:.3em; text-transform:uppercase;
  font-size:.78rem; font-weight:500;
  color:var(--sage-light);
  margin-bottom:18px;
}
.hero-content h1{
  font-size:clamp(2.4rem, 5.5vw, 4.6rem);
  font-style:italic; font-weight:500;
  color:#fff;
  line-height:1.12;
  max-width:920px;
  text-shadow:0 4px 24px rgba(0,0,0,.25);
}
.hero-content p.lead-text{
  font-family:var(--sans);
  font-size:1.08rem;
  color:rgba(255,255,255,.88);
  max-width:560px;
  margin:22px 0 36px;
}
.hero-btns{display:flex; gap:16px; flex-wrap:wrap; justify-content:center;}

.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  z-index:2; color:#fff; opacity:.85;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
}
.scroll-cue .line{width:1px; height:34px; background:rgba(255,255,255,.6); animation:scrollPulse 1.8s ease-in-out infinite;}
@keyframes scrollPulse{0%{transform:scaleY(.3); opacity:.3;} 50%{transform:scaleY(1); opacity:1;} 100%{transform:scaleY(.3); opacity:.3;}}

/* ===== About / Welcome ===== */
.about-section{padding:120px 0 100px; background:var(--cream);}
.about-img-wrap{position:relative;}
.about-img-wrap img{
  width:100%; border-radius:6px;
  box-shadow:0 30px 60px -20px rgba(27,33,23,.35);
}
.about-img-frame{
  position:absolute; top:22px; left:22px; right:-22px; bottom:-22px;
  border:1.5px solid var(--sage);
  border-radius:6px;
  z-index:-1;
}
.about-text h2{
  font-size:clamp(2rem, 3.4vw, 2.7rem);
  font-weight:500;
  line-height:1.25;
  margin:18px 0 22px;
}
.about-text h2 em{font-style:italic; color:var(--sage-deep);}
.about-text p{color:var(--text-soft); font-size:1.04rem; line-height:1.85;}
.about-stats{display:flex; gap:38px; margin-top:34px;}
.about-stats .stat h3{font-size:2.1rem; font-weight:600; color:var(--sage-deep);}
.about-stats .stat span{font-size:.82rem; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em;}

/* ===== Menu Section Base ===== */
.menu-section{
  position:relative;
  padding:130px 0;
  background:var(--forest);
  color:#fff;
  text-align:center;
  overflow:hidden;
}
.menu-section .eyebrow{color:var(--sage-light);}
.menu-section .eyebrow::before{background:var(--gold);}
.menu-section h2{color:#fff; font-size:clamp(2rem,4vw,3rem); font-weight:500; margin:18px 0 16px;}
.menu-section h2 em{font-style:italic; color:var(--gold);}
.menu-section p.sub{color:rgba(255,255,255,.78); max-width:620px; margin:0 auto 40px; font-size:1.05rem;}
.menu-leaf-bg{
  position:absolute; inset:0; opacity:.07; z-index:0;
  background-image:radial-gradient(circle at 20% 30%, var(--sage) 0, transparent 40%),
                    radial-gradient(circle at 85% 70%, var(--sage) 0, transparent 40%);
}
.menu-section .container{position:relative; z-index:1;}
.btn-menu-pdf{
  background:var(--gold);
  color:var(--ink);
  border:none;
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:.02em;
  padding:1rem 2.6rem;
  border-radius:999px;
  display:inline-flex; align-items:center; gap:.7rem;
  transition:all .3s ease;
  font-size:1.02rem;
}
.btn-menu-pdf:hover{background:#fff; transform:translateY(-3px); box-shadow:0 14px 30px -10px rgba(0,0,0,.5);}

/* ===== Contact ===== */
.contact-section{padding:120px 0; background:var(--sage-light);}
.contact-info-card{
  background:#fff;
  border-radius:8px;
  padding:42px 38px;
  height:100%;
  box-shadow:0 24px 50px -20px rgba(27,33,23,.18);
}
.contact-row{display:flex; gap:18px; margin-bottom:26px;}
.contact-row .icon-box{
  width:48px; height:48px; min-width:48px;
  border-radius:50%;
  background:var(--sage-light);
  color:var(--sage-deep);
  display:flex; align-items:center; justify-content:center;
  font-size:1.05rem;
}
.contact-row h6{font-family:var(--sans); font-weight:600; margin-bottom:4px; color:var(--ink); font-size:.92rem; text-transform:uppercase; letter-spacing:.04em;}
.contact-row p, .contact-row a{color:var(--text-soft); margin:0; font-size:.98rem; text-decoration:none;}
.contact-row a:hover{color:var(--sage-deep);}
.map-wrap{border-radius:8px; overflow:hidden; height:100%; min-height:420px; box-shadow:0 24px 50px -20px rgba(27,33,23,.18);}
.map-wrap iframe{width:100%; height:100%; min-height:420px; border:0; filter:saturate(.9);}

/* ===== Reviews ===== */
.reviews-section{padding:120px 0; background:var(--cream); text-align:center;}
.review-card{
  background:#fff;
  border-radius:10px;
  padding:40px 32px;
  height:100%;
  box-shadow:0 18px 40px -18px rgba(27,33,23,.15);
  position:relative;
}
.review-card .stars{color:var(--gold); margin-bottom:16px; font-size:.95rem;}
.review-card p.quote{color:var(--text-soft); font-size:1rem; line-height:1.75; font-style:italic;}
.review-card .reviewer{display:flex; align-items:center; gap:12px; margin-top:24px; justify-content:center;}
.review-card .reviewer .av{
  width:42px; height:42px; border-radius:50%;
  background:var(--sage-light); color:var(--sage-deep);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-weight:600;
}
.review-card .reviewer h6{margin:0; font-family:var(--sans); font-weight:600; font-size:.92rem; color:var(--ink);}
.review-card .reviewer span{font-size:.78rem; color:var(--text-soft);}

/* ===== Gallery ===== */
.gallery-section{padding:120px 0 130px; background:var(--ink);}
.gallery-section .eyebrow{color:var(--sage-light);}
.gallery-section .eyebrow::before{background:var(--gold);}
.gallery-section h2{color:#fff; font-size:clamp(2rem,3.6vw,2.8rem); font-weight:500; margin:18px 0 50px;}
.gallery-section h2 em{font-style:italic; color:var(--gold);}
.gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:170px; gap:14px;}
.g-item{position:relative; overflow:hidden; border-radius:6px; display:block;}
.g-item img{width:100%; height:100%; object-fit:cover; transition:transform .6s ease;}
.g-item::after{
  content:"\f00e"; font-family:"Font Awesome 6 Free"; font-weight:900;
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1.2rem;
  background:rgba(27,33,23,0); opacity:0; transition:all .35s ease;
}
.g-item:hover::after{background:rgba(27,33,23,.45); opacity:1;}
.g-item:hover img{transform:scale(1.08);}
.g-item.tall{grid-row:span 2;}
.g-item.wide{grid-column:span 2;}

/* ===== Footer ===== */
.site-footer{background:var(--ink); color:rgba(255,255,255,.75); padding:60px 0 26px;}
.site-footer .footer-brand img{height:42px; margin-bottom:14px;}
.site-footer p{color:rgba(255,255,255,.55); font-size:.92rem; line-height:1.8;}
.site-footer h6{color:#fff; font-family:var(--sans); font-weight:600; font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px;}
.site-footer ul{list-style:none; padding:0; margin:0;}
.site-footer ul li{margin-bottom:11px;}
.site-footer ul li a{color:rgba(255,255,255,.65); text-decoration:none; font-size:.94rem; transition:color .3s ease;}
.site-footer ul li a:hover{color:var(--gold);}
.footer-social{display:flex; gap:10px; margin-top:6px;}
.footer-social a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  color:#fff; transition:all .3s ease;
 text-decoration: none;
}
.footer-social a:hover{background:var(--gold); border-color:var(--gold); color:var(--ink);}
.footer-divider{border-top:1px solid rgba(255,255,255,.12); margin:42px 0 22px;}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.85rem; color:rgba(255,255,255,.45);}

/* whatsapp floating button */
.wa-float{
  position:fixed; bottom:26px; right:26px; z-index:999;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem;
  box-shadow:0 12px 28px -8px rgba(0,0,0,.45);
  transition:transform .3s ease;
  text-decoration: none;
}
.wa-float:hover{transform:scale(1.08); color:#fff;}

/* --- Özel Günler Temel Ayarlar --- */
.events-section { 
    background-color: #f9f8f4; 
    padding: 80px 0; 
}
.events-section .heading-wrap .eyebrow {
    justify-content: center;
}
.events-section .heading-wrap h2 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 500;
}
.events-section .heading-wrap h2 em {
    font-style: italic; 
    color: var(--sage-deep); 
}
.events-desc-text {
    max-width: 700px; 
    color: #666; 
    font-size: 1.05rem; 
    line-height: 1.6;
}

/* ========================================================
   GLOBAL PLAN: TEK SINIFLI ORTAK FOTOĞRAF KARTI VE HOVER EFFECT
   (Foto Galeri ile Birebir Aynı Oran, Kenar ve Kararma Geçişi)
   ======================================================== */
.ng-photo-card {
    position: relative !important; 
    overflow: hidden !important; 
    display: block !important;
    border-radius: 12px !important; /* Fotoğrafların oval modern sınırları */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important; /* Tam olması gerektiği gibi soft premium gölge */
    background: #1b2117 !important; /* Arka plan karartma tabanı */
    width: 100% !important;
    aspect-ratio: 4 / 3 !important; /* Resimlerin en-boy oranının bozulmamasını kesinleştiren kural */
    
    /* Safari Taşma ve Donanım İvmesi Korumaları */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

/* Kartın içindeki görsellerin genel ayarı */
.ng-photo-card img {
    width: 100% !important; 
    height: 100% !important; 
    display: block !important;
    object-fit: cover !important; /* Resimlerin kesilmeden veya basılmadan tam oturmasını sağlar */
    transition: transform .6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- HOVER EFFECT: Foto Galeri (.g-item) Mantığında Yumuşak Geçiş --- */
.ng-photo-card::after {
    content: "";
    position: absolute; 
    inset: 0; 
    background: rgba(27, 33, 23, 0.45); /* Alt galeriyle birebir aynı kararma tonu */
    opacity: 0; 
    transition: opacity .35s ease;
    z-index: 1;
}

.ng-photo-card:hover::after {
    opacity: 1; /* Üzerine gelince galeri gibi soft kararır */
}

.ng-photo-card:hover img {
    transform: scale(1.08) !important; /* Galeriyle birebir aynı büyüme oranı */
}

/* ========================================================
   SWIPER OKLARINI TAM ORTALAMA VE DIŞARIYA TAŞIMA STANDARDI
   ======================================================== */
@media (min-width: 992px) {
  /* Okların taşmasını engellememek için ana alanların container yapılarını rahatlatıyoruz */
  #ozel-gunler .container,
  #menu .container,
  #reviews .container {
    position: relative !important;
  }

  /* Tüm ok düğmelerini dikey eksende tam ortala */
  .swiper-button-next,
  .swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
  }

  /* Swiper dahili ok ikon boyut standardı */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.4rem !important;
    font-weight: bold !important;
  }

  /* Bölüm Bazlı Ok Konum ve Renk Dağılımları */
  .events-next, .review-next { right: -55px !important; color: var(--sage-deep) !important; }
  .events-prev, .review-prev { left: -55px !important; color: var(--sage-deep) !important; }

  .menu-next { right: -55px !important; color: var(--gold) !important; }
  .menu-prev { left: -55px !important; color: var(--gold) !important; }

  /* Ok Hover Aksiyonu */
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.15) !important;
    opacity: 0.8 !important;
  }
}

/* Dokunmatik Cihazlar İçin Hover İstisnası */
@media (hover: none) {
    .ng-photo-card:hover img { transform: scale(1) !important; }
    .ng-photo-card:hover::after { opacity: 0; }
}

/* ===== Mobil ve Tablet Düzenlemeler ===== */
@media (max-width: 991px){
  .navbar-custom{background:rgba(27,33,23,.92); padding:10px 0;}
  .navbar-custom .nav-link{color:#869459;}
  .navbar-custom.is-solid .nav-link{color:#869459;}
  .nav-icon-group{margin-top:14px;}
  .gallery-grid{grid-template-columns: repeat(1, 1fr); grid-auto-rows: auto;}
  .g-item.wide{grid-column:span 1;}
  .about-img-frame{display:none;}
  .about-section{padding:90px 0 70px;}
  .menu-section, .reviews-section, .gallery-section, .contact-section{padding:90px 0;}

  .navbar-collapse{
    position: relative;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px;
  }
  .navbar-nav{ padding-top: 6px; }
  .navbar-nav .nav-link{ padding-top: .55rem; padding-bottom: .55rem; }
  .g-item { grid-column: span 1; }
  button.navbar-toggler { background: #6e7f52; }
  button.navbar-toggler.collapsed { background-color: #859357; }
  
  /* Mobilde okları tamamen kaldırıyoruz, swipe hareketi öncelikli */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  .position-relative.px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}