/*--- Global ---*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Inter", sans-serif;
  background: linear-gradient(180deg, #f0f4f8, #d9e2ec); /* soft light grey-blue gradient */
  color: #1e2933;
  transition: background 0.5s ease, color 0.5s ease;
}
main {
  flex: 1;
}
/*--- Banners ---*/
.top-banner, .bottom-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  background-color: #5AA1D8; /* medium blue */
  color: #ffffff;
  transition: all 0.4s ease;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.top-banner a.home-logo img,
.bottom-banner a.home-logo img {
  height: 64px;
  transition: height 0.3s ease;
}
.banner-nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.banner-nav a.active,
.banner-nav a:hover {
  color: #aedff7; /* soft light blue on hover/active */
}
/*--- Hero Section ---*/
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
/*--- Hero Media Frames ---*/
.hero-media-frame.image-frame,
.hero-media-frame.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px 0;
  max-width: 95%;
}
.hero-media-frame.image-frame img,
.hero-media-frame.video-wrapper video {
  max-width: 85%;
  max-height: 80vh;
  height: auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-radius: 8px;
  transition: all 0.6s ease;
}
/* Fade transition*/
.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
}
.fade-in {
  opacity: 1;
  transition: opacity 1s ease;
}
/* Hero Overlay Text */
.hero-overlay-text {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}
/*--- Footer ---*/
.bottom-banner {
  flex-shrink: 0;
  background-color: #5AA1D8; /* medium blue */
  color: #ffffff;
  padding: 12px 24px;
  justify-content: space-between;
}
.footer-left {
  font-size: 0.9rem;
}
.contact-button {
  background-color: #aedff7; /* soft light blue */
  color: #1E3A5F; /* dark blue -text */
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.contact-button:hover {
  background-color: #5AA1D8; /* medium blue hover */
  color: #ffffff;
}
/*--- Contact Form ---*/
.contact-form-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  background-color: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.contact-form-container p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #1e2933;
}
.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-row {
  display: flex;
  gap: 16px;
}
.form-row .form-group {
  flex: 1;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}
input:focus,
textarea:focus {
  border-color: #5AA1D8;
  background-color: #d9e8f5; /* type bckgrd */
  outline: none;
}
input:not(:placeholder-shown),
textarea:not(:placeholder-shown) {
  background-color: #d9e8f5;
}
/* Submit Button */
#submitBtn {
  background-color: #1E3A5F; /* dark blue */
  color: #aedff7; /* soft light blue text */
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#submitBtn:hover {
  background-color: #162c75; /* hover */
  color: #ffffff;
}
/*--- Sound Hint ---*/
.sound-hint {
  position: absolute;
  bottom: 18px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.85);
  color: #1e2933;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: fadeInHint 1.2s ease forwards 1.2s;
  pointer-events: none;
}
@keyframes fadeInHint {
  to { opacity: 1; }
}
.sound-hint.hidden {
  opacity: 0;
  transition: opacity 0.4s ease;
}
/*--- Dark Mode ---*/
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(180deg, #14181d, #1f262e);
    color: #f1f5f9;
  }
  .top-banner, .bottom-banner {
    background-color: #1E3A5F; /* dark blue */
    color: #f1f5f9;
  }
  .banner-nav a {
    color: #f1f5f9;
  }
  .banner-nav a:hover,
  .banner-nav a.active {
    color: #aedff7;
  }
  .contact-button {
    background-color: #5AA1D8;
    color: #ffffff;
  }
  .sound-hint {
    background: rgba(20, 24, 29, 0.85);
    color: #f1f5f9;
  }
  .contact-form-container {
    background-color: rgba(20,24,29,0.85);
  }
}
/*--- Responsive ---*/
@media (max-width: 768px) {
  .banner-nav a {
    margin-left: 16px;
    font-size: 0.9rem;
  }
  .hero-overlay-text {
    font-size: 1.6rem;
  }
  .top-banner, .bottom-banner {
    flex-direction: column;
    gap: 8px;
  }
  .contact-button {
    margin-top: 8px;
  }
  .form-row {
    flex-direction: column;
  }
}
