/* =========================================
   GLOBAL THEME — IN-NOLA Demo
========================================= */
:root {
  --gold: #d4af37;
  --gold-light: #ffe8a8;
  --parchment: #f3ecd8;

  --deep-green: #0c2e1a;
  --mid-green: #174d31;

  --radius: 12px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======================================================
   Background + Typography
====================================================== */
body {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  background: radial-gradient(circle, #0f3a23 0%, #0a1f13 90%);
  min-height: 100vh;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Kells watermark */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('./assets/kells/book_of_kells_1.jpg') center/cover no-repeat;
  opacity: 0.38;
  filter: brightness(0.92) contrast(1.1) saturate(1.25);
  z-index: -1;
}

/* ======================================================
   Headings
====================================================== */
h1, h2 {
  font-family: 'Cinzel Decorative', serif;
  text-shadow:
    0 0 12px rgba(255,215,100,0.5),
    0 0 24px rgba(200,155,60,0.35);
}

h1 {
  color: #000;
  font-size: 3.2rem;
  text-shadow:
    0 0 10px rgba(255,215,100,1),
    0 0 25px rgba(230,190,60,0.9),
    0 0 45px rgba(200,155,40,0.75),
    0 0 60px rgba(160,120,30,0.5);
}

h2 {
  font-size: 1.55rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

/* ======================================================
   Paragraphs
====================================================== */
p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--gold-light);
  line-height: 1.65;
}

/* ======================================================
   Button Stack
====================================================== */
.nav-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 700px;
  margin-top: 2rem;
}

.nav-stack .btn {
  width: 100%;
}

/* ======================================================
   Base Button (ALL buttons share this)
====================================================== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 80px; /* Reduced height */
  padding: 0.75rem 1rem; /* Added vertical padding */

  background: rgba(10, 60, 35, 0.85);
  border-radius: 1.5rem;
  border: 1px solid rgba(212,175,55,0.4);

  color: #e9dba8;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;

  transition: 0.2s ease;
}

.btn:hover {
  background: rgba(10, 60, 35, 1);
  transform: translateY(-2px);
}

/* ======================================================
   IN USA Button Variant
====================================================== */
.inusa-btn {
  background: #ffffff;
  border: 3px solid #0b6631;
  padding: 0.5rem; /* Give the logo some breathing room */
}

.inusa-logo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Scale the image to fit inside the padded button */
}

