/* Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
/* font-family: "Roboto", sans-serif; */

/* Italiana */
@import url("https://fonts.googleapis.com/css2?family=Italiana&display=swap");
/* font-family: 'Italiana', serif; */

/* Ruthie */
@import url("https://fonts.googleapis.com/css2?family=Ruthie&display=swap");
/* font-family: 'Ruthie', cursive; */

/* Vonique 43 */
@font-face {
	font-family: "vonique43";
	src: url("../font/vonique43.otf") format("opentype");
}

:root {
	--primary-color: #141414;
	--secondary-color: #b2523b;
	--secondary-color-hover: #e0a483;
}

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
	background: var(--secondary-color);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--secondary-color-hover);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
	scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

main {
	overflow-x: hidden;
}

.btn {
	border: none;
	background: var(--primary-color);
	color: white;
	padding: 24px 40px;
	font-size: 11px;
	width: fit-content;

	cursor: pointer;
}

/* ============== Section ============== */

/* .dark-main {
	background-color: #141414;
} */

section {
	display: flex;
	flex-direction: column;
	gap: 50px;
	scroll-margin-top: 80px;
	padding: 80px 170px;
}

section .container {
	display: flex;
	margin-left: 40px;
	gap: 180px;
}

section .dark-container {
	display: flex;
	background-color: #141414;
	color: #fff;
	margin-left: 40px;
	gap: 90px;
}

section .separator {
	display: block;
	height: 1px;
	width: 100%;
	margin-top: 30px;
	background-color: var(--secondary-color);
}

section .dark-container .right-box {
	display: flex;
	flex-direction: column;

	gap: 80px;
}

