/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: #fff;
  overflow: hidden;
}

/* --- Background slideshow --- */
.slideshow {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 20s infinite;
}

/* Timing for each image (2s per image) */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 2s; }
.slide:nth-child(3) { animation-delay: 4s; }
.slide:nth-child(4) { animation-delay: 6s; }
.slide:nth-child(5) { animation-delay: 8s; }
.slide:nth-child(6) { animation-delay: 10s; }
.slide:nth-child(7) { animation-delay: 12s; }
.slide:nth-child(8) { animation-delay: 14s; }
.slide:nth-child(9) { animation-delay: 16s; }

@keyframes slideShow {
  0% { opacity: 0; }
  10% { opacity: 1; }
  25% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

/* Dark overlay for readability */
.slideshow::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

/* --- Header --- */
header {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  transform: none;
  z-index: 2;
  display: flex;
  justify-content: left;
  align-items: center;
}

header .logo {
  width: 25px;
  height: auto;
}

@media (max-width: 480px) {
  header .logo {
    width: 25px;
    position: auto;
  }
}

/* --- Main container (centers hero) --- */
main {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Fade-in animation --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  z-index: 2;
  max-width: 80%;
  animation: fadeIn 5s ease forwards;
}

.hero p {
  font-weight: 100;
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 5s ease forwards;
}

/* --- Menu (below hero text) --- */
.menu {
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: center; /* center both items */
  opacity: 0;
  animation: fadeIn 5s ease forwards;
  animation-delay: 5s;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 3rem; /* for PROJECTS */
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

/* smaller + spaced INQUIRY link */
.menu a:last-child {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.menu a:hover {
  opacity: 0.7;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero p {
    font-size: 1.5rem;
  }

  .menu a {
    font-size: 2rem;
  }

  .menu a:last-child {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 1.2rem;
  }

  .menu {
    flex-direction: column;
    gap: 0.8rem;
  }

  .menu a {
    font-size: 1.3rem;
  }

  .menu a:last-child {
    font-size: 0.9rem;
  }
}

/* --- Footer --- */
footer {
  position: fixed;
  bottom: 0.7rem;
  right: 0.5rem;
  width: 100%;
  text-align: right;
  font-weight: 300;
  font-size: 0.7rem;
  opacity: 0.8;
  z-index: 2;
}
