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

html {
	scroll-behavior: smooth;
	/* Enable smooth scrolling for the entire page */
}

body {
	background-color: #ffffff;
	color: #000000;
	line-height: 1.6;
	font-family: "Libre Franklin", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.nav-links li a,
.cta-button,
.view-all-btn {
	font-family: "Fjalla One", sans-serif;
}

/* Navigation */
header {
	background-color: #000000;
	padding: 1rem 0;
	position: fixed;
	width: 100%;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
	position: relative;
}

.logo {
	color: white;
	font-size: 1.5rem;
	letter-spacing: 1px;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
	z-index: 101;
	padding: 0;
}

.hamburger span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: white;
	transition:
		transform 0.3s ease-in-out,
		opacity 0.2s ease-in-out;
	transform-origin: center center;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li a {
	color: #ffffff;
	text-decoration: none;
	margin-left: 2rem;
	font-size: 1rem;
	transition: opacity 0.3s;
}

.nav-links li a:hover {
	opacity: 0.7;
}

.active {
	border-bottom: 2px solid white;
}

/* SEO Breadcrumb Structure for Navigation */
.nav-links[aria-label="breadcrumb"] li:not(:last-child)::after {
	content: "";
	display: none; /* Hidden visual separator for SEO structure */
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: #000000;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		transition: right 0.3s ease-in-out;
		z-index: 100;
		padding: 2rem;
	}

	.nav-links.active {
		right: 0;
	}

	.nav-links li {
		margin: 1.5rem 0;
		width: 100%;
		text-align: center;
	}

	.nav-links li a {
		margin: 0;
		font-size: 1.2rem;
		display: block;
		padding: 0.5rem 0;
	}

	.hamburger.active span:nth-child(1) {
		transform: translateY(5px) rotate(45deg);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: translateY(-12px) rotate(-45deg);
	}
}

/* Hero Section */
.hero {
	height: 100vh;
	background-color: #000000;
	background-image: url("/assets/img/wave-splash.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	position: relative;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
	max-width: 800px;
	padding: 0 2rem;
	position: relative;
	z-index: 1;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	letter-spacing: 2px;
}

.hero p {
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	opacity: 0.9;
}

.cta-button {
	background-color: transparent;
	color: white;
	border: 2px solid white;
	padding: 0.8rem 2rem;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.3s;
}

.cta-button:hover {
	background-color: white;
	color: black;
}

/* About Section */
.about {
	padding: 8rem 2rem 6rem;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 4rem;
	align-items: center;
}

.about-image {
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	position: relative;
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.about-content h2 {
	color: #000000;
	margin-bottom: 1.5rem;
	font-size: 2rem;
}

.about-content p {
	margin-bottom: 1.5rem;
	color: #333333;
	font-size: 1.1rem;
}

/* Portfolio Section (Latest Work) */
.portfolio {
	background-color: #fafafa;
	padding: 6rem 2rem;
	scroll-margin-top: 80px;
}

.portfolio-content {
	max-width: 1200px;
	margin: 0 auto;
}

.portfolio h2 {
	color: #000000;
	margin-bottom: 3rem;
	text-align: center;
	font-size: 2rem;
}

.work-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.work-item {
	position: relative;
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	cursor: pointer;
	height: 400px;
	/* Fixed height */
	overflow: hidden;
}

.work-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.3s ease;
}

.work-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.9);
	transform: translateY(0);
	transition: transform 0.3s ease;
}

.work-item:hover {
	transform: translateY(-5px);
}

.work-item:hover img {
	transform: scale(1.05);
}

.work-info h3 {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
}

.work-info p {
	color: #666;
	font-size: 0.9rem;
}

.view-all {
	text-align: center;
	margin-top: 3rem;
}

.view-all-btn {
	color: #000000;
	text-decoration: none;
	font-size: 1.1rem;
	border-bottom: 2px solid #000000;
	padding-bottom: 0.2rem;
	transition: opacity 0.3s;
}