section .left-box {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

section .dark-container .section-title {
	font-family: "vonique43";
	font-size: 80px;
}

section .section-title {
	font-family: "vonique43";
	font-size: 76px;
}

.section-description {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	letter-spacing: 0.5px;
	max-width: 600px;
}

.section-pseudo {
	display: flex;
	align-items: center;
	gap: 20px;
}

.section-pseudo span {
	display: block;
	width: 60px;
	height: 1px;
	background-color: var(--secondary-color);
}

.section-pseudo h2 {
	color: var(--secondary-color);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

/* ============== Slider ============== */

.slider-section {
	display: flex;
	flex-direction: column;
	gap: 50px;
	scroll-margin-top: 80px;
	margin: 160px 170px;
}

.slider-section .container {
	display: flex;
	flex-direction: column;
	gap: 80px;
	margin-left: 40px;
}

.slider {
	display: flex;
	min-width: 112%;
	gap: 170px;
	overflow-x: scroll;

	user-select: none;
	padding-right: 1100px;
}

.slider::-webkit-scrollbar {
	display: none;
}

.slide {
	display: flex;
	flex-direction: column;
	gap: 18px;

	cursor: pointer;
	transition: 0.3s;
}

.slide > p {
	transition: 0.3s;
}

.slide.active {
	width: 660px;
	height: 500px;
	margin-right: 110px;

	gap: 24px;
}

.slide.active > p {
	transform: translateY(70px);
}

.slide.active img {
	transform: scale(1.2);
	transform-origin: top left;
}

.slide > img {
	width: 550px;
	height: 355px;

	transition: all 0.3s;
}

.slider-controller {
	display: flex;
	align-items: center;
	gap: 30px;
}

.slider-controller .progressbar {
	width: 320px;
	height: 2px;

	margin-left: 50px;
	background-color: #ddd;

	overflow: hidden;
}

.slider-controller .progress {
	width: 320px;
	height: 2px;

	background-color: var(--secondary-color);

	transform: translateX(-320px);
	transition: transform 0.3s;
}

.slider-controller > button {
	border-radius: 50%;
	padding: 30px 35.5px;
	border: 1px solid var(--primary-color);
	background: none;

	cursor: pointer;
}

body {
	overflow-x: hidden;
	background-image: url("../images/hero.webp");
	background-repeat: no-repeat;
}

body.no-bg {
	background-image: none;
}

/* ============== Nav & Hero ============== */

nav {
	display: flex;
	justify-content: space-between;

	padding: 28px 70px;
	color: white;

	position: relative;
	z-index: 10;
}

nav > div {
	width: 100%;
}

.nav-button-container {
	display: flex;
	justify-content: flex-end;
}

.nav-logo {
	display: flex;
	justify-content: center;
	font-family: "Ruthie", cursive;
	font-size: 36px;
}

.nav-links {
	display: flex;
	align-items: flex-end;
	height: 100%;
	gap: 26px;
	list-style-type: none;
}

.nav-links > li {
	font-size: 16px;
	padding-bottom: 18px;
	position: relative;
	cursor: pointer;
}

.nav-links > li::after {
	content: "";
	background-color: #b7492e;
	display: block;
	position: absolute;
	width: 100%;
	height: 2px;
	border-radius: 1px;
	opacity: 0;
	transition: opacity 0.3s;
}

.nav-links > li:hover::after {
	opacity: 1;
}

.nav-links > li.active::after {
	opacity: 1;
}

.nav-links > li > a {
	color: #fff;
	text-decoration: none;
}

.nav-button {
	padding: 5px 10px;
	background: none;
	border: 1px solid white;
	color: white;
	width: max-content;
}

.hero {
	color: white;

	padding: 220px 0 250px 0;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0;

	position: relative;
	z-index: 10;
}

.hero-img {
	position: absolute;
	width: 100%;
	top: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.hero > h1 {
	font-family: "vonique43";
	font-size: 96px;
}

.hero > h2 {
	font-size: 16px;
}

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

.arrow-href {
	margin-top: 200px;
}

.hero .arrow {
	animation: infinite-bounce 2s ease-in-out infinite;
}

.hero > img {
	transform: scale(1.2);
}

@keyframes infinite-bounce {
	0% {
		transform: translateY(6px);
	}
	50% {
		transform: translateY(-6px);
	}
	100% {
		transform: translateY(6px);
	}
}

#video-bg {
	position: absolute;
	top: 0;
	z-index: -1;
	filter: brightness(0.4);
}

/* ============== Contact section ============== */
.contact-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 90px;

	padding: 60px 0;
	margin: 0;

	background-image: url("../images/contact-section.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.contact-section > h1 {
	color: #fff;
	font-family: Italiana;
	font-size: 96px;
	font-weight: 400;
	line-height: 100px;
}

.contact-section form {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	width: 600px;
}

.contact-section input {
	width: 100%;
	padding: 20px 17px;
	border-radius: 5px;
	border: none;
	outline: none;
}

.contact-section textarea {
	width: 100%;
	min-height: 200px;
	padding: 20px 17px;
	border-radius: 5px;
	border: none;
	outline: none;

	resize: vertical;
}

.contact-section textarea::-webkit-scrollbar-track {
	background-color: white;
}

.contact-section .submit-btn {
	margin-top: 15px;
	padding: 18px 80px;
}

/* ============== Footer ============== */
footer .container {
	background-color: white;
	display: flex;
	justify-content: space-between;
	padding: 100px 350px;
}

footer .copyright {
	background-color: white;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 7px;
	padding-bottom: 50px;
}

footer .copyright #webwise {
	color: #000;
	font-size: 20px;
	font-style: normal;
	font-weight: 300;
	letter-spacing: 0.5px;
	text-decoration: underline;
}

footer .copyright #powered {
	color: var(--secondary-color);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

footer #logo {
	font-family: "Ruthie", cursive;
	font-size: 36px;
}

