* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

:root {
	--index: calc(1vw + 1vh);
	--color-header: #f4efec;
	--color-text: #cdc6c3;
	--gallery-gap: calc(var(--index) * 7.5)
}
body {
	font-family: 'Noto Sans', sans-serif;
}

@font-face {
	font-family: outfit-c;
	src: url(../fonts/outfit-regular.woff2);
}
h1, h4, h5, h6 {
	font-family: outfit-c;
}

h3 {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 500;
}

h2 {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 600;
}
/* will-change */
.content {
	position: relative;
	min-height: 100vh;
}

.content, .hero, .gallery > * {
	will-change: transform;
}

.main-header {
    background-color: #000 !important;
}

/* Header and Hero styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.main-header nav {
    margin-left: auto;
	margin-right: 30px;
}



.hero {
    width: calc(var(--index) * 54);
    position: absolute;
    left: 30vw;
    top: 22vh;
    z-index: -1;
    filter: brightness(1.3);
}

.hero-header {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	text-align: center;
	width: 100%;
}

.main-title {
	font-size: calc(var(--index) * 8);
	line-height: .9;
	color: var(--color-header);
	margin: 0;
}

/* Portfolio section */
.portfolio {
    background-color: #000;
    padding: 100px 0;
}

.gallery {
    background-color: #000;
}

.text-block {
    background-color: #111;
    padding: 30px;
    border-radius: 8px;
}

.text-block__h {
    color: #fff;
}

.text-block__p {
    color: #ccc;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	overflow-x: hidden;
	position: relative;
	height: 100%;
}

.hero-section {
	position: relative;
	height: 100vh;
	overflow: hidden;
	padding-top: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero {
	width: 100%;
	max-width: calc(var(--index) * 54);
	position: relative;
	z-index: 1;
}

.main-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--color-bg);
	z-index: 1000;
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	margin-left: 30px;
	height: 100%;
	border: 1px solid transparent;
	transition: all 0.3s ease;
}

.logo-img {
	height: 100px;
	width: auto;
	display: block;
}
nav {
	display: flex;
	gap: 30px;
	align-items: center;
}
.nav-link {
	color: #fff;
	text-decoration: none;
	padding: 8px 12px;
	border: 1px solid transparent;
	transition: all 0.3s ease;
	font-weight: 500;
	letter-spacing: 0.3px;
}
.nav-link:hover {
	border-color: #fff;
}

.burger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-right: 30px;
}

.burger-menu span {
	display: block;
	width: 25px;
	height: 2px;
	background-color: #fff;
	margin: 5px 0;
	transition: 0.3s;
}

body {
	overflow-x: hidden;
}

.wrapper {
	background-color: #000;
	position: relative;
	min-height: 100vh;
}

.footer {
	background-color: #000;
	padding: 40px 0;
}

.footer-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.footer-col {
	flex: 1;
	max-width: 400px;
}

