/* ========================================
   HÜSEYİN TUTAR - KİŞİSEL WEB SİTESİ
   Siyasetçi & Sendikacı Premium Tasarım (Vanilla CSS)
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..700;1,400..700&family=Inter:ital,wght@0,300..700;1,300..700&display=swap');

/* ===== CSS DEĞİŞKENLERİ ===== */
:root {
  --primary: #0f2b46;          /* Koyu Lacivert - Kurumsal Güç */
  --primary-light: #1b3d5f;
  --primary-dark: #071727;
  --accent: #c5a059;           /* Antik Altın / Bronz - Başarı ve Karizma */
  --accent-light: #d6b87c;
  --accent-dark: #a27f3d;
  
  --bg-cream: #fbfaf7;         /* Yumuşak Krem Arka Plan */
  --bg-white: #ffffff;
  --bg-warm-gray: #f3f1eb;
  --bg-section-alt: #f6f5f0;
  
  --text-dark: #121820;        /* Ana Başlıklar */
  --text-body: #3c424a;        /* Gövde Metni */
  --text-muted: #6e757f;       /* Soluk Açıklamalar */
  --text-light: #9ea5b0;
  --text-on-dark: #fbfaf7;
  
  --border: #e2dfd7;
  --border-light: #eeedea;
  
  --shadow-sm: 0 2px 8px rgba(15, 43, 70, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 43, 70, 0.08);
  --shadow-lg: 0 12px 35px rgba(15, 43, 70, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== SIFIRLAMA VE TEMEL ÖZELLİKLER ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.section-tag::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 4px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.accent {
  color: var(--accent);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  height: 84px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 16px rgba(197, 160, 89, 0.45));
  animation: fadeInUp 0.8s ease-out;
}

.preloader-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--text-on-dark);
  letter-spacing: 6px;
  animation: fadeInUp 1s ease-out;
}

.preloader-line {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
  animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 80px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 43, 70, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
}

.nav-brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  border: none;
  display: block;
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
  transition: var(--transition);
}

.nav-brand:hover .nav-brand-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(197, 160, 89, 0.5));
}

/* Elegant gold separator line between logo and text */
.nav-brand > div:last-child {
  padding-left: 14px;
  border-left: 2px solid rgba(197, 160, 89, 0.35);
  transition: var(--transition);
}

.nav-brand:hover > div:last-child {
  border-left-color: var(--accent);
}

.nav-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap;
}

.nav-brand-sub {
  font-size: 0.65rem;
  color: rgba(251, 250, 247, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links a {
  color: rgba(251, 250, 247, 0.85);
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.3px;
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a.nav-cta {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  background: var(--bg-cream);
  color: var(--primary);
  transform: translateY(-2px);
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-on-dark);
  transition: var(--transition);
}

/* Scroll status for desktop transparency */
.navbar:not(.scrolled) {
  background: rgba(15, 43, 70, 0.5);
  backdrop-filter: blur(5px);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, #1b3d5f 0%, #071727 80%);
  color: var(--text-on-dark);
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 50%;
  animation: ambientFloat 8s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.12); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-cream), transparent);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-brand-badge {
  margin-bottom: 20px;
  display: inline-block;
}

.hero-brand-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(197, 160, 89, 0.4));
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
}

.hero-brand-logo:hover {
  transform: scale(1.08) translateY(-3px);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 28px rgba(197, 160, 89, 0.6));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}

.hero-title-sub {
  font-size: 1.1rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.hero-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 30px;
  color: rgba(251, 250, 247, 0.9);
}

.hero-social-access {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-on-dark);
  border: 1px solid rgba(251, 250, 247, 0.2);
  background: rgba(251, 250, 247, 0.05);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-btn.twitter:hover {
  background: #1d9bf0;
  border-color: #1d9bf0;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: var(--radius-md);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== HERO SLIDESHOW ===== */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(197, 160, 89, 0.3);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(7, 23, 39, 0.6) 100%);
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 43, 70, 0.7);
  color: var(--text-on-dark);
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.slide-prev { left: 15px; }
.slide-next { right: 15px; }

.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(251, 250, 247, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slide-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== BIOGRAPHY (ABOUT) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--primary);
}

.about-desc p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-body);
}

.about-quote-box {
  background: var(--bg-section-alt);
  padding: 40px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: rgba(197, 160, 89, 0.25);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.about-quote-content p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary-dark);
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}

.about-quote-content cite {
  font-size: 0.9rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: var(--bg-section-alt);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background: var(--accent);
  border: 3px solid var(--bg-cream);
  border-radius: 50%;
  top: 28px;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.3), 0 0 15px rgba(197, 160, 89, 0.6);
  animation: pulseDot 2.5s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6), 0 0 10px rgba(197, 160, 89, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0), 0 0 15px rgba(197, 160, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0), 0 0 10px rgba(197, 160, 89, 0); }
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 5px;
}

