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

body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
  /*
   * Use a dark, forest‑green backdrop with an embroidered floral pattern
   * to evoke the elegant theme of the original site. The rich green base
   * (#041a0e) allows the gold stitching in the pattern to stand out.
   * We set the background image to repeat so the texture tiles across
   * the page without stretching. The slight texture adds depth while
   * the sections themselves remain on white panels for readability.
   */
  background-color: #041a0e;
  background-image: url('../images/embroidery-pattern.png');
  background-repeat: repeat;
  background-size: 300px 300px;
  color: #f1ece3;
  line-height: 1.6;
}

header {
  background-color: #031a0f;
  border-bottom: 1px solid #0a2914;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

nav .logo {
  font-family: 'Times New Roman', serif;
  font-size: 1.75rem;
  font-weight: bold;
  /* Primary brand color: deep forest green with gold accent */
  color: #d4af37; /* gold text for the logo */
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  /* Use the gold accent for navigation links */
  color: #d4af37;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  /* Dark green tint on hover/active */
  background-color: rgba(0, 51, 20, 0.8);
  color: #f1ece3;
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  /* Primary button uses deep green with gold border */
  background-color: #003314;
  color: #f1ece3;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #d4af37;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover {
  /* Lighter shade of green on hover with inverted text */
  background-color: #0a4021;
  color: #fff;
}

/* Sections */
section {
  padding: 4rem 1rem;
  max-width: 1200px;
  /* Add a soft white panel with subtle drop shadow and rounded edges */
  margin: 2rem auto;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  /* Reset text color within panels for contrast */
  color: #333;
}

.section-title {
  font-size: 2rem;
  /* Use gold for section headings to mirror the embroidered stitching */
  color: #d4af37;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: bold;
}

.countdown {
  font-size: 2.25rem;
  font-weight: 700;
  /* Countdown text uses gold for emphasis */
  color: #d4af37;
  margin-bottom: 2rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #444;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #003314;
  color: #f1ece3;
  padding: 0.75rem 1.5rem;
  border: 2px solid #d4af37;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0a4021;
  color: #fff;
}

/* Footers */
footer {
  background-color: #031a0f;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid #0a2914;
  color: #d4af37;
  font-size: 0.9rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.map {
  width: 100%;
  height: 300px;
  border: 0;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1.125rem;
  }
  .countdown {
    font-size: 1.75rem;
  }
}