/* ======================================================
   Site Header
====================================================== */
.site-header-main {
  width: 100%;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-link {
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ======================================================
   Footer
====================================================== */
.site-footer {
  margin-top: 4rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #f5eedb;
  font-family: 'Cormorant Garamond', serif;
}

.footer-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-line a {
  text-decoration: none;
  font-weight: 600;
  color: #d4af37;
}

.footer-line a:hover {
  text-decoration: underline;
}

.name-gaelic {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ======================================================
   Board Member Dropdowns (About the Board)
====================================================== */
.board-member {
  width: 100%;
  max-width: 750px;
  margin: 1.25rem auto;
  background: rgba(12, 46, 26, 0.65);
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  backdrop-filter: blur(3px);
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.board-member:hover {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}

.board-member summary {
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 1rem 1.25rem;
  list-style: none;
  text-align: left;
}

.board-member summary::-webkit-details-marker {
  display: none;
}

/* Custom dropdown arrow */
.board-member summary::after {
  content: "▾";
  float: right;
  font-size: 1.2rem;
  color: var(--gold-light);
  transition: transform 0.25s ease;
}

.board-member[open] summary::after {
  transform: rotate(-180deg);
}

.member-content {
  text-align: left;
  padding: 0.75rem 1.5rem 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--gold-light);
}

.member-content ul {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.member-content strong {
  color: var(--gold);
}

/* Back link under list */
.back-link a {
  font-size: 1.05rem;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.45);
  padding-bottom: 2px;
}

.back-link a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.btn {
  flex-direction: column; /* allows stacking */
  padding: 0.75rem;       /* tighter vertical fit */
}

.btn-sub {
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 0.2rem;
  opacity: 0.85;
  color: var(--gold-light);
}
.top-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-gold {
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(180,145,40,0.85),  /* softer gold */
    rgba(230,205,120,0.85)
  );
  color: #0c2e1a;
  border: 2px solid rgba(212,175,55,0.55);
  font-weight: 700;
  box-shadow: 0 0 8px rgba(212,175,55,0.25);
}

.btn-gold:hover {
  background: linear-gradient(
    135deg,
    rgba(215,185,95,0.95),
    rgba(180,145,40,0.95)
  );
  transform: translateY(-2px);
}
/* ======================================================
   Contact Form Styling
====================================================== */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.contact-form label {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(12, 46, 26, 0.6);
  color: var(--gold-light);
  font-size: 1rem;
  font-family: 'Cormorant Garamond', serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

.contact-form button {
  margin-top: 0.5rem;
}

/* ======================================================
   Donation Options
====================================================== */
.donation-options {
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center;   /* Center horizontally */
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 900px;
}

.donation-option {
  background: rgba(10, 60, 35, 0.85); /* Slightly more prominent background */
  border: 2px solid var(--gold); /* Thicker golden border */
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  width: 250px;
  backdrop-filter: blur(3px);
  transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease; /* Added transform for hover */
  box-shadow: 0 0 8px rgba(212,175,55,0.25); /* Added initial shadow for depth */
}

.donation-option:hover {
  border-color: var(--gold-light); /* Lighter gold on hover */
  box-shadow: 0 0 16px var(--gold-light); /* Stronger glow on hover */
  transform: translateY(-3px); /* Subtle lift on hover */
}

.donation-amount {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.donation-input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(12, 46, 26, 0.6);
  color: var(--gold-light);
  font-size: 1rem;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

.donation-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* ============================
   Splash / Fade-In Landing Screen
============================ */
#splash-screen {
  position: fixed;
  inset: 0;
  background: rgba(12, 46, 26, 0.92); /* deep green overlay */
  color: var(--gold-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Cinzel Decorative', serif;
  text-align: center;
  animation: fadeOut 2.8s ease forwards;
  pointer-events: none; /* prevents blocking clicks once faded */
}

#splash-screen h1 {
  font-size: 3rem;
  margin-bottom: 0.6rem;
}

#splash-screen p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* Fade animation */
@keyframes fadeOut {
  0%   { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}


/* New style for top event buttons */
.top-event-buttons {
  width: 100%;
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.top-event-buttons .btn {
  width: 100%;
  padding: 1rem 1.5rem; /* Optional, adjust as needed */
}



/* Optional spacing between buttons (adjust as needed) */
.top-event-buttons .btn + .btn {
  margin-left: 1rem;
}
.page-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Ensure children are centered */
  text-align: center;
}
.nav-grid + h2 {
  margin-top: 2rem;
}

/* =========================================
   Added for Polish
========================================= */
#main-content {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-content.fade-in {
  opacity: 1;
}

.logo-container {
  text-align: center;
  margin: 2rem 0;
}

.logo {
  max-width: 240px;
  width: 100%;
  height: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--deep-green);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.footer-line {
  margin-bottom: 0.5rem; /* Add some space between footer lines */
}

/* ======================================================
   Responsive Google Form
====================================================== */
.responsive-form-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 640px; /* Max width of the form */
  padding-top: 152.65%; /* Aspect ratio: (977 / 640) * 100% */
  margin: 2rem auto;
  border-radius: var(--radius); /* Optional: match theme */
  border: 1px solid rgba(212,175,55,0.4); /* Optional: match theme */
}

.responsive-form-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   Responsive Design (Media Queries)
========================================= */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1.1rem;
  }

  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .btn {
    height: auto;
    padding: 1rem;
    font-size: 1.2rem;
  }

  .board-member summary {
    font-size: 1.2rem;
  }
}
