﻿/* ===========================================================
   T&Y Group – Modern Responsive CSS
   ============================================= */

/* ----------- Değişkenler ----------- */
:root{
  --primary:#16a34a;
  --primary-dark:#15803d;
  --muted:#4b5563;
  --bg:#fdfdfd;
  --surface:#ffffff;
  --accent:#111827;
}

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

/* Tüm elementlerin genişliğini kontrol et */
*, *::before, *::after {
  max-width: 100%;
  box-sizing: border-box;
}

/* HTML ve Body - Birleştirilmiş tanım */
html, body {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
}

/* Tüm wrapper elementler için overflow kontrolü */
.site-header,
.site-footer,
.hero-section,
.services-section,
.contact-section,
.about-wrapper,
.cards-section,
.page-banner,
.contact-wrapper,
.contact-info-panel,
.contact-form {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: none;
}

body::before{
  content:'';
  position:fixed;
  top:0;
  left:0;
  width:100%;
  max-width:100%;
  height:100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(22, 163, 74, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(22, 163, 74, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(22, 163, 74, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(22, 163, 74, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(22, 163, 74, 0.09) 0%, transparent 45%);
  filter:blur(80px);
  z-index:-1;
  pointer-events:none;
  overflow:hidden;
}

/* ----------- Container ----------- */
.container{
  width:90%;
  max-width:1140px;
  margin:0 auto;
  box-sizing:border-box;
  padding-left:15px;
  padding-right:15px;
}

/* ===========================================================
   HEADER
   ========================================================== */
.site-header{
  background:var(--surface);
  padding:2px 0;
  position:relative;
  z-index:50;
  border-bottom:1px solid rgba(15,23,42,0.05);
  box-shadow:0 8px 20px rgba(0,0,0,0.02);
  height:60px;
  max-height:60px;
  display:flex;
  align-items:center;
  box-sizing:border-box;
  overflow:hidden;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  height:100%;
  box-sizing:border-box;
}

.site-title{
  font-weight:700;
  font-size:24px;
  text-decoration:none;
  color:var(--primary);
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:12px;
  white-space:nowrap;
  height:100%;
  max-height:60px;
  box-sizing:border-box;
  overflow:hidden;
}
.site-logo{
  display:inline-block !important;
  vertical-align:middle;
  flex-shrink:0;
  max-width:200px !important;
  width:auto !important;
  height:56px !important;
  max-height:56px !important;
  object-fit:contain !important;
  margin:0;
  box-sizing:border-box;
}
.site-title-text{
  display:inline-block !important;
  white-space:nowrap;
}
@media(max-width:768px){
  .site-title-text{
    font-size:18px;
  }
}

/* Menü */
.primary-nav .menu{
  display:flex;
  list-style:none;
  gap:26px;
}

.primary-nav .menu li{
  position:relative;
}
.primary-nav .menu li a{
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  position:relative;
  z-index:1;
}
.primary-nav .menu li a:hover{
  color:var(--primary);
}

/* Menü Link Önizleme Penceresi */
.nav-preview{
  position:fixed;
  width:400px;
  max-height:281px;
  height:281px;
  background:var(--surface);
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,0.3),0 0 0 1px rgba(255,255,255,0.1);
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  transform:translateY(-10px) scale(0.95);
  transition:opacity 0.3s cubic-bezier(0.4,0,0.2,1),visibility 0.3s ease,transform 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index:10000;
  pointer-events:none;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
}
html[data-theme="dark"] .nav-preview{
  border-color:rgba(255,255,255,0.05);
  box-shadow:0 20px 60px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.05);
}
.nav-preview.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
.nav-preview-content{
  position:relative;
  width:400px;
  height:281px;
  max-height:281px;
  overflow:hidden;
}
.nav-preview-content iframe{
  width:1400px;
  height:983px;
  border:none;
  transform:scale(0.286);
  transform-origin:top left;
  pointer-events:none;
  position:absolute;
  top:0;
  left:0;
  /* Masaüstü görünümü için minimum genişlik */
  min-width:1400px;
}
.nav-preview-blur{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:140px;
  background:linear-gradient(to top, var(--surface) 0%, rgba(var(--surface-rgb, 255,255,255), 0.5) 25%, transparent 100%);
  pointer-events:none;
  z-index:2;
}
.nav-preview-blur::before{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:100%;
  /* Aşağıdan yukarıya doğru azalan blur efekti - yarısına kadar (187.5px) */
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  /* Mask ile blur'un yumuşak geçişle azalması */
  mask-image:linear-gradient(to top, 
    black 0%, 
    rgba(0,0,0,1) 10%, 
    rgba(0,0,0,0.85) 30%, 
    rgba(0,0,0,0.6) 50%, 
    rgba(0,0,0,0.3) 70%, 
    transparent 100%
  );
  -webkit-mask-image:linear-gradient(to top, 
    black 0%, 
    rgba(0,0,0,1) 10%, 
    rgba(0,0,0,0.85) 30%, 
    rgba(0,0,0,0.6) 50%, 
    rgba(0,0,0,0.3) 70%, 
    transparent 100%
  );
  pointer-events:none;
}
html[data-theme="dark"] .nav-preview-blur{
  background:linear-gradient(to top, var(--surface) 0%, rgba(15,23,42,0.7) 25%, transparent 100%);
}

/* Mobilde önizleme penceresini gizle */
@media(max-width:768px){
  .nav-preview{
    display:none !important;
  }
}
.nav-preview-loading{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  color:var(--muted);
  font-size:14px;
  z-index:3;
  text-align:center;
  padding:1rem;
  background:var(--surface);
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  white-space:nowrap;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
  z-index:10002;
  pointer-events: auto !important;
}
.theme-toggle{
  display:inline-flex;
  border:1px solid rgba(15,23,42,0.15);
  border-radius:999px;
  overflow:hidden;
  background:var(--surface);
  position:relative;
  z-index:10002;
  pointer-events: auto !important;
}
.theme-option{
  border:0;
  background:transparent;
  padding:6px 10px;
  min-width:40px;
  cursor:pointer;
  font-size:1rem;
  line-height:1;
  color:var(--muted);
  transition:background 0.2s ease, color 0.2s ease;
  position:relative;
  z-index:10003;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.theme-option.active{
  background:var(--primary);
  color:#fff;
}
.theme-option:not(.active):hover{
  background:rgba(15,23,42,0.05);
}
html[data-theme="dark"] .theme-toggle{
  border-color:rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.04);
}
html[data-theme="dark"] .theme-option{
  color:#cbd5f5;
}
html[data-theme="dark"] .theme-option:not(.active):hover{
  background:rgba(255,255,255,0.08);
}

.mobile-toggle{
  display:none;
  width:40px;
  height:40px;
  background:var(--surface);
  border:1px solid rgba(15,23,42,0.1);
  border-radius:8px;
  cursor:pointer;
  position:relative;
  padding:0;
  transition:all 0.3s ease;
  z-index:10001;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.mobile-toggle:hover{
  background:rgba(22,163,74,0.1);
  border-color:var(--primary);
}
.mobile-toggle:active{
  transform:scale(0.95);
}
.mobile-toggle span{
  display:block;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:22px;
  height:2px;
  background:var(--muted);
  border-radius:2px;
  transition:all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.mobile-toggle span:nth-child(1){
  transform:translate(-50%, calc(-50% - 6px));
}
.mobile-toggle span:nth-child(2){
  transform:translate(-50%, -50%);
}
.mobile-toggle span:nth-child(3){
  transform:translate(-50%, calc(-50% + 6px));
}
.mobile-toggle.active span:nth-child(1){
  transform:translate(-50%, -50%) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2){
  opacity:0;
  transform:translate(-50%, -50%) scale(0);
}
.mobile-toggle.active span:nth-child(3){
  transform:translate(-50%, -50%) rotate(-45deg);
}
html[data-theme="dark"] .mobile-toggle{
  border-color:rgba(255,255,255,0.15);
  background:rgba(255,255,255,0.05);
}
html[data-theme="dark"] .mobile-toggle:hover{
  background:rgba(52,211,153,0.15);
  border-color:var(--primary);
}
html[data-theme="dark"] .mobile-toggle span{
  background:#cbd5f5;
}

/* ===========================================================
   HERO
   ========================================================== */
.hero-section{
  padding:80px 0;
  position:relative;
  overflow:hidden;
  background:linear-gradient(120deg, rgba(15,23,42,0.9), rgba(22,163,74,0.25));
}

.hero-grid{
  display:flex;
  align-items:center;
  gap:40px;
}

.hero-text h1{
  font-size:48px;
  margin-bottom:18px;
  color:#f8fafc;
}

.hero-text p{
  font-size:18px;
  color:#c7f9e3;
  margin-bottom:20px;
}

/* CTA */
.btn-primary{
  display:inline-block;
  background:var(--primary);
  padding:12px 24px;
  color:white;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
}

.hero-media img{
  width:100%;
  border-radius:20px;
  box-shadow:0 18px 40px rgba(36,48,80,0.12);
}

/* Dekoratif blob */
.hero-decor{
  position:absolute;
  right:-140px;
  top:-120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  opacity:0.15;
  filter:blur(25px);
  z-index:0;
}

/* ===========================================================
   HİZMETLER
   ========================================================== */
.services-section{
  padding:60px 0;
}

.section-title{
  text-align:center;
  font-size:32px;
  margin-bottom:40px;
}

/* Eski services-grid tanımı kaldırıldı - yeni tanım aşağıda */

.service-card{
  background:#111827;
  padding:24px;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  color:#e2e8f0;
  position:relative;
  overflow:hidden;
}
.service-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  pointer-events:none;
  z-index:0;
}

.service-card h3{
  margin-bottom:12px;
  font-size:20px;
  color:#e2e8f0;
  position:relative;
  z-index:1;
}
.service-card p{
  color:#d1fae5;
  position:relative;
  z-index:1;
}

/* ===========================================================
   CTA BÖLÜMÜ
   ========================================================== */
.cta-section{
  background:linear-gradient(90deg,var(--accent),#b7c2ff);
  padding:45px 20px;
  text-align:center;
  color:white;
  border-radius:18px;
  margin:60px auto 80px auto;
}

.btn-secondary{
  background:rgba(255,255,255,0.12);
  padding:12px 20px;
  display:inline-block;
  color:white;
  border-radius:8px;
  text-decoration:none;
  margin-top:12px;
}

/* ===========================================================
   SAYFA TEMPLATE
   ========================================================== */
.page-banner{
  padding:70px 0;
  text-align:center;
  background:white;
  border-bottom:1px solid #e2e4f0;
}
html[data-theme="dark"] .page-banner{
  background:var(--surface);
  border-bottom:1px solid rgba(255,255,255,0.08);
  color:#e6f4ea;
}
html[data-theme="dark"] .page-banner h1{
  color:#f8fafc;
}
html[data-theme="dark"] .page-banner .section-label{
  color:var(--primary);
}

.page-banner .eyebrow{
  text-transform:uppercase;
  letter-spacing:0.3em;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  margin-bottom:12px;
  display:inline-block;
}

.page-banner h1{
  font-size:36px;
  margin-bottom:8px;
}

.page-content{
  padding:40px 0;
  font-size:18px;
}

/* ===========================================================
   FORM
   ========================================================== */
.contact-form{
  display:flex;
  flex-direction:column;
  gap:16px;
  max-width:500px;
}

.contact-form input,
.contact-form textarea{
  padding:12px;
  border:1px solid #c6c8d1;
  border-radius:8px;
}

.contact-form button{
  width:max-content;
}

.contact-section{
  padding:60px 0 100px;
}

.contact-wrapper{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:2.5rem;
  align-items:start;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.contact-info-panel{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}
html[data-theme="dark"] .contact-info-panel{
  background:var(--surface);
  padding:1.5rem;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.1);
}

.panel-headline h2{
  margin-bottom:0.35rem;
  font-size:28px;
  color:var(--text);
}

.panel-headline p{
  color:var(--muted);
  margin:0;
}
html[data-theme="dark"] .panel-headline h2{
  color:#f8fafc !important;
}
html[data-theme="dark"] .panel-headline p{
  color:#e2e8f0 !important;
}
html[data-theme="dark"] .contact-info-panel .panel-headline h2{
  color:#f8fafc !important;
}
html[data-theme="dark"] .contact-info-panel .panel-headline p{
  color:#e2e8f0 !important;
}

.contact-info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:1rem;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.contact-card{
  background:#111827;
  border-radius:16px;
  padding:1.5rem;
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 20px 40px rgba(0,0,0,0.2);
  color:#e2e8f0;
  position:relative;
  overflow:hidden;
}
.contact-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  pointer-events:none;
  z-index:0;
}

.contact-card .icon{
  font-size:32px;
  margin-bottom:0.75rem;
  color:#e2e8f0;
  position:relative;
  z-index:1;
}

.contact-card h3{
  margin:0 0 0.25rem;
  color:#e2e8f0;
  position:relative;
  z-index:1;
}

.contact-card a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
  position:relative;
  z-index:1;
}

.contact-card p{
  margin:0;
  color:#d1fae5;
  line-height:1.5;
  position:relative;
  z-index:1;
}

.contact-highlights{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}

.contact-highlights li{
  position:relative;
  padding-left:1.5rem;
  color:var(--muted);
}
html[data-theme="dark"] .contact-highlights li{
  color:#e2e8f0 !important;
}
html[data-theme="dark"] .contact-info-panel .contact-highlights li{
  color:#e2e8f0 !important;
}
html[data-theme="dark"] .contact-info-panel .contact-highlights{
  padding-top:0.5rem;
  margin-top:0.5rem;
}

.contact-highlights li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:0;
  color:var(--primary);
  font-weight:600;
}

