/* ========================= RESET ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
  
}


body, p, a, button {
  font-family: 'Poppins', sans-serif;
}

/* ========================= BODY (TEK VE DOĞRU) ========================= */

body {
  background: #0d0d0f;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  
}

section {
  padding: 8vw 5vw;
}

/* ========================= STICKY GLASS HEADER ========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 18px 40px;

  background: rgba(13, 13, 15, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: 0.3s ease;
}

/* scroll olunca küçülme efekti */
header.scrolled {
  padding: 10px 40px;
  background: rgba(10, 10, 12, 0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

header img {
  width: 120px;
  height: auto;
  transition: 0.3s ease;
  border-radius: 50%;
}

header button {
  margin-left: 20px;
}
/* ========================= NAV ========================= */
.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #ddd;
  font-size: 15px;
  padding: 8px 12px;
  transition: 0.3s;
}

/* hover glow */
.nav a:hover {
  color: #c8a97e;
  transform: translateY(-2px);
}

/* ========================= ACTIVE UNDERLINE ========================= */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #c8a97e, #fff);
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.nav a.active::after {
  width: 80%;
}

.nav a.active {
  color: #c8a97e;
}

.logo {
  display : flex;
  align-items: center;
}

/* ========================= BUTTON ========================= */

.main-btn {
  padding: 12px 25px;
  border-radius: 30px;
  background: linear-gradient(135deg, #c8a97e, #b8966b);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.main-btn:hover {
  transform: scale(1.05);
}


/* ABOUT */

.about {
  background-image: url("assets/about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
  padding: 150px 20px;
}


.about h1 {
  font-size: 45px;
  margin-bottom: 20px;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 15px;
}


.about-text {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 15px;
}


.multi-ticker {
  overflow: hidden;
 
  color: black;
  padding: 10px 0;
}


.typing {
  font-size: 24px;
  color: black;
  white-space: nowrap;
  overflow: hidden;  
  width: 0;
  animation: typing 4s steps(300, end) forwards, blink 0.2s infinite;
}

/* yazı yazılma efekti */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* imleç yanıp sönme */
@keyframes blink {
  50% { border-color: transparent }
}

.typing-rtl {
  font-size: 24px;
  color: black;
  direction: rtl;              /* 🔥 Hebrew */
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  max-width: 0;

  animation: typingRTL 4s steps(40, end) forwards,
             blinkRTL 0.7s infinite;
}

/* sağdan yazılma efekti */
@keyframes typingRTL {
  from { max-width: 0; }
  to { max-width: 100%; }
}

/* imleç efekti */
@keyframes blinkRTL {
  50% { border-color: transparent; }
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* LESSONS */

.lessons {
  background-image: url("assets/lessons.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 150px 20px !important;
}

.clef {
  font-size: 120px;
  line-height: 1;
  text-align: center;
  transform: scale(1);
}


@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
  }
  to {
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
  }
}
/* CTA */

 #cta {
  background-image: url("assets/cta.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
  padding: 150px 20px;
}

.cta h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
} 

.cta .main-btn {
  font-size: 20px;
  padding: 15px 30px;
}



/* COMMENT */

.reviews {
  background-image: url("assets/reviews.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
 
  padding: 150px 20px;
}



.testimonial-section {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
}


.review-card {
  max-width: 800px;  
  margin: 20px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  opacity: 0;
  transition: 0.6s;
  
}

.review-card  a{
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  background: #c8a97e;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.review-card.show {
  opacity: 1;
}

.review-stars {
  color: gold;
  font-size: 18px;
  margin-bottom: 10px;
}


.name {
  color: black;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}


.location {
  font-size: 18px;
  color: black;
  margin-top: 5px;  
}
  

.time {
  font-size: 14px;
  color:black;
  margin-top: 5px;
  direction: rtl;
  unicode-bidi: bidi-override; 
}
.original {
  font-size: 18px;
  color: black;
  margin-top: 10px;
  direction: rtl;
  unicode-bidi: bidi-override;
}


.text {
  color: black;
  font-size: 14px;
  margin-bottom: 15px;

}



/* SOCIAL MEDIA */

.social-media {
  background-image: url("assets/social-media.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 150px 20px;
  

}

/* FEATURES */

.features-section {
  background-image: url("assets/features.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 150px 20px;
}

.container {
  color: black;
  background-color: rgba(255, 255, 255, 0.9);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  border-radius: 15px;  
  padding: 40px 20px;
}


.feature-item {
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: #d1d1d1;
}

/* CARDS */

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #c8a97e;
  padding: 25px;
  border-radius: 15px;
  width: 220px;
  transition: 0.3s;
  align-items: center;
  justify-content: center;
  overflow: hidden;   /* taşmayı engeller */
  padding: 20px;
}


.card:hover {
  transform: translateY(-5px);
}

/* SOCIAL ICONS */


.simply_piano {
  width: 40px;   
  min-width: none;
  
  
 
}

.simply_piano:hover {
  transform: scale(1.1);
}

.social-icons {
  display: flex;
  align-items: center;   /* dikey ortalar */
  justify-content: center; /* yatay ortalar */
  gap: 15px; /* aralık */
}  

.social-icons a {
  margin: 0 10px;
  font-size: 26px;
  color: #c8a97e;
  transition: 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* FOOTER */

footer {
  padding: 20px;
  font-size: 12px;
  opacity: 0.6;
}
 footer div {
background:#111;
color:#fff; 
padding:30px;
text-align:center;
font-size:14px;
line-height:1.6;
}

.top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #c8a97e, #b8966b);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: none;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  z-index: 999;
}

.top-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 25px rgba(200,169,126,0.4);
}

/* =========================
   RESPONSIVE + BACKGROUND FINAL
========================= */

/* LARGE SCREEN */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* TABLET */
@media (max-width: 1024px) {

  header {
    position: static;
  }

  .about,
  .lessons,
  .features-section,
  .reviews,
  .social-media,
  #cta {
    padding: 80px 20px;
  }
}

/* TABLET SMALL */
@media (max-width: 768px) {

  header {
  position: static;
  }

  .nav {
    display: none;
  }

  .logo {
    display :none;
  }

  body {
    background-color: #111; /* genel arka plan */
  }
  .about {
    color: #ffffff;
  }

  .about h1,
  .about h2,
  .about p {
    color: #ffffff;
  }

  .about,
  .lessons,
  .reviews,
  .features-section {
    background-color: #1a1a1a; /* sectionlara ayrı renk */
    background-image: none; /* varsa arka plan resmini kapatır */
  }  

  
  nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .buttons {
    width: 100%;
  }

  .main-btn {
    width: 100%;
    max-width: 300px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    width: 100%;
    padding: 15px 0;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    width: 100%;
  }

  .about-text {
    padding: 20px;
  }


  
}

/* MOBILE */
@media (max-width: 480px) {

  header {
  position: static;
  
  }

  .nav {
    display: none;
  }

  .logo {
    display :none;
  }

  body {
    background-color: #111; /* genel arka plan */
  }

  .about {
    color: #ffffff;
  }

  .about h1,
  .about h2,
  .about p {
    color: #ffffff;
  }

  .about,
  .lessons,
  .reviews,
  .features-section
  .social-media {
    background-color: #1a1a1adc; /* sectionlara ayrı renk */
    background-image: none; /* varsa arka plan resmini kapatır */
  }  

  
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  header {
    padding: 20px 10px;
  }

  .main-btn {
    font-size: 14px;
    padding: 12px 20px;

  }

  .card {
    width: 100%;
    max-width: 300px;
  }

  img {
    width: 100%;
    height: auto;
  }

  .social-icons a {
    font-size: 22px;
  }

 
  
}
