/* 
--------------------
** - VENTURELLI RISTRUTTURAZIONI
--------------------
LEBON X WAC
Proj: Venturelli Ristrutturazioni
Dev: Simone Di Meglio 
Year: 2023 
Month: Giune
Stack: HTML5 + CSS3 + JS

--------------------
** - INDEX
--------------------
01 - CSS RESET
02 - Utilities
03 - Header & Navbar
04 - Hero Section
05 - Main
06 - Service Section
07 - About Section
08 - Contacts Section
09 - Google Maps
10 - Footer
--------------------
*/

/* 01 - CSS RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 27px;
}

ul li {
	list-style: none;
}

a {
	color: black;
	text-decoration: none;
}

body {
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 20px;
	overflow-x: hidden !important;
}

@media (max-width: 500px) {
	img {
		max-width: 100vw !important;
	}
}

/* 02 - Utilities */
.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.hidden {
	display: none;
}

.flex {
	display: flex;
}

.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.brown-100 {
	background-color: #f3f1ed;
}

.brown-200 {
	background-color: #cfc0b8;
}

.btn {
	padding: 13px 30px;
	border-radius: 25px;
	margin: 0 10px;
}

.custom-btn-w {
	color: #fff;
	border-color: #fff;
	background-color: transparent;
	transition: background-color 0.5s, color 0.5s, border 0.5s;
	border: 1px solid #fff;
}

.custom-btn-w:hover {
	background-color: #000;
	border-color: #000;
	color: #fff;
}

.custom-btn-b {
	color: #fff;
	background-color: black;
	transition: background-color 0.5s, color 0.5s;
}

.custom-btn-b:hover {
	background-color: #cfc0b8;
}

.title {
	font-size: 50px;
}

@media (max-width: 500px) {
	.title {
		font-size: 35px;
	}
}

/* 03 - Header & Navbar */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	color: #000;
	background: rgba(255, 255, 255, 0.62);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(11.1px);
	-webkit-backdrop-filter: blur(11.1px);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	height: 70px;
}

.logo {
	font-weight: 600;
	display: flex;
	justify-content: center;
	align-items: center;
}

.logo img {
	width: 80px;
	margin-right: 15px;
}

.navbar-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.navbar-menu li {
	margin-left: 20px;
}

.navbar-menu a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.navbar-mobile {
	display: none;
}

.hamburger-menu {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.navbar-mobile-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 20px;
	text-align: center;
}

.navbar-mobile-menu li {
	margin-bottom: 10px;
}

.navbar-mobile-menu a {
	color: black;
	text-decoration: none;
}

.navbar-mobile-menu.show {
	display: block !important;
}

@media (max-width: 768px) {
	.navbar-menu {
		display: none;
	}

	.navbar-mobile {
		display: flex;
		align-items: center;
	}

	.navbar-mobile-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		padding: 20px;
		text-align: center;
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
		backdrop-filter: blur(11.1px);
		-webkit-backdrop-filter: blur(11.1px);
	}

	.navbar-mobile-menu li {
		margin-bottom: 20px;
		font-weight: 600;
	}
	.navbar-mobile-menu li:last-child {
		margin-bottom: 0;
	}

	.navbar-mobile-menu a {
		color: black;
		text-decoration: none;
	}
}

/* 04 - Hero Section */
.hero {
	height: 90vh;
	background-image: url("../assets/es2.webp");
	background-position: center;
	background-size: cover;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 50px;
}

.hero h1 {
	margin-bottom: 20px;
	font-size: 70px;
	font-weight: 300;
}

.hero h2 {
	font-weight: 500;
	padding: 0 200px;
}

.hero .buttons {
	margin-top: 40px;
}

.hero .buttons .mobile-phone-to-s {
	display: none;
}

@media (max-width: 1000px) {
	.hero h1 {
		font-size: 50px;
	}
	.hero h2 {
		padding: 0 40px;
	}
}

@media (max-width: 500px) {
	.hero {
		height: 100vh;
		padding: 10px;
	}
	.hero h1 {
		font-size: 30px;
	}
	.hero h2 {
		font-size: 20px;
		padding: 0 10px;
	}
	.hero .buttons {
		display: flex;
		flex-direction: column;
	}
	.hero .buttons a {
		margin: 10px 0;
	}
	.hero .buttons .mobile-phone-to-s {
		display: block;
	}
	.hero .buttons .mobile-phone-to-h {
		display: none;
	}
}

/* 05 - Main */
main section {
	padding-top: 100px !important;
	padding-bottom: 100px !important;
	text-align: center;
}

/* 06 - Service section */
.service-section h2 {
	margin-bottom: 20px;
}

.services {
	display: flex;
	flex-wrap: wrap;
	margin-top: 40px;
}

.service {
	flex-basis: calc(33.33% - 40px);
	padding: 20px;
	box-sizing: border-box;
	margin: 20px;
	background-color: #fff;
	border-radius: 10px;
}

.service-title-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

.service-title {
	font-weight: bolder;
	color: #bdafa8;
	font-size: 20px;
}

.service svg {
	background-color: #e4cfb3;
	padding: 5px;
	width: 30px;
	height: 30px;
	border-radius: 4px;
	margin-right: 10px;
	fill: #fff;
}

