@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.header {
  background-color: #00000034;
  backdrop-filter: blur(12px);
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

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

.cta-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  transition: background-color 0.3s ease;
  text-align: center;
  display: inline-block;
}

.cta-btn:hover {
  background-color: #64828f;
}

.menu-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  width: fit-content;
  z-index: 99;
}

.menu-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.menu-bar a:hover {
  color: #64828f;
}

.hero {
  width: 100%;
  height: 100vh;
  background-image: url("photo6.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  color: #ffffffec;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #ffffffe7;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.why-us {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  position: relative;
  z-index: 1;
}

.why-us-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #263034;
}

.why-us-container-second p {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.grid-item {
  background: rgba(255, 255, 255, 0.6);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(100, 130, 143, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(100, 130, 143, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grid-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #64828f;
  padding: 1rem;
  display: inline-block;
  animation: pulseGlow 3s infinite ease-in-out;
}

.section-divider {
  height: 2px;
  width: 100%;
  background: #64828F;
  border-radius: 2px;
}

.schedule {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  position: relative;
  z-index: 1;
}

.schedule-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.schedule-header h2 {
  font-size: 2.4rem;
  color: #263034;
  margin-bottom: 1rem;
}

.schedule-header p {
  font-size: 1.05rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.instructor-block {
  background: rgba(255, 255, 255, 0.6);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  border-radius: 24px;
  padding: 2rem;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 18px rgba(100, 130, 143, 0.1);
  border: 1px solid rgba(100, 130, 143, 0.1);
}

.instructor-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instructor-name {
  font-size: 1.3rem;
  color: #263034;
  margin-bottom: 0.5rem;
}

.instructor-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.instructor-block-second {
  background: rgba(255, 255, 255, 0.6);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  border-radius: 24px;
  padding: 2rem;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 18px rgba(100, 130, 143, 0.1);
  border: 1px solid rgba(100, 130, 143, 0.1);
}

.instructor-photo-second {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instructor-name-second {
  font-size: 1.3rem;
  color: #263034;
  margin-bottom: 0.5rem;
}

.instructor-description-second {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.availability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #000000c8;
  font-weight: 500;
}

.status-icon {
  width: 12px;
  height: 12px;
  background-color: #4caf50;
  border-radius: 50%;
  animation: pulse 1.5s infinite ease-in-out;
}

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

.booking-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  color: white;
  background-color: #64828f;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.booking-button i {
  margin-right: 0.5rem;
}

.booking-button:hover {
  background: linear-gradient(135deg, #4c6b7a, #6c8aa2);
  transform: translateY(-2px);
}


@media (max-width: 768px) {
  .hero {
    height: 100vh;
    padding: 4rem 1.5rem;
    background-position: 80% center;
    background-size: cover;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .why-us-container h2 {
    font-size: 2rem;
  }

  .why-us-container-second p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(100, 130, 143, 0.2);
  }
}


/* Oktatók reszponzív megjelenítéséhez */
.instructor-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .instructor-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

.pricing {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  position: relative;
  z-index: 1;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h2 {
  font-size: 2.5rem;
  color: #263034;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: 1.1rem;
  color: #444;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(100, 130, 143, 0.1);
  border: 1px solid rgba(100, 130, 143, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(100, 130, 143, 0.2);
}

.pricing-card h3 {
  font-size: 1.3rem;
  color: #263034;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
}

.original-price {
  text-decoration: line-through;
  font-size: 0.95rem;
  color: #888;
  display: block;
  margin-top: 0.3rem;
}

.pricing-note {
  text-align: center;
  font-size: 1rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 1rem;
}

/* Kapcsolat szekció stílusa */
.contact {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  background-size: 600% 600%;
  animation: animatedBG 10s ease infinite;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #263034;
  margin-bottom: 0.5rem;
}

.contact-header p {
  font-size: 1.1rem;
  color: #444;
}

.contact-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-details {
  flex: 1 1 300px;
  font-size: 1.1rem;
  color: #263034;
}

/* .contact-details p {
  margin-bottom: 0.4rem;
} */

.contact-details a {
  color: #64828f;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-map {
  flex: 2 1 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footerdiv{
  margin: 1rem;
  padding-bottom: 5rem;
  justify-content: center;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .contact-details {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: -12rem;
  }

  .contact-map {
    width: 100%;
  }
}