.footer-col h3 {
	color: var(--color-header);
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.footer-col p {
	color: var(--color-text);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-link {
	color: var(--color-text);
	transition: color 0.3s ease;
}

.social-link:hover {
	color: var(--color-header);
}

/* Responsive styles */
@media (max-width: 768px) {
	.footer-col {
		width: 100%;
		max-width: 100%;
		padding: 0 20px;
		text-align: center;
	}

	.social-links {
		justify-content: center;
	}
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.contact-wrapper {
		flex-direction: column;
	}

	.contact-info {
		width: 100%;
		margin-bottom: 30px;
	}

	.contact-form {
		width: 100%;
	}

	.contact-item {
		text-align: center;
		margin-bottom: 20px;
	}

.contact-section {
	padding: 60px 0 120px;
	background-color: #000;
	color: #fff;
	margin-bottom: 0;
}

.contact-section h2 {
	font-size: calc(var(--index) * 3);
	margin-bottom: calc(var(--index) * 2);
}

.contact-wrapper {
	display: flex;
	gap: 40px;
}

.contact-item {
	margin-bottom: 30px;
}

.contact-item h3 {
	font-size: 24px;
	margin-bottom: 15px;
}

.contact-item p {
	font-size: 16px;
	line-height: 1.5;
	color: #999;
	margin-bottom: 10px;
}

.contact-info {
	flex: 1;
}

.contact-form {
	flex: 1;
}

.form-group {
	margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
}

.form-group textarea {
	height: 120px;
	resize: none;
}

.submit-btn {
	padding: 12px 30px;
	background: #fff;
	color: #000;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: opacity 0.3s;
}

.submit-btn:hover {
	opacity: 0.8;
}

.contact-section h2 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 36px;
}

	.contact-info .contact-item:nth-child(1) { order: 1; }
	.contact-info .contact-item:nth-child(2) { order: 2; }
	.contact-info .contact-item:nth-child(3) { order: 3; }


	.footer {
		padding: 40px 0 0;
		background-color: #000;
		margin: 0;
	}

	.footer-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 30px;
	}

	.footer-col {
		width: 100%;
		max-width: 100%;
		text-align: center;
		color: #fff;
		padding: 0 15px;
		box-sizing: border-box;
	}

	.footer-col h3 {
		font-size: calc(var(--index) * 1.5);
		margin-bottom: calc(var(--index) * 0.8);
	}

	.footer-col p {
		margin-bottom: calc(var(--index) * 0.5);
		line-height: 1.5;
		color: var(--color-text);
		font-size: calc(var(--index) * 0.8);
	}

	.footer-col ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.footer-col li {
		margin-bottom: calc(var(--index) * 0.5);
		color: var(--color-text);
		font-size: calc(var(--index) * 0.8);
	}

	.social-links {
		display: flex;
		gap: calc(var(--index) * 1);
		margin-top: calc(var(--index) * 1);
		margin-bottom: calc(var(--index) * 1);
		justify-content: center;
	}

	.social-link {
		color: #fff;
		transition: opacity 0.3s;
	}

	.social-link:hover {
		opacity: 0.7;
	}

	.footer-bottom {
		margin-top: 30px;
		padding: 20px 0;
		border-top: 1px solid rgba(255,255,255,0.1);
		text-align: center;
		color: #999;
		background-color: #000;
	}


	.portfolio {
		padding-top: 0;
	}

	.gallery__right {
		display: flex;
		flex-direction: column;
		order: -1;
		margin-bottom: 0;
	}

	.gallery__left {
		margin-top: 0;
		margin-bottom: 0;
		display: flex;
		flex-direction: column;
	}

	.gallery__left img:first-of-type {
		order: 2;
	}

	.gallery__left .text-block {
		order: 1;
	}

	.gallery__left img:last-of-type {
		order: 3;
	}

	.gallery {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.gallery__left,
	.gallery__right {
		width: 100%;
	}

	.gallery__item {
		width: 100%;
		margin-bottom: 10px;
		transform: none !important;
	}

	.text-block {
		padding: 15px;
		margin-bottom: 10px;
	}

	.gallery__right .text-block {
		order: -1;
	}

	.text-block__h {
		font-size: calc(var(--index) * 3);
		margin-bottom: 15px;
	}

	.text-block__p {
		font-size: calc(var(--index) * 1.2);
		line-height: 1.6;
	}

	.burger-menu {
		display: block;
	}

	.main-header {
		width: 100vw;
		padding: 20px;
	}

	.main-header nav {
		position: fixed;
		top: 80px;
		left: 0;
		right: 0;
		width: 100vw;
		height: 0;
		background-color: #000;
		flex-direction: column;
		overflow: hidden;
		transition: all 0.3s ease;
		margin: 0;
		padding: 0;
		opacity: 0;
		visibility: hidden;
	}

	.main-header nav.active {
		height: calc(100vh - 80px);
		padding: 20px 0;
		opacity: 1;
		visibility: visible;
	}

	.nav-link {
		padding: 15px 30px;
		width: 100%;
		text-align: center;
		display: block;
	}

	.hero {
		width: 90%;
		left: 5%;
		top: 30vh;
	}

	.main-title {
		font-size: calc(var(--index) * 6);
		bottom: 8vh;
	}

	.container {
		padding: 0 20px;
	}
}

.container {
	padding: 0 7vw;
}
.main-title {
	font-size: calc(var(--index) * 8);
	position: absolute;
	width: min-content;
	bottom: 12vh;
	line-height: .9;
}
.gallery {
	display: flex;
	padding: calc(var(--index) * 8) 0;
}
.gallery > * {
	flex: 1;
	display: flex;
	align-items: center;
	flex-direction: column;
}
.gallery__item {
	max-width: calc(var(--index) * 21);
	margin-bottom: var(--gallery-gap);
	max-height: 180vh;
	border-radius: 8px;
}
.gallery__left {
	margin-top: calc(var(--gallery-gap) * 1.75);
}
.gallery__left img:first-of-type {
	margin-top: 280px;
}
.gallery__right .gallery__item {
	margin: 0;
	margin-top: var(--gallery-gap);
}
.text-block {
	color: var(--color-text);
	position: relative;
}
.text-block__h {
	font-size: 2rem;
	line-height: 2.4rem;
	color: var(--color-header);
	margin-bottom: 1.5rem;
}
.text-block__p {
	line-height: 1.75;
}

/* About Section */
.about-section {
	padding: 120px 0;
	background-color: #111;
}

.about-content {
	max-width: 800px;
	margin: 0 auto;
}

.about-text h2 {
	font-size: 3.5rem;
	margin-bottom: 30px;
	color: var(--color-header);
}

.about-text p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: 20px;
}

.about-text p:last-child {
	margin-bottom: 0;
}

.about-image {
	flex: 1;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact-section {
	padding: 120px 0;
	background-color: #000;
}

.contact-content {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.contact-content h2 {
	font-size: 3.5rem;
	margin-bottom: 60px;
	color: var(--color-header);
}

.contact-wrapper {
	display: flex;
	gap: 60px;
	text-align: left;
}

.contact-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 30px;
	background-color: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
}

.contact-item h3 {
	font-size: 1.5rem;
	color: var(--color-header);
	margin-bottom: 15px;
}

.contact-item p {
	font-size: 1.1rem;
	color: var(--color-text);
	line-height: 1.6;
	margin-bottom: 5px;
}

.contact-form {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 30px;
	background-color: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
}

.form-group {
	position: relative;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 15px;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--color-text);
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: rgba(255, 255, 255, 0.3);
	background-color: rgba(255, 255, 255, 0.07);
	outline: none;
}

.submit-btn {
	padding: 15px 30px;
	background-color: var(--color-header);
	color: #000;
	border: none;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	background-color: #fff;
	transform: translateY(-2px);
}

.form-status {
	margin-top: 15px;
	padding: 10px;
	border-radius: 6px;
	font-size: 0.9rem;
	text-align: center;
}

.form-status.success {
	background-color: rgba(0, 255, 0, 0.1);
	color: #4caf50;
}

.form-status.error {
	background-color: rgba(255, 0, 0, 0.1);
	color: #f44336;
}

.submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* Footer */
.footer {
    background-color: #111;
    padding: 80px 0 30px;
    color: var(--color-text);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--color-header);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-header);
    color: #000;
    transform: translateY(-2px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li:last-child {
    margin-bottom: 0;
}

.footer-col a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-header);
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin-left: 30px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
}

.nav-link:hover {
    color: #000;
    background-color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}
