/* Reset basics */
body {
  margin: 0;
  padding: 0;
  font-family: "adobe-caslon-pro", Georgia, serif;
  background: #f5f5f8;
  color: #2b3a67;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

.under-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  padding: 20px;
}

.under-logo-img {
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.under-site-title {
  font-size: 36px;
  margin: 0;
  font-family: 'NY Irvin', serif;
}

.under-construction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.under-construction h2 {
  font-size: 48px;
  margin: 0;
}

.under-construction p {
  font-size: 20px;
  color: #6b6f7a;
  max-width: 600px;
}

.btn {
  padding: 12px 28px;
  background: #2b3a67;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #1f2950;
}

.under-footer {
  margin-top: 50px;
  color: #6b6f7a;
  font-size: 14px;
  padding-bottom: 20px;
}

/* Font import */
@font-face {
  font-family: 'NY Irvin';
  src: url('../fonts/NYIrvin.ttf') format('truetype'); /* Adjusted path */
  font-weight: normal;
  font-style: normal;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Tablets and small laptops */
@media (max-width: 992px) {
  .under-site-title {
    font-size: 32px;
  }
  .under-construction h2 {
    font-size: 40px;
  }
}

/* Phones and small tablets */
@media (max-width: 768px) {
  body {
    padding: 20px;
  }
  .under-logo-img {
    width: 120px;
  }
  .under-site-title {
    font-size: 28px;
  }
  .under-construction h2 {
    font-size: 32px;
  }
  .under-construction p {
    font-size: 16px;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 10px 20px;
  }
}

/* Very small phones (under 480px) */
@media (max-width: 480px) {
  .under-logo-img {
    width: 100px;
  }
  .under-site-title {
    font-size: 24px;
  }
  .under-construction h2 {
    font-size: 28px;
  }
  .under-construction p {
    font-size: 15px;
  }
}
