body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: #111;
}

h1, h2, h3 {
    font-weight: 600;
}

button {
    background: #c9a66b;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
}
/* ===================== style.css ===================== */

.container {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.hero {
  background: url('https://source.unsplash.com/1600x900/?barber') center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

.btn {
  background: #c59d5f;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #111;
}

.about-img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {

  .hero {
    height: 60vh;
    padding: 20px;
    text-align: center;
  }

.hero h1 {
  font-size: 30px;
  line-height: 1.2;
  max-width: 300px;
  margin: 0 auto 20px auto;
}

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero button {
    width: 80%;
    font-size: 18px;
    padding: 12px;
  }

  nav {
    flex-direction: column;
    text-align: center;
  }

  .container {
    padding: 15px;
  }

  .services {
    display: block;
  }

  .service-card {
    width: 100%;
    margin-bottom: 20px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  background-image: url("Barber1.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 600px;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn {
  background: #000;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

/* Mobile fix */
@media (max-width: 768px) {
  .hero {
    height: 65vh;
  }

  .hero h1 {
    font-size: 28px;
  }

  .btn {
    font-size: 16px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 90%;
}