@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Poppins' sans-serif;
}

body {
    background-color: white;

}

header {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 33px 9%;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;

}

.logo img {
  height: 180px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 100px;
  }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar ul {
    display: flex;
    padding: 10px;
    font-size: 15px;
    text-decoration: none;
}

a {
    padding: 0 15px 0 15px;
    color: black;
    font-size: 20px;
    font-family: 'Poppins' sans-serif;

}

.kurslar {
  padding: 60px 20px;
  background-color: #fff; /* arka plan beyaz */
  text-align: center;
}

.kurs-container {
  max-width: 800px;
  margin: 0 auto;
}

.kurs-baslik {
  font-size: 32px;
  color: #8B4513;
  margin-bottom: 30px;
  font-weight: bold;
}

.kurs-detay h3 {
  font-size: 22px;
  color: #8B4513;
  margin-bottom: 8px;
}

.kurs-detay p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.kurs-aciklama p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 30px;
  color: #444;
}

.kurslar hr {
  border: none;
  border-top: 2px solid #8B4513;
  margin: 20px auto;
  width: 60%;
}



@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.event-calendar {
  text-align: center;
  margin: 40px 0 20px 0;
}

.event-calendar img {
  max-width: 85%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin-top: 75px;
}
.event-calendar img:hover {
  transform: scale(1.03);
}

.ticket {
  text-align: center;
  margin: 40px 0;
}

.ticket-button {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #8B4513, #B8860B);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}


.ticket-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.slide-title {
    text-align: center;
    padding: 0;
    justify-content: center;
    font-family: 'Poppins' sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer {
  background-color: #8B4513;
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left h2 {
  font-size: 20px;
  margin: 0;
  color: #fff;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 5px;
  font-weight: 500;
  margin-left: 6px;
  transition: color 0.25s ease;
}

.footer-center p {
  font-size: 14px;
  color: #fff;
  margin: 4px 0;
}

.footer-right a {
  color: #fff;
  margin-left: 15px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #d2b48c;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
  }
  .footer-left h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }


  .footer-right {
    margin-top: 10px;
  }

  .footer-right a {
    margin: 0 10px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer-left h2 {
    font-size: 16px;
  }

  .footer-center p {
    font-size: 12px;
  }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        border-top: 1px solid #ccc;
    }

    .navbar ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .navbar.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chatbox {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    max-height: 450px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.chat-header {
    background: #000;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.chatlogs {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.bot, .user {
    margin: 6px 0;
    padding: 10px 14px;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    font-size: 14px;
}

.bot {
    background: #f0f0f0;
    color: #333;
    align-self: flex-start;
}

.user {
    background: #cbe4ff;
    color: #003366;
    text-align: right;
    align-self: flex-end;
    margin-left: auto;
}

input[type="text"] {
    width: 100%;
    padding: 14px;
    border: none;
    border-top: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}

@media (max-width: 480px) {
    .chatbox {
        width: 95%;
        right: 2.5%;
        bottom: 80px;
    }

    .chat-toggle {
        bottom: 10px;
        right: 10px;
    }
}