.timeline-content {
  background: var(--bg-white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(15, 43, 70, 0.06);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(15, 43, 70, 0.12), 0 0 20px rgba(197, 160, 89, 0.15);
}

.timeline-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ===== CAREER & STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--bg-white);
  padding: 34px 20px;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(15, 43, 70, 0.05);
  text-align: center;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 43, 70, 0.12), 0 0 25px rgba(197, 160, 89, 0.2);
  border-color: var(--accent-light);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  display: inline-block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Management Table */
.management-section h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.management-subtitle {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.management-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  text-align: left;
}

.management-table th, .management-table td {
  padding: 16px 20px;
}

.management-table th {
  background: var(--primary);
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.management-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.management-table tr:hover {
  background: rgba(197, 160, 89, 0.05);
}

.management-table td {
  font-size: 0.95rem;
  color: var(--text-body);
}

.management-table td:last-child {
  white-space: nowrap;
}

.management-table tr:last-child {
  border-bottom: none;
}

.management-table td a {
  color: var(--accent-dark);
  font-weight: 600;
}

.management-table td a:hover {
  color: var(--primary);
}

/* ===== KIZILAY & STK ===== */
.kizilay-section {
  background: var(--bg-section-alt);
}

.kizilay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.kizilay-card {
  background: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.kizilay-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.kizilay-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.kizilay-card-icon {
  font-size: 1.8rem;
  background: rgba(197, 160, 89, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--accent-dark);
}

.kizilay-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.kizilay-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ===== DEPREM & IMAR ===== */
.deprem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.deprem-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.deprem-list {
  list-style: none;
}

.deprem-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-body);
}

.deprem-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.deprem-slideshow-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-white);
}

.deprem-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.deprem-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.deprem-slide.active {
  opacity: 1;
}

.deprem-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deprem-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 43, 70, 0.7);
  color: var(--text-on-dark);
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deprem-slide-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.deprem-slide-prev { left: 15px; }
.deprem-slide-next { right: 15px; }

/* ===== TWITTER / X EMBED SECTION ===== */
.twitter-section {
  background: var(--bg-section-alt);
}

.tweets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  justify-content: center;
  align-items: start;
  margin-top: 30px;
  width: 100%;
}

.tweet-embed-card {
  width: 100%;
  max-width: 100%;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  overflow: hidden;
}

.tweet-embed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.tweet-embed-card .twitter-tweet,
.tweet-embed-card iframe {
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .tweets-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 650px) {
  .tweets-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PHOTO GALLERY ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--text-on-dark);
  border-color: var(--primary);
}

.gallery-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 43, 70, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay .gallery-icon {
  color: var(--accent);
  font-size: 2.2rem;
  transform: scale(0.6);
  transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay .gallery-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 23, 39, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--text-on-dark);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  color: var(--text-on-dark);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-on-dark);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 20px;
}

.lightbox-nav:hover {
  color: var(--accent);
}

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

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h3, .contact-form h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 35px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.5rem;
  background: rgba(197, 160, 89, 0.1);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--accent-dark);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0;
}

.contact-item a:hover {
  color: var(--accent-dark);
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--primary);
  color: var(--text-on-dark);
  border: none;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-size: 1rem;
}

.form-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.form-status {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: var(--text-on-dark);
  padding: 80px 0 40px;
  border-top: 3px solid var(--accent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
  align-items: start;
}

.footer-brand h3 {
  font-size: 1.6rem;
  color: var(--text-on-dark);
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(251, 250, 247, 0.7);
  font-size: 0.9rem;
  margin-bottom: 25px;
  max-width: 450px;
}

.footer-bms-logo {
  height: 55px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-bms-logo:hover {
  opacity: 0.9;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand-logo {
  height: 84px;
  width: auto;
  object-fit: contain;
  margin-top: 2px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(197, 160, 89, 0.4));
  transition: var(--transition);
}

.footer-brand-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(197, 160, 89, 0.55));
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-top: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-top: 4px;
}

.footer-col a {
  display: block;
  color: rgba(251, 250, 247, 0.75);
  margin-bottom: 5px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-admin-link {
  font-weight: 600;
  color: var(--accent-light) !important;
  margin-top: 20px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block !important;
  background: rgba(197, 160, 89, 0.05);
}

.footer-admin-link:hover {
  background: var(--accent);
  color: var(--primary-dark) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 250, 247, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(251, 250, 247, 0.5);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(251, 250, 247, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* Scroll to Top */
/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background-color: #1da851;
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 9998;
  transition: var(--transition);
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-quote {
    border-left: none;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    padding: 15px 0;
    max-width: 500px;
  }
  .hero-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  .about-grid, .deprem-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .deprem-images {
    height: 300px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tweets-grid, .gallery-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar:not(.scrolled) .nav-brand-text {
    color: var(--text-on-dark);
  }
  .nav-logo-wrap {
    width: 40px;
    height: 40px;
  }
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 50px;
    padding-right: 15px;
  }
  .timeline-dot {
    left: 13px !important;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .kizilay-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive table {
    min-width: 500px;
  }
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .stats-grid, .tweets-grid, .gallery-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .section-header h2 {
    font-size: 1.7rem;
  }
  .filter-buttons {
    gap: 6px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
}
