/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Version:      1.0
*/

/* =================================
   FLORENZA GLOBAL VARIABLES
================================= */

:root {
  --accent: #1F2A30;
  --gold: #c6a85b;
  --light-bg: #F6F6F6;
  --text-dark: #1A1A1A;
}

/* =================================
   GLOBAL RESETS
================================= */

body {
  margin: 0;
  padding: 0;
  color: var(--text-dark);
}

html, body {
  overflow-x: hidden;
}

/* Meta bilgileri gizle */
.entry-meta,
.entry-header .posted-on,
.entry-header .byline,
.entry-footer,
.entry-footer .cat-links,
.entry-footer .tags-links {
  display: none !important;
}

/* Footer credit gizle */
.site-info {
  display: none !important;
}

/* =================================
   BUTTON SYSTEM (Outline Premium)
================================= */

.wp-block-button__link,
button,
input[type="button"],
input[type="submit"],
a.button,
.button {
  background: transparent !important;
  border: 2px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: 12px 18px !important;
  border-radius: 0 !important;
  transition: all .2s ease;
}

.wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
.button:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* =================================
   HERO SLIDER
================================= */

.slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform 0.9s ease;
}

.slide.active {
  transform: translateX(0);
  z-index: 2;
}

.slide.prev {
  transform: translateX(-100%);
  z-index: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* =================================
   FLORENZA HERO GRID
================================= */

/* ===== kod-baslangici ===== */

.florenza-hero-grid {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 0px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* ===== kod-bitisi ===== */

.florenza-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  display: block;
  aspect-ratio: 4 / 5;
  transition: transform 0.4s ease;
}

.florenza-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.florenza-hero-card:hover img {
  transform: scale(1.06);
}

.florenza-hero-card:hover {
  transform: translateY(-6px);
}

.florenza-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  background: linear-gradient(
    to top,
    rgba(8,20,45,0.85),
    rgba(8,20,45,0.3),
    transparent
  );
}

.florenza-hero-overlay h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .5px;
  position: relative;
}

.florenza-hero-overlay h3::after {
  content: "";
  display: block;
  width: 45px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}

/* =================================
   HERO BUTTON STRIP
================================= */

.florenza-hero-button-wrapper {
  margin-top: 70px;
}

.florenza-hero-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 22px 0;
  background: transparent;
  color: #08142d;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 14px;
  border: 2px solid var(--gold);
  transition: all .35s ease;
}

.florenza-hero-button:hover {
  background: #08142d;
  color: #fff;
}

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

@media (max-width: 1024px) {
  .florenza-hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .florenza-hero-grid {
    grid-template-columns: 1fr;
  }
}
/* =================================
   FLORENZA HERO SLIDER PREMIUM -start-
================================= */

/* ===== kod-baslangici ===== */

.slider {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform 1s ease;
  will-change: transform;
}

.slide.active {
  transform: translateX(0);
  z-index: 2;
}

.slide.prev {
  transform: translateX(-100%);
  z-index: 1;
}

/* Daha sinematik koyu overlay */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,20,45,0.75),
    rgba(8,20,45,0.4),
    rgba(8,20,45,0.2)
  );
}

/* İçerik hizalama – ortadan biraz sola editorial */
.slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 8%;
  color: #fff;
}

.slide-content h1 {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.5px;
  max-width: 700px;
  line-height: 1.15;
}

/* Altın ince çizgi */
.slide-content h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin-top: 20px;
}

/* Ok butonları daha minimal */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--gold);
  color: #08142d;
  border-color: var(--gold);
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* Mobil */

@media (max-width: 768px) {
  .slider {
    height: 500px;
  }

  .slide-content {
    padding-left: 6%;
  }

  .slide-content h1 {
    font-size: clamp(26px, 5vw, 36px);
  }
}

/* ===== kod-bitisi ===== */

/* =================================
   FLORENZA HERO SLIDER PREMIUM -end-
================================= */
/* Menü Genel */
.main-navigation .main-nav ul li a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

/* Hover Efekti */
.main-navigation .main-nav ul li a:hover {
    color: #C6A75E !important; /* Altın */
}

