/* --- CSS Variables for Easy Theme Customization --- */
:root {
  --primary-purple: #7B509F; /* A deep purple like Rapunzel's dress */
  /*--secondary-gold: #F8D568;*/ /* A bright, lantern gold */
  --secondary-gold: #E0CE46; /* A bright, lantern gold */
  --third-purple: #C9ABED;
  --pastel: #E3D5F7;
  /*--background-cream: #FDF6E3;*/ /* A soft, parchment paper color */
  --background-cream:  #fdeaf2;
  --text-dark: #4A3F35;      /* A dark, earthy brown for text */
  --font-heading: 'Tangerine', cursive;
  --font-body: 'Lato', sans-serif;
}

/* --- General Body and Font Styling --- */
body {
  background-color: var(--background-cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  text-align: center;
}

/* --- Header Styling --- */
header {
  background-color: var(--primary-purple);
  color: var(--background-cream);
  padding: 20px 0;
}

header h1 {
  font-family: var(--font-heading);
  font-size: 4rem; /* 4 times the normal font size */
  margin: 0;
  color: var(--secondary-gold);
}

header p {
  margin: 0;
  font-size: 2.5rem;
  font-family: var(--font-heading);
}

.sun-icon {
  color: var(--secondary-gold);
  margin-bottom: 10px;
}


/* --- Navigation Menu Styling --- */
nav {
  background-color: #593973; /* A slightly darker purple */
  padding: 10px 0;
}

nav ul {
  list-style-type: none; /* Removes the black dots */
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block; /* Makes menu items sit side-by-side */
  margin: 0 20px;
}

nav ul li a {
  color: var(--background-cream);
  text-decoration: none; /* Removes the underline from links */
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease; /* Smooth color change on hover */
}

nav ul li a:hover {
  color: var(--secondary-gold); /* Link color changes to gold on hover */
}


/* --- Main Content and Photo Section Styling --- */
main {
  padding: 40px 20px;
}

.photo-upload-section {
  max-width: 600px;
  margin: 40px auto; /* Centers the section and adds space */
  padding: 30px;
  border: 2px dashed var(--primary-purple);
  border-radius: 10px;
  background-color: #fff;
}

.photo-upload-section h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-purple);
  margin-top: 0;
}

.photo-upload-section h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-purple);
  margin-top: 0;
  font-weight: bold;
}

.photo-upload-section h4 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--third-purple);
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-purple);
  font-family: var(--font-heading);
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px; /* Makes the button pill-shaped */
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  font-size: 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--secondary-gold);
  color: var(--text-dark);
  transform: translateY(-3px); /* Lifts the button slightly on hover */
}

/* --- Footer Styling --- */
footer {
  padding: 20px;
  margin-top: 40px;
  background-color: #f1e9d2;
  font-family: var(--font-heading);
  font-size: 2rem;
}
