/* Global Styles & Variables */
:root {
  --primary-dark: #2d2926;      /* Obsidian / Charcoal */
  --accent-red: #8b0000;       /* Pomegranate */
  --soft-rose: #b5838d;        /* Wildflower Rose */
  --bg-cream: #fdfaf5;         /* Aged Parchment */
  --border-gold: #c5a059;      /* Muted Gold leaf */
  --font-main: 'serif';        /* Elegant Serif */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: cornsilk;
  color: var(--primary-dark);
  font-family: 'Times New Roman', serif;
  line-height: 1.6;
  padding: 0 20px;
}

/* Romanesque Arches & Containers */
.container {
  max-width: 900px;
  margin: 40px auto;
  border: 2px solid var(--primary-dark);
  padding: 40px;
  background: white;
  /* Softly rounded top to mimic a Romanesque arch */
  border-radius: 50% 50% 0 0 / 20% 25% 0 0; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);

}

/* Navigation */
nav {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--soft-rose);
  margin-bottom: 40px;
}

nav a {
  text-decoration: none;
  color: var(--primary-dark);
  margin: 0 15px;
  font-variant: normal;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-red);
}

/* Typography */
h1, h2, h3 {
  text-align: center;
  color: var(--accent-red);
  margin-bottom: 20px;
  font-weight: normal;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

p {
  margin-bottom: 20px;
  text-align: center;
}

/* Buttons (For RSVP/Google Form) */
.btn {
  display: inline-block;
  background-color: var(--primary-dark);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  border: 1px solid var(--border-gold);
}

.btn:hover {
  background-color: var(--accent-red);
}

.wedding-photo {
  max-width: 100%;
  max-height: 500px;
  margin: 0 auto;

}

/* Placeholders for Images */
.photo-placeholder {
  width: 100%;
  height: 400px;
  background: #eee;
  border: 1px dashed var(--soft-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .container {
    border-radius: 20px; /* Less dramatic on small screens */
    padding: 20px;
  }
  nav a {
    display: block;
    margin: 10px 0;
  }
}

img {
  max-width: 100%; /* Prevents the image from being wider than the page */
  height: auto;    /* Keeps the proportions perfect so it doesn't look squished */
  display: block;  /* Removes weird tiny gaps at the bottom of images */
  margin: 20px auto; /* Centers the image and adds space above/below */
  border: 1px solid var(--border-gold); /* Adds a nice mythic frame */
}