@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* -> Custom Properties */
:root {
	/* Colors */
	--primary-color: rgb(255, 99, 71);
	--primary-text: rgb(253, 253, 253);
	--bg-color-primary: rgb(34, 34, 34);
	--bg-color-secondary: rgba(0, 0, 0, 0.8);
	--bg-color-third: rgb(51, 51, 51);
	--black-color: rgb(0, 0, 0);
	--white-color: rgb(255, 255, 255);

	/* Fonts */
	--font-primary: 'Roboto', Arial, Helvetica, sans-serif;
	--font-secondary: 'Press Start 2P', Arial, Helvetica, sans-serif;
	--font-light: 400;
	--font-medium: 500;
	--font-bold: 700;

	/* Sizes */
	--max-width: 1300px;
	--header-height: 66px;
}

/* -> Reset */
html {
	box-sizing: border-box;
	font-size: 16px;
	scroll-behavior: smooth;
}

*,
*::after,
*::before {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
	text-decoration: none;
	list-style: none;
	font-family: var(--font-primary);
}

body {
	width: 100%;
	font-family: var(--font-primary);
	overflow-x: hidden;
	color: var(--primary-text);
	background-color: var(--bg-color-primary);
}
.section-global {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
}

/* -> Header */
#header {
	width: 100%;
	height: var(--header-height);
	position: fixed;
	top: 0;
	z-index: 999;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background-color: var(--bg-color-secondary);
}

.header-logo img {
	width: 50px;
	height: auto;
}

nav ul {
	display: none;
	flex-direction: column;
	list-style: none;
}

nav li {
	margin: 0.5rem 0;
}

nav a {
	display: block;
	padding: 0.5rem 1rem;
	color: var(--first-text);
}
nav a:hover {
	font-weight: var(--bold);
	color: var(--primary-color);
}

/* Burger menu */
.menu-btn {
	width: 60px;
	height: 60px;
	display: block;
	position: relative;
	text-align: center;
	font-size: 2.5rem;
	line-height: 70px;
	cursor: pointer;
	color: var(--primary-color);
}

.menu-toggle {
	display: none;
}
button .menu-btn {
	opacity: 0;
}

.menu-toggle:checked + .menu-btn + ul {
	width: 100%;
	display: flex;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	text-align: center;
	background-color: var(--bg-color-secondary);
}
.menu-toggle:checked + .menu-btn {
	color: var(--primary-text);
}

/* -> Menu */

/* -> Hero Section */
#hero {
	background-image: url(../assets/img/hero-img.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.hero-image-opacity {
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 70px 20px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
	width: 90%;
	min-height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.hero-content h1 {
	margin-bottom: 20px;
	line-height: normal;
	font-size: 2rem;
	font-family: var(--font-primary);
}

.hero-content a {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	color: var(--primary-text);
	background-color: var(--bg-color-secondary);
}

.hero-content a:hover {
	border: 1px solid var(--white-color);
	color: var(--primary-color);
}

/* -> About Us Section */
#about {
	min-height: 100vh;
	padding: calc(var(--header-height) + 10px) 50px 10px 10px;
	text-align: center;
}

.about-title {
	font-size: 1.5rem;
}

.about-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	color: var(--white-color);
}

.about-content p {
	margin-bottom: 20px;
	font-size: 1rem;
	line-height: 1.5;
	text-align: left;
	max-width: 80ch;
}

.about-content ul {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.about-content ul li {
	margin: 10px;
	text-align: center;
}

/* -> Products Section */
/* -> Products Section */
#products {
	padding: calc(var(--header-height) + 10px) 50px 10px 10px;
	text-align: center;
}
.products-title {
	font-size: 1.5rem;
}

.cards-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.card {
	width: 90%;
	max-width: 320px;
	height: 500px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 15px 0;
	text-align: center;
	padding: 12px;
	border-radius: 10px;
	transition: transform 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	color: var(--primary-text);
	background-color: var(--bg-color-secondary);
}

.card:hover {
	transform: translateY(-10px);
	border: 1px solid var(--primary-text);
	padding: 6px;
}

