/* Configuration and Variables */
:root {
  --primary: #111827;
  --background-light: #f9fafb;
  --background-dark: #1f2937;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #374151;
  --gray-900: #111827;
  --text-light: #1F2937;
  --border-light: #E5E7EB;
  --font-display: 'Merriweather', serif;
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-light);
  color: var(--gray-900);
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* Navigation */
.nav-link {
  color: var(--gray-600);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}

.dark .nav-link {
  color: var(--gray-400);
}

.dark .nav-link:hover {
  color: #ffffff;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Typography */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem; /* 4xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  line-height: 1.2;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem; /* 3xl */
  font-weight: 700;
  color: var(--gray-900);
}

.subsection-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; /* 2xl */
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* Responsive Typography Adjustments */
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
  .section-heading { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

/* Layout & Components */
.section-divider {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .section-divider {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 345px) {
  .pane-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .pane-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.pane-img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.pane-img:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Overrides */
.dark body {
  background-color: var(--background-dark);
  color: #ffffff;
}

.dark .hero-title,
.dark .section-heading,
.dark .subsection-heading {
  color: #ffffff;
}

.dark .section-divider {
  border-color: var(--gray-700);
}

/* Custom Helper Classes */
.text-primary { color: var(--primary); }
.bg-primary { background-color: var(--primary); }
.bg-background-light { background-color: var(--background-light); }
.dark .bg-background-dark { background-color: var(--background-dark); }

.mt-8{
  margin: 0px 0px 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  width: 100%;
}

.iframe_frame{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 80%;
}
.iframe{
  width: 80%;
  height: 100%;
}

p.quote{
  font-size: 18px;
  font-style: italic;
  padding-bottom: 2px;
  padding-top: 15px;
  margin: 0px 0px 0px;
}

p.quoter{
  font-size: 15px;
  padding-left: 20px;
  padding-top: 2px;
  padding-bottom: 15px;
  margin: 0px 0px 0px;
}

a.mt-9{
  padding: 0px 0px 0px 0px;
}

.open_nav{
  display: flex; 
  flex-direction: column;
  align-items: flex-end;
  margin: 15px 15px 0px 0px;
}

.open_nav a{
  margin: 8px 0px 8px 0px;
}

.linktoagam{
  text-decoration: underline;
}

.logo{
  width: 150px;
}

.agam-pic{
  /* width: 25%; */
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.flex-2 {
  flex: 2;
}

.linktodonate{
  text-decoration: underline;
}

.donatebutton{
   background-color: rgb(75 85 99);
   color: white;
   border-radius: 0.5rem;  
   padding: 10px;
}

.paragraphlink{
   text-decoration: none;
}

p.quote2{
  font-size: 25px;
  font-style: italic;
  padding-bottom: 2px;
  padding-top: 15px;
  margin: 0px 0px 0px;
}

p.quoter2{
  font-size: 22px;
  padding-left: 20px;
  padding-top: 2px;
  padding-bottom: 15px;
  margin: 0px 0px 0px;
}

