/* ====================
   Desktop Styles
   ==================== */

/* Color Palette */
:root {
	--cream: #fdf6f0;
	--lavender: #c8bedd;
	--beige: #f5e6d3;
	--accent-dark: #5e4b56;
	--text: #3e3e3e;
	--highlight: #d1c4e9;
	--white: #ffffff;
  }
  
  /* Reset + Base styles */
  * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }
  
  body {
	font-family: 'Georgia', serif;
	background-color: var(--cream);
	color: var(--text);
	line-height: 1.6;
	padding: 2rem;
  }
  
  h1, h2, h3 {
	text-align: center;
	font-family: 'Georgia', serif;
	color: var(--lavender);
	margin-bottom: 1rem;
  }
  
  h1 {
	font-size: 2.5rem;
  }
  
  h2 {
	font-size: 1.8rem;
  }
  
  p {
	margin: 1rem 0;
	color: var(--accent-dark);
  }
  
  /* Form Styles */
  form {
	max-width: 600px;
	margin: 2rem auto;
	background-color: var(--white);
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(94, 75, 86, 0.1);
  }
  
  label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: bold;
	color: var(--accent-dark);
  }
  
  input[type="text"],
  input[type="email"],
  select,
  textarea {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--beige);
	border-radius: 8px;
	background-color: var(--cream);
  }
  
  textarea {
	resize: vertical;
  }
  
  button,
  input[type="submit"] {
	background-color: var(--lavender);
	color: var(--white);
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
	width: 100%;
  }
  
  button:hover,
  input[type="submit"]:hover {
	background-color: var(--highlight);
  }
  
  /* Section Styling */
  section {
	margin: 3rem auto;
	max-width: 800px;
	background-color: var(--beige);
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(94, 75, 86, 0.1);
  }
  
  img {
	max-width: 100%;
	border-radius: 12px;
	margin-top: 1rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Footer */
  footer {
	text-align: center;
	margin-top: 4rem;
	font-size: 0.9rem;
	color: var(--accent-dark);
  }
  nav {
	background-color: var(--lavender);
	padding: 1rem 0;
	text-align: center;
	box-shadow: 0 2px 4px rgba(94, 75, 86, 0.15);
	margin-bottom: 2rem;
  }
  
  .nav-links {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2rem;
  }
  
  .nav-links li a {
	text-decoration: none;
	color: var(--white);
	font-weight: bold;
	font-size: 1rem;
	transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
	color: var(--cream);
  }

  .music-sample {
	margin-bottom: 2rem;
	padding: 1rem;
	background-color: var(--beige);
	border-radius: 12px;
  }
  .booking-confirmation {
	text-align: center;
	background-color: var(--beige);
	border-radius: 12px;
	padding: 2rem;
	margin: 2rem auto;
	max-width: 600px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .button-link {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	background-color: var(--lavender);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.2s ease;
  }
  
  .button-link:hover {
	background-color: #a288b9;
  }


  /* About section on main index page*/
  .about-floating-img {
	all: unset; /* Reset inherited styles */
	position: absolute;
	bottom: 0rem; 
	right: 0rem;
	width: 190px;
	max-width: 25%;
	opacity: 0.95;
	z-index: 2;
  
	/* ✅ Override inherited global image styles */
	border-radius: 0;
	margin-top: 0;
	box-shadow: none;
  }
  
  /* Ensure the parent section can position children absolutely */
  .about {
	position: relative;
  }


  /* Photo section */
  .flute-photo {
	max-width: 100%;
	border: 4px solid var(--lavender);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	display: block;
	margin: 1rem auto;
  }

  .gallery-section {
	max-width: 900px;
	margin: 2rem auto;
	padding: 1rem;
	text-align: center;
  }
  
  .photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
  }
  
  .photo-gallery img {
	width: 100%;
	border: 4px solid var(--lavender);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .photo-gallery figure {
	margin: 0;
  }
  
  .photo-gallery figcaption {
	margin-top: 0.5rem;
	font-size: 0.95rem;
	color: var(--accent-dark);
  }

  .rep-section {
  margin-bottom: 2.5rem;
  padding: 1rem;
  background-color: var(--cream);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rep-section h3 {
  color: var(--lavender);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* 🎀 Bottom-right Corner Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  left: 85%;
  width: 10%;
  background-color: var(--lavender);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: 'Georgia', serif;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
  cursor: pointer;
}

/* ✨ Show the button */
#backToTop.show {
  opacity: 1;
}

/* 💅 Hover effect */
#backToTop:hover {
  background-color: var(--highlight);
}

/* 📱 Mobile tweaks */
@media (max-width: 600px) {
  #backToTop {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    bottom: 15px;
    right: 15px;
  }
}






  /* 🎁 Envelope Container */
