/* ==========================================================================
   İletişim İstanbul - Main Stylesheet
   Matching Design Screenshot & Clean Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --burgundy: #8C2D30;
  --burgundy-light: #A4373A;
  --gold: #C5A059;
  --gold-light: #D97706;
  --gold-gradient: linear-gradient(135deg, #E6CA85 0%, #C5A059 100%);
  --bg-body: #FAFAFA;
  --bg-card: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PRELOADER (Matching Image 1) */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.preloader-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 24px auto;
  object-fit: contain;
  animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.preloader-progress-bg {
  width: 100%;
  height: 4px;
  background-color: #F1F5F9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #C5A059, #D97706, #B45309);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--burgundy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--burgundy);
}

.nav-search-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
}

.nav-search-btn:hover {
  color: var(--burgundy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1F2937;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

.btn-burgundy {
  background-color: var(--burgundy);
  color: #FFFFFF;
}

.btn-burgundy:hover {
  background-color: var(--burgundy-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: #1EBE57;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 75px 0;
}

.section-bg {
  background-color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px auto;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 800;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* HERO SLIDER BANNER (Matching Image 2) */
.hero-slider {
  background: linear-gradient(135deg, #7A2427 0%, #A4373A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px 0;
}

.hero-slider::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  border: 2px solid rgba(229, 202, 133, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-slider::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(229, 202, 133, 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.slide-item {
  display: none;
}

.slide-item.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-corner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFE699;
  margin-bottom: 20px;
}

.hero-content-title {
  font-size: 3rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-features-list {
  margin-bottom: 30px;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #F3F4F6;
}

.hero-features-list i {
  color: #FFE699;
}

.slide-img-box {
  position: relative;
  text-align: center;
}

.slide-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.slider-nav-btns {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  padding: 0 15px;
  pointer-events: none;
  z-index: 20;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--gold);
  color: #1F2937;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: #FFE699;
  width: 28px;
  border-radius: 10px;
}

/* EĞİTİM PROGRAMLARIMIZ (4 Category Cards) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 25px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.category-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

/* BİZİMLE İLETİŞİME GEÇİN SECTION */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 35px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.promo-card {
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.promo-gold {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: #1F2937;
}

.promo-dark {
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  color: #FFFFFF;
}

.promo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.promo-dark h3 {
  color: #FFFFFF;
}

/* YOUTUBE & BİZDEN HABERLER */
.news-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.content-box-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-card-body {
  padding: 24px;
}

/* ETKİNLİK TAKVİMİ */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.event-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

/* EĞİTMEN KADROMUZ (Black/Gold framed cards) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.trainer-card-framed {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.trainer-card-framed:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.trainer-frame-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(10%);
  transition: filter 0.3s;
}

.trainer-card-framed:hover .trainer-frame-img {
  filter: grayscale(0%);
}

.trainer-frame-info {
  padding: 16px;
  background: #FFFFFF;
}

.trainer-frame-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.trainer-frame-role {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* REFERANSLAR (LOGOS) */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.reference-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #92400E;
  text-transform: uppercase;

  /* Line clamp or image placeholder */
  min-height: 90px;
}

/* CALL TO ACTION BANNER */
.cta-banner {
  background: linear-gradient(135deg, #FDE68A 0%, #D97706 100%);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1F2937;
}

.cta-banner h3 {
  font-size: 1.8rem;
  color: #1F2937;
}

/* POPUP MODAL SLIDER */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 92%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--burgundy);
}

.modal-slider-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #111827;
}

/* FOOTER */
.footer {
  background-color: #111827;
  color: #9CA3AF;
  padding: 60px 0 25px 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.social-pill:hover {
  background: var(--gold);
  color: #111827;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* FLOATING ACTIONS */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.float-wa {
  background-color: #25D366;
}

.float-wa:hover {
  transform: scale(1.1);
}

.float-popup {
  background: var(--gold-gradient);
  color: #111827;
}

.float-popup:hover {
  transform: scale(1.1);
}

.float-top {
  background-color: var(--primary);
  opacity: 0;
  visibility: hidden;
}

.float-top.show {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .slide-item.active {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-section-grid, .news-video-grid {
    grid-template-columns: 1fr;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 30px;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    left: 0;
  }
  .category-grid, .grid-3, .grid-2, .grid-4, .promo-grid, .references-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cta-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .hero-content-title {
    font-size: 2.2rem;
  }
}


/* CONTACT INFO CARD BOX (Replaces Contact Form) */
.contact-info-card-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.contact-info-item p a {
  color: var(--primary);
  font-weight: 600;
}

.contact-info-item p a:hover {
  color: var(--gold-light);
}
