* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --nav-h: 56px;   /* 72 yerine küçültülmüş yükseklik */
  }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #2c3e50;
  background: #fafafa;
  overflow-x: hidden;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
}

/* Sabit navbar için ofset */
section, [id] { scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top) + 10px); }

/* Animations */
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
.success-notification { animation: slideIn 0.3s ease; }
.success-notification.removing { animation: slideOut 0.3s ease; }

/* Navbar */
.navbar {
  position: fixed; top: 0; width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 1000; padding: 1rem 0;
  border-bottom: 1px solid #e8f4f8;
  transition: all 0.3s ease;
  padding-top: calc(1rem + env(safe-area-inset-top));
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem;
}
.logo { font-size: 1.5rem; font-weight: 600; color: #2c3e50; text-decoration: none; }

.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-menu a {
  text-decoration: none; color: #5a6c7d; font-weight: 500; transition: color 0.3s ease; position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: #3498db; }
.nav-menu a::after{
  content:''; position:absolute; bottom:-5px; left:0; width:0; height:2px;
  background:#3498db; transition: width .3s ease;
}
.nav-menu a:hover::after, .nav-menu a.active::after{ width:100%; }

/* Hamburger (masaüstünde gizli) */
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%); padding: 0 2rem; }
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content h1 { font-size: 3.5rem; font-weight: 700; color: #2c3e50; margin-bottom: 1rem; line-height: 1.2; }
.hero-content h2 { font-size: 1.5rem; color: #3498db; margin-bottom: 1.5rem; font-weight: 500; }
.hero-content p { font-size: 1.2rem; color: #5a6c7d; margin-bottom: 2rem; line-height: 1.8; }
.cta-button { display: inline-block; padding: 1rem 2rem; background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; text-decoration: none; border-radius: 50px; font-weight: 600; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 15px rgba(52,152,219,0.3); }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(52,152,219,0.4); }

.hero-image {
  background: linear-gradient(45deg, #e8f4f8 25%, transparent 25%),
              linear-gradient(-45deg, #e8f4f8 25%, transparent 25%),
              linear-gradient(45deg, transparent 75%, #e8f4f8 75%),
              linear-gradient(-45deg, transparent 75%, #e8f4f8 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
  border-radius: 20px; position: relative; max-width: 500px; height: auto; overflow: visible;
}
.hero-image::before {
  content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:200px; height:200px; background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); border-radius:50%; opacity:.1;
}

/* Sections */
.section { padding: 6rem 2rem; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.5rem; font-weight: 700; color:#2c3e50; text-align:center; margin-bottom:3rem; position:relative; }
.section-title::after{ content:''; position:absolute; bottom:-10px; left:50%; transform:translateX(-50%); width:60px; height:3px; background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); border-radius:2px; }

/* About */
.about{ background:#fff; }
.about-content { display:grid; grid-template-columns: 1fr 1fr; gap:4rem; align-items:center; }
.about-text p { font-size:1.1rem; color:#5a6c7d; margin-bottom:1.5rem; line-height:1.8; }
.about-text ul{ margin-left:1.5rem; margin-top:1.5rem; }
.about-text li{ font-size:1.1rem; color:#5a6c7d; margin-bottom:.5rem; }
.about-image{ background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%); border-radius :2500px; height:400px; width: 400px;position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.about-image img{ width:100%; height:100%; object-fit:cover; border-radius :2000px; }
.about-image::before{ content:''; position:absolute; top:20px; right:20px; width:100px; height:100px; background:#3498db; border-radius:50%; opacity:.1; z-index:1; }
.about-image::after{ content:''; position:absolute; bottom:20px; left:20px; width:150px; height:150px; background:#2980b9; border-radius:50%; opacity:.05; z-index:1; }

/* Expertise */
.expertise{ background:#f8fafc; }
.expertise-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap:2rem; }
.expertise-card{ background:#fff; padding:2.5rem; border-radius:20px; box-shadow:0 4px 20px rgba(0,0,0,.05); transition:.3s; border:1px solid #e8f4f8; }
.expertise-card:hover{ transform: translateY(-5px); box-shadow:0 8px 30px rgba(0,0,0,.1); }
.expertise-card h4{ font-size:1.3rem; color:#2c3e50; margin-bottom:1rem; font-weight:600; }
.expertise-card p{ color:#5a6c7d; line-height:1.7; }
.expertise-icon{ width:60px; height:60px; background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); border-radius:15px; display:flex; align-items:center; justify-content:center; margin-bottom:1.5rem; color:#fff; font-size:1.5rem; }

/* Events */
.events{ background:#f8fafc; }
.events-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr)); gap:3rem; margin-top:3rem; }
.event-card{ background:#fff; border-radius:20px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.05); transition:.3s; border:1px solid #e8f4f8; }
.event-card:hover{ transform:translateY(-5px); box-shadow:0 8px 30px rgba(0,0,0,.1); }
.image-slider{ width:100%; height:250px; position:relative; overflow:hidden; border-radius:20px 20px 0 0; }
.slider-container{ display:flex; transition:transform .5s ease; height:100%; }
.slider-image{ min-width:100%; height:100%; position:relative; }
.slider-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.slider-image img:not([src]), .slider-image img[src=""], .slider-image img[src*="undefined"]{ display:none; }
.slider-image .placeholder{ width:100%; height:100%; background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); display:flex; align-items:center; justify-content:center; color:#fff; font-size:3rem; }
.slider-nav{ position:absolute; bottom:15px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:10; }
.slider-dot{ width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.5); cursor:pointer; transition:background .3s; }
.slider-dot.active{ background:#fff; }
.slider-arrow{ position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,.5); color:#fff; border:none; width:40px; height:40px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:1.2rem; transition: background .3s; z-index:10; }
.slider-arrow:hover{ background:rgba(0,0,0,.7); }
.slider-arrow.prev{ left:10px; }
.slider-arrow.next{ right:10px; }
.event-content{ padding:2rem; }
.event-title{ font-size:1.5rem; font-weight:600; color:#2c3e50; margin-bottom:1rem; }
.event-description{ color:#5a6c7d; line-height:1.7; margin-bottom:1.5rem; }
.event-button{ display:inline-block; padding:1rem 2rem; background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); color:#fff; text-decoration:none; border-radius:25px; font-weight:600; transition:.3s; box-shadow:0 4px 15px rgba(52,152,219,.3); position:relative; overflow:hidden; }
.event-button:hover{ transform:translateY(-3px); box-shadow:0 8px 25px rgba(52,152,219,.4); background: linear-gradient(135deg,#2980b9 0%,#1f5f8b 100%); }
.event-button:active{ transform:translateY(-1px); }
.event-button::before{ content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); transition:left .5s ease; }
.event-button:hover::before{ left:100%; }

/* Contact */
.contact{ background:#fff; }
.contact-content{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; }
.contact-info h3{ font-size:1.5rem; color:#2c3e50; margin-bottom:2rem; }
.contact-item{ display:flex; align-items:center; margin-bottom:1.5rem; padding:1rem; background:#f8fafc; border-radius:15px; border:1px solid #e8f4f8; }
.contact-icon{ width:50px; height:50px; background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); border-radius:12px; display:flex; align-items:center; justify-content:center; margin-right:1rem; color:#fff; }
.contact-text strong{ display:block; color:#2c3e50; margin-bottom:.27rem; }
.contact-text a{ color:#3498db; text-decoration:none; }
.contact-form{ background:#f8fafc; padding:2.5rem; border-radius:20px; border:1px solid #e8f4f8; }
.contact-form h3{ font-size:1.5rem; color:#2c3e50; margin-bottom:2rem; }
.form-group{ margin-bottom:1.5rem; }
.form-group label{ display:block; margin-bottom:.5rem; color:#2c3e50; font-weight:500; }
.form-group input, .form-group textarea{ width:100%; width:100%; padding:1rem; border:2px solid #e8f4f8; border-radius:12px; font-family:inherit; font-size:1rem; transition:border-color .3s; background:#fff; }
.form-group input:focus, .form-group textarea:focus{ outline:none; border-color:#3498db; }
.submit-btn{ background: linear-gradient(135deg,#3498db 0%,#2980b9 100%); color:#fff; padding:1rem 2rem; border:none; border-radius:12px; cursor:pointer; font-size:1rem; font-weight:600; transition: transform .3s, box-shadow .3s; box-shadow:0 4px 15px rgba(52,152,219,.3); }
.submit-btn:hover{ transform:translateY(-2px); box-shadow:0 8px 25px rgba(52,152,219,.4); }

/* Footer */
.footer{ background:#2c3e50; color:#fff; text-align:center; padding:2rem; }
.social-links{ margin-top:1rem; }
.social-links a{ display:inline-flex; margin:0 .5rem; width:40px; height:40px; background:rgba(255,255,255,.1); border-radius:50%; align-items:center; justify-content:center; color:#fff; text-decoration:none; transition: background .3s; }
.social-links a:hover{ background:#3498db; }

/* Responsive */
@media (max-width: 660px) {
    .nav-container {
        height: 50px;
        padding: 0 1rem;
      }
    
      .nav-container h1 {
        font-size: 0.95rem;
      }

      :root {
        --nav-h: 48px;               /* mobilde daha da ince */
      }
    
      .logo {
        font-size: 0.9rem;
      }
    
     
  .menu-toggle{
    display:inline-flex; flex-direction:column; gap:5px;
    background:transparent; border:0; cursor:pointer; padding:.5rem; margin-left:auto;
  }
  .menu-toggle .bar{  width: 20px; height: 2px; background:#2c3e50; display:block; transition: transform .3s, opacity .3s; }
  .menu-toggle.active .bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2){ opacity:0; }
  .menu-toggle.active .bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .nav-menu{
    position: fixed; top: 50px; right:0; left:0; background:#fff; border-bottom:1px solid #e8f4f8;
    display:flex; flex-direction:column; gap:0; padding:.75rem 1rem 1rem;
    max-height:0; overflow:hidden; transition:max-height .3s ease; z-index:999;
  }
  .nav-menu.open{ max-height:70vh; }
  .nav-menu li{ padding:.5rem 0; }
  .nav-menu a{ display:block; padding:.25rem 0; }

  .menu-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.35); opacity:0; pointer-events:none; transition:opacity .3s; z-index:998; }
  .menu-backdrop.show{ opacity:1; pointer-events:auto; }

  .hero-container, .about-content, .contact-content { 
    grid-template-columns:1fr; 
    gap:2rem; 
    padding-bottom: 2rem; 
    justify-items: center;   
    text-align: center;      
  }
  
  .hero-content h1 { 
    font-size: 2.5rem; 
  }
  
  .section {  padding: 2rem 1rem; padding-bottom: 2rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; gap: 2rem; }
  .event-card { margin-bottom: 1rem; }
  
}

/* Fade-in */
.fade-in{ opacity:0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible{ opacity:1; transform: translateY(0); }

/* Map embed */
.map-embed{
    
    margin-bottom:5rem;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #e8f4f8;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
    background:#fff;
  }
  .map-embed iframe{
    width:100%;
    height:400px;   /* dilersen 380-500px arası ayarlayabilirsin */
    border:0;
    display:block;
  }
  

  .event-button{
    margin-top: 5rem;
    display: block;           /* inline-block yerine */
    width: fit-content;       /* içerik kadar genişlik */
    margin: 0 auto;           /* yatayda ortala */
    padding: 1rem 2rem;
    background: linear-gradient(135deg,#3498db 0%,#2980b9 100%);
    color:#fff; text-decoration:none; border-radius:25px; font-weight:600;
    transition:.3s; box-shadow:0 4px 15px rgba(52,152,219,.3);
    position:relative; overflow:hidden;
  }
  
