/*
Theme Name: HUKUK TEMASI — STYLES
Author: Web Geliştirici
Description: HUKUK TEMASI — STYLES
Version: 1.0.0
Text Domain: https://demo1.r07.net/
*/

/* ---- CSS Variables ---- */
:root {
  --navy: #0a1628;
  --navy-mid: #132240;
  --navy-light: #1e3a5f;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-pale: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --off-white: #f7f5f0;
  --gray-100: #f4f4f6;
  --gray-200: #e8e8ed;
  --gray-300: #d0d0d8;
  --gray-500: #8a8a9a;
  --gray-700: #4a4a5a;
  --black: #080d14;
  --shadow-sm: 0 2px 12px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
}

[data-theme="dark"] {
  --white: #0f1923;
  --off-white: #111d2c;
  --gray-100: #162035;
  --gray-200: #1e2d45;
  --gray-300: #2a3d5c;
  --gray-500: #7a8a9a;
  --gray-700: #b0bac9;
  --black: #e8edf5;
  --navy: #162035;
  --navy-mid: #1e2d45;
}


/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ---- Typography ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1rem;
}
.gold-text { color: var(--gold); }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.4em 1.2em;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.section-tag.gold { background: rgba(201,168,76,0.2); }
.section-desc { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-desc { margin: 0 auto; }
.section-header.light .section-title { color: var(--white); }
.white { color: var(--white) !important; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }

/* ========================================
   LOADING SCREEN
   ======================================== */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo { 0%,100%{opacity:1} 50%{opacity:0.6} }
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  animation: load-bar 2s ease-in-out forwards;
}
@keyframes load-bar { from{width:0} to{width:100%} }
.loader-text { color: var(--gray-300); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ========================================
   SCROLL PROGRESS
   ======================================== */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9998;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.1s;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
#cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; z-index: 9997;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
#cursor-follower {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed; z-index: 9996;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.6;
}
@media (max-width: 768px) { #cursor, #cursor-follower { display: none; } }

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  padding: 0;
}
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex; flex-direction: column; line-height: 1;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo-amp { color: var(--gold); }
.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-menu {
  display: flex; gap: 0.2rem; align-items: center;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.nav-actions {
  display: flex; align-items: center; gap: 0.8rem;
}
.nav-phone {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem; font-weight: 500;
  transition: var(--transition);
}
.nav-phone:hover { color: var(--gold); }
.nav-phone i { color: var(--gold); }
.btn-whatsapp-nav {
  width: 38px; height: 38px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  transition: var(--transition);
}
.btn-whatsapp-nav:hover { transform: scale(1.1); box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
.btn-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
#dark-mode-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
#dark-mode-toggle:hover { background: rgba(255,255,255,0.2); color: var(--gold); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #080d14 0%, #0a1628 40%, #132240 70%, #0d1f3a 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(30, 58, 95, 0.5) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title-gold {
  color: var(--gold);
  font-style: italic;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.btn-primary i { transition: transform 0.3s; }
.btn-primary:hover i { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn-primary.full-width { width: 100%; justify-content: center; }
.mt-20 { margin-top: 1.5rem; }
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 3rem;
  border-radius: var(--radius-lg);
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }
.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line { 0%{height:0;opacity:0} 50%{height:50px;opacity:1} 100%{height:50px;opacity:0} }

/* ========================================
   ABOUT
   ======================================== */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-img-accent {
  position: absolute; top: -1rem; left: -1rem; right: 1rem; bottom: 1rem;
  z-index: -1;
}
.about-principles {
  display: flex; gap: 0.8rem;
  margin-top: 2.5rem;
}
.principle-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: var(--gray-100);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  color: var(--gray-700);
  transition: var(--transition);
}
.principle-item i { color: var(--gold); font-size: 1.2rem; }
.principle-item:hover { background: var(--gold-pale); color: var(--gold); }
.about-text {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}
.vm-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1.5rem 0;
}
.vm-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.vm-card:hover { border-color: var(--gold); background: var(--gold-pale); }
.vm-card i { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.5rem; }
.vm-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.vm-card p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.6; }
.timeline { margin-top: 1.5rem; }
.tl-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding-bottom: 1.2rem;
  border-left: 2px solid var(--gray-200);
  margin-left: 1rem;
  padding-left: 1.5rem;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute; left: -6px; top: 6px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.tl-year { font-weight: 700; color: var(--gold); font-size: 0.85rem; white-space: nowrap; }
