/*
 * Sabor Damasco - Hero Section Styles
 * Hero section da homepage - VERSÃO LIMPA SEM CONFLITOS
 */

/* Hero Container */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1b4332; /* Fallback caso imagem não carregue */
  margin-top: -102px; /* Compensar altura total do header (top + main) */
  padding-top: 102px; /* Adicionar padding para o conteúdo não ficar atrás do header */
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Camada mais baixa */
}

.hero-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1; /* Imagem fica acima do background */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(27, 67, 50, 0.8) 0%,
    rgba(27, 67, 50, 0.7) 40%,
    rgba(47, 79, 79, 0.75) 70%,
    rgba(212, 175, 55, 0.3) 100%
  );
  z-index: 2; /* ACIMA DA IMAGEM para garantir que o overlay seja visível */
  pointer-events: none; /* Não interfere com cliques */
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10; /* Conteúdo fica no topo */
  width: 100%;
  color: #FFFFFF !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Title */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.hero-subtitle {
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  color: #D4AF37 !important;
  opacity: 0.9;
  direction: rtl;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-main-title {
  font-family: var(--font-elegant);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  color: #FFFFFF !important;
}

/* Força todas as variações do título a serem brancas */
.hero-main-title,
.hero-main-title *,
.hero-title .hero-main-title,
.hero .hero-main-title {
  color: #FFFFFF !important;
}

.hero-tagline {
  font-family: var(--font-elegant);
  font-size: 1.3rem;
  color: #D4AF37 !important;
  opacity: 0.9;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Hero Description */
.hero-description {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF !important;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.hero-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Features - Estilo vidro transparente */
.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: #FFFFFF;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-item i {
  font-size: 1.2rem;
  color: var(--cor-secundaria);
  min-width: 20px;
  text-align: center;
}

.feature-item span {
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #FFFFFF;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  display: block;
}

.scroll-indicator span {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    margin-top: -102px;
    padding-top: 102px;
  }
  
  .hero-text {
    padding: 0 1rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
  }
  
  .hero-actions .btn {
    width: auto;
    min-width: 140px;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .hero-features {
    flex-direction: row;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .feature-item {
    justify-content: center;
    width: auto;
    min-width: 120px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .feature-item i {
    font-size: 1rem;
  }
  
  .scroll-indicator {
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100vh;
    margin-top: -102px;
    padding-top: 102px;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .hero-actions {
    gap: 0.6rem;
  }
  
  .hero-actions .btn {
    min-width: 120px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .hero-features {
    gap: 0.6rem;
    margin-top: 1.2rem;
  }
  
  .feature-item {
    min-width: 100px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .feature-item i {
    font-size: 0.9rem;
  }
}
