/*
Theme Name: Site Adı - KORENEL
Theme URI: https://korenel.com
Author: A. Yiğit Çevik
Author URI: 
Description: Korenel website custom theme
Tags: 
Version: 1.0
Requires at least: 5.3
Tested up to: 5.4
Requires PHP: 7.0
Bootstrap version: 5.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korenel
*/

@import url("https://fonts.googleapis.com/css2?family=Forum&display=swap");

:root {
  --primary-gold: #d4af37;
  --primary-dark: #1a1a1a;
  --secondary-dark: #2a2a2a;
  --text-light: #f5f5f5;
  --text-muted: #888;
  --marble-white: #faf9f7;
  --shadow-dark: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: "Forum", sans-serif;
  line-height: 1.6;
  color: var(--primary-dark);
  overflow-x: hidden;
}

/*
 * ==================================================
 * NAVBAR: ŞEFFAF & SCROLL EFEKTİ (TAM VE EKSİKSİZ SÜRÜM)
 * ==================================================
 */

/* 1. TEMEL YAPI VE KONUMLANDIRMA
-------------------------------------------------- */
.navbar-ancient-rome {
  position: fixed; /* Sayfanın üstüne sabitle */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030; /* Diğer tüm elementlerin üzerinde kalmasını sağlar */

  /* Başlangıç (Şeffaf) Durumu */
  background-color: transparent;
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0); /* Başlangıçta görünmez sınır */

  /* Tüm değişiklikler için animasyon geçişi */
  transition: background-color 0.4s ease-out, padding 0.4s ease-out,
    border-color 0.4s ease-out;
}

/* 2. SCROLL SONRASI GÖRÜNÜM (.navbar-scrolled)
-------------------------------------------------- */
.navbar-ancient-rome.navbar-scrolled {
  background-color: var(--marble-white); /* Hafif kırık beyaz arkaplan */
  padding: 10px 0; /* Daha kompakt hale gelir */
  border-bottom-color: rgba(
    212,
    175,
    55,
    0.5
  ); /* Altın rengi sınır belirginleşir */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Hafif bir gölge */
}

.navbar-ancient-rome::before {
  content: ""; /* Pseudo-element için zorunlu */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  /* Gölgenin yüksekliği (navbar'dan daha uzun olmalı ki aşağı doğru kaybolabilsin) */
  height: 150px;

  /* Sadece navbar içeriğinin arkasında kalmasını sağlar */
  z-index: -1;

  /* Yukarıdan aşağıya şeffaflaşan gölgenin kendisi */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    transparent 100%
  );

  /* Scroll yapıldığında yumuşakça kaybolması için geçiş efekti */
  transition: opacity 0.4s ease-out;

  /* Tıklama olaylarını engellememesi için */
  pointer-events: none;
}

/* Scroll sonrası navbar beyaz olduğunda bu gölgeyi gizle */
.navbar-ancient-rome.navbar-scrolled::before {
  opacity: 0;
}

/* 3. LOGO BOYUTLANDIRMA VE ANİMASYON
-------------------------------------------------- */
.navbar-ancient-rome .site-branding .site-title {
  font-family: "Forum", sans-serif;
  color: var(--primary-gold);
  font-size: 2rem;
  text-decoration: none;
}

.navbar-ancient-rome .site-branding .custom-logo {
  max-height: 100px; /* Başlangıçta büyük logo */
  width: auto;
  transition: max-height 0.4s ease-out;
}

.navbar-ancient-rome.navbar-scrolled .site-branding .custom-logo {
  max-height: 50px; /* Scroll sonrası küçülmüş logo */
}

/* 4. MENÜ LİNKLERİ VE YAZI RENKLERİ
-------------------------------------------------- */
.navbar-ancient-rome .nav-link {
  font-family: "Forum", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  position: relative;
  transition: color 0.3s ease;

  /* Başlangıçta link rengi */
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Şeffaf zeminde okunurluk için */
}

.navbar-ancient-rome.navbar-scrolled .nav-link {
  /* Scroll sonrası link rengi */
  color: var(--primary-dark);
  text-shadow: none;
}

/* Linklerin üzerine gelindiğinde veya aktif olduğunda */
.navbar-ancient-rome .nav-link:hover,
.navbar-ancient-rome .nav-link.active {
  color: var(
    --primary-gold
  ) !important; /* Her durumda altın rengi olmasını garantiler */
}

/* Animasyonlu alt çizgi */
.navbar-ancient-rome .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--primary-gold);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-ancient-rome .nav-link:hover::after,
.navbar-ancient-rome .nav-link.active::after {
  width: 70%;
}

/* 5. SOSYAL MEDYA İKONLARI
-------------------------------------------------- */
.navbar-ancient-rome .header-social a {
  font-size: 1.2rem;
  margin-left: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;

  /* Başlangıçta ikon rengi */
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar-ancient-rome.navbar-scrolled .header-social a {
  /* Scroll sonrası ikon rengi */
  color: var(--primary-dark);
  text-shadow: none;
}

.navbar-ancient-rome .header-social a:hover {
  color: var(--primary-gold);
  transform: translateY(-2px);
}

/* 6. AÇILIR MENÜ (DROPDOWN)
-------------------------------------------------- */
.navbar-ancient-rome .dropdown-menu {
  background-color: var(--secondary-dark);
  border: 1px solid var(--primary-gold);
  border-radius: 0;
  margin-top: 15px;
  box-shadow: 0 10px 25px var(--shadow-dark);
}

.navbar-ancient-rome .dropdown-item {
  font-family: "Forum", sans-serif;
  color: var(--text-light);
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.navbar-ancient-rome .dropdown-item:hover {
  background-color: var(--primary-gold);
  color: var(--primary-dark);
}

/* 7. MOBİL MENÜ BUTONU (TOGGLER)
-------------------------------------------------- */
.navbar-ancient-rome .navbar-toggler {
  border-color: rgba(212, 175, 55, 0.7);
  transition: border-color 0.3s ease;
}

.navbar-ancient-rome.navbar-scrolled .navbar-toggler {
  border-color: var(--primary-gold);
}

.navbar-ancient-rome .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='rgba(245, 245, 245, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: background-image 0.4s ease;
}

.navbar-ancient-rome.navbar-scrolled .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='rgba(26, 26, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobil menü açıldığında (daha koyu arkaplan için) */
@media (max-width: 991.98px) {
  .navbar-ancient-rome .navbar-collapse {
    background-color: rgba(26, 26, 26, 0.95); /* Yarı şeffaf koyu arkaplan */
    padding: 20px;
    margin-top: 10px;
    border: 1px solid var(--primary-gold);
    border-radius: 4px;
    box-shadow: 0 10px 25px var(--shadow-dark);
  }

  .mobile-custom-logo {
    height: 50px;
  }
}

/* 8. İÇERİĞİN NAVBAR ALTINDA KALMASINI ÖNLEME
-------------------------------------------------- */
/* Bu kural, sabit navbar'ın ilk bölümün (hero) içeriğini örtmesini engeller */
.hero-video-section {
  padding-top: 110px; /* Navbar'ın başlangıç yüksekliği + boşluk */
}

/* GENEL BÖLÜM BAŞLIĞI STİLİ (TÜM SAYFA İÇİN) */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark-text);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding: 15px 0;
  display: inline-block;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  background-color: var(--primary-gold);
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::before {
  top: 0;
  width: 100%;
}

.section-title::after {
  bottom: 0;
  width: 60%;
}

/* SOLA HİZALI BAŞLIK İÇİN DÜZELTME ("Hakkında" bölümü) */
.about-content .section-title {
  display: block; /* Tam genişlik kaplaması için */
  text-align: left;
}

.about-content .section-title::before,
.about-content .section-title::after {
  left: 0;
  transform: none; /* Ortalamayı iptal et */
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* DOKULU ARKA PLAN STİLİ */
.section-textured-bg {
  position: relative;
  z-index: 1;
}

.section-textured-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%);
  background-size: 20px 20px;
  z-index: -1;
  opacity: 0.5;
}

/* Hero Video Section */
.hero-video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute;
  text-align: center;
  background-color: #2a2a2a;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.video-background iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* BU KURALIN ORİJİNAL HALİNE DÖNDÜĞÜNDEN EMİN OLUN */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(26, 26, 26, 0.7));
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  margin-bottom: 20px;
  border-right: 2px solid var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--marble-white);
}

.about-content {
  padding-right: 30px;
}

.about-content .section-subtitle {
  text-align: left;
  color: var(--primary-gold);
  font-style: normal;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--secondary-dark-text);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.about-image .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image:hover .main-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  /* 768px ve daha dar ekranlarda, dışarıdan kayarak gelen 
    TÜM AOS animasyonlarını iptal eder.
    Böylece sayfanın genişlemesi sorunu kökünden çözülür.
  */
  [data-aos^="fade-"] {
    transform: none !important; /* Animasyonun pozisyonunu sıfırlar */
    opacity: 1 !important; /* Elemanın başlangıçta görünür olmasını sağlar */
  }
}

