/* Set purple as the background so it fills the entire viewport */
html, body {
  height: 100%;
  background-color:  #002f6d;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Base Hero Section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden; /* Clips any overflow from the zoom */
  padding-top: 50px; /* 50px top padding */
  /* On smaller screens, height is auto */
}

/* Base Hero Image */
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  /* No animation by default; added via JS after page load */
}

/* Zoom animation is applied when the "zoomed" class is added */
.hero-img.zoomed {
  animation: zoomIn 8s ease-out forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* Gradient overlay at the bottom of the hero image */
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #002f6d 100%);
  z-index: 1;
}

/* Overlay text positioned at the bottom of the hero section */
.overlay {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  color: white;
  z-index: 2;
}

.overlay h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: bold;
  line-height: 1.0;
  margin: 0;
}

.overlay p.location {
  font-size: clamp(1rem, 4vw, 2.5rem);
  color: #ccc;
  font-weight: 300;
  margin-top: 0.5rem;
}

.overlay p.location {
  font-size: clamp(1rem, 4vw, 2.5rem);
  color: #ccc;
  font-weight: 300;
  margin-top: 0.5rem;
  margin-bottom: 1rem;  /* Remove bottom margin */
}

/* Hero Buttons container */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;  /* No extra space between location text and buttons */
}

/* Button styling */
.hero-btn {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.2rem);
  transition: background-color 0.3s, color 0.3s;
}

.hero-btn:hover {
  background-color: white;
  color: #2E004F;
}

/* Content section styles */
.content {
  background-color:  #002f6d;
  padding: 2rem;
  color: white;
}

.center-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.content-title {
  text-align: center;
  margin: 1rem 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.content-text {
  text-align: left;
  font-size: clamp(1.0rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0.5rem auto 0 auto;
}

/* For wide screens: Hero section fills full viewport height */
@media (min-width: 1024px) {
  .hero {
    height: 90vh;
    min-height: 600px; /* Ensures a minimum height */
  }
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Crops image as needed */
    object-position: center; /* Keeps image centered */
  }
}


@media (max-width: 500px) {
  .hero {
    width: auto;
    height: 500px;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    
    object-fit: cover;     /* Ensures the image covers the container */
    object-position: center;  /* Centers the image */
  }
}