* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #f4f4f4;
}

/* -----------------------------------
 HERO SECTION
----------------------------------- */
.hero-section {
  position: relative;
  text-align: center;
  background-color: #000;
  color: #fff;
}

.hero-placeholder img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* Improved legibility */
.hero-overlay {
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-overlay p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* CTA Button */
.button {
  display: inline-block;
  background-color: #ff6347;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #e5533d;
}

/* -----------------------------------
 SECTION GRID
----------------------------------- */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 50px;
}

.section-card {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 40px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gradient overlay for readability */
.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0) 40%,
      rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}

.section-card:hover {
  transform: translateY(-10px);
  opacity: 0.9;
}

/* Text tag for readability */
.section-card span {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.55);
  padding: 8px 14px;
  border-radius: 6px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* -----------------------------------
 FOOTER
----------------------------------- */
footer {
  background-color: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-links a,
.footer-social a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer-social a {
  font-size: 18px;
}

footer p {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

/* -----------------------------------
 MOBILE STYLES
----------------------------------- */
@media (max-width: 768px) {
  .hero-overlay h1 {
      font-size: 2rem;
  }

  .hero-overlay p {
      font-size: 1.2rem;
  }

  .footer-container {
      flex-direction: column;
      align-items: center;
  }

  .footer-links,
  .footer-social {
      margin-bottom: 20px;
  }
}