/* ==========================================================================
   PREMIUM GALLERY SECTION
   ========================================================================== */

.premium-gallery {
  padding: 100px 0;
  background: var(--marble-white);
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.premium-gallery .gallery-slider {
  /* Bu kural, slider'ın kendi dışına taşmasını ve sayfayı genişletmesini engeller. */
  overflow: hidden;

  /* Konumlandırma ve z-index sorunlarını önlemek için eklenmiştir. */
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------
   GENEL ÖĞE STİLLERİ (Hem Masaüstü Hem Mobil)
   -------------------------------------------------- */

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7),
    rgba(212, 175, 55, 0.3)
  );
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3,
.gallery-overlay .gallery-icon {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(15px);
  opacity: 0;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay .gallery-icon {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item:hover .gallery-overlay h3 {
  transition-delay: 0.1s;
}

/* --------------------------------------------------
   MASAÜSTÜ GÖRÜNÜMÜ (769px ve üzeri) - GRID DÜZENİ
   -------------------------------------------------- */
@media (min-width: 769px) {
  .gallery-slider .swiper-wrapper {
    /* Swiper'ın konteynerini grid olarak ayarla */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .gallery-slider .swiper-slide {
    /* Swiper'ın slide öğelerinin grid içinde düzgün davranmasını sağla */
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  /* Grid üzerinde hover efektleri */
  .swiper-wrapper:hover .swiper-slide:not(:hover) {
    transform: perspective(1000px) scale(0.95);
    opacity: 0.8;
  }

  .swiper-slide:hover {
    transform: perspective(1000px) scale(1.08);
    z-index: 10;
    opacity: 1;
  }

  /* Özel boyutlandırmaları grid'e uygula */
  .swiper-slide.wide {
    grid-column: span 2;
  }
  .swiper-slide.tall {
    grid-row: span 2;
  }
  .swiper-slide.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Masaüstünde Swiper kontrollerini tamamen gizle */
  .gallery-slider .swiper-button-next,
  .gallery-slider .swiper-button-prev,
  .gallery-slider .swiper-pagination {
    display: none !important;
  }
}

/* --------------------------------------------------
   MOBİL GÖRÜNÜM (768px ve altı) - SLIDER DÜZENİ
   -------------------------------------------------- */
@media (max-width: 768px) {
  .premium-gallery .swiper-wrapper {
    display: flex;
  }

  .premium-gallery .swiper-slide {
    height: 300px; /* Slider içindeki öğelere sabit bir yükseklik ver */
  }

  /* Swiper ok ve nokta renklerini tema ile uyumlu hale getir */
  .gallery-slider .swiper-button-next,
  .gallery-slider .swiper-button-prev {
    color: var(--primary-gold);
  }

  .gallery-slider .swiper-pagination-bullet-active {
    background: var(--primary-gold);
  }
}

/* Facilities Section - Roman Architecture Redesign */
/* 6. Bölüm: Klasik Hizmetler (Roma Mimarisi) - SON HALİ */

.facilities-section {
  padding: 100px 0;
  background: var(--marble-white);
}

.facilities-header {
  text-align: center;
}

.facilities-header .section-subtitle {
  font-style: normal;
  letter-spacing: 1px;
}

.facilities-grid.roman-atrium {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.facility-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: #ffffff;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    border-color 0.3s ease-in-out !important;
}

.facility-card:hover {
  /* Büyüme ve kalkma efektini de '!important' ile garantiliyoruz. 
  */
  transform: translateY(-5px) scale(1.03) !important;
  border-color: var(--primary-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.facility-icon {
  margin-bottom: 25px;
  color: var(--primary-gold);
  /* İkon büyümesi için yumuşak geçiş */
  transition: transform 0.3s ease;
}

/* Hover durumunda ikonu sadece büyüt (dönme yok) */
.facility-card:hover .facility-icon {
  transform: scale(1.1);
}

.facility-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-dark-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

/* Hover durumunda başlığın rengini değiştir */
.facility-card:hover h3 {
  color: var(--primary-gold);
}

.facility-card p {
  font-size: 1.05rem;
  color: var(--secondary-dark-text);
  line-height: 1.7;
}

/* ==================================================
 * TIKLANABİLİR HİZMET KARTI STİL DÜZELTMESİ
 * ================================================== */
.facility-card-link-wrapper,
.facility-card-link-wrapper:hover,
.facility-card-link-wrapper:focus,
.facility-card-link-wrapper:active {
  text-decoration: none; /* Linkin alt çizgisini her durumda kaldırır */
  color: inherit; /* Linkin mavi olmasını engeller, içerideki yazıların orijinal rengini korur */
  display: flex; /* YENİ: Kartın dikeyde esnemesine izin vermek için flex yapıldı */
  align-items: stretch; /* YENİ: İçindeki elemanın (kartın) tam yüksekliği kaplamasını sağlar */
}

/*
 * ==================================================
 * İLETİŞİM BÖLÜMÜ (AÇIK RENK & SADE TASARIM)
 * ==================================================
 */

.final-cta-section {
  background-color: var(--marble-white);
  padding: 120px 0;
  text-align: center;
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-icon {
  color: var(--primary-gold);
  margin-bottom: 30px;
}

.cta-title {
  font-family: "Forum", sans-serif;
  font-size: 3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  padding: 18px 55px;
  border-radius: 5px;
  text-decoration: none;
  font-family: "Forum", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Gallery Modal*/
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-modal.active {
  display: flex;
  animation: modalFadeIn 0.3s ease forwards;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 10;
}

.modal-close {
  position: fixed;
  top: 25px;
  right: 30px;
  background: transparent;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 1002; /* Her şeyin üstünde */
}

.modal-close:hover {
  transform: rotate(90deg);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navigasyon Butonları: Ekranın kenarlarına sabitlendi */
.modal-nav {
  position: fixed; /* Ekrana göre sabit */
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1001; /* İçeriğin üstünde */
  pointer-events: none; /* Sadece butonlara tıklanabilsin */
}

.modal-prev,
.modal-next {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all; /* Butonların tıklanabilir olmasını sağlar */
  backdrop-filter: blur(5px);
}

.modal-prev:hover,
.modal-next:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-dark-text);
  transform: scale(1.1);
}

/* --- GÜNCELLENMİŞ İÇERİK STİLLERİ --- */

.modal-content {
  position: relative;
  width: auto;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.95);
  animation: modalContentIn 0.4s ease 0.1s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-image-container {
  max-width: 100%;
  max-height: calc(90vh - 80px); /* Başlık için pay bırak */
  margin-bottom: 20px;
}

.modal-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(90vh - 80px);
  object-fit: contain;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);

  /* Yumuşak geçişin (fade) temelini oluşturur */
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.modal-info {
  text-align: center;
  color: var(--text-light);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Animations */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(45deg);
  }
  40% {
    transform: translateX(-50%) translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateX(-50%) translateY(-5px) rotate(45deg);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalContentIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes galleryItemEntrance {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-item[data-aos].aos-animate {
  animation: galleryItemEntrance 0.7s cubic-bezier(0.165, 0.84, 0.44, 1)
    forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.5rem;
  }
  .contact-cta-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .about-section,
  .premium-gallery,
  .facilities-section,
  .contact-cta-section {
    padding: 60px 0;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-subtitle {
    text-align: center;
  }

  .contact-cta-content h2 {
    font-size: 2rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
  }
  .facilities-grid.roman-atrium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .contact-cta-content h2 {
    font-size: 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/*
 * ==================================================
 * FOOTER TASARIMI
 * ==================================================
 */

/* 1. ANA FOOTER ALANI
-------------------------------------------------- */
.site-footer {
  background-color: var(--primary-dark);
  color: #a9a9a9; /* Ana metin için hafif soluk beyaz */
  padding: 80px 0 0;
  border-top: 4px solid var(--primary-gold);
  position: relative;
  font-size: 0.95rem;
}

/* 2. WIDGET BAŞLIKLARI
-------------------------------------------------- */
.site-footer .widget-title {
  font-family: "Forum", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

/* Başlıkların altına gelen çift çizgi efekti */
.site-footer .widget-title::before,
.site-footer .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: rgba(212, 175, 55, 0.5); /* Yarı şeffaf altın */
}

.site-footer .widget-title::before {
  width: 100px;
}

.site-footer .widget-title::after {
  width: 50px;
  bottom: -5px; /* İkinci çizgiyi biraz daha aşağı al */
}

/* 3. LİNKLER VE METİNLER
-------------------------------------------------- */
.site-footer p {
  line-height: 1.7;
}

.site-footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--primary-gold);
}

/* 4. İLETİŞİM BİLGİLERİ
-------------------------------------------------- */
.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info li i {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin-right: 15px;
  margin-top: 5px;
  width: 20px; /* İkonların hizalı durması için */
  text-align: center;
}

/* 5. SOSYAL MEDYA İKONLARI
-------------------------------------------------- */
.social-icons {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.social-icons li {
  display: inline-block;
  margin-right: 8px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1rem;
  color: var(--text-light);
  border: 1px solid #444;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.social-icons a:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* 6. FOOTER ALT BÖLÜMÜ
-------------------------------------------------- */
.footer-bottom {
  background-color: rgba(
    0,
    0,
    0,
    0.2
  ); /* Ana footer'dan hafif farklı bir ton */
  padding: 25px 0;
  margin-top: 60px;
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom .copyright {
  margin: 0;
}

.korenel-logo img {
  max-height: 15px;
  scale: 1;
  transition: scale 0.3s ease;
}

.korenel-logo img:hover {
  scale: 1.1;
}

/* ==========================================================================
   GELİŞMİŞ RESPONSIVE TASARIM KURALLARI
   ========================================================================== */

/* --------------------------------------------------
   1. TABLET VE ALTI (max-width: 991.98px)
   Bootstrap'in 'lg' breakpoint'i ile uyumlu.
   - Navbar'da sosyal ikonları gizle
   - Hero başlıklarını küçült
   -------------------------------------------------- */
@media (max-width: 991.98px) {
  /* Navbar'daki sosyal medya ikonlarını mobil menü açıldığında kalabalık yapmaması için gizle */
  .navbar-ancient-rome .header-social {
    display: none;
  }

  /* Mobil menü açıldığında linklerin ortalanması ve daha belirgin olması */
  .navbar-ancient-rome .navbar-collapse {
    text-align: center;
  }
  .navbar-ancient-rome .nav-link {
    padding: 1rem;
    margin: 0.5rem 0;
  }

  /* Ana karşılama (Hero) başlığını biraz küçült */
  .hero-title {
    font-size: 3.5rem;
  }

  /* Galeri modalındaki navigasyon oklarını küçült */
  .modal-prev,
  .modal-next {
    width: 45px;
    height: 45px;
  }
}

/* --------------------------------------------------
   2. KÜÇÜK TABLET VE BÜYÜK TELEFONLAR (max-width: 768px)
   En yaygın mobil cihazlar için temel düzenlemeler.
   - Hero video değişimi
   - Font boyutları ve bölüm dolguları (padding)
   - "Hizmetler" bölümünün dikey hizalanması
   -------------------------------------------------- */
@media (max-width: 768px) {
  /* MASAÜSTÜ VİDEOSUNU GİZLE, MOBİL VİDEOYU GÖSTER */
  .hero-video-section .desktop-video {
    display: none;
  }
  .hero-video-section .mobile-video {
    display: block !important;
  }

  /* Hero bölümündeki başlıkları mobil için optimize et */
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  /* "Hakkımızda" bölümü resminin yüksekliğini azalt */
  .about-image {
    height: 450px;
  }

  /* "Hizmetlerimiz" (Facilities) kartlarını alt alta getir */
  .facilities-grid.roman-atrium {
    flex-direction: column; /* Flexbox yönünü dikey yap */
    align-items: center; /* Ortala */
  }
  .facility-card {
    width: 100%;
    max-width: 400px; /* Kartların çok genişlemesini önle */
  }

  /* İletişim CTA (Call to Action) bölümünü düzenle */
  .final-cta-section {
    padding: 80px 0;
  }
  .cta-title {
    font-size: 2.5rem;
  }
  .cta-subtitle {
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------
   3. KÜÇÜK TELEFON EKRANLARI (max-width: 480px)
   En dar ekranlar için son dokunuşlar.
   - Fontları daha da küçült
   - Buton ve boşlukları ayarla
   -------------------------------------------------- */
@media (max-width: 480px) {
  /* Hero bölümü içeriğini daha da küçült */
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  /* Genel bölüm başlıklarını küçült */
  .section-title {
    font-size: 1.9rem;
  }
  .section-subtitle {
    font-size: 1.1rem;
  }

  /* Hakkımızda bölümü resmini biraz daha küçült */
  .about-image {
    height: 350px;
  }

  /* Galeri gridini 2 sütuna sabitle ve boşlukları ayarla */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 10px;
    padding: 0 10px;
  }

  /* Tüm özel galeri öğelerini (geniş, uzun) mobil için sıfırla */
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Hizmet kartlarının başlıklarını küçült */
  .facility-card h3 {
    font-size: 1.5rem;
  }
  .facility-card p {
    font-size: 1rem;
  }

  /* Son CTA bölümünü ayarla */
  .cta-title {
    font-size: 2rem;
  }
  .cta-button {
    padding: 15px 40px;
    font-size: 1rem;
  }

  /* Footer widget başlıklarını küçült */
  .site-footer .widget-title {
    font-size: 1.4rem;
  }
}

.hero-video-section .mobile-video {
  display: none;
}

/* ==================================================
 * HİZMET SAYFASI GALERİ STİLLERİ - EŞİT YÜKSEKLİK VERSİYONU
 * ================================================== */

/* ANA GALERİ WRAPPER - EŞİT YÜKSEKLİK İÇİN */
.service-gallery-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* GALERİ CONTAINER */
.service-gallery {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ANA GÖRSEL ALANI */
.gallery-main-image {
  position: relative;
  width: 100%;
  flex: 1; /* Kalan alanı kapla */
  min-height: 400px; /* Minimum yükseklik garantisi */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
  background-color: #eee; /* Görsel yüklenirken boş kalmasın */
}

.gallery-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

/* THUMBNAIL GALERİSİ */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4'lü thumbnail düzeni */
  gap: 15px;
  flex-shrink: 0; /* Thumbnail'ların sıkışmasını önle */
}

.thumbnail-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  margin-top: 20px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumbnail-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover efekti */
.thumbnail-item:not(.active):hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.thumbnail-item:hover img {
  transform: scale(1.1);
}

/* Aktif thumbnail stili */
.thumbnail-item.active {
  border-color: var(--primary-gold);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Aktif olmayan thumbnail'ları hafif soluklaştır */
.thumbnail-item:not(.active) {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.thumbnail-item:not(.active):hover {
  opacity: 1;
}

/* HİZMET DETAY KARTI - EŞİT YÜKSEKLİK */
.service-details-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-gold);
  height: 100%; /* Tam yükseklik */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* İçeriği eşit dağıt */
}

/* İkon wrapper */
.service-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: var(--primary-gold);
  border-radius: 50%;
  margin-bottom: 30px;
  flex-shrink: 0; /* İkonun küçülmesini önle */
}

/* Başlık */
.service-details-card .service-title {
  font-family: "Forum", serif;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  flex-shrink: 0; /* Başlığın küçülmesini önle */
}

/* Açıklama */
.service-details-card .service-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  flex: 1; /* Kalan alanı kapla */
}

/* Özellik listesi */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  flex-shrink: 0; /* Listenin küçülmesini önle */
}

.service-feature-list li {
  position: relative;
  padding-left: 35px;
  font-size: 1.05rem;
  font-family: "Forum", sans-serif;
  color: var(--primary-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 25px;
  font-size: 14px;
  font-family: sans-serif;
  transition: transform 0.3s ease;
}

.service-feature-list li:hover::before {
  transform: scale(1.1);
}

/* CTA Butonu */
.cta-button-small {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-family: "Forum", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.25);
  align-self: flex-start; /* Butonun solda kalmasını sağla */
  margin-top: auto; /* Butonu en alta itir */
}

.cta-button-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

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

/* BÜYÜK TABLET (992px - 1199px) */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .gallery-main-image {
    min-height: 350px;
  }

  .service-details-card .service-title {
    font-size: 2.2rem;
  }
}

/* KÜÇÜK TABLET VE BÜYÜK MOBİL (768px - 991px) */
@media (max-width: 991.98px) {
  /* Eşit yükseklik kurallarını iptal et - mobilde sıralı düzen */
  .service-gallery-wrapper,
  .service-details-card {
    height: auto;
  }

  .gallery-main-image {
    min-height: 300px;
    margin-bottom: 40px; /* Card ile araya daha fazla boşluk */
  }

  .service-details-card {
    margin-top: 0 !important; /* Üst boşluğu kaldır */
  }

  .service-details-card .service-title {
    font-size: 2rem;
  }
}

/* KÜÇÜK MOBİL (576px - 767px) */
@media (max-width: 767.98px) {
  .gallery-main-image {
    min-height: 250px;
    margin-bottom: 30px;
  }

  .service-details-card {
    padding: 30px 25px;
  }

  .service-details-card .service-title {
    font-size: 1.8rem;
  }

  .service-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr); /* Mobilde 3'lü düzen */
    gap: 12px;
  }
}

/* ÇOK KÜÇÜK MOBİL (max-width: 576px) */
@media (max-width: 575.98px) {
  .gallery-main-image {
    min-height: 220px;
    margin-bottom: 25px;
  }

  .service-details-card {
    padding: 25px 20px;
  }

  .service-details-card .service-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .service-details-card .service-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .service-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .gallery-thumbnails {
    gap: 10px;
  }

  .thumbnail-item {
    border-width: 2px;
  }

  .cta-button-small {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  /* Mobil gap utility class */
  .mobile-gap {
    gap: 20px;
  }
}

/* ==================================================
 * HIZMET DISPLAY BÖLÜMÜ GENİŞLETMELERİ
 * ================================================== */

/* Hizmet bölümü genel container */
.service-display-section {
  padding: 100px 0;
  border-bottom: 1px solid #e5e5e5;
}

.services-wrapper .service-display-section:last-of-type {
  border-bottom: none;
}

/* Responsive hizmet bölümü padding'leri */
@media (max-width: 991.98px) {
  .service-display-section {
    padding: 80px 0;
  }
}

@media (max-width: 767.98px) {
  .service-display-section {
    padding: 60px 0;
  }
}

@media (max-width: 575.98px) {
  .service-display-section {
    padding: 50px 0;
  }
}

/* ==================================================
 * HİZMET SAYFASI - MADDE LİSTESİ STİLLERİ
 * ================================================== */

.service-feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.service-feature-list li {
  position: relative;
  padding-left: 35px;
  font-size: 1.05rem;
  font-family: "Forum", sans-serif;
  color: var(--primary-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 25px;
  font-size: 14px;
  font-family: sans-serif; /* Checkmark'ın düzgün görünmesi için */
  transition: transform 0.3s ease;
}

.service-feature-list li:hover::before {
  transform: scale(1.1);
}

/* ==========================================================================
   MOBİL İÇİN MASONRY (YAPBOZ) GALERİ DÜZENİ
   ========================================================================== */

@media (max-width: 768px) {
  .gallery-grid {
    display: block;
    column-count: 3;
    column-gap: 15px;
  }

  .gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
  }

  /* Özel boyutlandırma sınıfları artık gerekli değil, çünkü sütunlar bunu otomatik yapar. */
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.large {
    grid-column: unset; /* Grid atamalarını sıfırla */
    grid-row: unset; /* Grid atamalarını sıfırla */
  }
}

/* --------------------------------------------------
   KÜÇÜK TELEFON EKRANLARI (max-width: 480px)
   - Daha dar ekranlar için sütun sayısını azaltıyoruz.
   -------------------------------------------------- */
@media (max-width: 480px) {
  .gallery-grid {
    /* Sütun sayısını 2'ye düşürerek okunabilirliği artır */
    column-count: 2;

    /* Sütunlar arası boşluğu biraz azalt */
    column-gap: 10px;
  }

  .gallery-item {
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   GALERİ MODAL MOBİL UYUMLULUK İYİLEŞTİRMELERİ
   ========================================================================== */

@media (max-width: 576px) {
  /* Modal içeriği ve resim için dikey boşluğu azalt */
  .modal-content {
    max-height: 95vh; /* Biraz daha fazla dikey alan kullan */
  }

  .modal-image-container {
    margin-bottom: 10px; /* Resim ve başlık arasını daralt */
    max-height: calc(95vh - 60px); /* Başlık için 60px bırak */
  }

  .modal-image {
    max-height: calc(95vh - 60px);
  }

  /* Kapatma butonunu küçült ve konumunu ayarla */
  .modal-close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }

  /* Navigasyon oklarını küçült ve konumlarını ayarla */
  .modal-nav {
    padding: 0 5px; /* Kenarlara olan mesafeyi azalt */
  }

  .modal-prev,
  .modal-next {
    width: 40px;
    height: 40px;
  }

  /* Butonların içindeki SVG ikonlarını küçült */
  .modal-close svg,
  .modal-prev svg,
  .modal-next svg {
    width: 20px;
    height: 20px;
  }

  /* Başlık fontunu küçült */
  .modal-title {
    font-size: 1.1rem;
    padding: 0 10px; /* Uzun başlıkların kenarlara yapışmasını önle */
  }
}

/* ==========================================================================
   MOBİL NAVBAR VE YENİ TAM EKRAN MENÜ TASARIMI
   ========================================================================== */

/* --- 1. Buton Taşma Sorunu Düzeltmesi (Bu kural kalmalı) --- */
@media (max-width: 991.98px) {
  .navbar-ancient-rome .container {
    max-width: 100%;
  }
}

/* --- 2. Yeni Tam Ekran Menü (Offcanvas) Tasarımı --- */

/* Ana panel: Arkaplan, doku ve geçiş efekti */
.offcanvas#mobileMenu {
  background-color: var(--primary-dark);
  background-size: 50px 50px;
  width: 100%;
  color: var(--text-light);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

/* Başlık ve Kapatma Butonu Alanı */
.offcanvas#mobileMenu .offcanvas-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.offcanvas#mobileMenu .offcanvas-title {
  font-family: "Forum", sans-serif;
  color: var(--primary-gold);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.offcanvas#mobileMenu .btn-close {
  opacity: 0.8;
  font-size: 1.5rem;
  filter: brightness(0) invert(1); /* İkonu beyaz yapar */
  transition: all 0.4s ease;
}

.offcanvas#mobileMenu .btn-close:hover {
  opacity: 1;
  transform: rotate(180deg) scale(1.1);
}

/* Menü İçeriği: Dikeyde ortalama ve sosyal ikonları aşağı itme */
.offcanvas#mobileMenu .offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Menü linklerini dikeyde ortala */
  padding: 2rem 0;
  text-align: center;
}

/* Mobil menü listesi */
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  transform: translateY(20px);
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  margin: 0.5rem 0; /* Linkler arasına boşluk */
}

/* Menü elemanlarına gecikmeli giriş animasyonu */
.mobile-nav-item:nth-child(1) {
  animation-delay: 0.2s;
}
.mobile-nav-item:nth-child(2) {
  animation-delay: 0.25s;
}
.mobile-nav-item:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-nav-item:nth-child(4) {
  animation-delay: 0.35s;
}
.mobile-nav-item:nth-child(5) {
  animation-delay: 0.4s;
}

/* Ana Menü Linkleri */
.mobile-nav-item > a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 2rem; /* Daha büyük ve etkileyici font */
  font-family: "Forum", serif;
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: color 0.3s ease, letter-spacing 0.3s ease, transform 0.3s ease;
}

.mobile-nav-item > a:hover {
  color: var(--primary-gold);
  letter-spacing: 6px; /* Hover'da harf aralığını artır */
  transform: scale(1.05);
}

/* Alt Menü Stilleri */
.mobile-dropdown-menu {
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.mobile-dropdown-menu a {
  font-size: 1rem; /* Alt menü linkleri daha küçük */
  padding: 0.5rem 1.5rem;
  text-transform: none;
  letter-spacing: 1px;
  color: #ccc;
}
.mobile-dropdown-menu a:hover {
  letter-spacing: 2px; /* Hover'da alt menü harf aralığı */
}

/* Sosyal Medya İkonları (Menünün en altında) */
.mobile-social {
  padding: 2rem 1.5rem 1rem;
  margin-top: auto; /* Dikeyde en alta iter */
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-social a {
  font-size: 1.3rem;
  color: #ccc;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-social a:hover {
  color: var(--primary-gold);
  transform: scale(1.2);
}

/* Yeni Giriş Animasyonu */
@keyframes fadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   GALERİ RESPONSIVE DÜZENİ (NİHAİ VE TEK SÜRÜM)
   ========================================================================== */

.premium-gallery {
  padding: 100px 0;
  background: var(--marble-white);
  overflow: hidden;
}

.premium-gallery .gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.premium-gallery .gallery-slider {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.premium-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.premium-gallery .gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.premium-gallery .gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.premium-gallery .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7),
    rgba(212, 175, 55, 0.3)
  );
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-gallery .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.premium-gallery .gallery-overlay h3,
.premium-gallery .gallery-overlay .gallery-icon {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(15px);
  opacity: 0;
}

.premium-gallery .gallery-item:hover .gallery-overlay h3,
.premium-gallery .gallery-item:hover .gallery-overlay .gallery-icon {
  transform: translateY(0);
  opacity: 1;
}

.premium-gallery .gallery-item:hover .gallery-overlay h3 {
  transition-delay: 0.1s;
}

@media (min-width: 1371px) {
  .premium-gallery .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .premium-gallery .swiper-slide {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
  }
  .premium-gallery .swiper-slide.wide {
    grid-column: span 2;
  }
  .premium-gallery .swiper-slide.tall {
    grid-row: span 2;
  }
  .premium-gallery .swiper-slide.large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .premium-gallery .swiper-wrapper:hover .swiper-slide:not(:hover) {
    transform: perspective(1000px) scale(0.95);
    opacity: 0.8;
  }
  .premium-gallery .swiper-slide:hover {
    transform: perspective(1000px) scale(1.08);
    z-index: 10;
    opacity: 1;
  }
  .premium-gallery .swiper-button-next,
  .premium-gallery .swiper-button-prev,
  .premium-gallery .swiper-pagination {
    display: none !important;
  }
}

@media (max-width: 1370px) and (min-width: 1101px) {
  .premium-gallery .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    grid-template-areas:
      "item1 item2 item2 item3"
      "item4 item5 item5 item3"
      "item6 item5 item5 item7"
      "item8 item8 item7 item7";
  }
  .premium-gallery .swiper-slide {
    grid-column: unset !important;
    grid-row: unset !important;
  }
  .premium-gallery .swiper-slide:nth-child(1) {
    grid-area: item1;
  }
  .premium-gallery .swiper-slide:nth-child(2) {
    grid-area: item2;
  }
  .premium-gallery .swiper-slide:nth-child(3) {
    grid-area: item3;
  }
  .premium-gallery .swiper-slide:nth-child(4) {
    grid-area: item4;
  }
  .premium-gallery .swiper-slide:nth-child(5) {
    grid-area: item5;
  }
  .premium-gallery .swiper-slide:nth-child(6) {
    grid-area: item6;
  }
  .premium-gallery .swiper-slide:nth-child(7) {
    grid-area: item7;
  }
  .premium-gallery .swiper-slide:nth-child(8) {
    grid-area: item8;
  }
}

@media (max-width: 1100px) and (min-width: 831px) {
  .premium-gallery .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Bu ekran boyutunda tüm öğelerin temel span'larını sıfırlıyoruz */
  .premium-gallery .swiper-slide {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Şimdi her öğeye özel boyut ve konum veriyoruz (boşluk kalmayacak şekilde) */
  .premium-gallery .swiper-slide:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .premium-gallery .swiper-slide:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- 2. TABLET VE MOBİL (830px ve altı) - KARE SLIDER DÜZENİ --- */
@media (max-width: 830px) {
  .premium-gallery .swiper-wrapper {
    display: flex;
    gap: 25px;
    padding: 0 15px; /* Slider'ın kenarlarında boşluk bırakmak için */
  }

  .premium-gallery .swiper-slide {
    width: 250px !important;
    height: 250px !important;
    flex-shrink: 0;
    grid-area: unset !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .premium-gallery .swiper-button-next,
  .premium-gallery .swiper-button-prev {
    display: flex !important;
    color: var(--primary-gold);
    --swiper-navigation-size: 30px;
  }
  .premium-gallery .swiper-pagination {
    display: block !important;
    bottom: -5px !important; /* Noktaların konumunu ayarla */
  }
  .premium-gallery .swiper-pagination-bullet-active {
    background: var(--primary-gold);
  }
  .premium-gallery .swiper-wrapper:hover .swiper-slide:not(:hover) {
    transform: none;
    opacity: 1;
  }
}

/* ==================================================
 * HİZMET DETAY SAYFASI - BÜTÜNLEŞİK TASARIM
 * ================================================== */

/* HERO BÖLÜMÜ (Bu bölüm genel olarak aynı kalabilir) */
.page-hero-section {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  min-height: 50vh;
}
.page-hero-section .video-overlay {
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(26, 26, 26, 0.6));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.page-hero-section .container {
  position: relative;
  z-index: 2;
}
.page-hero-section .page-title {
  font-family: "Forum", serif;
  font-size: 4rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.page-hero-section .page-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  opacity: 0.9;
  max-width: 700px;
  margin: 1rem auto 0;
}

/* YENİ HİZMET GÖSTERİM BÖLÜMLERİ */
.services-wrapper {
  background-color: var(--marble-white); /* Sitenin ana açık rengi */
}

.service-display-section {
  padding: 100px 0;
  border-bottom: 1px solid #e5e5e5;
}

.services-wrapper .service-display-section:last-of-type {
  border-bottom: none;
}

.service-image-container img {
  border-radius: 8px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.service-image-container img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.25);
}

.service-details-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-gold);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: var(--primary-gold);
  border-radius: 50%;
  margin-bottom: 30px;
  /* İkonu ana sayfa ile aynı stile getirir */
}

.service-details-card .service-title {
  font-family: "Forum", serif;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.service-details-card .service-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.cta-button-small {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-family: "Forum", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.25);
}

.cta-button-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

/* MOBİL UYUMLULUK */
@media (max-width: 993px) {
  .service-display-section .service-image-container {
    margin-bottom: 40px;
  }
  .page-hero-section .page-title {
    font-size: 3rem;
  }

  .service-details-card {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .service-display-section {
    padding: 60px 0;
  }
  .page-hero-section .page-title {
    font-size: 2.5rem;
  }

  .service-details-card {
    margin-top: 50px !important;
  }

  .service-details-card .service-title {
    font-size: 2rem;
  }
}

/* ==================================================
 * İLETİŞİM SAYFASI STİLLERİ
 * ================================================== */

/* 1. ANA BÖLÜM YAPISI
-------------------------------------------------- */
.contact-main-section {
  padding: 100px 0;
  background-color: var(--marble-white);
}

.contact-section-title {
  font-family: "Forum", serif;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}
.contact-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-gold);
}

.contact-section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.contact-map-section iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
}

/* 2. FORM STİLLERİ
-------------------------------------------------- */
.form-placeholder {
  border: 2px dashed #ddd;
  padding: 80px 40px;
  text-align: center;
  color: #888;
  font-style: italic;
  border-radius: 8px;
}

/* Contact Form 7 gibi bir eklenti için genel stil tanımlamaları */
.contact-form-wrapper .wpcf7-form-control {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  background-color: #fff;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.contact-form-wrapper textarea.wpcf7-form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form-wrapper .wpcf7-submit {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  padding: 15px 45px;
  border-radius: 5px;
  text-decoration: none;
  font-family: "Forum", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  border: none;
  cursor: pointer;
}

.contact-form-wrapper .wpcf7-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

/* 3. İLETİŞİM BİLGİ BLOKLARI
-------------------------------------------------- */
.contact-info-wrapper {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.1);
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.contact-info-block:last-child {
  margin-bottom: 0;
}

.contact-icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: var(--primary-gold);
  border-radius: 50%;
  margin-right: 20px;
}
.contact-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.contact-text-content h4 {
  font-family: "Forum", serif;
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 0 0 5px 0;
}

