/* ============================================
   HOME CSS - Hero Section Styles
   ============================================ */

@import url('./global.css');

/* ============================================
   HERO SECTION MAIN CONTAINER
   ============================================ */

.hero-section {
  background-color: #ffffff;
  background-image: url('../assets/bg_image.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: scroll;
  width: 100%;
  height: 100vh;
  position: relative;
  
  /* Flex Layout */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
}

/* ============================================
   HERO TOP SECTION - LOGO
   ============================================ */

.hero-top {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  z-index: 10;
}

.hero-logo {
  width: 50px;
  height: auto;
  /* Subtle shadow to ensure visibility if sky is bright */
  filter: drop-shadow(0 2px 4px rgba(184, 132, 77, 0.2));
}

/* ============================================
   HERO CENTER SECTION - MAIN CONTENT
   ============================================ */

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: -40px; /* Slight visual offset to match image center */
}

.hero-title {
  /* Earthy Desert Color matching the image */
  color: #BF6430; 
  font-size: 3rem; /* Mobile Base */
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: none; /* Clean look */
}

.hero-subtitle {
  color: #333333; /* Dark Grey/Black */
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

/* ============================================
   DOWNLOAD BUTTONS
   ============================================ */

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.store-button {
  background: #000000;
  color: white;
  padding: 8px 20px;
  border-radius: 8px; /* Slightly squared corners like image */
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 150px;
  border: 1px solid rgba(0,0,0,0.1);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.store-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-label {
  font-size: 9px;
  opacity: 0.8;
  text-transform: uppercase;
  line-height: 1;
}

.btn-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

/* ============================================
   HERO BOTTOM SECTION
   ============================================ */

.hero-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 10px;
  position: relative;
  z-index: 10;
}

/* Photo Credit - Bottom Left */
.photo-credit {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-left: 20px;
  margin-bottom: 10px;
}

/* Footer Nav Buttons - Bottom Right */
.hero-nav {
  display: flex;
  gap: 12px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.pill-button {
  background-color: #FFFFFF;
  color: #B8844D; /* Rust/Desert Color Text */
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.pill-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (min-width: 768px) {
  .hero-section {
    padding: 60px 40px;
  }
  
  .hero-logo {
    width: 60px;
  }

  .hero-title {
    font-size: 3rem;
    font-weight: 500;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .hero-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
  }
  
  .hero-nav {
    margin-right: 0;
  }
  
  .photo-credit {
    margin-left: 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}