/* === Reset & Base Styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: hsl(257, 40%, 49%);
  color: white;
  background-image: url("../../images/bg-mobile.svg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  min-height: 100vh;
}

/* === Header === */
.header {
  padding: 2rem;
}

.logo {
  width: 150px;
  max-width: 100%;
}

/* === Intro Section (Mobile First) === */
.intro-section {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-image img {
  max-width: 100%;
  margin: 0 auto 2rem auto;
  display: block;
}

.intro-text {
  max-width: 600px;
  margin: 0 auto 20px auto;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-text h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: white;
  color: hsl(257, 40%, 49%);
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  margin: 0 auto;
  display: inline-block;
}

.btn:hover {
  background-color: hsl(300, 69%, 71%);
  color: white;
}

/* === Footer === */
footer {
  padding: 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-text p {
  margin-bottom: 0.5rem;
}

/* === Social Icons === */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.3s;
  opacity: 0.8;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  z-index: 1;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover svg {
  transform: scale(1.1);
}

/* === Social Icon Gradients === */
.facebook::before {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.twitter::before {
  background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.instagram::before {
  background: linear-gradient(45deg, #f56040, #e1306c, #c13584, #833ab4);
}

/* === Desktop Styles === */
@media (min-width: 768px) {
  body {
    background-image: url("../../images/bg-desktop.svg");
  }

  .intro-section {
    flex-direction: row-reverse;
    align-items: center;
    text-align: left;
    padding: 4rem 2rem;
    gap: 4rem;
    margin: -33px auto 0 auto;
  }

  .intro-image img {
    margin: 0;
    max-width: 100%;
  }

  .intro-text {
    align-items: flex-start;
    margin: 0;
    gap: 1.5rem;
  }

  .intro-text h1 {
    font-size: 2.5rem;
  }

  .intro-text p {
    font-size: 1.2rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin: 0;
  }

  .footer-content {
    padding: 0 2rem;
  }

  .social-icons {
    gap: 2rem;
  }

  .social-icon {
    width: 60px;
    height: 60px;
  }

  .social-icon svg {
    width: 28px;
    height: 28px;
  }
}