.contact-text-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

.contact-text-content a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-text-content a:hover {
  color: var(--primary-gold);
}

/* 4. HARİTA BÖLÜMÜ
-------------------------------------------------- */
.contact-map-section {
  line-height: 0; /* iframe altındaki olası boşluğu kaldırır */
}

/* 5. MOBİL UYUMLULUK
-------------------------------------------------- */
@media (max-width: 991.98px) {
  .contact-info-wrapper {
    margin-top: 50px;
  }
}

/* ==================================================
 * HAKKIMIZDA SAYFASI STİLLERİ (page-about.php)
 * ================================================== */

/* 2. ANA HİKAYE BÖLÜMÜ
-------------------------------------------------- */
.about-story-section {
  padding: 100px 0;
  background-color: var(--marble-white);
}

.about-story-image img {
  border-radius: 8px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
}

.section-title-small {
  font-family: "Forum", serif;
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-gold);
  display: inline-block;
}

.about-story-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
}

/* 3. FELSEFE BÖLÜMÜ (MİSYON-VİZYON)
-------------------------------------------------- */
.philosophy-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.philosophy-card {
  text-align: center;
  padding: 30px;
  height: 100%; /* Kartların aynı hizada durması için */
}

.philosophy-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: var(--primary-gold);
  border-radius: 50%;
}