.contact-form-card{
  background:#fff;
  border-radius:18px;
  padding:2rem;
  box-shadow:0 25px 45px rgba(15,23,42,0.08);
  border:1px solid rgba(15,23,42,0.05);
}
html[data-theme="dark"] .contact-form-card{
  background:var(--surface);
  color:#e6f4ea;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 25px 45px rgba(8,12,16,0.65);
}
html[data-theme="dark"] .contact-form-card input,
html[data-theme="dark"] .contact-form-card textarea,
html[data-theme="dark"] .contact-form-card select{
  background:rgba(15,23,42,0.35);
  color:#e6f4ea;
  border:1px solid rgba(255,255,255,0.15);
}
html[data-theme="dark"] .contact-form-card input::placeholder,
html[data-theme="dark"] .contact-form-card textarea::placeholder{
  color:rgba(230,244,234,0.7);
}

.contact-form{
  max-width:none;
}

.contact-form .form-row{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  align-items:flex-start;
}

.contact-form .form-group{
  display:flex;
  flex-direction:column;
  flex:1;
  align-items:stretch;
}

.contact-form .form-group label{
  font-weight:600;
  margin-bottom:0.35rem;
  color:#1f2937;
  line-height:1.5;
  display:block;
  min-height:1.5rem;
}

.contact-form .form-group label.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
  min-height:0;
  height:0;
}

/* sr-only label olan form-group'lar için boş label yüksekliği kadar boşluk */
.contact-form .form-group:has(label.sr-only)::before{
  content:'';
  display:block;
  height:1.5rem;
  margin-bottom:0.35rem;
  flex-shrink:0;
}

/* :has() desteklenmeyen tarayıcılar için fallback - sr-only label'dan sonra boşluk */
@supports not selector(:has(*)){
  .contact-form .form-group label.sr-only{
    position:relative;
    width:auto;
    height:auto;
    padding:0;
    margin:0 0 0.35rem 0;
    overflow:visible;
    clip:auto;
    white-space:normal;
    border:0;
    min-height:1.5rem;
    height:auto;
    opacity:0;
    pointer-events:none;
  }
}
html[data-theme="dark"] .contact-form .form-group label{
  color:#e2e8f0;
}

.contact-form .form-group input,
.contact-form .form-group textarea{
  width:100%;
  background:rgba(15,23,42,0.02);
}

.contact-form .form-group textarea{
  min-height:140px;
}

.contact-form .btn-primary.full-width{
  width:100%;
  text-align:center;
  margin-top:0.5rem;
}

.panel-headline-with-links{
  position:relative;
}

.panel-headline-content{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1rem;
  flex-wrap:wrap;
}

.panel-headline-text{
  flex:1;
}