#booking-section {
	background: linear-gradient(to bottom right, var(--cream), var(--beige));
	border: 2px solid var(--lavender);
	border-radius: 20px;
	padding: 3rem;
	max-width: 700px;
	margin: 2rem auto;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: visible;
  }
  
  /* 💌 Decorative Envelope Flap */
	#booking-section::before {
	content: "";
	position: absolute;
	bottom: 94%; /* visible above the envelope */
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 20rem solid transparent;
	border-right: 20rem solid transparent;
	border-top: 4rem solid #e8dcd1;
	opacity: 0.7;
	transition: bottom 0.5s ease;
	}

	/* 💌 Closed flap after form submit */
	#booking-section.flap-closed::before {
	bottom: 85%; 
	}
  
  
  /* 💌 Wedding Card */
  .booking-confirmation {
	background-color: #fffdf8;
	border: 2px solid var(--lavender);
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-align: center;
	animation: slideInCard 0.4s ease;
	position: relative;
	z-index: 1;
  }
  
  /* 🎀 Ribbon Behind Card (horizontal wrap) */
  .booking-confirmation::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2rem;
	background: var(--lavender);
	transform: translateY(-50%);
	z-index: 0;
	opacity: 0.2;
	border-radius: 6px;
  }
  
  /* 💬 Card Content Styles */
  .booking-confirmation h2 {
	font-family: 'Garamond', 'Georgia', serif;
	color: var(--lavender);
	font-size: 1.75rem;
	position: relative;
	z-index: 1;
  }
  
  .booking-confirmation p {
	color: #4a3f46;
	font-size: 1.1rem;
	margin: 0.5rem 0;
	position: relative;
	z-index: 1;
  }
  
  /* ✨ Entrance Animation */
  @keyframes slideInCard {
	from {
	  transform: translateY(20px);
	  opacity: 0;
	}
	to {
	  transform: translateY(0);
	  opacity: 1;
	}
  }
  
/* ====================
   Mobile Styles
   ==================== */
  @media (max-width: 600px) {
	body {
	  padding: 1rem;
	}
  
	form,
	section,
	.booking-confirmation {
	  padding: 1rem;
	  margin: 1rem auto;
	}
  
	h1 {
	  font-size: 2rem;
	}
  
	h2 {
	  font-size: 1.4rem;
	}
  
	input, textarea, select {
	  font-size: 1rem;
	}
  
	.nav-links {
	  flex-direction: column;
	  gap: 1rem;
	}
  
	.booking-confirmation::before {
	  height: 1rem;
	}

	#booking-section::before {
		display: none;
	  }

	.about-floating-img {
		all: unset; /* Reset inherited styles */
		position: absolute;
		display: none;
	}
  }

  /* Just for the envelope flap */
  @media (max-width: 750px) {
	#booking-section::before {
	  display: none;
	}
  }

  /* For baby flute Emma on main page */
 	@media (max-width: 875px) {
	/* About section on main index page*/
		.about-floating-img {
			display: none;
			}
	}

  /* ========== Navigation ========== */

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 900px;
	margin: auto;
	padding: 0 1rem;
	position: relative;
}

/* Hide toggle by default */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 2rem;
	color: var(--white);
	cursor: pointer;
}

/* Mobile nav */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		gap: 1rem;
		background-color: var(--lavender);
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		padding: 1rem;
		z-index: 1000;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	}

	.nav-links.show-links {
		display: flex;
	}

	.nav-toggle {
		display: block;
	}
}

  