/* -------- GENERAL -------- */
/*if you read this you are gay*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/* background: #001a23;  */
}

@font-face {
  font-family: Lemur; /* set name */
  src:   url('/assets/LeshMure2.woff') format('woff'); /* url of the font */
}

body,
html {
	font-family: "Source Serif 4", serif;
	font-optical-sizing: none;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" ;
	font-feature-settings: "ss0";
	
}
h1 {
  font-size: 5rem;
  font-family: "Lemur";
  font-weight: 400;
  font-variation-settings: 'opsz', 60;
  letter-spacing: -0.2rem;
}
h2 {
  font-size: 5rem;
  font-family: "Lemur";
  font-weight: 400;
  font-variation-settings: 'opsz', 60;
  letter-spacing: -0.2rem;
}
p {
  font-size: 1.2rem;
  font-weight: 400;
  	font-optical-sizing: none;
  font-variation-settings: 'opsz', 10;
  letter-spacing: -0.1rem;

}
/* Preloader overlay
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001a23; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  color: #f4f4f4;
  font-family: sans-serif;
  text-align: center;
}


#preloader .disclaimer {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family:"Montserrat";
  color: #ec1e24;
  animation: blink 1.2s infinite alternate;;
  
}
@keyframes blink {
  from { opacity: 1; }
  to   { opacity: 0.4; }
} */

/* -------- NAVIGATION -------- */
/* MAIN NAV */
#main-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
	background: #000000aa;
	font-family: "Lemur";
	font-size: 1.8rem;
	backdrop-filter: blur(8px);

	z-index: 9989;
	transition: top 0.3s ease-in-out;
}

/* Logo */
.logo-container img.logo {
	height: 40px;
	cursor: pointer;
	
}

/* Desktop Menu */
.desktop-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.desktop-menu a {
	text-decoration: none;
	color: #f4f4f4;
	transition: color 0.3s ease;
}

.desktop-menu a:hover {
	color: #ec1e24;
}

/* Hamburger Menu (Mobile) */
.hamburger-container {
	display: none;
	position: relative;
}

.hamburger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 20px;
	width: 25px;
	cursor: pointer;
	z-index: 1000;
}

.hamburger-icon span {
	height: 2px;
	width: 100%;
	background: #f4f4f4;
	transition: all 0.3s ease;
}

/* Mobile menu links */
.menu-links {
	position: absolute;
	top: 40px; /* below the header */
	right: 0px;
	width: 200px; 
	max-height: 0;
	overflow: hidden;
	list-style: none;
	border-radius: 0;
	transition: max-height 0.4s ease-in;

	background: #000000aa;

	z-index: 1000;
}

.menu-links li {
	text-align: right;
}

.menu-links a {
	display: block;
	padding: 1rem 2rem;
	color: #f4f4f4;
	text-decoration: none;
}

.menu-links a:hover {
	color: #ec1e24;
}

/* Hamburger open state */
.menu-links.open {
	max-height: 300px; /* adjust if more links */
}

.hamburger-icon.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-icon.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* RESPONSIVE */
@media screen and (max-width: 992px) {
	.desktop-menu {
		display: none;
	}

	.hamburger-container {
		display: block;
	}
}

/* -------- MOBILE -------- */
@media (max-width: 1024px) {
	.hamburger-icon {
		display: flex;
	}
	.nav-links {
		position: absolute;
		top: 60px;
		right: 0;
		flex-direction: column;

		width: 200px;
		padding: 1rem 2rem;
		gap: 1rem;
		display: none;
		z-index: 10000;
	}
	.nav-links.show {
		display: flex;
	}
}

/* -------- HERO -------- */
#hero {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

#hero-logo-container {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	transform: translate(-50%, -50%);
	z-index: 10;
	pointer-events: none;
}

#hero-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 80vw; /* scales with screen width */
	width: 400px; /* fallback for small screens */
	height: auto;
	pointer-events: none;
	/* box-shadow: #ec1e2433 0px 0px 50px;
	backdrop-filter: blur(18px) saturate(180%); */
}

#hero-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	opacity: 45%;
}

