:root {
  --lavender-light: #f4f0f8;
  --lavender: #d8c4e8;
  --lavender-dark: #b798d4;
  --lavender-deep: #9d7cc5;
  --text-color: #1a1a1a;
  --background: #ffffff;
  --accent: #8a5cb3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--background);
  color: var(--text-color);
  line-height: 1.6;
  caret-color: transparent;
  overflow-x: hidden;
  scroll-padding-top: 80px;
}

body:focus {
  outline: none;
}

input, textarea {
  caret-color: auto;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* Navbar */
.navbar {
  background-color: var(--lavender-dark);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
}

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

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--lavender-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  background: white;
  height: 3px;
  width: 25px;
  margin: 4px 0;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--lavender-dark);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  nav ul.active {
    display: flex;
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }
}

/* Slider Section */
.slider-section {
  position: relative;
  width: 100%;
  overflow: hidden; /* İçerik taşarsa gizle */
  margin-bottom: 2rem;
  
  /* Mobil ve varsayılan için daha düşük bir yükseklik */
  height: 50vh !important; /* Viewport yüksekliğinin %50'si */
  min-height: 350px !important; /* Minimum yüksekliği daha da düşürdük */
  max-height: 650px !important; /* Genel bir maksimum yükseklik */
}

@media (min-width: 769px) {
  .slider-section {
    height: 600px !important; /* Masaüstü için sabit yükseklik (700px'in altında) */
    max-height: 600px !important; /* Masaüstü için maksimum yükseklik */
    min-height: 0 !important; /* Masaüstünde min-height'ı sıfırlayarak esnekliği artırın */
  }
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100%; /* Kapsayıcısının %100'ü olmalı */
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  
  min-height: 100% !important; /* `.slider-section`'ın yüksekliğine göre %100 min-height */
  height: 100% !important; /* Slaytın kapsayıcısının yüksekliğini zorla */
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Kapsayıcısının %100'ü olmalı, bu zaten height: 100% ile sağlanıyor */
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.slider-dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3; /* Butonun üstünde kalması için artırıldı */
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dots .dot.active {
  background: var(--lavender-light);
  transform: scale(1.2);
}

.slide-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  color: white;
  padding: 40px;
  box-sizing: border-box;
  z-index: 2;
  overflow: hidden;
}

.slide-text-overlay h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  text-align: left;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.4;
}

.slide-text-overlay p {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 60%;
  text-align: left;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.slide-text-overlay .btn-slider-sa {
  position: absolute;
  right: 40px;
  bottom: 40px;
  margin-right: 0;
  margin-top: 0;
  background: var(--lavender);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  transition: background 0.3s, transform 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  z-index: 2; /* Butonun z-index’i netleştirildi */
}

.slide-text-overlay .btn-slider-sa:hover {
  background: var(--lavender-dark);
  transform: scale(1.05);
}

.read-more-link {
  color: #fff;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  margin-left: 5px;
  white-space: nowrap;
}

.read-more-link:hover {
  color: var(--lavender-light);
}

@media (max-width: 992px) {
  .slide-text-overlay {
    padding: 30px;
  }
  .slide-text-overlay h2 {
    font-size: 2.5rem;
  }
  .slide-text-overlay p {
    font-size: 1rem;
    max-width: 80%;
  }
  .slide-text-overlay .btn-slider-sa {
    padding: 0.7rem 1.3rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .slide {
    min-height: 400px !important; /* Mobil için min-height'ı zorla */
    height: 100% !important; /* Kapsayıcısının yüksekliğini zorla */
  }
  .slide-text-overlay {
    padding: 20px;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
  }
  .slide-text-overlay h2 {
    font-size: 2rem;
    text-align: center;
    line-height: 1.4;
  }
  .slide-text-overlay p {
    font-size: 1rem;
    max-width: 90%;
    text-align: center;
    line-height: 1.6;
  }
  .slide-text-overlay .btn-slider-sa {
    position: static;
    display: block;
    margin: 1rem auto 100px auto; /* Artırılmış boşluk */
    width: fit-content;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .slider-dots {
    bottom: 160px; /* Artırılmış mesafe */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
  }
  .read-more-link {
    display: inline;
  }
}

@media (max-width: 480px) {
  .slide-text-overlay h2 {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .slide-text-overlay p {
    font-size: 0.95rem;
    max-width: 95%;
    line-height: 1.6;
  }
}
/* About Section */
.about-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 0;
  background-color: var(--lavender-light);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#about {
  scroll-margin-top: 110px;
}

@media (max-width: 768px) {
  #about {
    scroll-margin-top: 70px;
  }
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
  text-align: justify;
  padding: 0 2rem;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--lavender-dark);
  position: relative;
  padding-bottom: 0.5rem;
  line-height: 1.4;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--lavender);
}