.form-links-list{
  min-width:200px;
  flex-shrink:0;
}

.form-links-list h3{
  font-size:0.9rem;
  margin-bottom:0.5rem;
  color:var(--muted);
  font-weight:600;
}

.form-links-list ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}

.form-links-list a{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  color:var(--primary);
  text-decoration:none;
  font-size:0.9rem;
  font-weight:500;
  padding:0.4rem 0.6rem;
  border-radius:6px;
  transition:background 0.2s;
}

.form-links-list a:hover{
  background:rgba(22, 163, 74, 0.1);
}

.contact-form.extended select,
.contact-form.extended input,
.contact-form.extended textarea{
  border:1px solid #dce0ea;
  background:#fff;
}

.contact-form.extended select{
  appearance:none;
  padding:0.85rem 1rem;
}

.option-grid{
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem;
}

.option-grid .option{
  display:flex;
  align-items:center;
  gap:0.5rem;
  padding:0.75rem 1rem;
  border:1px solid rgba(15,23,42,0.12);
  border-radius:10px;
  cursor:pointer;
  background:#fff;
  flex:1 1 180px;
  transition:border-color .2s ease, box-shadow .2s ease;
  color:#1f2937;
}
html[data-theme="dark"] .option-grid .option{
  background:#1e293b;
  border-color:rgba(255,255,255,0.15);
  color:#e2e8f0;
}
html[data-theme="dark"] .option-grid .option span{
  color:#e2e8f0;
}

.option-grid .option:hover{
  border-color:var(--primary);
  box-shadow:0 8px 16px rgba(15,23,42,0.08);
}
html[data-theme="dark"] .option-grid .option:hover{
  border-color:var(--primary);
  box-shadow:0 8px 16px rgba(0,0,0,0.3);
  background:#1e293b;
}

.option-grid .option input{
  accent-color:var(--primary);
}

.radio-grid .option,
.checkbox-grid .option{
  min-width:200px;
}

@media (max-width:640px){
  .contact-form .form-row{
    flex-direction:column;
  }
  .form-links-list{
    width:100%;
    margin-top:1rem;
  }
  .panel-headline-content{
    flex-direction:column !important;
  }
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ===========================================================
   FOOTER
   ========================================================== */
.site-footer{
  padding:30px 0;
  background:var(--surface);
  margin-top:80px;
  text-align:center;
  font-size:15px;
  border-top:1px solid rgba(15,23,42,0.05);
  color:var(--muted);
}
.footer-content-grid{
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  gap:3rem;
  margin-bottom:2rem;
  align-items:start;
  justify-items:start;
  width:100%;
}
.footer-logo-wrapper{
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
}
.footer-column{
  min-width:0;
}
.footer-column-center{
  justify-self:center;
  text-align:center;
}
.footer-column-right{
  justify-self:end;
  text-align:right;
}
.footer-logo{
  display:block;
}
html[data-theme="dark"] .footer-logo-wrapper{
  border-bottom-color:rgba(255,255,255,0.1);
}
@media(max-width:768px){
  .footer-content-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:2rem;
    justify-items:center;
  }
  .footer-logo-wrapper{
    justify-content:center;
    align-items:center;
    width:100%;
  }
  .footer-column-center,
  .footer-column-right{
    justify-self:center;
    text-align:center;
    width:100%;
  }
  .site-title{
    flex-direction:row !important;
    align-items:center !important;
  }
  .site-logo{
    display:inline-block !important;
  }
}

/* --------- FAQ Section --------- */
.faq-section{
  padding:80px 0;
  background:var(--bg);
}
.faq-wrapper{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:4rem;
  align-items:start;
}
.faq-left{
  position:sticky;
  top:100px;
}
.faq-label{
  display:block;
  font-size:0.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--muted);
  margin-bottom:1rem;
}
.faq-left h2{
  font-size:2.5rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:1.5rem;
  line-height:1.2;
}
.faq-left p{
  font-size:1rem;
  color:var(--muted);
  line-height:1.7;
}
.faq-right{
  width:100%;
}
.faq-accordion{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.faq-item{
  background:var(--surface);
  border-radius:12px;
  overflow:visible;
  border:1px solid rgba(15,23,42,0.1);
  transition:all 0.3s ease;
}
.faq-item:hover{
  border-color:var(--primary);
  box-shadow:0 4px 12px rgba(22,163,74,0.1);
}
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.5rem;
  background:transparent;
  border:none;
  text-align:left;
  cursor:pointer;
  transition:all 0.3s ease;
  position:relative;
}
.faq-question:hover{
  background:rgba(22,163,74,0.05);
}
.faq-q{
  font-size:1.2rem;
  font-weight:700;
  color:var(--primary);
  min-width:30px;
}
.faq-question-text{
  flex:1;
  font-size:1rem;
  font-weight:600;
  color:var(--accent);
}
.faq-toggle{
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  font-weight:700;
  transition:all 0.3s ease;
  flex-shrink:0;
}
.faq-question:hover .faq-toggle{
  background:var(--primary-dark);
  transform:scale(1.1);
}
.faq-question[aria-expanded="true"] .faq-toggle,
.faq-item[aria-expanded="true"] .faq-toggle{
  background:var(--primary-dark);
  transform:rotate(45deg);
}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.4s cubic-bezier(0.4,0,0.2,1),padding 0.4s ease,opacity 0.3s ease,visibility 0.3s ease;
  padding:0 1.5rem;
  opacity:0;
  transform-origin:top center;
  display:block !important;
  margin-top:0;
  visibility:hidden;
  box-sizing:border-box;
}
.faq-item[aria-expanded="true"] .faq-answer{
  padding:0 1.5rem 1.5rem !important;
  opacity:1 !important;
  transform-origin:top center;
  margin-top:0;
  visibility:visible !important;
  /* max-height JavaScript tarafından dinamik olarak ayarlanacak */
}
.faq-answer p{
  color:var(--muted);
  line-height:1.7;
  font-size:0.95rem;
  margin:0;
}
html[data-theme="dark"] .faq-item{
  background:var(--surface);
  border-color:rgba(255,255,255,0.1);
}
html[data-theme="dark"] .faq-item:hover{
  border-color:var(--primary);
  box-shadow:0 4px 12px rgba(52,211,153,0.15);
}
html[data-theme="dark"] .faq-question:hover{
  background:rgba(52,211,153,0.1);
}
html[data-theme="dark"] .faq-left h2{
  color:#f8fafc;
}
html[data-theme="dark"] .faq-left p,
html[data-theme="dark"] .faq-answer p{
  color:#cbd5f5;
}
html[data-theme="dark"] .faq-question-text{
  color:#e2e8f0 !important;
}
html[data-theme="dark"] .faq-q{
  color:#34d399 !important;
}
@media(max-width:900px){
  .faq-section{
    padding:60px 0;
  }
  .faq-wrapper{
    grid-template-columns:1fr;
    gap:3rem;
  }
  .faq-left{
    position:relative;
    top:0;
    text-align:center;
  }
  .faq-left h2{
    font-size:2rem;
  }
  .faq-question{
    padding:1.25rem;
  }
  .faq-q{
    min-width:25px;
    font-size:1rem;
  }
  .faq-question-text{
    font-size:0.95rem;
  }
  .faq-toggle{
    width:28px;
    height:28px;
    font-size:1rem;
  }
}

/* --------- Global Cards Section --------- */
.cards-section{
  padding:60px 0;
  background: var(--bg);
}

.cards-section h2{
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary);
}

