/**
 * Dynamic Hero Section CSS
 * Add this file to your css folder and enqueue it
 */


 /* Default (before scroll) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

/* Hero Section Styles */
.amoria-hero-section {
  /* Changed from .aura-hero-section to match PHP output */
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px; /* Adjusted from margin-top to match PHP output */
  overflow: hidden;
}

.amoria-hero-section.hero-small {
  min-height: 300px;
}

.amoria-hero-section.hero-medium {
  min-height: 500px;
}

.amoria-hero-section.hero-large {
  min-height: 700px;
}

.amoria-hero-section.hero-fullscreen {
  min-height: 100vh;
}

.amoria-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.amoria-hero-section .container {
  /* Changed from .aura-hero-section .container */
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero-title {
  font-family: "Assistant", sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-family: "Assistant", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-button {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--black);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: 2px solid var(--primary-gold);
}

.hero-button:hover {
  background: transparent;
  color: #face7c;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #face7c;
  border: var(--pink-gradient);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .amoria-hero-section {
    /* Changed from .aura-hero-section */
    min-height: 50vh;
    /* margin-top: 70px; Removed as it's now margin-bottom */
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .amoria-hero-section {
    /* Changed from .aura-hero-section */
    min-height: 45vh;
    /* margin-top: 70px; Removed as it's now margin-bottom */
  }

  .amoria-hero-section .container {
    /* Changed from .aura-hero-section .container */
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .hero-button {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .amoria-hero-section {
    /* Changed from .aura-hero-section */
    min-height: 40vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* Hero Content (optional fade-in of container) */
.hero-content {
  animation: heroFadeInUp 1s ease-out;
  animation-delay: 0s;
  animation-fill-mode: both;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title - From Top */
.hero-title {
  animation: heroTitleFromTop 1s ease-out;
  animation-delay: 1.5s;
  animation-fill-mode: both;
}

@keyframes heroTitleFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes heroSubtitleFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 0.9;
    transform: translateX(0);
  }
}

/* Add new animation for left-aligned subtitles */
@keyframes heroSubtitleFromTop {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

/* Button - From Bottom with Bounce */
.hero-button {
  animation: heroButtonBounce 1s ease-out;
  animation-delay: 2.5s;
  animation-fill-mode: both;
}

@keyframes heroButtonBounce {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* Admin Styles */
.hero-image-upload .no-image {
  background: #f1f1f1;
  border: 2px dashed #ccc;
  padding: 2rem;
  text-align: center;
  color: #666;
  border-radius: 4px;
  max-width: 300px;
}

.hero-image-preview img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
