/* style.css - Main stylesheet for Fiddlehead Players
   Color palette based on logo:
   - Primary gold: #ffcc00
   - Accent green: #008000
   - Deep navy: #000031 - Changed to deep forest green #182D09
   - Light cream background: #f9f9f6
   - Dark gray text: #1c1c1c
   
   Most of this CSS is courtesy of Hal2000 over at chatgpt.com
*/

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #1c1c1c;
  background-color: #f9f9f6;
}

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

main.container.light-bg h2:first-of-type {
  margin-top: 2rem;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
  background-color: #182D09;
  color: #ffcc00;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 0 20px;
  flex-wrap: wrap;
}

.logo h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: #ffcc00;
  text-decoration: none;
}

.site-logo {
  margin-right: 40px;
  margin-bottom: 0;
  line-height: 1;
  text-align: left;
}

.site-logo a,
.site-logo a:hover,
.site-logo a:focus {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

/* Logo image */
.logo-image {
  height: auto;
  width: 100%;         /* keeps correct proportions */
  max-width: 600px;    /* prevents overflow */
  display: block;
}



/* Navigation */
nav {
  position: relative;
  text-align: right;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list li a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 600;
}

.nav-list li a:hover,
.nav-list li a:focus {
  color: #ccaa00;
  outline: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffcc00;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #182D09;
  color: #ffffff;
  padding: 2rem 0 1rem 0;
  font-size: 0.9rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
  padding: 0 1rem;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #ffcc00;
  margin-bottom: 0.5rem;
}

.footer-column ul,
.footer-column address {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #ffffff;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  text-decoration: underline;
  outline: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 0.5rem;
}

footer .quick-links-list {
  display: flex;
  gap: 2em;
}

footer .quick-links-list ul {
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.footer-column h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #182D09;
}

/* Links */
a {
  color: #ffcc00;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #ccaa00;
  text-decoration: underline;
  outline: none;
}

.light-bg a {
  color: #336633;
}

.light-bg a:hover,
.light-bg a:focus {
  color: #224422;
}

/* Utility */
.coming-soon {
  font-size: 1.2rem;
  font-weight: bold;
  color: #182d09;
  text-align: center;
  margin-top: 3rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.description-container p {
  overflow: hidden;
}

/* Floating image styles */
.float-left,
.float-right {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
}

.float-left {
  float: left;
  margin-right: 20px;
}

.float-right {
  float: right;
  margin-left: 20px;
}

.left-image {
  float: left;
  margin-right: 15px;
  width: 150px;
  height: auto;
}

.left-productions-image {
  float: left;
  margin-right: 15px;
  width: 100%;
  max-width: 350px;
  height: auto;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Buttons */
.light-button,
.dark-button {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  margin: 1em 0;
  cursor: pointer;
  text-decoration: none;
}

.light-button {
  background-color: #182d09;
  border: 2px outset #0a1803;
  color: #f9f9f6;
}

.light-button:hover,
.light-button:focus {
  background-color: #223D0B;
  color: #f9f9f6;
}

.dark-button {
  background-color: #ffcc00;
  border: 2px outset #806500;
  color: #182D09;
}

.dark-button:hover,
.dark-button:focus {
  background-color: #CCAA00;
  color: #0F1E07;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input[type="email"],
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  align-self: start;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #2a7ae2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #1e5bbf;
}

/* Responsive */
@media (max-width: 700px) {
  header .header-container {
    flex-direction: column;
    align-items: center;
  }

  .site-logo {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }

  nav {
    text-align: center;
  }

  .nav-list {
    justify-content: center;
  }
 
}

@media (max-width: 600px) {
  .left-productions-image,
  .float-left,
  .float-right {
    float: none !important;
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 90%;
    height: auto;
    width: auto;
  }

  /* Mobile logo scaling */
  .logo-image {
    width: auto;        /* scale down for phone */
    max-width: 300px;  /* prevents it being too wide */
    height: auto;      /* maintain aspect ratio */
    margin: 0 auto 8px auto; /* center logo */
    display: block;
  }
  
}

@media (min-width: 600px) {
  .nav-list {
    display: flex !important;
  }

  .nav-toggle {
    display: none !important;
  }
}



/* get involved links at bottom of home page */

.homepage-quick-links {
  text-align: left; /* Ensure container text aligns left */
}

.homepage-quick-links ul {
  list-style: disc inside;
  padding-left: 1rem;
  margin: 0;
  text-align: left; /* Make sure UL is left aligned */
}

.homepage-quick-links ul li {
  margin-bottom: 0.5rem;
  text-align: left; /* Make sure each LI is left aligned */
}

.homepage-quick-links ul li a {
  display: inline-block;
  color: #336633;
  text-decoration: none;
  font-weight: 600;
  text-align: left; /* Left align the link text */
}

.homepage-quick-links ul li a:hover,
.homepage-quick-links ul li a:focus {
  color: #224422;
  text-decoration: underline;
  outline: none;
}

/* PAGE BREAK - PRETTY */

.page-break {
  width: 100%;
  border-top: 2px solid #182D09; /* deep green line */
  margin: 3rem 0;               /* space above and below */
  position: relative;
  text-align: center;
}

.page-break::after {
  content: "✦";               
  position: absolute;
  top: -1.2rem;              /* raised higher above the line */
  left: 50%;
  transform: translateX(-50%);
  background: #f9f9f6;       
  color: #182D09;            
  font-size: 1.5rem;
  padding: 0 0.5rem;
}

/* land acknowledgement for footer and for mission.shtml page */

.land-acknowledgement {
  color: #ffffff;
  text-align: center;
  font-style: italic;
  padding: 1.5rem 1rem 1rem 1rem;
  max-width: 1000px;
  margin: 0 auto 1rem auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.land-acknowledgement-missionpage {
  color: #1c1c1c;          /* Dark text */
  text-align: left;        /* Left align */
  font-style: normal;      /* No italics */
  padding: 0;              /* Remove padding */
  margin: 0 0 1rem 0;      /* Bottom margin only */
  max-width: 100%;         /* Full width */
  font-size: 1rem;         /* Body font size */
  line-height: 1.5;        /* Comfortable line height */
}

/* Membership page CARDS */

.membership-section {
  padding: 2rem 1rem;
}

.membership-intro {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1c1c1c;
}

.membership-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.membership-card {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Slightly deeper shadow */
  padding: 1.5rem;
  width: 100%;
  max-width: 300px;
  text-align: left;
}


.membership-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #182D09;
  font-family: 'Playfair Display', serif;
}

.membership-card .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #336633;
  margin-bottom: 1rem;
}

.membership-card ul {
  padding-left: 1.25rem;
  margin: 0;
  list-style: disc;
  color: #1c1c1c;
}

.membership-card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .membership-card-container {
    flex-direction: column;
    align-items: center;
  }

  .membership-card {
    width: 90%;
  }
}

.membership-cta {
  text-align: center;
  margin: 2rem 0 3rem 0;
}

/* Volunteer page CARDS */
.volunteer-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.volunteer-card {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 100%;
  max-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.volunteer-card img.volunteer-image {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  object-fit: cover;
}

.volunteer-card.no-image {
  padding-top: 1.5rem;
}

.volunteer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #182D09;
  font-family: 'Playfair Display', serif;
}

.volunteer-card p {
  font-size: 1rem;
  color: #1c1c1c;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .volunteer-card-container {
    flex-direction: column;
    align-items: center;
  }

  .volunteer-card {
    width: 90%;
  }
}

/* Language Switcher */

.language-switcher {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: normal;     /* Remove bold */
  color: white;
  clear: both; /* ensure it sits below nav */
  text-align: left;        /* Left align the text */
}

.language-switcher a {
  color: #FFD700; /* Gold/yellow for the link */
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.5rem;
}

.language-switcher a:hover,
.language-switcher a:focus {
  text-decoration: underline;
  color: #FFC107; /* Slightly lighter yellow on hover/focus */
}

.nav-language-wrapper {
  position: relative;
}

.language-switcher span {
  color: white !important; /* White for the "Language:" or "Langue:" text */
  font-weight: normal;
  display: block;          /* Makes sure the label and link stack naturally */
}
