/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Background */
body {
  background: url('background.jpg') left center/cover no-repeat;
  background-color: black;
  color: white;
}

/* Overlay (center everything) */
.overlay {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 40px 20px;
}

/* Header */
header {
  margin-bottom: 40px;
}

header h1 {
  font-size: 3rem;
  padding: 0 10px 0 10px;
  letter-spacing: 2px;
  font-family: "slight-chance", sans-serif;
font-weight: 400;
font-style: normal;
background-color: black;
}

/* Bio */
.bio {
  max-width: 700px;
  margin-bottom: 30px;
}

.bio img {
  width: 100%;
  margin-bottom: 20px;

  /* ❌ removed circle */
  border-radius: 0;

  /* optional polish */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.bio p {
  line-height: 1.6;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  padding: 20px;
  border-radius: 8px;

  background: rgba(0, 0, 0, 0.25); /* subtle dark */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  max-width: 600px;
  margin: 0 auto;
  font-family: "slight-chance", sans-serif;
font-weight: 200;
font-style: normal;
}

/* Businesses */
.businesses {
  display: flex;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 400px;
}

/* Clickable image */
.card-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  z-index: 1;

  transition: transform 0.4s ease;
}

/* Overlay */
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Title */
.card-image h2 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  text-align: center;
  font-family: "slight-chance", sans-serif;
font-weight: 400;
font-style: normal;
}

/* ✅ ONLY animate when hovering image */
.card-image:hover {
  transform: scale(1.03);
}

/* Links (global) */
a {
  color: white;
  text-decoration: none;
}

a:visited,
a:active {
  color: white;
  text-decoration: none;
}

/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;

  position: relative;
  z-index: 2; /* ensures no overlap issues */
}

.socials a {
  font-size: 1.4rem;
  opacity: 0.8;
  transition: 0.3s;
}

.socials a:hover {
  opacity: 1;
  color: #FEDF67;
}

/* Mobile */
@media (max-width: 768px) {
  .businesses {
    flex-direction: column;
    align-items: center;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .card {
    width: 100%;
    max-width: 500px;
  }
}


@media (max-width: 768px) {
  body {
    background-position: 10% center;
    background-size: cover;
  }
}