* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: #fff;
  color: #333;
  font-family: "Poppins", sans-serif;
  padding-inline: 30px;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

section {
  padding: 80px 10%;
}

header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  padding-block: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header h1 a {
  text-decoration: none;
  color: #333;
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
}
button {
  border: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: url("images/tools-hands-portrait-black-woman-makeup-getting-ready-beauty-product-glow-happy-group-people-with-equipment-african-model-cosmetics-artist-application-studio-scaled.jpg")
    center/cover no-repeat;
}

/* DARK OVERLAY */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* CONTENT ABOVE IMAGE */
.hero-content {
  position: relative;
  color: white;
  max-width: 600px;
}

.hero h2 {
  font-size: 3rem;
}

.hero p {
  margin-top: 10px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    padding: 0 20px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.btn {
  background: #b76e79;
  border-radius: 30px;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: 0.3s;
}

.btn:hover {
  background: #a85c68;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  text-align: center;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 80px 10%;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* SERVICES */
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* PAGE HERO */
.page-hero {
  text-align: center;
  padding: 60px 20px;
  background: #f9f3f3;
}

/* SERVICES GRID */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 80px 10%;
  flex-wrap: wrap;
}

.service-card {
  background: white;
  padding: 30px;
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.price {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #b76e79;
}

.card {
  background: white;
  padding: 30px;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

/* CTA */
.cta {
  background: #d4a5a5;
  color: white;
}

.work {
  padding: 80px 10%;
  text-align: center;
}

.section-subtitle {
  margin-bottom: 40px;
  color: #777;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.work-grid img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.work-grid img:hover {
  transform: scale(1.05);
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 80px 10%;
  flex-wrap: wrap;
}

.contact-info {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 300px;
}

.contact-form h3 {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
}

.contact-form textarea {
  height: 100px;
}

.footer {
  background: #222;
  color: white;
  padding-top: 50px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
  flex-wrap: wrap;
  gap: 30px;
}

.footer h2,
.footer h3 {
  margin-bottom: 10px;
}

.footer a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #444;
}

@media (max-width: 768px) {
  /* NAV */
  header {
    flex-direction: column;
    align-items: center;
  }

  nav {
    margin-top: 10px;
  }

  /* HERO */
  .hero h2 {
    font-size: 2rem;
  }

  /* ABOUT */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  /* SERVICES PAGE */
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  /* CONTACT PAGE */
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  /* GALLERY */
  .work-grid {
    grid-template-columns: 1fr;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .btn {
    display: inline-block;
    width: auto;
  }
}