svg {
	background-color: #e4cfb3;
	padding: 5px;
	width: 30px;
	height: 30px;
	border-radius: 4px;
	margin-right: 10px;
	fill: #fff;
}

@media (max-width: 768px) {
	.service {
		flex-basis: calc(50% - 40px);
	}
}

@media (max-width: 500px) {
	.service {
		flex-basis: calc(100% - 40px);
	}
}

/* 07 - About section */
.about .title {
	margin-bottom: 40px;
}

.about .upper,
.about .lower {
	margin-bottom: 60px;
}

.about .upper:last-child {
	margin-bottom: 20px;
}

.about .upper,
.about .lower {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.upper div,
.lower div {
	padding: 20px 40px;
}

.upper div h3,
.lower div h3 {
	margin-bottom: 20px;
}

.about img {
	max-width: 550px;
}

@media (max-width: 1000px) {
	/* Mobile */
	.about .upper {
		flex-direction: column;
	}
	.about .lower {
		flex-direction: column-reverse;
	}
	.about img {
		margin-bottom: 100px;
	}
}

@media (max-width: 500px) {
	.upper div,
	.lower div {
		padding: 20px 10px;
	}
}

/* 08 - Contacts Section */
.contacts-container {
	display: flex;
	margin: 20px auto;
	align-items: center;
}

.where,
.form {
	width: 50%;
}

.where {
	text-align: start;
	height: 100vh;
	max-height: 570px;
	display: flex;
	flex-direction: column;
}

.where h3 {
	margin-top: 15px;
	margin-bottom: 5px;
}

.where p {
	margin-bottom: 40px;
}

.tel,
.mobile,
.mail {
	display: flex;
	align-items: center;
	margin-top: 20px;
}

.tel .img,
.mobile .img,
.mail .img {
	margin-right: 20px;
}

.tel .data ul li div,
.mobile .data ul li div,
.mail .data ul li div {
	width: 40px;
	display: inline-block;
	margin-right: 10px;
}

form div {
	display: flex;
	flex-direction: column;
	text-align: start;
	margin: auto auto;
}

.input-box:focus,
textarea:focus {
	outline: 2px solid #cfc0b8 !important;
	border-radius: 2px;
	border: 2px solid #cfc0b8;
}

.input-box,
form div {
	min-width: 200px;
	max-width: 500px;
	min-height: 30px;
}

.input-box,
textarea {
	margin-bottom: 20px;
}

form div label {
	margin-bottom: 10px;
}

textarea {
	min-height: 100px;
}

.styled-button {
	background-color: black;
	border: none;
	color: white;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius: 25px;
	width: 130px;
	transition-duration: 0.4s;
	cursor: pointer;
}

.styled-button:hover {
	background-color: #333;
}

.check {
	flex-direction: row !important;
	align-items: center;
	margin-bottom: 20px;
}

.check span {
	margin-left: 10px;
}

.check input {
	cursor: pointer;
}

input[type="checkbox"] {
	width: 30px;
	height: 30px;
	border: 2px solid #e4cfb3;
	border-radius: 4px;
	outline: none;
}

input[type="checkbox"]:checked {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #ae9e89;
}

input[type="checkbox"]:checked::before {
	content: "\2713";
	display: block;
	text-align: center;
	font-size: 20px;
	color: white;
}

@media (max-width: 1000px) {
	/* Mobile */
	.contacts-container {
		flex-direction: column;
	}

	.contacts {
		padding-top: 40px !important;
	}
	.where {
		height: auto !important;
	}
	.where,
	.form {
		width: 100%;
	}
	.form {
		margin-top: 150px;
	}
	.where h3,
	.form h3 {
		text-align: center;
		margin-bottom: 20px;
	}
	.where p {
		text-align: center;
		margin-bottom: 40px;
	}
	input {
		height: 50px;
	}
	.styled-button {
		margin: 0 auto;
		width: 100%;
		margin-top: 20px;
	}
}

@media (max-width: 500px) {
	.tel,
	.mobile,
	.mail {
		flex-direction: column;
		text-align: center;
	}

	.tel .img,
	.mobile .img,
	.mail .img {
		margin-right: 0;
	}
	.tel svg,
	.mobile svg,
	.mail svg {
		margin: 10px auto;
	}
}

/* 09 - Google Maps */
.google-map {
	position: relative;
	background: #000;
}

.google-map > iframe {
	display: block;
	width: 100%;
	height: 500px;
	position: relative;
	background-color: #111 !important;
	z-index: 1;
}

/* 10 - Footer */

footer {
	background-color: #000;
	color: #fff;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

footer .container {
	text-align: center;
}

footer .container div {
	padding: 5px;
}

footer .container div:first-child {
	padding-top: 40px;
}

footer .container div:last-child {
	padding-bottom: 40px;
}

footer a {
	color: #fff;
}

footer a:hover {
	color: #e4cfb3;
}

@media (max-width: 500px) {
	footer .container div:first-child {
		padding-top: 80px;
	}

	footer .container div:last-child {
		padding-bottom: 80px;
	}
}