.cards-grid .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.cards-grid .card-item .btn-primary:hover {
  background: var(--primary-dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cards-section .card-item {
  background: #111827;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.cards-section .card-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.cards-section .card-item .card-image-wrapper {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.cards-section .card-item .card-image-wrapper img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.cards-section .card-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
  position: relative;
  z-index: 1;
}

.cards-section .card-item p {
  color: #d1fae5;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.cards-section .card-item .btn-primary {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  margin-top: auto;
}
.cards-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:1rem;
  margin-bottom:2rem;
  flex-wrap:wrap;
}
.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:1.5rem;
}
.footer-social{
  display:flex;
  justify-content:center;
  gap:0.75rem;
  margin-bottom:1rem;
  flex-wrap:wrap;
}
.footer-social a{
  width:44px;
  height:44px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  border:1px solid rgba(15,23,42,0.08);
  transition:color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover{
  color:var(--primary);
  border-color:var(--primary);
  transform:translateY(-1px);
}
.footer-social svg{
  width:20px;
  height:20px;
  fill:currentColor;
}
html[data-theme="dark"] .footer-social a{
  border-color:rgba(255,255,255,0.15);
  color:#e2e8f0;
  background:rgba(255,255,255,0.04);
}
html[data-theme="dark"] .footer-social a:hover{
  border-color:var(--primary);
  color:var(--primary);
}
.empty-state{
  text-align:center;
  padding:3rem;
  background:#fff;
  border-radius:12px;
  color:#6b7280;
}
html[data-theme="dark"] .empty-state{
  background:var(--surface);
  border:1px solid rgba(255,255,255,0.08);
  color:#e6f4ea;
}
.card-item{
  background:#111827;
  border-radius:14px;
  padding:1.5rem;
  box-shadow:0 15px 35px rgba(0,0,0,.2);
  display:flex;
  flex-direction:column;
  gap:1rem;
  color:#e2e8f0;
  position:relative;
  overflow:hidden;
}
.card-item::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  pointer-events:none;
}
.card-item h3{
  margin:0;
  color:#e2e8f0;
  position:relative;
  z-index:1;
}
.card-item p{
  color:#d1fae5;
  flex-grow:1;
  position:relative;
  z-index:1;
}
.card-meta{
  font-size:0.85rem;
  color:#94a3b8;
  position:relative;
  z-index:1;
}
html[data-theme="dark"] .card-meta{
  color:#cbd5f5;
}

.about-preview-section {
  padding: 4rem 0;
  background: var(--bg);
}

.about-preview-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.about-preview-section .about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-preview-section .about-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #000000;
  margin-bottom: 2rem;
  text-align: left;
}

html[data-theme="dark"] .about-preview-section p{
  color:#d1fae5;
}

.about-preview-section .btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.blog-preview-section {
  padding: 4rem 0;
  background: var(--surface);
}

.blog-preview-section .blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.blog-preview-section .blog-header h2 {
  font-size: 2rem;
  color: var(--primary);
}

.blog-preview-section .blog-header a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.blog-preview-section .card-item {
  background: #111827;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.blog-preview-section .card-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.blog-preview-section .card-item .card-image-wrapper {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.blog-preview-section .card-item .card-image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-preview-section .card-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
  position: relative;
  z-index: 1;
}

.blog-preview-section .card-item p {
  color: #d1fae5;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.card-details{
  font-size:0.9rem;
  position:relative;
  z-index:1;
}
.card-details summary{
  cursor:pointer;
  color:var(--primary);
}
.card-details-body{
  margin-top:0.5rem;
  color:#475569;
  white-space:pre-wrap;
}
html[data-theme="dark"] .card-details-body{
  color:#cbd5f5;
}
.card-image img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
}

/* --------- Services Section (Modern Cards) --------- */
.services-section{
  padding:80px 0;
  background:var(--bg);
}

.services-section .container{
  max-width:1600px;
  width:95%;
}

/* Masaüstü için yeni grid layout */
.services-wrapper-desktop{
  display:grid !important;
  grid-template-columns:1fr 1fr;
  grid-template-rows:auto auto auto;
  gap:2rem;
  width:100%;
  margin:0 auto;
  align-items:start;
  overflow-x:visible;
  overflow-y:visible;
}

/* Row 1: Dijital Servisler (col 1) ve Görsel 1 (col 2) */
.services-wrapper-desktop .service-card-modern[data-service-name="dijital"]{
  grid-column:1;
  grid-row:1;
}

.services-wrapper-desktop .service-image-1{
  grid-column:2;
  grid-row:1;
}

/* Row 2: Görsel 2 (col 1), Medya Hizmetleri (col 2) */
.services-wrapper-desktop .service-image-2{
  grid-column:1;
  grid-row:2;
}

.services-wrapper-desktop .service-card-modern[data-service-name="medya"]{
  grid-column:2;
  grid-row:2;
}

/* Row 3: Kreatif Hizmetler (col 1) ve Görsel 4 (col 2) */
.services-wrapper-desktop .service-card-modern[data-service-name="kreatif"]{
  grid-column:1;
  grid-row:3;
}

.services-wrapper-desktop .service-image-4{
  grid-column:2;
  grid-row:3;
}

/* Eski layout (mobil için) */
.services-wrapper{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:3rem;
  width:100%;
  margin:0 auto;
  align-items:start;
  overflow-x:visible;
  overflow-y:visible;
}

.services-grid{
  display:flex !important;
  flex-direction:column !important;
  gap:2rem;
  width:100%;
  overflow-x:visible;
  overflow-y:visible;
}

.services-image-area{
  position:relative;
  height:fit-content;
  display:flex;
  justify-content:center;
  align-items:center;
  /* Sayfayla beraber scroll etmesi için normal akışta */
}

/* Yeni görsel item stilleri */
.service-image-item{
  position:relative;
  height:fit-content;
  display:flex;
  justify-content:center;
  align-items:stretch;
  transition:opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-item.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* Görsel 1 hover efekti olmamalı */
.service-image-1 .service-image-placeholder{
  pointer-events:none;
}

.service-image-placeholder{
  width:100%;
  height:100%;
  min-height:420px;
  background:linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
  opacity:1 !important;
  transform:none !important;
  transform-origin:center center;
  /* Kart boyutuyla aynı yükseklik */
}

.service-image-item .service-image-placeholder{
  width:100%;
  height:100%;
  min-height:420px;
  /* Kart boyutuyla aynı yükseklik */
  align-self:stretch;
}
.service-image-placeholder img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  opacity:0.95;
  transform:none !important;
  transition:none;
 }
.service-image-placeholder:hover img{
  transform:none !important;
}

.service-image-content{
  position:relative;
  z-index:1;
  text-align:left;
  color:#e2e8f0;
  font-size:1.25rem;
  font-weight:600;
  background:rgba(15,23,42,0.65);
  backdrop-filter:blur(12px);
  border-radius:16px;
  padding:1.5rem 2rem;
  max-width:80%;
  box-shadow:0 25px 60px rgba(6, 11, 30, 0.35);
}
.service-image-content span{
  display:block;
  margin-top:0.5rem;
  font-size:0.95rem;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:#a5f3fc;
}
.theme-dark .service-image-content{
  background:rgba(8,16,32,0.65);
}
html[data-theme="dark"] .service-image-content{
  color:#e2e8f0;
}

/* Görsel animasyonu JavaScript ile kontrol ediliyor */

.service-card-modern{
  background:#111827;
  border-radius:30px;
  padding:3rem;
  box-shadow:0 10px 40px rgba(0,0,0,0.2);
  border:1px solid rgba(255,255,255,0.1);
  transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x:hidden;
  overflow-y:hidden;
  position:relative;
  height:auto;
  min-height:420px;
  width:100% !important;
  max-width:100%;
  margin-right:auto;
  margin-bottom:0;
  display:flex;
  flex-direction:column;
  color:#e2e8f0;
}
.service-card-modern::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  pointer-events:none;
  z-index:0;
}

.service-card-modern::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, var(--primary), var(--accent));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.4s ease;
  z-index:2;
}

.service-card-modern:hover{
  flex-direction:column;
  align-items:center;
  padding:3rem 4rem 4rem;
  width:auto !important;
  min-width:100%;
  max-width:none;
  /* Orantılı aşağı ve yana açılma */
  transform:translateY(-8px) translateX(8px);
  box-shadow:0 20px 60px rgba(15,23,42,0.15);
  border-color:var(--primary);
  z-index:10;
  min-height:auto;
  overflow-x:visible;
  overflow-y:visible;
  /* Grid içinde alttaki kartlara yer aç - 2 satır kapla */
  grid-row:span 2;
}

.service-card-modern:hover::after{
  opacity:0;
}

.service-card-modern:hover::before{
  transform:scaleX(1);
}

.service-card-header{
  margin-bottom:1.5rem;
  transition:all 0.5s ease;
}

.service-card-header h3{
  font-size:1.8rem;
  color:#e2e8f0;
  margin:0;
  font-weight:700;
  transition:color 0.3s;
  position:relative;
  z-index:1;
}