/* Aktif Sayfa */
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #C6A75E !important;
    position: relative;
}

/* Altın Çizgi Hover */
.main-navigation .main-nav ul li a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #C6A75E;
    transition: width 0.3s ease;
    margin-top: 4px;
}

.main-navigation .main-nav ul li a:hover::after {
    width: 100%;
}
/* menü genel bitiş */
/* Header yüksekliğini azalt */
.site-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* İç boşlukları daralt */
.inside-header {
    padding-top: 0;
    padding-bottom: 0;
}

/* Menü yüksekliğini hizala */
.main-navigation .main-nav ul li a {
    padding-top: 8px;
    padding-bottom: 8px;
}
.flz-footerbar{
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 10px 0;
  font-size: 13px;
}

.flz-footerbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flz-footerbar__sep{
  opacity: .45;
}

.flz-footerbar__link,
.flz-footerbar__ig{
  text-decoration: none;
  font-weight: 600;
}

.flz-footerbar__link:hover,
.flz-footerbar__ig:hover{
  text-decoration: underline;
}

.flz-footerbar{
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 10px 0;
  font-size: 13px;
}

.flz-footerbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flz-footerbar__sep{ opacity: .45; }

.flz-footerbar__link,
.flz-footerbar__ig{
  text-decoration: none;
  font-weight: 600;
}

.flz-footerbar__link:hover,
.flz-footerbar__ig:hover{
  text-decoration: underline;
}

/* Minimal IG icon */
.flz-ig-mini{
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.35);
  margin-right: 6px;
  vertical-align: -2px;
}

@media (max-width: 520px){
  .flz-footerbar{ font-size: 12px; }
}
.flz-footerbar__sep{ opacity:.45; }

.flz-ig-mini{
  width:14px;height:14px;
  display:inline-block;
  border-radius:4px;
  border:1px solid rgba(0,0,0,.35);
  margin-right:6px;
  vertical-align:-2px;
}
.flz-footerbar__sep { opacity: .55; }

.flz-ig-mini{
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.35);
  margin-right: 6px;
  vertical-align: -2px;
}

.flz-footerbar a{
  text-decoration: none;
  font-weight: 600;
}
.flz-footerbar a:hover{
  text-decoration: underline;
}

/* 1) Üst çizgiyi kaldır */
.flz-footerbar{
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Çizgi footer-widgets'ten geliyorsa bunu da aç */
#footer-widgets{
  border-top: 0 !important;
}

/* Genel görünüm */
.flz-footerbar__sep{ opacity:.55; }
.flz-footerbar a{ text-decoration:none; font-weight:600; }
.flz-footerbar a:hover{ text-decoration:underline; }

/* 3) Instagram SVG ikon */
.flz-ig-svg{
  display:inline-block;
  vertical-align:-2px;
  margin-right:2px;
  fill: currentColor;
}

/* Footer bar site fontunu miras alsın */
.flz-footerbar{
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Linkler de aynı tipografi */
.flz-footerbar a{
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Ayraç daha yumuşak dursun */
.flz-footerbar__sep{
  opacity: .55;
}

@media (max-width: 768px){

  /* 1) Doğru hamburger (mobile-menu-control-wrapper) */
  #mobile-menu-control-wrapper > .menu-toggle{
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
  }

  /* 2) İkinci (fazla) hamburgeri gizle */
  #site-navigation .inside-navigation > .menu-toggle{
    display: none !important;
  }

  /* 3) Kare mobil logoyu hamburgerin SOLUNA ekle */
  #mobile-menu-control-wrapper > .menu-toggle:before{
    content: "";
    display: inline-block;
    width: 34px;
    height: 34px;
    background-image: url("https://florenza.com.tr/wp-content/uploads/2026/02/flz-fleur-mobile.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* 4) Mobilde uzun yatay logo gizle */
  img.header-image.is-logo-image{
    display: none !important;
  }
}

@media (max-width: 768px){

  /* Header container tam genişlik */
  .inside-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
  }

  /* Hamburger kontrol wrapper full width */
  #mobile-menu-control-wrapper{
    width:100%;
  }

  /* Hamburger butonu full width */
  #mobile-menu-control-wrapper > .menu-toggle{
    width:100%;
    display:flex !important;
    justify-content:space-between;
    align-items:center;
    padding:14px 20px;
    box-sizing:border-box;
  }

  /* Kare logo + hamburger ikon arası */
  #mobile-menu-control-wrapper > .menu-toggle:before{
    margin-right:12px;
  }

}