.philosophy-card h4 {
  font-family: "Forum", serif;
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.philosophy-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* 4. EKİP BÖLÜMÜ
-------------------------------------------------- */
.team-section {
  padding: 100px 0;
  background-color: var(--marble-white);
}

.team-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Kare resim alanı */
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: grayscale(50%); /* Hafif soluk başlangıç efekti */
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-info {
  padding: 25px 20px;
}

.team-name {
  font-family: "Forum", serif;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin: 0;
}

.team-title {
  font-size: 0.95rem;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 5px 0 0 0;
}

/* ==================================================
 * HAKKIMIZDA SAYFASI - RESPONSIVE STİLLER
 * ================================================== */

/* 1. TABLET GÖRÜNÜMÜ (992px ve altı)
-------------------------------------------------- */
@media (max-width: 991.98px) {
  /* HİKAYE BÖLÜMÜ */
  .about-story-section .about-story-image {
    margin-bottom: 40px; /* Resim ve metin alt alta geldiğinde araya boşluk koy */
    text-align: center; /* Resmi ortala */
  }

  .about-story-content {
    text-align: center; /* Metin içeriğini ortala */
  }

  .section-title-small {
    font-size: 2.4rem; /* Başlık fontunu biraz küçült */
  }

  /* FELSEFE BÖLÜMÜ */
  .philosophy-card {
    height: auto; /* Sabit yüksekliği kaldır ki kartlar düzgün sıralansın */
    margin-bottom: 30px;
  }

  /* EKİP BÖLÜMÜ */
  /* Bootstrap'in col-md-6 sınıfı sayesinde bu ekranda ekip kartları 2x2 olarak sıralanır. */
  /* Ekstra kurala genellikle gerek yoktur. */
}

/* 2. MOBİL GÖRÜNÜMÜ (768px ve altı)
-------------------------------------------------- */
@media (max-width: 767.98px) {
  /* GENEL BÖLÜM BOŞLUKLARI */
  .about-story-section,
  .philosophy-section,
  .team-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* HİKAYE BÖLÜMÜ */
  .section-title-small {
    font-size: 2.1rem;
  }

  .about-story-content p {
    font-size: 1rem;
  }

  /* FELSEFE BÖLÜMÜ */
  .philosophy-section .section-title {
    font-size: 2.2rem;
  }

  .philosophy-card h4 {
    font-size: 1.6rem;
  }

  /* EKİP BÖLÜMÜ */
  .team-section .section-title {
    font-size: 2.2rem;
  }

  .team-card {
    /* Kartların çok genişlemesini engellemek için */
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 3. KÜÇÜK MOBİL EKRANLAR (576px ve altı)
-------------------------------------------------- */
@media (max-width: 575.98px) {
  .section-title-small {
    font-size: 1.8rem;
  }

  .philosophy-card {
    padding: 20px;
  }

  .team-info {
    padding: 20px 15px;
  }

  .team-name {
    font-size: 1.4rem;
  }
}

/* ==================================================
 * ANA SAYFA - HERO VİDEO LOGO STİLLERİ
 * ================================================== */

/* Hero bölümünün kendisi, altındaki mutlak konumlandırılmış öğeler için referans noktası olmalı */
.hero-video-section {
  position: relative;
  display: flex; /* İçeriği ortalamak için flexbox kullanıyoruz */
  align-items: center;
  justify-content: center;
}

/* Logo için container */
.hero-logo-container {
  position: absolute; /* Hero bölümüne göre konumlandırılır */
  top: 50%; /* Dikeyde %50 aşağı indir */
  left: 50%; /* Yatayda %50 sağa kaydır */
  transform: translate(-50%, -50%); /* Tam olarak ortalamak için */
  z-index: 10; /* video-overlay'in üzerinde olmasını sağlar */
  max-width: 90%; /* Çok büyük ekranlarda logonun aşırı büyümesini engeller */
}

.hero-logo-container img {
  max-width: 400px; /* Logonun maksimum genişliği, bu değeri isteğinize göre değiştirin */
  width: 100%; /* .hero-logo-container'a sığmasını sağlar */
  height: auto; /* Oranını korur */
}

/* ==================================================
 * HERO SOSYAL MEDYA İKONLARI (YENİ)
 * ================================================== */

.hero-social-container {
  position: absolute;
  bottom: 80px; /* Scroll indicator'ın üstünde */
  right: 30px;
  z-index: 15; /* Video overlay'in üzerinde */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-social-icon:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.hero-social-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.hero-social-icon:hover svg {
  transform: scale(1.1);
}

/* MOBİL CİHAZLAR İÇİN HERO SOSYAL MEDYA
-------------------------------------------------- */
@media (max-width: 768px) {
  .hero-social-container {
    bottom: 100px; /* Scroll indicator için daha fazla boşluk */
    right: 15px;
    gap: 10px;
  }

  .hero-social-icon {
    width: 72px; /* Touch-friendly minimum boyut */
    height: 72px;
    background: rgba(0, 0, 0, 0.6); /* Mobilde daha belirgin arkaplan */
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .hero-social-icon svg {
    width: 18px;
    height: 18px;
  }

  /* Hover efektlerini touch cihazlar için optimize et */
  .hero-social-icon:active {
    transform: scale(0.95);
    background: var(--primary-gold);
    color: var(--primary-dark);
  }
}

@media (max-width: 480px) {
  .hero-social-container {
    bottom: 100px; /* Daha az alan kaplamak için yukarı taşı */
    right: 10px;
    gap: 8px;
  }

  .hero-social-icon {
    width: 56px; /* Biraz daha küçük ama hala touch-friendly */
    height: 56px;
    background: rgba(0, 0, 0, 0.7); /* Daha opak arkaplan */
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .hero-social-icon svg {
    width: 16px;
    height: 16px;
  }

  /* Çok küçük ekranlarda butonları yan yana getir (isteğe bağlı) */
  .hero-social-container.horizontal {
    flex-direction: row;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    gap: 12px;
  }
}

/* Scroll göstergesini logonun altına almak için (varsa) */
.scroll-indicator {
  bottom: 30px;
  z-index: 11; /* Logonun da üzerinde kalabilir */
}

/* MOBİL CİHAZLAR İÇİN AYARLAMA */
@media (max-width: 767.98px) {
  .hero-logo-container img {
    max-width: 250px; /* Mobilde logoyu biraz daha küçültelim */
  }
}

.hero-social-icon.whatsapp-hero {
  background: rgba(37, 211, 102, 0.2); /* WhatsApp yeşili ile transparan */
  border-color: rgba(37, 211, 102, 0.5);
}

.hero-social-icon.whatsapp-hero:hover,
.hero-social-icon.whatsapp-hero:active {
  background: #25d366; /* Tam WhatsApp yeşili */
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .hero-social-icon.whatsapp-hero {
    background: rgba(37, 211, 102, 0.8); /* Mobilde daha belirgin */
    border-color: rgba(37, 211, 102, 0.9);
  }
}

/* ==================================================
 * NAVBAR LOGO & MENÜ HİZALAMA (NİHAİ VERSİYON)
 * ================================================== */

/* 1. Navbar'a Gerekli Yüksekliği ve Geçişi Ver
-------------------------------------------------- */
.navbar-ancient-rome {
  /* Mevcut kurallarınız kalabilir: position, top, left, width, z-index, background-color... */
  display: flex; /* Dikey ortalama için flexbox'ı aktif et */
  align-items: center; /* İçindeki .container'ı dikeyde ortala */
  min-height: 130px; /* BÜYÜK LOGO İÇİN GEREKLİ ALANI SAĞLAR */
  padding: 15px 0; /* Padding'i dikeyde biraz azaltabiliriz */
  transition: background-color 0.4s ease-out, padding 0.4s ease-out,
    border-color 0.4s ease-out, min-height 0.4s ease-out;
}

/* Scroll sonrası navbar'ın küçülmesi */
.navbar-ancient-rome.navbar-scrolled {
  min-height: auto; /* Minimum yüksekliği kaldır, kendi içeriğine göre boyutlansın */
  padding: 10px 0;
}

/* 2. Container'ı Flexbox ile Hizalama Merkezi Yap
-------------------------------------------------- */
.navbar-ancient-rome .container {
  display: flex;
  align-items: center; /* BU KOMUT LOGO VE MENÜYÜ DİKEYDE HİZALAR */
  justify-content: space-between; /* Logoyu sola, menüyü sağa iter */
  width: 100%;
}

/* 3. Logo Linki ve Görseli İçin Boyutlandırma
-------------------------------------------------- */
/* Önceki position:absolute kurallarını tamamen kaldırıyoruz */
.navbar-ancient-rome .custom-logo-link {
  /* Bu alandaki position, top, left, z-index, background, padding, box-shadow kurallarını siliyoruz */
  /* Sadece geçiş efekti için bırakılabilir */
  transition: all 0.4s ease-out;
}

.navbar-ancient-rome .custom-logo {
  display: block;
  max-height: 90px; /* BAŞLANGIÇTAKİ BÜYÜK BOYUT */
  width: auto;
  transition: max-height 0.4s ease-out;
}

/* Scroll sonrası logo boyutu */
.navbar-ancient-rome.navbar-scrolled .custom-logo {
  max-height: 50px;
}

/* 4. Menü Çakışma Kuralını Kaldırma
-------------------------------------------------- */
/* ARTIK GEREKLİ OLMADIĞI İÇİN BU KURALI TAMAMEN SİLİN VEYA YORUM SATIRI YAPIN */
/*
@media (min-width: 992px) {
  .navbar-ancient-rome .navbar-collapse {
    padding-left: 220px; 
    transition: padding-left 0.4s ease-out;
  }
  .navbar-ancient-rome.navbar-scrolled .navbar-collapse {
    padding-left: 0;
  }
}
*/

/* ==========================================================================
   CUSTOM MOBILE SLIDER - SWIPER REPLACEMENT
   ========================================================================== */

/* MASAÜSTÜ GÖRÜNÜMÜ - GRID DÜZENİ (değişmez) */
@media (min-width: 1371px) {
  .premium-gallery .gallery-slider {
    overflow: visible;
  }

  .premium-gallery .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .premium-gallery .gallery-item {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
  }

  .premium-gallery .gallery-item.wide {
    grid-column: span 2;
  }

  .premium-gallery .gallery-item.tall {
    grid-row: span 2;
  }

  .premium-gallery .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .premium-gallery .gallery-container:hover .gallery-item:not(:hover) {
    transform: perspective(1000px) scale(0.95);
    opacity: 0.8;
  }

  .premium-gallery .gallery-item:hover {
    transform: perspective(1000px) scale(1.08);
    z-index: 10;
    opacity: 1;
  }

  .premium-gallery .slider-nav,
  .premium-gallery .slider-pagination {
    display: none !important;
  }
}

/* BÜYÜK MASAÜSTÜ GÖRÜNÜMÜ */
@media (max-width: 1370px) and (min-width: 1101px) {
  .premium-gallery .gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    grid-template-areas:
      "item1 item2 item2 item3"
      "item4 item5 item5 item3"
      "item6 item5 item5 item7"
      "item8 item8 item7 item7";
  }

  .premium-gallery .gallery-item:nth-child(1) {
    grid-area: item1;
  }
  .premium-gallery .gallery-item:nth-child(2) {
    grid-area: item2;
  }
  .premium-gallery .gallery-item:nth-child(3) {
    grid-area: item3;
  }
  .premium-gallery .gallery-item:nth-child(4) {
    grid-area: item4;
  }
  .premium-gallery .gallery-item:nth-child(5) {
    grid-area: item5;
  }
  .premium-gallery .gallery-item:nth-child(6) {
    grid-area: item6;
  }
  .premium-gallery .gallery-item:nth-child(7) {
    grid-area: item7;
  }
  .premium-gallery .gallery-item:nth-child(8) {
    grid-area: item8;
  }
}

/* ORTA MASAÜSTÜ GÖRÜNÜMÜ */
@media (max-width: 1100px) and (min-width: 831px) {
  .premium-gallery .gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .premium-gallery .gallery-item {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* MOBİL GÖRÜNÜM - CUSTOM SLIDER */
@media (max-width: 830px) {
  .premium-gallery .gallery-slider {
    position: relative;
    overflow: hidden;
    padding: 0 60px; /* Daha fazla padding - butonlar için alan */
  }

  .premium-gallery .gallery-container {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: center;
  }

  .premium-gallery .gallery-item {
    flex: 0 0 auto;
    width: 300px; /* Biraz daha büyük */
    height: 300px;
    margin-right: 40px; /* Daha fazla boşluk */
    border-radius: 12px; /* Daha yumuşak köşeler */
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .premium-gallery .gallery-item:last-child {
    margin-right: 40px; /* Son öğede de margin bırak */
  }

  .premium-gallery .gallery-item.active {
    transform: scale(1.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    z-index: 2;
  }

  /* Slider Navigation */
  .premium-gallery .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
  }

  .premium-gallery .slider-nav:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  }

  .premium-gallery .slider-nav:active {
    transform: translateY(-50%) scale(0.95);
  }

  .premium-gallery .slider-prev {
    left: 10px;
  }

  .premium-gallery .slider-next {
    right: 10px;
  }

  .premium-gallery .slider-nav svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-dark);
    transition: fill 0.3s ease;
  }

  .premium-gallery .slider-nav:hover svg {
    fill: var(--primary-dark);
  }

  /* Slider Pagination */
  .premium-gallery .slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
    gap: 8px;
  }

  .premium-gallery .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
  }

  .premium-gallery .slider-dot:hover {
    background: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
  }

  .premium-gallery .slider-dot.active {
    background: var(--primary-gold);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  }

  /* Touch indicators */
  .premium-gallery .gallery-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(250, 249, 247, 0.8) 0%,
      transparent 10%,
      transparent 90%,
      rgba(250, 249, 247, 0.8) 100%
    );
    z-index: 5;
  }
}

/* KÜÇÜK MOBİL AYARLAMALARI */
@media (max-width: 480px) {
  .premium-gallery .gallery-slider {
    padding: 0 50px; /* Daha fazla padding küçük ekranlarda da */
  }

  .premium-gallery .gallery-item {
    width: 270px; /* Küçük ekranlarda biraz daha küçük */
    height: 270px;
    margin-right: 35px; /* Orantılı boşluk */
  }

  .premium-gallery .gallery-item:last-child {
    margin-right: 35px; /* Tutarlılık için */
  }

  .premium-gallery .slider-nav {
    width: 40px;
    height: 40px;
  }

  .premium-gallery .slider-nav svg {
    width: 20px;
    height: 20px;
  }

  .premium-gallery .slider-prev {
    left: 8px;
  }

  .premium-gallery .slider-next {
    right: 8px;
  }

  .premium-gallery .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Grid özelliklerini mobilde sıfırla */
@media (max-width: 830px) {
  .premium-gallery .gallery-item.wide,
  .premium-gallery .gallery-item.tall,
  .premium-gallery .gallery-item.large {
    grid-column: unset !important;
    grid-row: unset !important;
  }
}

/* ==========================================================================
   WPML DİL DEĞİŞTİRİCİ STİLLERİ
   ========================================================================== */

/* 1. MASAÜSTÜ DİL DEĞİŞTİRİCİ
   -------------------------------------------------- */

/* Navbar yapısı güncellemesi */
.navbar-ancient-rome .navbar-nav-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 2rem;
}

.navbar-ancient-rome .navbar-nav {
  margin: 0;
}

/* Dil değiştirici container */
.navbar-language-switcher {
  position: relative;
}

/* Dil toggle butonu */
.navbar-language-switcher .language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-family: "Forum", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-language-switcher .language-toggle:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Scroll sonrası buton stili */
.navbar-ancient-rome.navbar-scrolled .language-toggle {
  color: var(--primary-dark);
  text-shadow: none;
  border-color: rgba(26, 26, 26, 0.2);
}

.navbar-ancient-rome.navbar-scrolled .language-toggle:hover {
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

/* Dropdown oku */
.language-toggle .dropdown-arrow {
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.language-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dil dropdown menüsü */
.navbar-language-switcher .language-dropdown {
  background: var(--marble-white);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 8px;
  min-width: 160px;
}

/* Dil dropdown item */
.navbar-language-switcher .language-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: var(--primary-dark);
  font-family: "Forum", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-language-switcher .language-item:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
  transform: translateX(4px);
}

.navbar-language-switcher .language-item .language-name {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 2. MOBİL DİL DEĞİŞTİRİCİ
   -------------------------------------------------- */

.mobile-language-switcher {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.mobile-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-gold);
  font-family: "Forum", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-section-title svg {
  color: var(--primary-gold);
}

.mobile-language-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-language-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-family: "Forum", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-language-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateX(8px);
}

.mobile-language-item.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-dark);
}