.about-text p {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
  width: 100%;
}

.image-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.image-wrapper img {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--lavender-light);
}

@media (max-width: 992px) {
  .about-text {
    padding: 0 1.5rem;
  }
  .image-wrapper img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }
  .about-image {
    order: -1;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .image-wrapper {
    justify-content: center;
    width: 100%;
  }
  .image-wrapper img {
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }
  .about-text {
    padding: 0 1rem;
  }
}

/* Eğitimler Bölümü */
.egitimler-container {
  background-color: var(--lavender-light);
  margin-top: -1rem;
  padding: 2rem 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.egitimler-container .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.egitimler-container .accordion {
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  margin-top: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Genel Accordion */
.accordion {
  margin-top: 2rem;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  background-color: var(--lavender-light);
}

.accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.accordion-title h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.4;
}

.accordion-icon {
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
  margin-left: 0;
  color: var(--text-color);
  line-height: 1.6;
}

.accordion-icon::before {
  content: "▼";
}

.accordion.active .accordion-icon::before {
  content: "▲";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-content ul {
  padding: 1rem 0;
  list-style: disc inside;
}

.accordion-content ul li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.accordion.active .accordion-content {
  max-height: none;
  height: auto;
  padding: 1.5rem;
}

/* Sections */
.services-section, .blog-section, .testimonials-section, .videos-section, .contact-section {
  padding: 5rem 0;
}

.services-section h2, .blog-section h2, .testimonials-section h2, .content-section h2, .videos-section h2, .contact-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--lavender-deep);
  position: relative;
  padding-bottom: 0.5rem;
  line-height: 1.4;
}

.services-section h2::after, .blog-section h2::after, .testimonials-section h2::after, .videos-section h2::after, .contact-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--lavender);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.card {
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 0 0 calc(33.333% - (2 * 16px / 3));
  max-width: calc(33.333% - (2 * 16px / 3));
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0.5rem 0 1rem;
  text-align: left;
  padding: 0 0.5rem;
}

.card-link {
  color: #111 !important;
  text-decoration: none;
}

.card-link h3,
.card-link p {
  color: #111;
}

.card-link:hover {
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  border-radius: 8px;
  height: auto;
}

.card h3 {
  margin: 1rem 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.5rem 0;
}

.card p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  padding: 0 1rem 1rem;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--lavender-light);
}

@media (max-width: 992px) {
  .card {
    flex: 0 0 calc(50% - (1 * 16px / 2));
    max-width: calc(50% - (1 * 16px / 2));
    padding: 0.75rem;
  }
}

@media (max-width: 600px) {
  .card {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0.5rem 0;
    padding: 0.75rem;
  }
  .services-section .card,
  .blog-section .card,
  .content-section .card {
    padding: 0.75rem;
  }
}