/* =========================
   FLORENZA HOME - HERO
   ========================= */

/* =========================
   HERO FIX: içerik görünür kalsın
   ========================= */

/* Hero sabit yükseklik */
body.home .florenza-hero{
  height: 65vh !important;
  min-height: 65vh !important;
  position: relative;
  display: flex;
  align-items: center;      /* dikeyde ortala */
  justify-content: flex-start;
  padding: 0 !important;
}

/* İç container: margin/padding sıfırla ve yukarı al */
body.home .florenza-hero .wp-block-cover__inner-container{
  width: min(1150px, calc(100% - 60px));
  margin: 0 auto !important;
  padding: 0 !important;

  /* kritik: içerik bloklarını yukarı taşır */
  transform: translateY(-10vh);
}

/* Mobilde translate daha az olsun (çok yukarı kaçmasın) */
@media (max-width: 768px){
  body.home .florenza-hero{
    height: 520px !important;
    min-height: 520px !important;
  }
  body.home .florenza-hero .wp-block-cover__inner-container{
    width: calc(100% - 64px);
    transform: translateY(-8vh);
  }
}
/* =========================
   HERO FIX: içerik görünür kalsın
   ========================= */

/* İçerik üstte kalsın */
body.home .florenza-hero .wp-block-cover__inner-container{
  position: relative;
  z-index: 2;
  width: min(1150px, calc(100% - 60px));
  margin: 0 auto;
}

/* Yazılar */
body.home .florenza-hero h1,
body.home .florenza-hero p{
  color: #ffffff;
  text-shadow: 0 15px 40px rgba(0,0,0,.45);
}

/* buton important */

body.home .florenza-hero .gold-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid #C6A75E !important;
    color: #ffffff !important;
    letter-spacing: .5px;
}