.mobile-language-item.active:hover {
  transform: translateX(0);
  background: var(--primary-gold);
  color: var(--primary-dark);
}

.mobile-language-item .language-name {
  flex: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.mobile-language-item .active-indicator {
  color: var(--primary-dark);
  margin-left: auto;
}

/* 3. RESPONSIVE AYARLAR
   -------------------------------------------------- */

/* Tablet ve küçük ekranlar */
@media (max-width: 991.98px) {
  .navbar-language-switcher {
    display: none; /* Mobil menüde zaten var */
  }
}

/* Büyük ekranlar için ek stiller */
@media (min-width: 1200px) {
  .navbar-nav-wrapper {
    gap: 2.5rem;
  }

  .language-toggle {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Küçük mobil ekranlar */
@media (max-width: 480px) {
  .mobile-language-item {
    padding: 10px 12px;
  }

  .mobile-section-title {
    font-size: 1.1rem;
  }
}

/* 4. ANİMASYONLAR VE GEÇİŞLER
   -------------------------------------------------- */

/* Dropdown açılma animasyonu */
.navbar-language-switcher .language-dropdown {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-language-switcher .dropdown.show .language-dropdown {
  opacity: 1;
  transform: translateY(0);
}

/* Mobil dil listesi giriş animasyonu */
.mobile-language-item {
  opacity: 0;
  transform: translateX(-20px);
  animation: mobileLanguageIn 0.4s ease forwards;
}

.mobile-language-item:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-language-item:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-language-item:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-language-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes mobileLanguageIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 5. ERİŞİLEBİLİRLİK İYİLEŞTİRMELERİ
   -------------------------------------------------- */

/* Focus durumları */
.language-toggle:focus,
.language-item:focus,
.mobile-language-item:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* High contrast mode desteği */
@media (prefers-contrast: high) {
  .language-toggle,
  .mobile-language-item {
    border-width: 2px;
  }

  .language-dropdown {
    border-width: 2px;
  }
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
  .language-toggle,
  .language-item,
  .mobile-language-item,
  .dropdown-arrow {
    transition: none;
  }

  .mobile-language-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==================================================
 * İLETİŞİM SAYFASI SOSYAL MEDYA STİLLERİ - YAN YANA DÜZENİ
 * ================================================== */

.contact-social-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.contact-social-title {
  font-family: "Forum", serif;
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Yan yana sosyal medya linkleri */
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  color: var(--primary-gold);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-social-link:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.1);
  border-color: var(--primary-gold);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.contact-social-link svg {
  transition: transform 0.3s ease;
}

.contact-social-link:hover svg {
  transform: scale(1.1);
}

/* Mobil uyumluluk */
@media (max-width: 576px) {
  .contact-social-links {
    gap: 12px;
    justify-content: flex-start;
  }

  .contact-social-link {
    width: 45px;
    height: 45px;
  }

  .contact-social-link svg {
    width: 18px;
    height: 18px;
  }
}

/* Küçük mobil cihazlar */
@media (max-width: 480px) {
  .contact-social-links {
    gap: 10px;
  }

  .contact-social-link {
    width: 42px;
    height: 42px;
  }

  .contact-social-link svg {
    width: 16px;
    height: 16px;
  }
}

/* ==================================================
 * CONTACT FORM 7 - SİTE TEMASI UYUMLU STİLLER
 * ================================================== */

/* Form container genel stilleri */
.contact-form-wrapper .wpcf7-form {
  max-width: 100%;
}

/* Form satırları */
.cf7-form-row {
  margin-bottom: 25px;
}

.cf7-form-row-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form grup stilleri */
.cf7-form-group {
  width: 100%;
}

/* Input ve textarea genel stilleri */
.cf7-input,
.cf7-textarea {
  width: 100% !important;
  padding: 18px 20px !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 8px !important;
  background-color: #f8f9fa !important;
  font-family: "Forum", sans-serif !important;
  font-size: 1rem !important;
  color: var(--primary-dark) !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Placeholder stilleri */
.cf7-input::placeholder,
.cf7-textarea::placeholder {
  color: #6c757d !important;
  font-style: italic;
  opacity: 1;
}

/* Focus durumu */
.cf7-input:focus,
.cf7-textarea:focus {
  border-color: var(--primary-gold) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
  transform: translateY(-2px);
}

/* Textarea özel ayarları */
.cf7-textarea {
  min-height: 100px !important;
  resize: vertical !important;
  font-family: "Forum", sans-serif !important;
  line-height: 1.6 !important;
}

/* Submit butonu */
.cf7-submit {
  background-color: var(--primary-gold) !important;
  color: var(--primary-dark) !important;
  padding: 18px 45px !important;
  border-radius: 8px !important;
  border: none !important;
  font-family: "Forum", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3) !important;
  outline: none !important;
}

.cf7-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4) !important;
  background-color: #c7a532 !important;
}

.cf7-submit:active {
  transform: translateY(-1px) !important;
}

/* Submit satırı ortalama */
.cf7-submit-row {
  text-align: left;
  margin-top: 35px;
}

/* Hata mesajları */
.wpcf7-not-valid-tip {
  color: #dc3545 !important;
  font-size: 0.875rem !important;
  margin-top: 8px !important;
  font-family: "Forum", sans-serif !important;
  font-style: italic;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

/* Başarı ve hata mesajları */
.wpcf7-mail-sent-ok {
  background-color: #d4edda !important;
  color: #155724 !important;
  border: 1px solid #c3e6cb !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  margin-bottom: 20px !important;
  font-family: "Forum", sans-serif !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  margin-bottom: 20px !important;
  font-family: "Forum", sans-serif !important;
}

.wpcf7-spam-blocked {
  background-color: #fff3cd !important;
  color: #856404 !important;
  border: 1px solid #ffeaa7 !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  margin-bottom: 20px !important;
  font-family: "Forum", sans-serif !important;
}

/* Yükleme durumu */
.wpcf7-form.submitting .cf7-submit {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

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

/* Tablet görünümü */
@media (max-width: 991.98px) {
  .cf7-form-row-double {
    gap: 15px;
  }

  .cf7-input,
  .cf7-textarea {
    padding: 16px 18px !important;
  }

  .cf7-submit {
    padding: 16px 40px !important;
    font-size: 1rem !important;
  }
}

/* Mobil görünümü */
@media (max-width: 767.98px) {
  .cf7-form-row-double {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cf7-form-row {
    margin-bottom: 20px;
  }

  .cf7-input,
  .cf7-textarea {
    padding: 15px 16px !important;
    font-size: 16px !important; /* iOS zoom'u engellemek için */
  }

  .cf7-textarea {
    min-height: 100px !important;
  }

  .cf7-submit {
    width: 100%;
    padding: 16px 30px !important;
    font-size: 1rem !important;
  }

  .cf7-submit-row {
    text-align: center;
    margin-top: 30px;
  }
}

/* Küçük mobil */
@media (max-width: 575.98px) {
  .cf7-form-row {
    margin-bottom: 18px;
  }

  .cf7-input,
  .cf7-textarea {
    padding: 14px 15px !important;
  }

  .cf7-submit {
    padding: 15px 25px !important;
    letter-spacing: 1px !important;
  }
}

/* WhatsApp butonu - özel yeşil stil */
.contact-social-link.whatsapp-link {
  background: #25d366; /* WhatsApp yeşili */
  color: #ffffff;
  border-color: #25d366;
}

.contact-social-link.whatsapp-link:hover {
  background: #128c7e; /* Daha koyu yeşil */
  color: #ffffff;
  border-color: #128c7e;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Küçük mobil cihazlar */
@media (max-width: 480px) {
  .contact-social-links {
    gap: 10px;
  }

  .contact-social-link {
    width: 42px;
    height: 42px;
  }

  .contact-social-link svg {
    width: 16px;
    height: 16px;
  }
}

/* 2. MOBİL DİL DEĞİŞTİRİCİ - DROPDOWN VERSİYONU
   -------------------------------------------------- */

.mobile-language-switcher {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: center;
}

.mobile-dropdown {
  position: relative;
  display: inline-block;
}

/* Mobil dil toggle butonu */
.mobile-language-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: var(--text-light);
  font-family: "Forum", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  outline: none;
}

.mobile-language-toggle:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.mobile-language-toggle:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Mobil dropdown oku */
.mobile-language-toggle .dropdown-arrow {
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.mobile-language-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobil dil dropdown menüsü */
.mobile-language-dropdown {
  background: var(--primary-dark);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  margin-top: 8px;
  min-width: 160px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Mobil dil dropdown item */
.mobile-language-dropdown .mobile-language-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: var(--text-light);
  font-family: "Forum", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}

.mobile-language-dropdown .mobile-language-item:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
  transform: translateX(4px);
}

.mobile-language-dropdown .mobile-language-item .language-name {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Dropdown açılma animasyonu */
.mobile-dropdown .mobile-language-dropdown {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.mobile-dropdown.show .mobile-language-dropdown {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* Mobil dil giriş animasyonu */
.mobile-language-dropdown .mobile-language-item {
  opacity: 0;
  transform: translateX(-20px);
  animation: mobileDropdownIn 0.4s ease forwards;
}

.mobile-language-dropdown .mobile-language-item:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-language-dropdown .mobile-language-item:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-language-dropdown .mobile-language-item:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-language-dropdown .mobile-language-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes mobileDropdownIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
  .mobile-language-toggle,
  .mobile-language-item {
    transition: none;
  }

  .mobile-language-dropdown .mobile-language-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .mobile-dropdown .mobile-language-dropdown {
    transition: none;
  }
}

/* Küçük mobil ekranlar */
@media (max-width: 480px) {
  .mobile-language-toggle {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .mobile-language-dropdown {
    min-width: 140px;
  }
  
  .mobile-language-dropdown .mobile-language-item {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}