/* ===================== 
      GLOBAL STYLES
======================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	background-color: #121212;
}



/* ===================== 
      HERO SECTION
======================== */

.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	background-color: rgba(0, 0, 0, 0.4);
}

.hero h1 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
}

.hero-tagline {
	font-size: 1.50rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	color: #fff;
}

.hero-tagline p {
	box-shadow: 0 4px 10px #111111;
}


/* ==== BUTTONS STYLING ==== */

.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.hero-cta,
.hero-cta-2 {
	padding: 0.6rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	color: white;
	background-color: #1F2937;
	border: 1.5px solid white;
	text-align: center;
	width: auto;
	min-width: 140px;
	transition: all 0.2s ease;
}

.hero-cta:hover,
.hero-cta-2:hover {
	background-color: #374151;
}


/* ==== BUTTON MOBILE STYLING ==== */

@media (max-width: 480px) {
	.hero-cta,
  .hero-cta-2 {
		width: 180px;
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.hero-buttons {
		flex-direction: column;
		width: 100%;
	}
}


/* ==== VIDEO STYLING ==== */

.video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero-video.active {
	opacity: 1;
}

.hero-content {
	position: relative;
	z-index: 1;
	padding: 0 1rem;
}


/* ==== HERO MOBILE STYLING ==== */

@media (max-width: 600px) {
	.hero {
		height: 80vh;
	}

	.hero h1 {
		margin-bottom: 0.8rem;
		margin-left: 0.8rem;
		margin-right: 0.8rem;
	}

	.hero-tagline {
		font-size: 1.2rem;
		margin-bottom: 1rem;
		margin-left: 2.5rem;
		margin-right: 2.5rem;
	}

	.hero-cta {
		padding: 0.65rem 1.5rem;
	}

	.hero-content {
		padding: 0 0.5rem;
	}
}



/* ===================== 
      FILTERS SECTION
======================== */

section h1 {
	text-align: center;
	margin: 30px;
	color: #fff;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	padding-top: 30px;
}

.filters {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.filter-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.filter-group label {
	margin-bottom: 5px;
	font-weight: bold;
	color: #f9fafb;
}

.filter-group select {
	padding: 5px 12px;
	border-radius: 6px;
	border: 1.5px solid white;
	outline: none;
	font-size: 1.3rem;
	background-color: #1f2937;
	color: #f9fafb;
	transition: background-color 0.2s ease;
}

.filter-group select:hover,
.filter-group select:focus {
	background-color: #374151;
}


/* ==== CARDS STYLING ==== */

.cards-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.card {
	background-color: #1f2937;
	color: #fff;
	border-radius: 12px;
	overflow: hidden;
	width: 250px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease, opacity 0.3s ease;
	padding: 2px;
	display: flex;
	flex-direction: column;
	aspect-ratio: 1 / 1;
	max-width: 300px;
	position: relative;
}

.card:hover {
	transform: translateY(-5px);
}

.card.hide {
	display: none;
}

.card-info {
	padding: 15px;
}

.card-info h3 {
	margin: 0 0 8px 0;
	font-size: 1.1rem;
}

.card-info p {
	font-size: 0.9rem;
	line-height: 1.3;
	color: #d1d5db;
}

.cards-container,
.favorites-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	align-items: stretch;
	padding: 2rem;
}

.card img.card-image {
	width: 100%;
	height: 55%;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}


/* ==== CARDS MOBILE STYLING ==== */

@media (max-width: 600px) {
	.cards-container,
  .favorites-container {
		gap: 1.5rem;
		padding: 0.5rem;
		justify-content: center;
		margin: 1rem;
	}

	.card {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.card img.card-image {
		height: 72%;
	}

	.card-info {
		padding: 20px;
	}

	.card-info h3 {
		margin: 0 0 4px 0;
		font-size: 1.2rem;
	}

	.card-info p {
		font-size: 0.9rem;
		line-height: 1.1rem;
		color: #d1d5db;
	}
}


/* ==== HEART STYLING ==== */

h2 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	text-align: center;
	margin: 30px;
	color: #fff;
}

.favorite-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 2rem;
	color: #fff;
	text-shadow: -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 5px rgba(0,0,0,0.5);
	cursor: pointer;
	transition: transform 0.2s ease;
}

.favorite-heart:hover {
	transform: scale(1.3);
	color: #ff6b81;
}

.favorite-heart.active {
	transform: scale(1.4);
	animation: pop 0.3s ease;
	font-size: 1.5rem;
}

@keyframes pop {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.6);
	}

	100% {
		transform: scale(1);
	}
}



/* ===================== 
      FOOTER SECTION
======================== */

.site-footer {
	background-color: #1f2937;
	color: #f9fafb;
	text-align: center;
	padding: 6rem 1rem;
	font-size: 0.9rem;
	margin: 1rem 1.5rem 1 1.5rem;
}

.site-footer a {
	color: #f9fafb;
	text-decoration: none;
	margin: 0 0.5rem;
	transition: color 0.2s ease;
}

.site-footer p {
	margin: 0.5rem 0;
}