/* full rotation keyframes */
@keyframes rotate-star {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.scroll-star {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 80px;
  height: auto;
  z-index: 99;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;

  animation: rotate-star 10s linear infinite; /* 4s = speed, linear = constant rotation */
mix-blend-mode: exclusion;
}
/* CAROUSEL */


@media (min-width: 1024px) {

	.carousel-title {
    opacity: 0;
	margin-top: -2rem;
  }
    .carousel-track {
    display: grid;
	
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));

    overflow: visible;
    overflow-x: visible;

    padding: 0;
    margin: 0;
    gap: 0;
  }
}

  .video-item {
    width: 100%;
    aspect-ratio: 9 / 16;
	

}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  width: max-content;
  animation: scrollLoop 40s linear infinite;
}

.carousel-content {
  display: flex;
  gap: 1rem;
}

.video-item {
    flex: 0 0 auto;
    width: 240px;              /* mobile size */
    aspect-ratio: 9 / 16;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    scroll-snap-align: center;
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* about */
/* Section container */
#about {
	position: relative;
	width: 100%;
	min-height: 80vh; /* taller area */
	display: flex;
	align-items: center; /* vertical centering */
	justify-content: center; /* horizontal centering */
	overflow: hidden;
}

/* Background image */
.about-bg {
	position: absolute;
	inset: 0;
	background: url("/assets/hero-placeholder.jpg") no-repeat center center/cover;
	z-index: 1;
	
}

/* Glass container */
.about-glass {
	position: relative;
	z-index: 2;
	/* -webkit-backdrop-filter: blur(18px) saturate(180%); */
	border-radius: 0;
	padding: 2rem 3rem;
	max-width: 700px;
	text-align: center;
	color: #fff;
		box-shadow: #ec1e2433 0px 0px 50px;
	/* backdrop-filter: blur(10px) saturate(0%); */
		background-color: rgba(0,0,0);

}

@media screen and (max-width: 768px) {
	.about-glass {
			text-align: right;
	}
}
/* Text styling */
.about-glass h1 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.about-glass p {
	
	margin: 0;
	line-height: 1;
	text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
	#about {
		min-height: 60vh;
		padding: 1rem;
	}

	.about-glass {
		width: 100%;
		padding: 1.5rem;
	}

	.about-glass h2 {
	
	}

	.about-glass p {
		
	}
}

/* Projects Section */
.project-item {
	
}

#projects {
	padding: 4rem 2rem;
	background: #000;
	color: #f4f4f4;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;

}
#project-media .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0 5%;
  margin-bottom: 2rem;
   max-width: 80%;
     margin: auto auto 8px auto;

}
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.project-item {
	display: block;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease,
		background-color 0.3s ease;
		border-radius: 0;
}

.project-item img {
	filter: grayscale(100%);
    transition: filter 0.4s ease;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

/* Hover effect */
.project-item:hover img {
	filter: grayscale(0%);	
}

.project-item:hover {
	box-shadow: #ec1e24 0px 4px 12px;
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px) saturate(180%);
}

/* CONTACT */
#contact {
	position: relative;
	width: 100%;
	height: 80vh; /* adjust height as needed */
	display: flex;
	align-items: center;
	justify-content: center; /* centers horizontally */
	overflow: hidden;
}

.contact-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
		opacity: 45%;

}

.contact-wrapper {
	position: relative;
	display: flex;
	flex-direction: column; /* stack title and container vertically */
	align-items: center; /* center horizontally */
	gap: 1rem;
	z-index: 2;
}

/* Title */
.contact-title {
	color: #f4f4f4;
	
	margin: 0;
	text-align: left;
	margin-top: -1.5rem;
}
.contact-p {
	color: #f4f4f4;
}

/* Glass-like container */
.contact-container {
	/* background-color: rgba(255, 255, 255, 0.2); */
	background-color: rgba(0,0,0);
	padding: 2rem 2.5rem;
	border-radius: 0;
	min-width: 250px;
	max-width: 400px;
	box-shadow: #ec1e2433 0px 0px 50px;
	/* backdrop-filter: blur(5px) saturate(0%); */
	text-align:left;
}

.contact-container p {
	margin: 0.8rem 0;
	
	color: #f4f4f4;
}

.contact-container a {
	color: #f4f4f4;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.contact-container a:hover {
	color: #ec1e24;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.contact-title {
		font-size:
	}

	.contact-container {
		width: 90%;
		max-width: none;
		
	}
}