/* New Badge */
.new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #ff4d4d, #ff7878);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
  z-index: 5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials blockquote {
  background-color: var(--lavender-light);
  border-left: 5px solid var(--accent);
  margin: 1rem 0;
  padding: 1rem;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Testimonial Form */
.testimonial-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-form button {
  background-color: var(--lavender);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  width: fit-content;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-form button:hover {
  background-color: var(--lavender-dark);
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-form .floating-label {
  position: relative;
}

.testimonial-form input,
.testimonial-form textarea {
  width: 100%;
  padding: 1rem;
  padding-top: 1.25rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  background: none;
  outline: none;
}

.testimonial-form input::placeholder,
.testimonial-form textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

.testimonial-form label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #777;
  background-color: #fff;
  padding: 0 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  transition: all 0.2s ease;
  pointer-events: none;
}

.testimonial-form input:focus + label,
.testimonial-form input:not(:placeholder-shown) + label,
.testimonial-form textarea:focus + label,
.testimonial-form textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 600px) {
  .testimonial-form input,
  .testimonial-form textarea {
    font-size: 0.95rem;
  }
  .testimonial-form label {
    font-size: 0.95rem;
  }
  .testimonial-form input:focus + label,
  .testimonial-form input:not(:placeholder-shown) + label,
  .testimonial-form textarea:focus + label,
  .testimonial-form textarea:not(:placeholder-shown) + label {
    font-size: 0.7rem;
  }
}

/* Yorum kartı */
.yorum {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f4f0f8;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Contact */
.contact-section {
  padding: 5rem 0;
}

.contact-flex {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.contact-card {
  flex: 1;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Form */
.contact-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.floating-label {
  position: relative;
}

.floating-label input,
.floating-label textarea {
  width: 100%;
  padding: 1rem;
  padding-top: 1.25rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  background: white;
  outline: none;
}

.floating-label input::placeholder,
.floating-label textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

.floating-label label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: white;
  padding: 0 0.25rem;
  color: #777;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  pointer-events: none;
  transition: all 0.2s ease;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-card input,
  .contact-card textarea {
    font-size: 0.95rem;
  }
  .floating-label label {
    font-size: 0.95rem;
  }
  .floating-label input:focus + label,
  .floating-label input:not(:placeholder-shown) + label,
  .floating-label textarea:focus + label,
  .floating-label textarea:not(:placeholder-shown) + label {
    font-size: 0.7rem;
  }
}

/* Danışan Yorumları Slider */
.testimonial-slider {
  position: relative;
  margin: 2rem 0;
}

.testimonial-track-wrapper {
  overflow: hidden;
  padding: 0 8px;
  box-sizing: border-box;
}

.testimonial-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 calc(33.333% - 10.666px);
  max-width: calc(33.333% - 10.666px);
  background: linear-gradient(135deg, var(--lavender-light), #f0e6f7);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  box-sizing: border-box;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--lavender);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  z-index: 10;
}

.testimonial-nav:focus {
  outline: 2px solid var(--lavender);
}

.testimonial-prev { left: 20px; }
.testimonial-next { right: 20px; }

@media (max-width: 992px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  .testimonial-track {
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    margin: 0;
    box-sizing: border-box;
    min-width: 0;
  }
  .testimonial-track-wrapper {
    padding: 0;
    overflow: hidden;
    width: 100%;
  }
  .testimonial-nav {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    top: calc(50% - 15px);
  }
  .testimonial-prev { left: 2px; }
  .testimonial-next { right: 2px; }
}

@media (min-width: 601px) {
  .testimonial-nav:hover {
    background-color: var(--lavender-deep);
    transform: translateY(-50%) scale(1.1);
  }
}

/* Bilgi Kartı */
.info-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.info-item a {
  color: inherit;
  text-decoration: none;
}

.info-icon {
  width: 40px;
  height: 40px;
}

.info-card h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--lavender-deep);
}

.info-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.video-item {
  flex: 1 1 calc(33.333% - 2rem);
  max-width: 400px;
}

.video-item iframe {
  width: 100%;
  height: 220px;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .video-item {
    flex: 1 1 calc(50% - 2rem);
    max-width: 350px;
  }
}

@media (max-width: 600px) {
  .video-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--lavender-dark), var(--lavender-deep));
  color: white;
  padding: 2rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  width: 100%;
  margin: 0;
}

.footer-legal {
  flex: 1 1 100%;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: flex-end;
}

.footer-divider {
  width: 2px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 1rem;
}

