/* ========== HERO STYLES ========== */
/* ANIMATIONS */
@keyframes fadeInUp {
	to {
	  opacity: 1;
	  transform: translateY(0);
	}
}

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

/* SECTION STYLE */
#hero {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 90vh;
	overflow: hidden;
}

/* BACKGROUND WITH MASK*/
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../img/general/banner.webp') no-repeat center center/cover;
	z-index: 0;
	-webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 80%);
	mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
}

.hero-container {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
  
.hero-overlay {
	background-color: rgba(44, 59, 65, 0.9);
	color: rgb(242, 200, 115);
	padding: 2rem;
	border-radius: 12px;
	max-width: 700px;
	width: 90%;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s ease-out forwards;
	margin-top: 150px
}

.hero-overlay h1 {
	margin-bottom: 2%;
	font-size: 50px;
	color: rgb(240, 184, 72);
}

.hero-overlay p {
	font-size: 28px;
	color: rgb(115, 242, 227);
	font-weight: 600;
}

.hero-buttons {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 1rem;
	top: 70px;
	flex-wrap: wrap;
	opacity: 0;
	animation: fadeInDown 1s ease-out 0.4s forwards;
}

/* BUTTONS */
.cta-button {
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.3s ease, color 0.3s ease;
}

.cta-button.primary {
	background-color: #3fd58f;
	color: #2c3b41;
}

.cta-button.primary:hover {
	background-color: #2c3b41;
	color: #3fd58f;
}

.cta-button.secondary {
	background-color: #2c3b41;
	color: #74c0fc;
	
}

.cta-button.secondary:hover {
	background-color: #74c0fc;
	color: #2c3b41;
}

/* ========== MEDIA QUERIES ========== */
/* 📱 MOBILE */
@media (max-width: 768px) {
	.hero-overlay {
	  margin-top: 90px;
	  padding: 1.5rem;
	  font-size: 0.95rem;
	}
  
	.hero-overlay h1 {
	  font-size: clamp(1.5rem, 5vw, 2rem);
	}
  
	.hero-overlay p {
	  font-size: clamp(0.9rem, 4vw, 1.1rem);
	}
  
	.cta-button {
	  font-size: 1rem;
	  padding: 0.6rem 1.5rem;
	}
}