.service-card-modern:hover .service-card-header{
  margin-bottom:2rem;
  margin-right:0;
  width:100%;
  text-align:center;
  flex-shrink:0;
}

.service-card-modern:hover .service-card-header h3{
  color:#e2e8f0;
  font-size:1.5rem;
  writing-mode:horizontal-tb;
}

.service-card-content{
  opacity:1;
  max-height:300px;
  overflow:hidden;
  transition:opacity 0.5s ease, max-height 0.5s ease;
  position:relative;
  width:100%;
  flex:1;
  mask-image:linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 60%, 
    rgba(0,0,0,0.8) 75%, 
    rgba(0,0,0,0.4) 90%, 
    rgba(0,0,0,0) 100%);
  -webkit-mask-image:linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 60%, 
    rgba(0,0,0,0.8) 75%, 
    rgba(0,0,0,0.4) 90%, 
    rgba(0,0,0,0) 100%);
}

.service-card-modern:hover .service-card-content{
  opacity:1;
  max-height:none;
  height:auto;
  width:100%;
  flex:1;
  overflow-y:visible;
  mask-image:none;
  -webkit-mask-image:none;
}

.service-items-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:1.125rem;
  transition:all 0.5s ease;
}

.service-card-modern:hover .service-items-list{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0.875rem 1.25rem;
  align-items:stretch;
  justify-content:center;
  width:100%;
  flex:1;
}

.service-items-list li{
  padding:0.875rem 1.125rem;
  background:rgba(255, 255, 255, 0.08);
  border-radius:10px;
  color:#d1fae5 !important;
  font-size:1.1rem;
  position:relative;
  padding-left:2.5rem;
  transition:all 0.4s ease, color 0.4s ease;
  transform:translateX(0);
  opacity:1;
  overflow:hidden;
  z-index:1;
}

.service-items-list li.service-item-title-main{
  background:rgba(22, 163, 74, 0.25);
  border-left:4px solid var(--primary);
  font-weight:700;
  color:#e2e8f0 !important;
  font-size:1.25rem;
  padding-left:1.5rem;
  margin-bottom:0.5rem;
  z-index:1;
}

.service-card-modern:hover .service-items-list li.service-item-title-main{
  display:flex;
  width:100%;
  min-width:200px;
  margin-right:0;
  margin-bottom:0;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.service-items-list li.service-item-title-main::before{
  display:none;
}

/* service-items-list tanımı yukarıda var, bu kaldırıldı */

/* Soldan sağa renk değişimi animasyonu kaldırıldı */

.service-items-list li > *{
  position:relative;
  z-index:2;
  transition:color 0.4s ease;
  color:inherit;
}

.service-items-list li a{
  color:inherit;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  text-align:center;
  transition:color 0.3s ease;
}

.service-items-list li a:hover{
  color:var(--primary);
  text-decoration:underline;
}

.service-items-list li:hover{
  z-index:1;
  position:relative;
}

.service-card-modern:hover .service-items-list li{
  transform:translateX(0);
  opacity:1;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:1.25rem 1rem;
  padding-left:1rem;
  min-height:80px;
}

.service-card-modern:hover .service-items-list li::before{
  display:none;
}

.service-items-list li:nth-child(1){
  transition-delay:0.05s;
}
.service-items-list li:nth-child(2){
  transition-delay:0.1s;
}
.service-items-list li:nth-child(3){
  transition-delay:0.15s;
}
.service-items-list li:nth-child(4){
  transition-delay:0.2s;
}
.service-items-list li:nth-child(5){
  transition-delay:0.25s;
}
.service-items-list li:nth-child(6){
  transition-delay:0.3s;
}

.service-items-list li::before{
  content:'✓';
  position:absolute;
  left:0.875rem;
  top:50%;
  transform:translateY(-50%);
  color:var(--primary);
  font-weight:bold;
  font-size:1.2rem;
  z-index:2;
  transition:color 0.4s ease;
}

/* Hover'da ikon rengi değişmiyor */

/* Hover efekti ::after ile yapılıyor, bu kural kaldırıldı */

/* Alt maddeler için stiller */
.service-item-parent{
  padding:1.5rem !important;
  background:rgba(22, 163, 74, 0.08) !important;
  border-left:4.5px solid var(--primary);
  overflow:hidden;
  position:relative;
}

/* Soldan sağa renk değişimi animasyonu kaldırıldı */

.service-item-parent > *{
  position:relative;
  z-index:2;
  color:inherit;
}

/* Hover'da yazı rengi değişmiyor */

.service-item-parent::before{
  display:none;
}

.service-item-title{
  font-weight:600;
  color:#d1fae5;
  display:block;
  margin-bottom:0.5rem;
  font-size:1.1rem;
  position:relative;
  z-index:1;
}

.service-item-link,
.service-subitem-link{
  color:inherit;
  text-decoration:none;
  display:block;
  transition:color 0.3s;
}

.service-item-link:hover,
.service-subitem-link:hover{
  color:var(--primary);
}

.service-item-parent .service-item-link{
  margin-bottom:0.5rem;
}

.service-subitems-list{
  list-style:none;
  padding:0;
  margin:0.75rem 0 0 0;
  display:flex;
  flex-direction:column;
  gap:0.75rem;
}

.service-subitems-list li{
  padding:0.75rem 1rem;
  background:rgba(255, 255, 255, 0.08);
  border-radius:8px;
  color:#d1fae5 !important;
  font-size:1rem;
  position:relative;
  padding-left:2.25rem;
  margin-left:0.5rem;
  transition:all 0.4s ease, color 0.4s ease;
  transform:translateX(0);
  opacity:1;
  overflow:hidden;
  z-index:1;
}

/* Soldan sağa renk değişimi animasyonu kaldırıldı */

.service-subitems-list li > *{
  position:relative;
  z-index:2;
  transition:color 0.4s ease;
  color:inherit;
}

.service-subitems-list li:hover{
  z-index:1;
  position:relative;
}

.service-card-modern:hover .service-subitems-list li{
  transform:translateX(0);
  opacity:1;
}

.service-subitems-list li::before{
  content:'→';
  position:absolute;
  left:0.75rem;
  top:50%;
  transform:translateY(-50%);
  color:var(--primary);
  font-weight:bold;
  font-size:1rem;
  z-index:2;
  transition:color 0.4s ease;
}

/* Hover'da ikon rengi değişmiyor */

/* Alt maddeler hover efekti ::after ile yapılıyor */

.service-subitems-list li:nth-child(1){
  transition-delay:0.1s;
}
.service-subitems-list li:nth-child(2){
  transition-delay:0.15s;
}
.service-subitems-list li:nth-child(3){
  transition-delay:0.2s;
}
.service-subitems-list li:nth-child(4){
  transition-delay:0.25s;
}
.service-subitems-list li:nth-child(5){
  transition-delay:0.3s;
}
.service-subitems-list li:nth-child(6){
  transition-delay:0.35s;
}

@media (max-width:1200px){
  /* Masaüstü grid layout'u gizle, eski layout'u göster */
  .services-wrapper-desktop{
    display:none !important;
  }
  .services-wrapper{
    grid-template-columns:1fr;
    display:grid !important;
  }
  .services-image-area{
    display: none !important; /* Mobilde görseli gizle */
  }
  .service-image-placeholder{
    height:400px;
  }
  .service-image-item{
    display:none !important;
  }
}

@media (max-width:1200px){
  .service-card-modern:hover{
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    align-items:stretch;
    padding-right:2.25rem;
    grid-column:inherit !important;
    grid-row:inherit !important;
  }
  
  .service-card-modern:hover .service-card-header{
    margin-bottom:1.5rem;
    margin-right:0;
    width:100%;
  }
  
  .service-card-modern:hover .service-card-header h3{
    font-size:2.25rem;
  }
  
  .service-card-modern:hover .service-items-list{
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)) !important;
  }
}