.footer-right i {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-right i:hover {
  transform: scale(1.3);
  color: var(--lavender-light);
}

@media (max-width: 992px) {
  .footer-flex {
    gap: 1.5rem;
  }
  .footer-right {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-divider {
    display: none;
  }
  .footer-center {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 1rem;
  }
  .footer-right {
    justify-content: center;
    margin-left: 0;
    gap: 1rem;
  }
  .footer-copy {
    margin-top: 1rem;
  }
}

.legal-text {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  color: white;
}

.footer-center a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-copy {
  opacity: 0.8;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 1rem;
}

.social-links {
  margin-bottom: 1rem;
}

.social-links a {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

.social-links a:hover {
  text-decoration: underline;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--lavender);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

#modal .modal-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  padding: 2.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 80vh;
  margin: auto;
  box-sizing: border-box;
  scroll-behavior: auto;
  overscroll-behavior-y: contain;
}

.modal-content .close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  color: #333;
  background: white;
  border: 2px solid #ccc;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: background-color 0.3s, color 0.3s;
}

.modal-content .close:hover {
  background-color: var(--lavender);
  color: white;
}

.modal-content img {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

.modal-content * {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #modal .modal-content {
    width: 95%;
    padding: 2rem;
    max-height: 90vh;
  }
  .modal-content .close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    width: 28px;
    height: 28px;
  }
  .modal {
    overflow-y: auto;
    padding: 0 !important;
  }
}

/* Blog Filters */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: var(--lavender);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: white;
  transition: background-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--lavender-dark);
}

@media (max-width: 600px) {
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--lavender-dark);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  nav ul.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .card {
    flex: 1 1 100%;
  }
  .about-section {
    flex-direction: column;
  }
  .contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* İçerikler Slider */
.content-section {
  padding: 5rem 0;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--lavender-deep);
  line-height: 1.4;
}

/* Filtre butonları */
.media-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: var(--lavender);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: white;
  transition: background-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--lavender-dark);
}

@media (max-width: 600px) {
  .media-filters .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Slider iskeleti */
.media-slider {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.media-track-wrapper {
  overflow: hidden;
  padding: 0 8px;
  box-sizing: border-box;
}

.media-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Kartlar */
.media-track .card {
  flex: 0 0 calc(33.333% - 10.666px);
  max-width: calc(33.333% - 10.666px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
}

/* Kart içi dikey h3 ortalaması */
.media-track .card h3 {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Track’i <3 kart kaldığında ortaya hizala */
.media-track.center {
  justify-content: center;
}

/* Slider okları */
.media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--lavender);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  z-index: 10;
}

.media-nav:focus {
  outline: 2px solid var(--lavender);
}

.media-prev { left: 20px; }
.media-next { right: 20px; }

/* Kart içindeki Spotify / YouTube iframe’leri */
.media-track .card iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
}

/* Tablet */
@media (max-width: 992px) {
  .media-track .card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 0.75rem;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .media-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
    will-change: transform;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .media-track .card {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0.75rem;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 220px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 6px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.share-icon:hover {
  color: #007bff;
}

.publication-card {
  cursor: pointer;
  padding: 0.75rem;
  text-align: center;
  max-width: 250px;
  margin: 1rem auto;
}

.publication-card img {
  width: 100%;
  border-radius: 8px;
}

.publication-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow: hidden; /* değiştirildi: overflow-x -> overflow */
}

.publication-modal-content {
  position: relative;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: 90vh; /* değiştirildi: 60vh -> 90vh */
  overflow-y: auto;
  overflow-x: hidden;
}

/* ✅ Sadece bu satırın içinde önemli değişiklik var */
.publication-modal-content img {
  width: auto; /* yeni: genişlik otomatik */
  max-width: 100%;
  height: auto;
  max-height: 60vh; /* yeni: modal taşmasını engellemek için */
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.publication-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  color: #333;
  background: white;
  border: 2px solid #ccc;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background-color 0.3s, color 0.3s;
}

.publication-modal-close:hover {
  background-color: var(--lavender);
  color: white;
}

.publication-modal-content * {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .publication-modal-content {
    width: 95%;
    padding: 2rem;
    max-height: 85vh; /* mobilde de aynı oranı koru */
  }
  .publication-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    width: 28px;
    height: 28px;
  }
}

.publication-card {
  cursor: pointer;
  text-align: center;
  max-width: 250px;
  margin: 1rem auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.publication-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.publication-card img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.publication-card h4 {
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-color);
}

.floating-label select {
  width: 100%;
  padding: 1.25rem 1rem 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23999" d="M2 4l4 4 4-4z"/></svg>') no-repeat right 1rem center;
  background-color: white;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  appearance: none;
  outline: none;
  box-sizing: border-box;
}

.floating-label {
  position: relative;
  margin-bottom: 0.5rem;
}

.floating-label label {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  color: #999;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  pointer-events: none;
  transition: 0.2s ease all;
  background: white;
  padding: 0 0.25rem;
}

.floating-label select:focus + label,
.floating-label select:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 600px) {
  .floating-label select {
    font-size: 0.95rem;
  }
  .floating-label label {
    font-size: 0.95rem;
  }
  .floating-label select:focus + label,
  .floating-label select:not(:placeholder-shown) + label {
    font-size: 0.7rem;
  }
}