.card img {
	width: 100%;
	max-width: 100%;
	height: 370px;
	object-fit: cover;
	margin-bottom: 3px;
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.card h3 {
	font-size: 1rem;
	line-height: 1.2rem;
	margin: 4px 0;
	font-family: var(--font-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}
.card h3:hover {
	white-space: normal;
}

.card p {
	font-size: 1rem;
	margin: 2px 0;
	font-weight: bold;
	color: var(--primary-color);
}

.card-btn {
	display: inline-block;
	padding: 6px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	color: var(--white-color);
	background-color: var(--bg-color-third);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.card-btn:hover {
	border: 1px solid var(--primary-text);
	color: var(--primary-color);
	background-color: var(--bg-color-secondary);
}

/* -> Contact Section */
#contact {
	padding: calc(var(--header-height) + 10px) 50px 10px 10px;
	text-align: center;
}
.contact-title {
	font-size: 1.5rem;
}

.contact-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
}

.contact-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.form-group {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 10px 0;
}

input[type='text'],
input[type='email'],
textarea {
	width: 90%;
	padding: 10px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: var(--primary-text);
}

.contact-btn {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	padding: 10px 20px;
	margin-top: 10px;
	border-radius: 0.5rem;
	border: 1px solid transparent;
	font-size: 1rem;
	cursor: pointer;
	color: var(--white-color);
	background-color: var(--bg-color-secondary);
}

.contact-btn:hover {
	border: 1px solid var(--primary-text);
	color: var(--primary-color);
	background-color: var(--bg-color-third);
}
.contact-info {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.contact-info p {
	margin-bottom: 10px;
	font-size: 1rem;
}
.responsive-iframe-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.responsive-iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* -> Footer */
#footer {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: auto;
	text-align: center;
	background-color: var(--bg-color-third);
}

.container-social-and-copy {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
	padding: 20px 10px 20px 10px;
}

.social-media-icon {
	display: flex;
	gap: 10px;
	padding: 5px 20px 10px 0px;
}

.row-copyright {
	padding: 10px;
	font-weight: 600;
	color: var(--primary-text);
}
.row-copyright span {
	font-weight: 900;
}

/* -> Media Queries Tablets */
@media (min-width: 768px) {
	/*  Header */
	nav ul {
		display: flex;
		flex-direction: row;
	}

	nav ul li {
		margin: 0 0.5rem;
	}

	.menu-btn {
		display: none;
	}

	/*  Hero Section */

	.hero-content a {
		padding: 15px 30px;
		font-size: 1.5rem;
	}
	.hero-content h1 {
		font-size: 3rem;
	}

	/*  About Section */
	.about-title {
		font-size: 1.8rem;
	}

	.about-content ul {
		flex-direction: row;
	}
	.about-content p {
		font-size: 1.2rem;
	}

	/*  Products Section */
	.products-title {
		font-size: 1.8rem;
	}
	.cards-container {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.card {
		margin: 15px 1.5%;
	}

	.card img {
		max-width: 100%;
	}

	.card h3 {
		font-size: 1.1rem;
		line-height: 1.6rem;
	}
	.card h3:hover {
		font-size: 0.8rem;
		line-height: 1.3rem;
	}

	.card p {
		font-size: 1rem;
	}

	/*  Contact Section */
	.contact-title {
		font-size: 1.8rem;
	}
	input[type='text'],
	input[type='email'],
	textarea {
		width: 80%;
	}

	/* footer */
	.footer {
		padding: 10px 20px;
	}
	.container-social-and-copy {
		flex-direction: row;
		align-items: center;
	}
}
/* -> Media Queries Desktop */
@media (min-width: 1024px) {
	/*  Header */
	nav ul li {
		font-size: 1.2rem;
	}

	/*  Hero Section */
	.hero-content a {
		padding: 20px 40px;
		font-size: 1.8rem;
	}
	.hero-content h1 {
		font-size: 4rem;
	}

	/*  About Section */
	.about-title {
		font-size: 2.6rem;
		padding-bottom: 20px;
	}
	.about-content p {
		font-size: 1.3rem;
	}

	/*  Products Section */
	.products-title {
		font-size: 2.6rem;
		padding-bottom: 20px;
	}
	.card {
		width: 20%;
		margin: 15px 1.3%;
	}

	.card h3 {
		font-size: 1.2rem;
	}

	.card p {
		font-size: 1.2rem;
	}

	/*  Contact Section */
	.contact-title {
		font-size: 2.6rem;
		padding-bottom: 20px;
	}
	input[type='text'],
	input[type='email'],
	textarea {
		width: 70%;
	}
}
