:root {
	--link-color: #0000;
	--link-hover: #0077cc;
}

@font-face {
	font-family: "folklore";
	src: url(/assets/fonts/ImFell.ttf) format("truetype");
}

@font-face {
	font-family: "Bronela";
	src: url(/assets/fonts/Bronela.ttf) format("truetype");
}

@font-face {
	font-family: "Kelmscott";
	src: url(/assets/fonts/KELMSCOT.TTF) format("truetype");
}

body {
	font-family: folklore;
	background-size: cover;
	background-position: fixed;
	background-color: #798263;
	background-image:;
	margin: 0;
}

.container {
  width: 100%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  background-color: transparent;
  overflow: hidden;
}

.curtain {
  position: absolute;
  top: 170px;
  height: 100vh;
  width: 354px; /* EXACT width */
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  transform: scale(1.5);
  pointer-events: none;
  animation-duration: 1.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: .2s;
  filter: sepia(20%);
}

.curtain-left {
  left: -25px;
  background-image: url("/assets/curtain-left.png");
  animation-name: curtain-open-left;
  transform-origin: left center; 
}

.curtain-right {
  right: 0;
  background-image: url("/assets/curtain-right.png");
  animation-name: curtain-open-right;
  transform-origin: right center;
}


@keyframes curtain-open-left {
  from {
    transform: translateX(0) scale(1.5);
  }
  to {
    transform: translateX(-100%) scale(0.9);
  }
}

@keyframes curtain-open-right {
  from {
    transform: translateX(0) scale(1.5);
  }
  to {
    transform: translateX(100%) scale(0.9);
  }
}



main {
	max-width: 1400px;
	margin: auto;
	position: relative;
	min-height: 100vh;
	background-color: transparent;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(/assets/fairy-forest.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(var(--blurValue, 0px));
  transform: scale(1.05);
  z-index: 0;
  transition: filter 0.2s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 35vh;
}

.hero-content::after {
  content: "";
  position: absolute;
	top: 300px;
  right: 20%;
  width: 464px;
  height: 400px;
  background-image: url(/assets/nymphs.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
  transition: transform 0.5s ease-in-out;
}

.hero:hover .hero-content::after {
  transform: rotate(5deg);
}

.hero-content h1::first-letter{
font-family: Kelmscott;
font-size: 50px;
}

.home-panel{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  	background-color: antiquewhite;
	background-image: url(/assets/paper-texture.png);
}

.home-inner{
	display: grid;
}

header {
	position: relative;
	top: 0;
	width: 100%;
	min-height: 100px;
	margin: 0;
	background-image: url("/assets/black-paper.png");
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.25),
		0 6px 10px rgba(0, 0, 0, 0.12);
	background-color: #44472e;
	border-bottom: #000000 2px solid;
	z-index: 3;
}


@keyframes fairy-drop {
	0% {
		transform: translateY(-60px) scale(0.95);
		opacity: 0;
	}
	70% {
		transform: translateY(5px) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateY(0);
	}
}

@keyframes fairy-float {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(0);
	}
}

.logo {
	display: flex;
	justify-content: center;
	padding-bottom: 1.5rem;
	padding-right: 30px;
	margin-left: 20px;
}

.logo img {
	width: 70px;
}

.nav-row::before,
.nav-row::after {
  content: "";
  position: absolute;
  bottom: -8px; 
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 2;

  animation:
    fairy-drop 1.2s ease-out forwards,
    fairy-float 4s ease-in-out infinite;
  animation-delay:
    0s,
    1.2s;

  filter: drop-shadow(0 0 6px rgba(255,255,200,0.35));
}

.nav-row::before {
  left: -110px;
  background: url("/assets/fairy-left.png") no-repeat center / contain;
}

.nav-row::after {
  right: -110px;
  background: url("/assets/fairy-right.png") no-repeat center / contain;
}



.navbar {
	width: 100%;
	display: flex;
	justify-content: center;
	position: relative;
	padding: 10px 0px 10px 0px;
}

.nav-row {
	position: relative;
	width: 100%;
	max-width: 1400px;
	display: flex;
	align-items: center;
	background-color: antiquewhite;
	background-image: url(/assets/paper-texture.png);
	border: 18px solid;
	border-image: url(/assets/frame1.png) 18 round;
	padding: 10px 10px 0px 10px;
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.25),
		0 6px 10px rgba(0, 0, 0, 0.12);
}

/* Links on the left */
.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 40px;
}

.nav-links a {
	text-decoration: none;
	color: black;
	font-size: 20px;
}

.book-btn {
	padding: 0.6rem 1.2rem;
	border-radius: 20px;
	background: linear-gradient(180deg, #e6e3c8, #c9c6a4);
	color: #2a2a2a;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.03em;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.6),
		0 3px 8px rgba(0, 0, 0, 0.25);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
	margin-left: auto;
	margin-right: 30px;
}

.book-btn:hover {
	transform: translateY(1px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Dropdown */
.dropdown {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	border: 1px solid #ddd;
	list-style: none;
	padding: 0.5rem 0;
	min-width: 160px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	z-index: 10;
}

.dropdown-menu li {
	padding: 0;
}

.dropdown-menu a {
	display: block;
	padding: 0.5rem 1rem;
	color: #333;
}

.dropdown-menu a:hover {
	background: #f2f2f2;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

footer {
	background-color: antiquewhite;
	text-align: right;
	padding-right:100px;
	padding-top:10px;
}

/* Hamburger*/
.hamburger {
	display: none; /* hidden on desktop */
	position: fixed;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 30px;
	height: 25px;
	cursor: pointer;
	z-index: 1001;
}

.hamburger span {
	display: block;
	height: 8px;
	width: 100%;
	background: antiquewhite;
	border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu {
	position: fixed;
	top: 0;
	left: -100%;
	width: 70%;
	height: 100vh;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
	transition: left 0.4s ease;
	z-index: 1000;
	padding: 4rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.mobile-menu.active {
	left: 0;
}

.mobile-menu a {
	color: #333;
	font-size: 1.2rem;
	text-decoration: none;
}

.mobile-menu a:hover {
	color: var(--link-hover);
}

/* Mobile */
@media (max-width: 768px) {
	@media (max-width: 768px) {
		.nav-row {
			display: none;
		}
	}

	.nav-links {
		display: none;
	}

	.hamburger {
		display: flex;
		position: fixed;
		top: 3rem;
		right: 1rem;
		z-index: 1100;
	}

	header{
	border: none;
	background-color: transparent;
	background-image: none;
	filter: none;
	box-shadow: none;
	}

	.curtain,
	header:before,
	header:after,
	.header-inner,
	.logo {
		display: none;
	}

	.hero-content::after {
	top: 400px;

}

}