/* Blog Slider */
.blog-slider {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.blog-track-wrapper {
  overflow: visible; /* Kırpma önlemek için hidden yerine visible */
  padding: 20px 8px; /* Üstten padding artırıldı */
  box-sizing: border-box;
}

.blog-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

#blog-container p {
  width: 100%;
  text-align: center;
  padding: 20px 0; /* Üst ve alt padding ekle */
  margin: 0; /* Margin sıfırla */
}
/* Kartlar */
.blog-track .card {
  flex: 0 0 calc(33.333% - 10.666px);
  max-width: calc(33.333% - 10.666px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
}

/* Slider okları */
.blog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--lavender);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  z-index: 10;
}

.blog-nav:focus {
  outline: 2px solid var(--lavender);
}

.blog-prev { left: 20px; }
.blog-next { right: 20px; }

/* Tablet Görünüm */
@media (max-width: 992px) {
  .blog-track .card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 0.75rem;
  }
}

/* Mobil Görünüm */
@media (max-width: 600px) {
  .blog-track,
  .media-track {
    display: flex !important;
    transition: transform 0.5s ease;
    gap: 0;
    will-change: transform;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .blog-track .card,
  .media-track .card {
    display: flex !important;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0.75rem;
    visibility: visible;
  }
  .blog-track-wrapper,
  .media-track-wrapper {
    padding: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  .blog-nav,
  .media-nav {
    display: block !important;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    top: calc(50% - 15px);
    position: absolute;
    z-index: 10;
  }
  .blog-prev,
  .media-prev {
    left: 2px;
  }
  .blog-next,
  .media-next {
    right: 2px;
  }
}

/* Hover efektleri (sadece masaüstü için) */
@media (min-width: 601px) {
  .blog-nav:hover,
  .media-nav:hover {
    background-color: var(--lavender-deep);
    transform: translateY(-50%) scale(1.1);
  }
}

/* Testimonial Form Button */
.testimonial-form button {
  background-color: var(--lavender);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  width: fit-content;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-form button:hover {
  background-color: var(--lavender-dark);
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Randevu Form Button */
#randevuForm button {
  background-color: var(--lavender);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  width: fit-content;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#randevuForm button:hover {
  background-color: var(--lavender-dark);
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Publication Modal Button */
#publication-modal-button {
  background-color: var(--lavender);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  width: fit-content;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#publication-modal-button:hover {
  background-color: var(--lavender-dark);
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
  .testimonial-form button,
  #randevuForm button,
  #publication-modal-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.6;
  }
}

/* Yukarı Dön Butonu */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--lavender);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-top.show {
  display: block;
}

.scroll-top:hover {
  background-color: var(--lavender-dark);
  transform: scale(1.1);
}

.duyuru-modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.35);
  gap: 1rem; /* 🔥 modal içerik ile buton arasında boşluk */
}

.duyuru-modal-content {
  background: transparent;
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.duyuru-modal-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.btn-basvur-modal-dis {
  background-color: var(--lavender);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: center; /* 🔥 Butonu modal çerçevesine göre ortalar */
}

.btn-basvur-modal-dis:hover {
  background-color: var(--lavender-dark);
  transform: scale(1.05);
}
/* style.css dosyasının herhangi bir uygun yerine ekleyin */

.error-message {
  color: #d9534f; /* Kırmızı renk */
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block; /* Yeni satırda görünmesini sağlar */
  text-align: left; /* Metni sola hizalar */
  padding-left: 1rem; /* input ile aynı hizada başlar */
}

/* Geçersiz alanlar için çerçeve rengi */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
  border-color: #d9534f; /* Geçersiz inputun kenarlığını kırmızı yapar */
}