footer .column {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

footer .column ul {
	list-style-type: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

footer .accent {
	color: var(--secondary-color);
}

footer .accent a {
	color: var(--secondary-color);
}

/* ============== Work Card ============== */

.section-header {
	color: white;
	display: flex;
	justify-content: space-between;
}

.section-header .filters {
	display: flex;
	gap: 16px;
	align-items: center;
}

.section-header .filters .arrow-down {
	height: 14px;
	transform: rotate(90deg);
	color: white;
}

.works-table {
	color: white;

	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 48px;
	row-gap: 48px;
}

.work-card {
	display: flex;
	flex-direction: column;
	gap: 12px;

	cursor: pointer;
}

.card-details {
	display: flex;
	justify-content: space-between;
}

.card-img {
	height: 462px;
	background-size: cover;
	background-position: center;
}

.page-selector {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;

	margin-top: 30px;
}

.page-selector .page-buttons {
	display: flex;
	gap: 12px;
}

.page-selector .page-button {
	width: 32px;
	height: 32px;
	border-radius: 2px;
	border: none;
	background: none;

	color: #fff;
	cursor: pointer;
	transition: all 0.2s;
}

.page-selector .page-button:hover {
	background: #fff;
	color: #141414;
}

.page-selector .page-button.active {
	width: 32px;
	height: 32px;
	border-radius: 2px;
	border: none;
	background: #fff;

	color: #141414;
}

.page-selector .page-arrow {
	height: 14px;
}

#about-us {
	background: #141414;
	padding: 80px 170px;
	margin: 0;
}

.hero > img {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.apartments {
	background-color: #141414;
	padding-top: 150px;
	scroll-margin-top: -100px;
}

/* Burger */
.burger {
	display: none;
	flex-direction: column;
	gap: 6px;
	width: max-content;
	cursor: pointer;

	position: sticky;
	top: 24px;
	left: 24px;
	z-index: 100;
}

.burger > span {
	width: 28px;
	height: 3px;
	background-color: #fff;
}

/* Responsive */

@media only screen and (max-width: 1400px) {
	footer .container {
		padding: 80px 100px;
	}
}

@media only screen and (max-width: 1300px) {
	.works-table {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media only screen and (max-width: 1100px) {
	nav {
		display: none;
		flex-direction: column;
		align-items: center;
		gap: 12px;

		transform: translateY(-100%);
		transition: 0.3s;
	}

	.about-img {
		display: none;
	}

	.about-us .dark-container {
		margin-left: 0px;
		gap: 0px;
	}

	.about-us .dark-container .section-title {
		font-size: 45px;
		text-align: center;
	}

	nav.active {
		display: flex;
		transform: translateY(-10%);
		background-color: #0000003d;
	}
	.nav-logo {
		order: 1;
		-webkit-order: 1;
	}

	.hero > .section-title {
		text-align: center;
	}

	.nav-links {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.nav-links-container {
		order: 2;
		-webkit-order: 2;
	}

	.nav-button-container {
		display: flex;
		justify-content: center;
		order: 3;
		-webkit-order: 3;
	}

	.burger {
		display: flex;
	}

	.hero {
		margin: 0px;
		padding: 150px 0 50px 0;
	}

	.hero > h1 {
		font-size: 60px;
	}

	.arrow-href {
		margin-top: 200px;
	}
	footer .container {
		padding: 80px 32px;
	}
	.slider-section .section-title {
		font-size: 40px;
		text-align: center;
	}

	.slide {
		height: auto !important;
	}

	.slide > img {
		width: 270px;
		height: auto;
	}

	.slide p {
		text-align: center;
	}

	.slide.active > p {
		transform: translateY(30px);
	}
}

@media only screen and (max-width: 700px) {
	.hero > img {
		width: 80%;
	}

	.hero > h1 {
		font-size: 40px;
	}

	section {
		padding: 80px 24px !important;
		margin: 0 !important;
	}

	section .container {
		margin: 0;
	}

	section .section-pseudo {
		display: none;
	}

	section .left-box {
		align-items: center;
	}

	section .section-description {
		text-align: center;
	}

	section .section-title {
		font-size: 35px;
	}

	section .right-box {
		display: none;
	}

	section .container {
		margin: 0 !important;
		gap: 24px !important;
	}

	.slider-section .section-title {
		font-size: 40px;
		text-align: center;
	}

	.slide {
		height: auto !important;
	}

	.slide > img {
		width: 270px;
		height: auto;
	}

	.slide p {
		text-align: center;
	}

	.slide.active > p {
		transform: translateY(30px);
	}

	.contact-section {
		gap: 42px;
	}

	.contact-section > h1 {
		font-size: 60px;
	}
	.contact-section form {
		width: 100%;
	}

	footer .container {
		padding: 80px 32px;
		flex-direction: column;
		gap: 24px;
	}

	footer #logo {
		text-align: center;
	}

	footer .column h3 {
		text-align: center;
	}

	footer .column ul {
		text-align: center;
	}
}

@media only screen and (max-width: 600px) {
	.works-table {
		font-size: 12px;
	}

	.slider-controller {
		transform: scale(0.7);
	}
}

@media only screen and (max-width: 400px) {
	section .section-title {
		font-size: 30px;
	}

	.hero > h1 {
		font-size: 35px;
	}
}
