@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Source+Sans+Pro:wght@400;600&display=swap');

/* Reset and Base Styles */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-secondary);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--primary);
  background: linear-gradient(135deg, rgba(128,0,32,1) 0%, rgba(82,0,0,1) 100%);
  color: var(--white);
}

/* Color Variables */
:root {
  --primary: #800020;
  --secondary: #D4AF37;
  --light: #E8E2D6;
  --dark: #2C1810;
  --white: #F5F5F5;
  --hover: #AB2945;
  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Source Sans Pro", sans-serif;
}

/* Header Styles */
header {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

nav {
  background-color: var(--white);
  padding: 1rem;
}

/* Main Content Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  background-color: var(--white);
  padding: 2rem;
  margin: 1rem 0;
  border-radius: 5px;
}

h1, .h1 {font-size:2.5em;}

h1, h2, h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* Main Headings - Bold but elegant */
h1, h2, .h1, .h2 {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Section headings - Medium weight for dignity */
h3, h4, .h3, .h4 {
  font-family: var(--font-primary);
  font-weight: 500;
}

/* Button Styles */
button, a:hover {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

button:hover, a:hover {
  background-color: #218C75;
}

/* Link Styles */
a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

/* Form Styles */
form {
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input, textarea, select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Footer Styles */
footer {
  background-color: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
      padding: 0 1rem;
  }
  
  section {
      padding: 1rem;
  }
}

/* Additional Classes for Special Elements */
.alert {
  background-color: #f8d7da;
  color: var(--burgundy-primary);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.success-message {
  background-color: var(--secondary);
  color: var(--white);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* Memorial Information Section Styles */
.memorial-info {
  background-color: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.connie {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 2rem;
  float: left;
}

.location-section {
  width: calc(100% - 300px);
  padding-left: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .memorial-info {
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .connie,
  .location-section {
      width: 100%;
  }
}

/* Form Section Styling */
.form-section {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.primary {color: var(--primary);}
.secondary {color: var(--secondary);}



.well, .card {
  background-color: #E8E2D6;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #2C1810;  /* The deep brown we defined for text */
  padding: 1rem;
  border-radius: 0.375rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.well p {
  font-size:1.1rem;
}

.well p.well-heading {
  font-size:1.6rem;
  font-family: var(--font-secondary);
  font-weight: 600;
}

.card p.card-heading {
  font-size:1.6rem;
  font-family: var(--font-secondary);
  font-weight:600;
}

.card {font-size:1.3rem;}

.btn-primary {
  background-color: var(--primary);
  border: 1px solid var(--dark);
}
.btn-primary:hover {
  background-color: var(--hover);
  border: 1px solid var(--dark);
}

input[type="radio"] {
  /* Override default appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white; /* Burgundy color */
  border: none;
}

input[type="radio"]:checked {
  background-color: var(--primary); /* Darker burgundy for the filled state */
}

.text-white {
  color: var(--white);
}

.bg-success, .bg-danger {
  font-size:1.2rem;
  padding:12px;
}