/* Index (home) page supplemental styles */
/* Hero Section */
.hero {
  position: relative;
  background: url('../images/ocean_shoreline.jpg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4rem 8%;
  padding-top: 20vh;
  color: white;
  overflow: hidden;
  animation: fadeIn 1.5s ease-in-out;
}

/* Gradient Overlay Effect */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(14, 49, 63, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* Content Positioning */
.hero-content, .nav-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* Signature Layout */
.hero-content { flex: 1; text-align: left; }

/* Signature Container Styling */
.signature-container {
  display: block;
  padding: 5px 40px;
  background-color: var(--color-overlay);
  border-radius: 5px;
  margin-bottom: 20px;
  border: 3px solid var(--color-border);
  box-shadow: var(--shadow-1);
  width: fit-content;
}

/* Signature Image Styling */
.signature-image {
  max-width: 100%;
  height: auto;
  width: 350px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
}

/* Tagline/Description */
.tagline {
  margin-top: 1rem;
  font-size: clamp(2rem, 2vw, 1.4rem);
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 400;
  opacity: 1;
  width: 385px;
  text-align: center;
}

/* Navigation Buttons Section */
.nav-buttons {
  flex: 1;
  align-items: flex-end;
  gap: 15px;
  margin-top: -60px;
}

/* Button Hover Animation */
.nav-buttons a:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.6);
  background-color: var(--color-button-bg-hover);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 2;
}

.scroll-indicator svg { width: 40px; height: 40px; fill: rgba(255, 255, 255, 0.8); }

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

/* Media Queries */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 3rem 1rem; justify-content: center; }
  .hero-content { margin-bottom: 3rem; }
  .signature-container { width: 100%; max-width: 300px; margin: 0 auto; padding: 15px 20px; }
  .signature-image { width: 100%; max-width: 250px; }
  .nav-buttons { align-items: center; width: 100%; }
  .nav-buttons a { width: 80%; max-width: 220px; }
}

/* Desktop: equal-size, right-aligned stacked buttons */
/* Use 769px to avoid overlap with mobile (<=768px) */
@media (min-width: 769px) {
  .nav-buttons { align-items: flex-end; }
  .nav-buttons a {
    width: 240px; /* ~20% larger */
    height: 68px; /* ~20% larger */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* ensure equal height */
    font-size: clamp(1.2rem, 2vw, 1.44rem); /* ~20% larger text cap */
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator { animation: none; }
  .nav-buttons a:hover { transform: none; }
}