/* Başlık */
body.home .florenza-hero h1{
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 16px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Altın çizgi */
body.home .florenza-hero h1::after{
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: #C6A75E !important;
  margin-top: 14px;
}

/* Açıklama */
body.home .florenza-hero p{
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 55ch;
  margin: 0 0 28px 0;
  opacity: .95;
}

/* Butonlar */
body.home .florenza-hero .wp-block-buttons{
  gap: 14px;
}

body.home .florenza-hero .wp-block-button__link{
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s ease;
}

body.home .florenza-hero .wp-block-button__link:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ALTIN OUTLINE */
body.home .florenza-hero .gold-outline .wp-block-button__link{
  background: transparent;
  border: 2px solid #C6A75E;
  color: #ffffff;
  letter-spacing: .5px;
}

body.home .florenza-hero .gold-outline .wp-block-button__link:hover{
  background: linear-gradient(135deg, #C6A75E, #E6C97A);
  border-color: #E6C97A;
  color: #111;
}

/* Mobil */
@media (max-width: 768px){
  body.home .florenza-hero{
    min-height: 480px;
    padding: 60px 0;
  }

  body.home .florenza-hero .wp-block-cover__inner-container{
    width: calc(100% - 32px);
  }
}
body.home .florenza-hero{
  align-items: center;
}
/* iletisim menü */
.menu-iletisim > a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23c8a74e' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.7 3.9 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1.3.4 2.6.6 4 .6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.1 22 2 13.9 2 3c0-.6.4-1 1-1h4.4c.6 0 1 .4 1 1 0 1.4.2 2.7.6 4 .1.4 0 .9-.2 1.2l-2.2 2.6z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
/* iletisim menü */
/* Ana Sayfa menüsüne home ikonu */
.menu-anasayfa > a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23c8a74e' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3l9-8z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
/* Sayfa başlıklarını gizle */
.entry-title {
    position: relative;
	color: #ffffff !important;
	left: -9999px !important;
	font-size: 10px;
}
/* whatsapp */
.flz-btn--whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flz-btn--whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
}

.flz-footer{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:40px;
max-width:1200px;
margin:auto;
padding:40px 20px;
}

.flz-footer-col{
display:flex;
flex-direction:column;
gap:10px;
}

.flz-footer a{
display:flex;
align-items:center;
gap:8px;
}

.flz-footer svg{
flex-shrink:0;
}

@media(max-width:768px){

.flz-footer{
grid-template-columns:1fr;
gap:30px;
text-align:center;
}

.flz-footer a{
justify-content:center;
}

}

/* =========================
FLORENZA FOOTER IMPROVEMENT
========================= */

.flz-footer{
display:grid;
grid-template-columns:1fr 1fr 1fr 1fr;
gap:60px;
max-width:1200px;
margin:auto;
padding:60px 20px 50px;
}

.flz-footer-col{
display:flex;
flex-direction:column;
gap:12px;
}

/* LOGO */

.flz-footer-logo-holder{
display:flex;
align-items:center;
}

.flz-footer-logo{
max-width:85px;
height:auto;
}

/* LINKLER */

.flz-footer a{
display:inline-flex;
align-items:center;
gap:8px;
text-decoration:none;
transition:opacity .25s ease;
}

.flz-footer a:hover{
opacity:.65;
}

/* ICON */

.flz-footer svg{
flex-shrink:0;
opacity:.8;
}

/* COPYRIGHT */

.flz-footer-copy{
margin-bottom:6px;
opacity:.9;
}

/* MOBILE */

@media(max-width:900px){

.flz-footer{
grid-template-columns:1fr 1fr;
gap:40px;
}

}

@media(max-width:600px){

.flz-footer{
grid-template-columns:1fr;
text-align:center;
}

.flz-footer a{
justify-content:center;
}

.flz-footer-logo-holder{
justify-content:center;
}

}
.flz-footer-bottom{
text-align:center;
margin-top:30px;
padding-top:20px;
border-top:1px solid rgba(0,0,0,0.08);
}

.flz-btn {
display:inline-flex;
align-items:center;
gap:8px;
}

.flz-404-page {
	padding: 70px 20px 30px;
	background: #ffffff;
}

.flz-404-inner {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.flz-404-code {
	font-size: 110px;
	line-height: 1;
	font-weight: 700;
	color: #1F2346;
	margin-bottom: 10px;
}

.flz-404-title {
	font-size: 36px;
	margin-bottom: 14px;
	color: #1F2346;
}

.flz-404-text {
	max-width: 720px;
	margin: 0 auto 30px;
	font-size: 17px;
	line-height: 1.7;
	color: #555;
}

.flz-404-search {
	max-width: 560px;
	margin: 0 auto 35px;
}

.flz-404-search form {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.flz-404-search input[type="search"] {
	min-width: 280px;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
}

.flz-404-search input[type="submit"] {
	padding: 12px 18px;
	border: 1px solid #c8a74e;
	background: transparent;
	color: #1F2346;
	border-radius: 6px;
	cursor: pointer;
	transition: 0.25s ease;
}

.flz-404-search input[type="submit"]:hover {
	background: #c8a74e;
	color: #fff;
}

.flz-404-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin: 0 0 40px;
}

.flz-404-links a {
	display: inline-block;
	padding: 12px 18px;
	border: 1px solid #c8a74e;
	border-radius: 6px;
	text-decoration: none;
	color: #1F2346;
	transition: 0.25s ease;
}

.flz-404-links a:hover {
	background: #c8a74e;
	color: #fff;
}

.flz-404-sitemap {
	margin: 10px 0 40px;
	padding: 28px 20px;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
}



.flz-404-sitemap h2 {
	margin-bottom: 10px;
	color: #1F2346;
	font-size: 24px;
}

.flz-404-sitemap p {
	margin: 0;
	font-size: 16px;
	color: #555;
}

.flz-404-sitemap a {
	color: #1F2346;
	font-weight: 600;
	text-decoration: underline;
}

.flz-404-cta {
	margin-top: 40px;
}