@media (max-width:768px){
  .services-grid{
    gap:1.5rem;
  }
  .service-card-modern{
    max-height:390px;
    padding:2.25rem;
  }
  .service-card-content{
    max-height:270px;
  }
  .service-card-modern:hover{
    max-height:2000px;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .service-card-modern:hover .service-items-list{
    grid-template-columns:1fr !important;
  }
}

/* ===========================================================
   ANİMASYONLAR
   ========================================================== */
.fade-in{
  opacity:0;
  transform:translateY(20px);
  transition:all .6s ease;
}

.fade-in.show{
  opacity:1;
  transform:translateY(0);
}

/* ===========================================================
   RESPONSIVE
   ========================================================== */
@media(max-width:900px){
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: auto;
    min-height: 100vh;
  }
  
  /* Menü */
  .primary-nav .menu{
    display:none;
  }

  .mobile-toggle{
    display:block;
  }
  
  /* Hizmetler sayfası görselini gizle */
  .services-image-area {
    display: none !important;
  }

  /* Hero */
  .hero-grid{
    flex-direction:column-reverse;
    text-align:center;
  }

  /* Hizmetler - services-grid artık flex column, bu kural gerekli değil */
}

@media(max-width:768px){
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: auto;
    min-height: 100vh;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
  }
  
  .site-header{
    height: 50px;
    max-height: 50px;
    padding: 2px 0;
    overflow: hidden;
  }
  
  .site-title{
    height: 100%;
  }
  
  .site-logo{
    height: 46px !important;
    max-height: 46px !important;
    max-width: 150px !important;
    width: auto !important;
    margin: 0;
    object-fit: contain !important;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 3vw;
    box-sizing: border-box;
  }
  
  section, div, article, header, footer, main, nav {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: none;
  }
  
  /* Section'ların görünürlüğünü garanti et */
  .page-banner,
  .about-wrapper,
  .services-section,
  .contact-section,
  .cards-section,
  .about-preview-section,
  .blog-preview-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: visible !important;
    padding: 5vh 0 !important;
  }
  
  .contact-wrapper,
  .contact-section,
  .contact-info-panel,
  .contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  body::before {
    width: 100%;
    max-width: 100%;
    position: fixed;
  }
  
  /* Hizmetler sayfası görselini gizle */
  .services-image-area {
    display: none !important;
  }
  
  /* Mobil sürümde footer'dan hizmetler linkini gizle */
  .site-footer .footer-link-hizmetler {
    display: none !important;
  }
  
  .cards-header{
    flex-direction:column;
    text-align:center;
  }
  
}
/* --------- DARK MODE --------- */
html[data-theme="dark"] {
  --primary: #34d399;
  --primary-dark: #059669;
  --muted: #cbd5f5;
  --bg: #0c1510;
  --surface: #0f1f17;
  --accent: #0f172a;
  color: #e6f4ea;
  background: var(--bg);
}
html[data-theme="dark"] .site-footer { background:#080e0b; }

/* --------- GLASSMORPHISM (kartlar) ---------- */
.service-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px) saturate(120%);
}
html[data-theme="dark"] .service-card {
  background: rgba(20,30,50,0.45);
  border: 1px solid rgba(255,255,255,0.04);
}

/* --------- SLIDER (hero carousel) ---------- */
/* slider container */
.hero-slider-shell{
  position:relative;
  width:100%;
  display:block;
  padding-bottom:40px;
}
.hero-slider {
  position:relative;
  overflow:hidden;
  border-radius:28px;
  min-height:500px;
  height:auto;
  background:radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 55%),
             linear-gradient(135deg, #0f172a 0%, #0b1120 45%, #0b2315 100%);
  border:1px solid rgba(255,255,255,0.05);
  box-shadow:0 25px 60px rgba(15,23,42,0.35);
}
.hero-slide {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  display:flex;
  align-items:center;
  gap:40px;
  padding:40px;
  transition:opacity 0.6s ease, transform 0.6s ease;
  opacity:0;
  transform:translateX(50px);
  pointer-events:none;
  visibility:hidden;
  color:#e2e8f0;
}
.hero-slide::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(135deg, rgba(15,23,42,0.82), rgba(6,78,59,0.65));
  z-index:0;
  pointer-events:none;
}
.hero-slide > *{
  position:relative;
  z-index:1;
}
.hero-slide.active {
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
  visibility:visible;
  position:relative;
  z-index:2;
}
.hero-slide:not(.active) {
  z-index:1;
}
.hero-text,
.hero-media{
  flex:1;
}
.hero-text {
  min-width:0;
}
.hero-media{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.hero-media img{
  max-width:100%;
  max-height:420px;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:12px;
}

/* arrows */
.slider-arrow {
  position:absolute;
  bottom:-30px;
  background:rgba(255,255,255,0.92);
  border-radius:50%;
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(15,23,42,0.25);
  z-index:5;
  pointer-events:auto;
  color:#0f172a;
  font-size:1.5rem;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
  border:none;
}
.slider-arrow:hover{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 18px 35px rgba(15,23,42,0.35);
}
.slider-arrow.left{
  left:20px;
}
.slider-arrow.right{
  right:20px;
}
html[data-theme="dark"] .slider-arrow { background: rgba(255,255,255,0.08); color: #fff; border:1px solid rgba(255,255,255,0.12); }

.slider-dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:16px;
}
.slider-dots button{
  width:12px;
  height:12px;
  border-radius:50%;
  border:0;
  background:rgba(15,23,42,0.25);
  cursor:pointer;
  transition:transform 0.2s ease, background 0.2s ease;
}
.slider-dots button:hover{
  transform:scale(1.2);
}
.slider-dots .active{
  background:var(--primary);
}
html[data-theme="dark"] .slider-dots button{
  background:rgba(255,255,255,0.25);
}
html[data-theme="dark"] .slider-dots .active{
  background:var(--primary);
}

/* Hero slider mobil kuralları yukarıdaki birleştirilmiş 768px media query'ye taşındı */

/* --------- BLOB ANIM --------- */
.blob {
  position:absolute;
  width:520px; height:520px;
  border-radius:50%;
  background: radial-gradient(circle at 20% 20%, rgba(127,140,255,0.85), transparent 30%),
              radial-gradient(circle at 80% 80%, rgba(120,200,255,0.6), transparent 30%);
  filter: blur(30px);
  animation: floaty 8s infinite ease-in-out;
  opacity:0.8;
  z-index:0;
}
@keyframes floaty {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

/* --------- MOBILE FULLSCREEN MENU + BLUR --------- */
.mobile-menu-overlay {
  position:fixed; 
  inset:0; 
  background: rgba(10,12,18,0.75); 
  backdrop-filter: blur(12px);
  display:none; 
  align-items:center; 
  justify-content:center; 
  z-index:10000;
  opacity:0;
  transition:opacity 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.mobile-menu-overlay.show { 
  display:flex !important; 
  opacity:1 !important;
  pointer-events: auto !important;
  z-index:10000 !important;
}
.mobile-menu {
  background:var(--surface); 
  width:90%; 
  max-width:420px; 
  padding:0; 
  border-radius:20px;
  box-shadow:0 25px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  overflow-x:hidden;
  overflow-y:auto;
  transform:scale(0.9) translateY(20px);
  opacity:0;
  transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position:relative;
  display:flex;
  flex-direction:column;
  max-height:90vh;
  -webkit-overflow-scrolling:touch;
  min-height:0;
}
.mobile-menu-overlay.show .mobile-menu{
  transform:scale(1) translateY(0);
  opacity:1;
}
.mobile-menu-header{
  padding:24px 28px;
  border-bottom:1px solid rgba(15,23,42,0.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.mobile-menu-header h3{
  color:#fff;
  font-size:20px;
  font-weight:700;
  margin:0;
}
.mobile-menu .close { 
  width:36px;
  height:36px;
  background:rgba(255,255,255,0.2);
  border:none;
  border-radius:8px;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.2s ease;
  padding:0;
}
.mobile-menu .close:hover{
  background:rgba(255,255,255,0.3);
  transform:rotate(90deg);
}
.mobile-menu nav{
  padding:20px 28px 20px;
  flex:1;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  min-height:0;
}
.mobile-menu nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mobile-menu nav ul li{
  opacity:0;
  transform:translateX(-20px);
  transition:all 0.3s ease;
}
.mobile-menu-overlay.show .mobile-menu nav ul li{
  opacity:1 !important;
  transform:translateX(0) !important;
}
.mobile-menu-overlay.show .mobile-menu nav ul li:nth-child(1){ transition-delay:0.1s; }
.mobile-menu-overlay.show .mobile-menu nav ul li:nth-child(2){ transition-delay:0.15s; }
.mobile-menu-overlay.show .mobile-menu nav ul li:nth-child(3){ transition-delay:0.2s; }
.mobile-menu-overlay.show .mobile-menu nav ul li:nth-child(4){ transition-delay:0.25s; }
.mobile-menu-overlay.show .mobile-menu nav ul li:nth-child(5){ transition-delay:0.3s; }
.mobile-menu-overlay.show .mobile-menu nav ul li:nth-child(6){ transition-delay:0.35s; }
.mobile-menu nav ul li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  font-size:16px;
  border-radius:12px;
  transition:all 0.2s ease;
  position:relative;
  overflow:hidden;
}
.mobile-menu nav ul li a::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:var(--primary);
  transform:scaleY(0);
  transition:transform 0.2s ease;
  border-radius:0 4px 4px 0;
}
.mobile-menu nav ul li a:hover,
.mobile-menu nav ul li a:active{
  background:rgba(22,163,74,0.1);
  color:var(--primary);
  transform:translateX(4px);
}
.mobile-menu nav ul li a:hover::before,
.mobile-menu nav ul li a:active::before{
  transform:scaleY(1);
}
.mobile-menu nav ul li a::after{
  content:'→';
  margin-left:auto;
  opacity:0;
  transform:translateX(-10px);
  transition:all 0.2s ease;
  color:var(--primary);
}
.mobile-menu nav ul li a:hover::after,
.mobile-menu nav ul li a:active::after{
  opacity:1;
  transform:translateX(0);
}
html[data-theme="dark"] .mobile-menu{
  background:var(--surface);
  box-shadow:0 25px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
}
html[data-theme="dark"] .mobile-menu-header{
  border-bottom-color:rgba(255,255,255,0.1);
}
html[data-theme="dark"] .mobile-menu nav ul li a:hover,
html[data-theme="dark"] .mobile-menu nav ul li a:active{
  background:rgba(52,211,153,0.15);
}

/* --------- Mobil Menü Genişletilebilir Hizmetler --------- */
.mobile-menu-item-expandable {
  margin: 0;
  padding: 0;
  position: relative;
}

.mobile-menu-expand-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  z-index: 1;
}

.mobile-menu-expand-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.2s ease;
  border-radius: 0 4px 4px 0;
}

.mobile-menu-expand-btn:hover,
.mobile-menu-expand-btn:active {
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-menu-expand-btn:hover::before,
.mobile-menu-expand-btn:active::before {
  transform: scaleY(1);
}

.mobile-menu-expand-btn .expand-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--primary);
  margin-left: auto;
}

