*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Montserrat',sans-serif;
}

body{
  background:#000;
  color:#fff;
  overflow-x:hidden;
}

a{ text-decoration:none; color:inherit; }

/* ================= HEADER ================= */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:1.2rem 3rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  z-index:1000;
}

.logo{
  font-size:1.6rem;
  font-weight:700;
}

.logo .ted{ color:#fff; }
.logo .x{ color:#fff; }
.logo .ebyü{ color:#e31937; }

nav a{
  margin-left:2rem;
  position:relative;
  transition:color .3s ease;
}


nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:#e31937;
  transition:.3s;
}

nav a.active{
  color:#e31937;
}

nav a.active::after{
  width:100%;
}


nav a:hover::after{ width:100%; }

/* ================= HERO ================= */
.hero{
  height:85vh;
  width:100%;
  max-width:none;
  padding-top:140px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;

  position:relative;

  background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
   
}


#particles-js{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero *{
  position:relative;
  z-index:1;
}

.hero-title{
  font-size:3rem;
  letter-spacing:2px;
  margin-bottom:1rem;
}

.hero-title .ted{ color:#fff; }
.hero-title .x { color:#fff; }
.hero-title .ebyü{
  color:#e31937;
  text-shadow:0 0 12px rgba(227,25,55,.6);
}

.hero p{
  max-width:700px;
  font-size:1.15rem;
  margin-bottom:2rem;
}

/* ================= COUNTDOWN ================= */
.countdown{
  display:flex;
  gap:1.5rem;
  margin-top:2rem;
  position:relative;
  z-index:3;
}


.countdown div{
  background:rgba(0,0,0,.65);
  backdrop-filter:blur(6px);
  border:1px solid rgba(227,25,55,.35);
  border-radius:14px;
  padding:1.2rem 1.5rem;
  flex:1 1 90px;
  min-width:110px;
  text-align:center;
  box-shadow:0 0 25px rgba(227,25,55,.25);
}

.countdown span{
  display:block;
  font-size:2.2rem;
  font-weight:700;
  color:#e31937;
  line-height:1;
}

.countdown small{
  display:block;
  margin-top:.4rem;
  font-size:.85rem;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#ccc;
}




/* ================= SECTIONS ================= */
section:not(.hero){
  padding:6rem 2rem;
  max-width:1200px;
  margin:0 auto;
}





h2{
  text-align:center;
  font-size:2.4rem;
  margin-bottom:3rem;
  color:#e31937;
}
/* ================= SPEAKERS ================= */
.speakers{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:2.5rem;
}

.speaker {
  background:rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border:1px solid rgba(227,25,55,.3);
  border-radius:18px;
  padding:1.5rem;
  text-align:center;
  transition:.4s ease;
  position:relative;
  overflow:hidden;
  cursor: pointer; /* YENİ EKLENDİ - Tıklanabilir hissi verir */
}

.speaker::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(227,25,55,.25),
    transparent
  );
  opacity:0;
  transition:.4s;
}

.speaker:hover::before{
  opacity:1;
}

.speaker:hover{
  transform:translateY(-10px) scale(1.03);
  box-shadow:0 15px 40px rgba(227,25,55,.5);
}

.speaker img{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:1rem;
  border:3px solid #e31937;
  box-shadow:0 0 25px rgba(227,25,55,.6);
}


/* ================= AGENDA ================= */
.agenda{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}

.agenda-item{
  background:#111;
  border-left:4px solid #e31937;
  padding:1rem;
}

.agenda-detail {
  max-height:0;
  overflow:hidden;
  transition: max-height 0.4s ease;
}
.agenda-detail.open {
  max-height:1000px; /* yeterince büyük bir değer */
}


/* ================= FOOTER ================= */
footer{
  background:#111;
  padding:2rem;
  text-align:center;
}
.social a{margin:0 0.5rem;color:#e31937;font-weight:700;transition:0.3s;}
.social a:hover{color:#fff;}

/* ================= FAQ ================= */
#faq {
  padding:6rem 2rem;
  max-width:800px;
  margin:0 auto;
}

.sss-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.sss-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #444;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  outline: none;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #ff4500;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

.faq-answer p {
  padding: 10px 0;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  nav {
    width: 100%;
    margin-top: 0.5rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .countdown{
    flex-wrap:wrap;
    justify-content:center;
  }

  .countdown div{
    min-width:90px;
    padding:1rem;
  }

  .speakers{
    grid-template-columns: 1fr;
  }
}


.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #111;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: #fff;
}

.modal-content h3 { color:#e31937; margin-top:1rem; }
.modal-content a { color:#e31937; }
.close {
  color: #fff;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* ================= KAYIT OL BUTONU VE FORM ================= */
.cta-button {
  margin-top: 2.5rem;
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: #e31937;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(227, 25, 55, 0.4);
  position: relative;
  z-index: 3;
}

.cta-button:hover {
  background: #ff2a4b;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(227, 25, 55, 0.8);
}

#registerForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#registerForm input {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

#registerForm input:focus {
  outline: none;
  border-color: #e31937;
  box-shadow: 0 0 10px rgba(227, 25, 55, 0.3);
}

.submit-button {
  padding: 1rem;
  background: #e31937;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.submit-button:hover {
  background: #ff2a4b;
}

/* ================= SPONSORLAR ================= */
#sponsors {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02); /* Hafif bir ayrım için çok koyu gri zemin */
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.sponsor-item {
  width: 100%;
  max-width: 160px;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.4s ease;
  opacity: 0.7;
  cursor: pointer; /* YENİ EKLENDİ */
}

.sponsor-item:hover {
  filter: grayscale(0%) brightness(1); /* Üzerine gelince renklenir */
  opacity: 1;
  transform: scale(1.1);
}

.sponsor-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobilde ikişerli dizilir */
    gap: 2rem;
  }
}
.made-by {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #888;
  background: rgba(0, 0, 0, 0.6); /* Hafif şeffaf siyah arka plan */
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #444;
  z-index: 1000;
  pointer-events: none; /* Sayfadaki tıklamaları engellememesi için */
  transition: opacity 0.3s ease;
}

.made-by strong {
  color: #e31937; /* TED kırmızısı ile vurgu */
  margin-left: 4px;
}

/* Mobilde çok göze batmaması için istersen biraz küçültebilirsin */
@media (max-width: 768px) {
  .made-by {
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    padding: 4px 10px;
  }
}