/* Temel Stiller */
:root {
  --primary-color: #21014a; /* Koyu mor */
  --secondary-color: #ff8a1d; /* Turuncu */
  --light-color: #f8f5ff; /* Açık mor arkaplan */
  --dark-color: #333;
  --text-color: #444;
  --light-text: #777;
  --card-shadow: 0 4px 12px rgba(33, 1, 74, 0.1);
  --hover-shadow: 0 6px 16px rgba(33, 1, 74, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: white;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--dark-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.btn:hover {
  background-color: #1a013a;
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Header Stilleri */
.main-header {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.main-nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Karşılama Bölümü */
.welcome-section {
  background-color: var(--light-color);
}

.welcome-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.welcome-content {
  flex: 1;
}

.welcome-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.welcome-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.welcome-image {
  flex: 1;
}

.welcome-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

/* Programlar Bölümü */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.program-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.program-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.program-card p {
  margin-bottom: 20px;
  color: var(--light-text);
  font-size: 0.95rem;
}

/* Etkinlikler Bölümü */
.activities-section {
  background-color: var(--light-color);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.activity-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.activity-image {
  position: relative;
  overflow: hidden;
}

.activity-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
  transform: scale(1.05);
}

.activity-content {
  padding: 25px;
  position: relative;
}

.activity-content h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.activity-content p {
  margin-bottom: 15px;
  color: var(--light-text);
  font-size: 0.95rem;
}

.activity-age {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Videolar Bölümü */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.video-thumbnail {
  position: relative;
}

.video-thumbnail .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}

.video-thumbnail video {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}


.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.video-card:hover .play-icon {
  background-color: var(--primary-color);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.video-card p {
  padding: 0 20px 10px;
  color: var(--light-text);
  font-size: 0.95rem;
}

.video-duration {
  padding: 0 20px 20px;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-footer {
  text-align: center;
  margin-top: 50px;
}

/* İletişim Bölümü */
.contact-content {
  display: flex;
  gap: 50px;
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-info i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  margin-top: 3px;
}

.social-links {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
}

.contact-form h3 {
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
.main-footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
}

/* Video Modal Stilleri */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  background-color: transparent;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.video-close:hover {
  color: var(--secondary-color);
}

#modalVideo {
  width: 100%;
  border-radius: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Video Thumbnail Stilleri */
.video-thumbnail video {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.video-card {
  cursor: pointer;
}
@media (max-width: 992px) {
  .welcome-section .container {
    flex-direction: column;
  }

  .welcome-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .contact-content {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .main-nav a {
    margin: 0;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .logo span {
    font-size: 1rem;
  }

  .welcome-content h2 {
    font-size: 2rem;
  }

  .contact-content {
    padding: 30px;
  }

  .programs-grid,
  .activities-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* Yeni Play Icon Stil */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 4px rgba(255, 138, 29, 0.1);
}

.play-icon::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255, 138, 29, 0.3);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.video-card:hover .play-icon {
  background-color: var(--primary-color);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}