.mobile-menu-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(22, 163, 74, 0.05);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  display: block;
  transform-origin: top center;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
}

.mobile-menu-item-expandable[aria-expanded="true"] .mobile-menu-submenu {
  opacity: 1;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* max-height JavaScript tarafından dinamik olarak ayarlanacak */
}

.mobile-menu-item-expandable[aria-expanded="true"] .mobile-menu-expand-btn {
  position: relative;
  z-index: 2;
  border-radius: 12px 12px 0 0;
}

.mobile-service-category {
  padding: 12px 18px 8px 32px;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-service-category:first-child {
  margin-top: 0;
}

.mobile-service-category::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-service-title {
  padding: 10px 18px 6px 40px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-service-item {
  margin: 0;
  padding: 0;
}

.mobile-service-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 40px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  border-radius: 0;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-service-item a::before {
  content: '•';
  position: absolute;
  left: 28px;
  color: var(--primary);
  font-size: 18px;
}

.mobile-service-item a:hover,
.mobile-service-item a:active {
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary);
  padding-left: 44px;
}

html[data-theme="dark"] .mobile-menu-expand-btn:hover,
html[data-theme="dark"] .mobile-menu-expand-btn:active {
  background: rgba(52, 211, 153, 0.15);
}

html[data-theme="dark"] .mobile-menu-submenu {
  background: rgba(52, 211, 153, 0.05);
}

html[data-theme="dark"] .mobile-service-item a:hover,
html[data-theme="dark"] .mobile-service-item a:active {
  background: rgba(52, 211, 153, 0.15);
}

/* --------- Mobil Menü Müşteri Logoları --------- */
.mobile-menu-clients{
  padding:20px 28px 28px;
  border-top:1px solid rgba(15,23,42,0.08);
  margin-top:auto;
  flex-shrink:0;
  overflow:visible;
}
.mobile-menu-clients h4{
  font-size:0.9rem;
  font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:1rem;
  text-align:center;
}
.mobile-clients-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0.75rem;
  width:100%;
  overflow:visible;
  min-height:auto;
}
.mobile-client-logo{
  background:var(--surface);
  border-radius:8px;
  padding:0.75rem;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:60px;
  transition:transform 0.2s ease,box-shadow 0.2s ease;
  border:1px solid rgba(15,23,42,0.05);
}
.mobile-client-logo:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(0,0,0,0.1);
}
.mobile-client-logo img{
  max-width:100%;
  max-height:40px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(0.3);
  opacity:0.8;
  transition:all 0.3s ease;
}
.mobile-client-logo:hover img{
  filter:grayscale(0);
  opacity:1;
}
.mobile-client-logo a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}
.mobile-client-placeholder{
  font-size:0.7rem;
  color:var(--muted);
  text-align:center;
  word-break:break-word;
}
html[data-theme="dark"] .mobile-menu-clients{
  border-top-color:rgba(255,255,255,0.1);
}
html[data-theme="dark"] .mobile-client-logo{
  background:rgba(255,255,255,0.05);
  border-color:rgba(255,255,255,0.1);
}
html[data-theme="dark"] .mobile-client-logo:hover{
  background:rgba(255,255,255,0.08);
}

