/* Общие стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Roboto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: white;
  color: #e74c3c;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Хедер */
header {
  width: 100%;
  height: 100px;
  margin: 0 auto;
  background: white;
  color: white;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  height: 90px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

ul,
li {
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  color: #e74c3c;
}

.cookies-section {
  width: 100%;
  background-color: white;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Футер */
.footer {
  background-color: #e74c3c;
  color: #ffffff;
  padding: 60px 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 50px;
}

.footer-info {
  display: flex;
  gap: 40px;
}

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

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #c4d0d4;
}

.footer-column p {
  font-size: 0.9rem;
  margin: 5px 0;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 0.8rem;
  border-top: 1px solid #5a6e58;
  padding-top: 10px;
}

.privacy-policy {
  color: #c4d0d4;
  text-decoration: none;
}

.privacy-policy:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-info {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

.cookies-div {
  max-width: 1200px;
  margin: 5px auto 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.cookies-div p {
  color: black;
  font-size: 14px;
  margin-right: 10px;
}

.cookies-div button {
  color: black;
  background-color: #e74c3c;
  font-weight: bold;
  cursor: pointer;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.hidden {
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
}

.hero-content h1 {
  font-family: "Roboto", sans-serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-content p {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-button:hover {
  background-color: white;
  color: black;
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  z-index: 10;
}

.hero-arrow {
  background: transparent;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 2rem;
  transition: background, color 0.3s ease;
}

.hero-arrow:hover {
  color: #e74c3c;
  background: transparent;
}

.hero-left-arrow {
  position: absolute;
  left: 10px;
}

.hero-right-arrow {
  position: absolute;
  right: 10px;
}

.registration-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
  border: 2px solid #333;
  background-color: #f9f9f9;
}

.registration-container {
  text-align: center;
}

.registration-announcement {
  font-size: 1.5rem;
  font-weight: bold;
  color: red;
  margin-bottom: 10px;
}

.registration-link {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.registration-link:hover {
  color: orange;
}

.about-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.about-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 10px;
}

.about-header p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.about-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.about-gallery img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-gallery img:hover {
  transform: scale(1.05);
}

.about-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
  margin-bottom: 20px;
}

.register-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.register-title {
  font-size: 2rem;
  font-weight: bold;
  color: #e74c3c;
  text-transform: uppercase;
  text-decoration: underline;
  margin-bottom: 60px;
}

.register-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.8;
  margin-top: 100px;
}

.programs-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.programs-title {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 20px;
  font-weight: bold;
}

.programs-description {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 40px;
}

.programs-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.program {
  margin-bottom: 30px;
}

.program-title {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.program-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.classes-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.classes-title {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 30px;
}

.classes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.class-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.class-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.class-title {
  font-size: 1.5rem;
  color: #e74c3c;
  margin: 15px 0;
}

.class-description {
  font-size: 1rem;
  color: #555;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.contact-form-section {
  padding: 50px 20px;
  background-color: #f8f8f8;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.contact-form-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.contact-form-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.styled-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-group label {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.form-group input {
  width: 95%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  border-color: #333;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

.submit-button {
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
  background-color: #e74c3c;
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}
