@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');

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

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #282828;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  background-color: #902C8E;
  padding: 40px 0;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.hero-image {
  width: 378px;
}

.hero-text {
  color: #ffffff;
}

.name {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 80px;
  line-height: 0.95;
  font-weight: 700;
}

.section1 {
  background-color: #ffffff;
  padding: 60px 0;
}

.section1-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.section1-image {
  width: 65%;
}

.section1-text {
  width: 35%;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 400;
}

.section2 {
  background-image: url("../images/sunset.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.sunset-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  width: 40%;
  padding: 40px;
}

.sunset-overlay p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.section3 {
  padding: 60px 0;
  background-color: #ffffff;
}

.gallery {
  display: flex;
  gap: 20px;
}

.gallery img {
  width: 25%;
  object-fit: cover;
}

.section4 {
  padding: 70px 0 90px;
  background-color: #ffffff;
}

.section4-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.section4-text {
  width: 33.33%;
  font-size: 24px;
  line-height: 1.5;
}

.piano-image {
  width: 30%;
}

@media (max-width: 1024px) {
  .hero-content,
  .section1, .section4-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

   .section1-content {
    flex-direction: column;
    align-items: center;
  }

  .section1-image,
  .section1-text {
    width: 100%;
  }

  .hero-image,
  .section1-image,
  .section1-text,
  .section4-text,
  .piano-image {
    width: 100%;
    max-width: 700px;
  }

   
  .hero-text h1 {
    font-size: 4rem;
  }

  .sunset-overlay {
    width: 70%;
  }

  .gallery {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery img {
    width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .name {
    font-size: 1.5rem;
  }

  .section1,
  .section3,
  .section4,
  .section2 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sunset-overlay {
    width: 100%;
    padding: 25px;
  }

  .gallery {
    gap: 16px;
  }

  .gallery img {
    width: 100%;
    height: auto;
  }

  .section4-content {
    gap: 20px;
  }
}