.tl-content { font-size: 0.85rem; color: var(--gray-700); }

/* ========================================
   SERVICES
   ======================================== */
.services { background: var(--gray-100); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: rgba(201,168,76,0.3);
  grid-column: span 1;
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.6); }
.service-card.featured .service-link { color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.service-card.featured .service-icon {
  background: rgba(201,168,76,0.15);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--black);
}
.service-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-light);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.service-link:hover { color: var(--gold); gap: 0.8rem; }
.card-glow {
  position: absolute; inset: -50%; z-index: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(201,168,76,0.08), transparent 60%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.service-card:hover .card-glow { opacity: 1; }

/* ========================================
   TEAM
   ======================================== */
.team { background: var(--white); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(10,22,40,0.15);
}
.team-img-wrap { position: relative; overflow: hidden; }
.team-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: rgba(201,168,76,0.4);
}
.team-img-placeholder.female {
  background: linear-gradient(160deg, #2a1f3d 0%, #3d2a5a 100%);
}
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, transparent 60%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-socials { display: flex; gap: 0.7rem; }
.team-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  transition: var(--transition);
}
.team-socials a:hover { background: var(--gold); color: var(--navy); }
.team-info { padding: 1.5rem; }
.team-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.team-title {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.team-spec { font-size: 0.75rem; color: var(--gray-500); }

/* ========================================
   STATS
   ======================================== */
.stats {
  position: relative;
  padding: 6rem 0;
  background: var(--navy);
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(30,58,95,0.5) 0%, transparent 50%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; position: relative; z-index: 1;
}
.stat-card {
  text-align: center;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.05);
  transform: translateY(-4px);
}
.stat-card .stat-icon {
  width: 60px; height: 60px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--gold);
}
.stat-counter {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: inline;
}
.stat-card p {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: var(--gray-100); }
.slider-container { position: relative; overflow: hidden; }
.slider-track {
  display: flex; gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 1.4rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.8rem;
}



.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-500); }
.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2.5rem;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.slider-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--gold); width: 24px; border-radius: 100px; }

/* ========================================
   BLOG
   ======================================== */
.blog { background: var(--white); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}
.blog-img { overflow: hidden; }
.blog-img-ph {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(201,168,76,0.35);
  transition: transform 0.5s;
}
.blog-card:hover .blog-img-ph { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-meta {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.blog-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 0.25em 0.8em;
  border-radius: 100px;
}
.blog-date { font-size: 0.75rem; color: var(--gray-500); }
.blog-body h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.7rem; line-height: 1.5; }
.blog-body p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.7; }
.blog-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--navy-light);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.blog-link:hover { color: var(--gold); gap: 0.8rem; }

/* ========================================
   FAQ (SIK SORULAN SORULAR)
   ======================================== */

/* ========================================
   FAQ & ACCORDION (KESİN ÇALIŞAN)
   ======================================== */
.accordion {
  width: 100%;
}

.acc-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.acc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none !important;
  border: none !important;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
  outline: none;
}

/* Kapsayıcı kutuda .open class'ı varken veya mouse ile üzerine gelince başlığı gold yap */
.acc-header:hover, 
.acc-item.open .acc-header {
  color: var(--gold, #c5a880) !important;
}

.acc-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 15px;
}