/* --------- MOBİL HİZMETLER OVERLAY (Sadece Mobilde) --------- */
.mobile-service-overlay {
  position:fixed; 
  inset:0; 
  background: rgba(10,12,18,0.75); 
  backdrop-filter: blur(12px);
  display:none; 
  align-items:center; 
  justify-content:center; 
  z-index:10000;
  opacity:0;
  transition:opacity 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.mobile-service-overlay.show { 
  display:flex !important; 
  opacity:1 !important;
  pointer-events: auto !important;
  z-index:10000 !important;
}
.mobile-service-menu {
  background:var(--surface); 
  width:90%; 
  max-width:420px; 
  padding:0; 
  border-radius:20px;
  box-shadow:0 25px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  overflow:hidden;
  transform:scale(0.9) translateY(20px);
  opacity:0;
  transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position:relative;
  max-height:80vh;
  overflow-y:auto;
}
.mobile-service-overlay.show .mobile-service-menu{
  transform:scale(1) translateY(0);
  opacity:1;
}
.mobile-service-header{
  padding:24px 28px;
  border-bottom:1px solid rgba(15,23,42,0.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position:sticky;
  top:0;
  z-index:10;
}
.mobile-service-header h3{
  color:#fff;
  font-size:20px;
  font-weight:700;
  margin:0;
}
.mobile-service-menu .close { 
  width:36px;
  height:36px;
  background:rgba(255,255,255,0.2);
  border:none;
  border-radius:8px;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.2s ease;
  padding:0;
}
.mobile-service-menu .close:hover{
  background:rgba(255,255,255,0.3);
  transform:rotate(90deg);
}
.mobile-service-menu nav{
  padding:20px 28px 28px;
}
.mobile-service-menu nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mobile-service-menu nav ul li{
  opacity:0;
  transform:translateX(-20px);
  transition:all 0.3s ease;
}
.mobile-service-overlay.show .mobile-service-menu nav ul li{
  opacity:1 !important;
  transform:translateX(0) !important;
}
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(1){ transition-delay:0.05s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(2){ transition-delay:0.1s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(3){ transition-delay:0.15s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(4){ transition-delay:0.2s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(5){ transition-delay:0.25s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(6){ transition-delay:0.3s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(7){ transition-delay:0.35s; }
.mobile-service-overlay.show .mobile-service-menu nav ul li:nth-child(8){ transition-delay:0.4s; }
.mobile-service-menu nav ul li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  font-size:16px;
  border-radius:12px;
  transition:all 0.2s ease;
  position:relative;
  overflow:hidden;
}
.mobile-service-menu nav ul li.service-item-title-main a{
  font-weight:700;
  background:rgba(22,163,74,0.1);
  color:var(--primary);
  border-left:4px solid var(--primary);
}
.mobile-service-menu nav ul li a::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:var(--primary);
  transform:scaleY(0);
  transition:transform 0.2s ease;
  border-radius:0 4px 4px 0;
}
.mobile-service-menu nav ul li.service-item-title-main a::before{
  display:none;
}
.mobile-service-menu nav ul li a:hover,
.mobile-service-menu nav ul li a:active{
  background:rgba(22,163,74,0.1);
  color:var(--primary);
  transform:translateX(4px);
}
.mobile-service-menu nav ul li a:hover::before,
.mobile-service-menu nav ul li a:active::before{
  transform:scaleY(1);
}
.mobile-service-menu nav ul li a::after{
  content:'→';
  margin-left:auto;
  opacity:0;
  transform:translateX(-10px);
  transition:all 0.2s ease;
  color:var(--primary);
}
.mobile-service-menu nav ul li a:hover::after,
.mobile-service-menu nav ul li a:active::after{
  opacity:1;
  transform:translateX(0);
}
html[data-theme="dark"] .mobile-service-menu{
  background:var(--surface);
  box-shadow:0 25px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
}
html[data-theme="dark"] .mobile-service-header{
  border-bottom-color:rgba(255,255,255,0.1);
}
html[data-theme="dark"] .mobile-service-menu nav ul li a:hover,
html[data-theme="dark"] .mobile-service-menu nav ul li a:active{
  background:rgba(52,211,153,0.15);
}

/* Desktop'ta mobil hizmetler overlay'i gizle */
@media (min-width: 769px) {
  .mobile-service-overlay {
    display: none !important;
  }
}

/* --------- AOS-LIKE UTILITY (data-anim) --------- */
[data-anim] {
  opacity:0; transform: translateY(18px);
  transition: all 0.7s cubic-bezier(.2,.9,.3,1);
}
[data-anim].in { opacity:1; transform: translateY(0); }

/* Fallback: JavaScript yüklenmezse veya gecikirse görünür yap */
@keyframes fadeInFallback {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sayfa yüklendiğinde 0.5 saniye sonra görünür yap (fallback) */
[data-anim]:not(.in) {
  animation: fadeInFallback 0.7s cubic-bezier(.2,.9,.3,1) 0.5s forwards;
}

/* responsive adjustments for slider */
@media (max-width:900px){
  .hero-slider{
    min-height:540px;
  }
  .hero-slide {
    padding:24px;
    flex-direction:column;
    text-align:center;
  }
  .slider-arrow { display:none; }
}
/* === MOBİL ÖNİZLEME === */

.mobile-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 999999999; /* EN ÜST SEVİYE */
}

.mobile-preview-window {
  width: 390px; /* iPhone 14 Pro */
  height: 844px;
  border-radius: 25px;

  background: #fff;
  overflow: hidden;

  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  animation: fadeIn 0.25s ease-out;

  display: flex;
  flex-direction: column;
}

.mobile-preview-topbar {
  background: #111827;
  color: #fff;
  padding: 10px 15px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-preview-topbar button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-frame {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* --------- LOGO SLIDER --------- */
.logo-slider-section {
  position: relative;
  padding: 4rem 0;
  background: #111827;
  overflow: hidden;
}

.logo-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1000px;
  perspective-origin: center center;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.logo-slider-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  will-change: transform;
  flex-wrap: nowrap;
  width: max-content;
}

.logo-slider-track:hover {
  animation-play-state: paused;
}

.logo-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  position: relative;
  padding: 0 0.5rem;
}

.logo-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.logo-card:hover::before {
  opacity: 1;
}

.logo-slide img {
  width: auto;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  filter: grayscale(0.3);
  opacity: 0.7;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.logo-placeholder {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.9rem;
  text-align: center;
}

.logo-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Ortadaki 3 görsel için özel stiller - JavaScript ile eklenen class'lar */
.logo-slide.center-left,
.logo-slide.center-middle,
.logo-slide.center-right {
  transform: scale(1.2);
  z-index: 2;
}

.logo-slide.center-left .logo-card,
.logo-slide.center-middle .logo-card,
.logo-slide.center-right .logo-card {
  width: 220px;
  height: 170px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.logo-slide.center-left img,
.logo-slide.center-middle img,
.logo-slide.center-right img {
  height: 90px;
  opacity: 0.9;
  filter: grayscale(0.1);
}

/* Ortadaki görsel (en büyük) */
.logo-slide.center-middle {
  transform: scale(1.4);
  z-index: 3;
}

.logo-slide.center-middle .logo-card {
  width: 260px;
  height: 200px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.logo-slide.center-middle img {
  height: 110px;
  opacity: 1;
  filter: grayscale(0);
}

/* Hover efekti */
.logo-slide:hover .logo-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.logo-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Logo scroll animasyonu JavaScript ile dinamik olarak oluşturuluyor */

/* Responsive */
@media (max-width: 768px) {
  .logo-slider-track {
    gap: 1.5rem;
  }
  
  .logo-card {
    width: 140px;
    height: 110px;
    padding: 1rem;
  }
  
  .logo-slide img {
    height: 50px;
  }
  
  .logo-slide.center-left .logo-card,
  .logo-slide.center-middle .logo-card,
  .logo-slide.center-right .logo-card {
    width: 170px;
    height: 140px;
  }
  
  .logo-slide.center-left img,
  .logo-slide.center-middle img,
  .logo-slide.center-right img {
    height: 70px;
  }
  
  .logo-slide.center-middle .logo-card {
    width: 200px;
    height: 160px;
  }
  
  .logo-slide.center-middle img {
    height: 85px;
  }
  
  .logo-slide.center-left,
  .logo-slide.center-middle,
  .logo-slide.center-right {
    transform: scale(1.15);
  }
  
  .logo-slide.center-middle {
    transform: scale(1.3);
  }
}

@media(max-width:768px){
  .hero-slider-shell{
    padding-bottom:60px;
  }
  .slider-arrow{
    width:48px;
    height:48px;
    bottom:-40px;
  }
}

@media(max-width:480px){
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: auto;
    min-height: 100vh;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 3vw;
    box-sizing: border-box;
  }
  
  section, div, article, header, footer, main, nav {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: none;
  }
  
  /* Section'ların görünürlüğünü garanti et */
  .page-banner,
  .about-wrapper,
  .services-section,
  .contact-section,
  .cards-section,
  .about-preview-section,
  .blog-preview-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: visible !important;
    padding: 4vh 0 !important;
  }
  
  .contact-wrapper,
  .contact-section,
  .contact-info-panel,
  .contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  img, video, iframe {
    max-width: 100%;
    height: auto;
  }
  
  body::before {
    width: 100%;
    max-width: 100%;
    position: fixed;
  }
  
  /* Hizmetler sayfası görselini gizle */
  .services-image-area {
    display: none !important;
  }
  
  /* Mobil sürümde footer'dan hizmetler linkini gizle */
  .site-footer .footer-link-hizmetler {
    display: none !important;
  }
  
  .site-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .hero-text h1 {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 2vh;
  }
  
  .hero-text p {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 2.5vh;
  }
  
  section {
    padding: 4vh 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }
  
  /* Tüm section tipleri için görünürlük garantisi */
  .page-banner,
  .about-wrapper,
  .services-section,
  .contact-section,
  .cards-section,
  .about-preview-section,
  .blog-preview-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }
  
  h1 {
    font-size: clamp(24px, 7vw, 32px);
  }
  
  h2 {
    font-size: clamp(20px, 5vw, 24px);
  }
  
  .card-item {
    padding: clamp(12px, 3vw, 16px);
  }
  
}

/* ===========================================================
   Modern Toast Notification System
   ============================================= */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.toast.toast-error::before {
  background: #ef4444;
}

.toast.toast-success::before {
  background: #16a34a;
}

.toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary);
}

.toast.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.toast.toast-success .toast-icon {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.4;
}

.toast-message {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.toast-close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
  transition: all 0.2s;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

.toast-close svg {
  width: 14px;
  height: 14px;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.toast-exiting {
  animation: toastSlideOut 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    max-width: 100%;
  }
}