.view-all-btn:hover {
	opacity: 0.7;
}

.portfolio-instagram {
	text-align: center;
	margin-top: 2rem;
	padding-bottom: 2rem;
}

.instagram-link {
	color: #333;
	text-decoration: none;
	font-size: 1.1rem;
	display: inline-flex;
	align-items: center;
	transition: color 0.3s ease;
	position: relative;
}

.instagram-link:hover {
	color: #000;
}

.instagram-link i {
	font-size: 2rem;
}

/* Media Section */
.media {
	background-color: #ffffff;
	padding: 6rem 2rem 2rem 2rem;
	scroll-margin-top: 80px;
}

.media-content {
	max-width: 1200px;
	margin: 0 auto;
}

.media h2 {
	color: #000000;
	margin-bottom: 3rem;
	text-align: center;
	font-size: 2rem;
}

.media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.media-item {
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	overflow: hidden;
	padding: 1.25rem 1.25rem 0 1.25rem;
}

.media-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.media-item a {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.media-preview {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.media-preview img {
	width: 100%;
	max-height: 240px;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.3s ease;
}

.media-item:hover .media-preview img {
	transform: scale(1.05);
}

.media-info {
	padding: 0.5rem 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.media-info h3 {
	margin-bottom: 0;
	font-size: 1.2rem;
	color: #000000;
	line-height: 1.3;
}

.media-info p {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.4;
	margin-bottom: 1rem;
	flex-grow: 1;
}

.media-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.5rem;
	border-top: 1px solid #eee;
}

.media-info {
	font-weight: 600;
	color: #000000;
	font-size: 0.85rem;
}

.media-source {
	color: #999;
	font-size: 0.85rem;
}

/* Contact Section (Connect With Me) */
.contact {
	padding: 6rem 2rem;
	text-align: center;
	scroll-margin-top: 80px;
	background-color: #ffffff;
}

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

.contact h2 {
	color: #000000;
	margin-bottom: 2rem;
	font-size: 2rem;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 3rem;
}

.social-icon {
	width: 60px;
	height: 60px;
	border-radius: 0;
	background-color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		opacity 0.3s,
		transform 0.3s;
}

.social-icon:hover {
	opacity: 0.8;
	transform: translateY(-5px);
}

.social-icon i {
	color: white;
	font-size: 1.5rem;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	text-align: left;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	font-family: "Libre Franklin", sans-serif;
	font-size: 1rem;
}

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

.submit-btn {
	background-color: #000;
	color: #fff;
	border: none;
	padding: 1rem 2rem;
	font-family: "Fjalla One", sans-serif;
	font-size: 1rem;
	cursor: pointer;
	transition: opacity 0.3s;
}

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

/* Footer */
footer {
	background-color: #000000;
	color: white;
	padding: 2rem;
	text-align: center;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}

footer p {
	opacity: 0.8;
	font-size: 0.9rem;
	margin-top: 1rem;
}

.email-link {
	text-decoration: none;
	border-bottom: 1px dotted currentColor;
	transition: border-bottom-color 0.3s ease;
	color: white;
}

.email-link:hover {
	border-bottom-color: transparent;
	color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
	.about {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.about-image {
		width: 60%;
		margin: 0 auto;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.nav-links li a {
		margin-left: 1rem;
	}
}

@media (max-width: 576px) {
	.hero h1 {
		font-size: 2rem;
	}

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

	.about-image {
		width: 80%;
	}

	.work-grid {
		grid-template-columns: 1fr;
	}

	.media-grid {
		grid-template-columns: 1fr;
	}
}

/* Lightbox Styles */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.active {
	display: flex;
	opacity: 1;
}

.lightbox-content {
	max-width: 90%;
	max-height: 90vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	display: block;
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 20px;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	z-index: 1001;
	background: none;
	border: none;
	padding: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