/* Akordeon açıldığında artı (+) ikonunu 45 derece döndürüp çarpı (x) yapar */
.acc-item.open .acc-icon {
  transform: rotate(45deg); 
  color: var(--gold, #c5a880);
}

/* İçeriğin başlangıçta gizli kalmasını sağlayan ve taşmayı engelleyen kritik alan */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.acc-content {
  padding: 0 0 20px 0;
}

/* ========================================
   CONTACT
   ======================================== */
.contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: start;
}
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--gold); background: var(--gold-pale); }
.cc-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.contact-card a, .contact-card p, .contact-card span {
  font-size: 0.82rem; color: var(--gray-700); line-height: 1.6;
}
.contact-card a:hover { color: var(--gold); }
.map-placeholder {
  width: 100%; height: 200px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 1rem;
}
.map-placeholder i { font-size: 2rem; color: var(--gold); }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--black);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #e53e3e; }
.form-error { font-size: 0.75rem; color: #e53e3e; margin-top: 0.3rem; display: block; }
.form-kvkk {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 1.2rem;
  font-size: 0.8rem; color: var(--gray-700);
}
.form-kvkk a { color: var(--gold); text-decoration: underline; }
.form-success {
  display: flex; align-items: center; gap: 0.8rem;
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #276749;
}
.form-success i { color: #48bb78; font-size: 1.2rem; }
.form-success.hidden { display: none; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); }
.footer-top { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-col h4 {
  color: var(--white); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-info > div {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 0.8rem; font-size: 0.85rem;
}
.footer-contact-info i { color: var(--gold); width: 16px; flex-shrink: 0; margin-top: 3px; }
.footer-contact-info a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.whatsapp-float {
  position: fixed; bottom: 6rem; right: 1.8rem; z-index: 900;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.wa-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.6);
  animation: wa-pulse 2s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%,100%{transform:scale(1);opacity:0.8}
  50%{transform:scale(1.25);opacity:0}
}
.back-to-top {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 900;
  width: 46px; height: 46px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: rgba(8, 13, 20, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 1.2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-icon { color: var(--gold); font-size: 1.8rem; flex-shrink: 0; }
.cookie-text { flex: 1; }
.cookie-text strong { color: var(--white); font-size: 0.9rem; }
.cookie-text p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.btn-cookie-accept, .btn-cookie-reject, .btn-cookie-manage {
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}
.btn-cookie-accept { background: var(--gold); color: var(--navy); }
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-cookie-manage { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.btn-cookie-manage:hover { background: rgba(255,255,255,0.15); }

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8,13,20,0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 640px; width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer; border: none;
}
.modal-close:hover { background: var(--gold); color: var(--navy); }
.modal-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--black);
  padding-right: 2.5rem;
}
.legal-content {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.8;
}
.legal-content h4 { color: var(--black); margin: 1.2rem 0 0.5rem; font-size: 1rem; }
.legal-content p { margin-bottom: 0.8rem; }

/* Cookie Pref Modal */
.cookie-pref-list { margin: 1.5rem 0; }
.cookie-pref-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  gap: 1rem;
}
.cookie-pref-item strong { font-size: 0.9rem; display: block; margin-bottom: 0.25rem; }
.cookie-pref-item p { font-size: 0.8rem; color: var(--gray-500); }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span {
  position: absolute; inset: 0;
  background: var(--gray-300);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle span::before {
  content: '';
  position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}
.toggle input:checked + span { background: var(--gold); }
.toggle input:checked + span::before { transform: translateX(20px); }
.toggle.disabled { opacity: 0.5; cursor: not-allowed; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .faq-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-menu.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .nav-menu.mobile-open .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
  }
  .vm-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .hero-title { font-size: 2.5rem; }
  .btn-cta { display: none; }
  .cookie-content { flex-direction: column; align-items: flex-start; }
  .section { padding: 4rem 0; }
  .hide-mobile { display: none; }
}

/* ---- Dark Mode overrides ---- */
[data-theme="dark"] .service-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .acc-item,
[data-theme="dark"] .contact-form-wrap,
[data-theme="dark"] .vm-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .modal-box {
  background: var(--gray-100);
  border-color: var(--gray-200);
}
[data-theme="dark"] .about-principles .principle-item,
[data-theme="dark"] .contact-card {
  background: var(--gray-100);
  border-color: var(--gray-200);
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: var(--gray-200);
  border-color: var(--gray-300);
  color: var(--black);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: var(--gray-100);
}
[data-theme="dark"] .slider-btn,
[data-theme="dark"] .map-placeholder { background: var(--gray-100); border-color: var(--gray-200); }
[data-theme="dark"] .services { background: var(--gray-100); }
[data-theme="dark"] .faq { background: var(--gray-100); }
[data-theme="dark"] .testimonials { background: var(--gray-200); }
[data-theme="dark"] .blog-img-ph { background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); }
