/* Royal Brone font-face (update path if needed) */
@font-face {
  font-family: 'Royal Brone';
  src: url('fonts/royal-brone/RoyaleBrone-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Global Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 40px 20px;
  background: linear-gradient(135deg, #e7f3e1 0%, #cfe3c2 100%);
  color: #2f2f2f;
  font-family: 'Lora', serif;
  line-height: 1.7;
}

/* Headings: Royal Brone everywhere */
h1, h2, h3 {
  font-family: 'Royal Brone', serif;
  color: #406b4a;
  letter-spacing: 0.02em;
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 10px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.35rem;
}

.tagline {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 12px auto;
  color: #518365;
  text-align: center;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 44px auto;
}

nav a {
  color: #406b4a;
  text-decoration: none;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 1.1rem;
  transition: background 0.2s;
}

nav a:hover,
nav a:focus {
  background: #e7f3e1;
  text-decoration: underline;
}

/* About Section */
#about {
  background: rgba(255,255,255,0.72);
  border-radius: 8px;
  padding: 32px 18px;
  margin: 0 auto 46px auto;
  max-width: 900px;
  box-shadow: 0 2px 10px rgba(100,125,100,0.10);
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.about-photo {
  max-width: 190px;
  width: 100%;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(60,90,60,0.07);
  object-fit: cover;
}

.about-text {
  flex: 1;
}

/* Service Boxes Grid */
.services {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.service-box {
  background: rgba(255,255,255,0.78);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(50,80,50,0.08);
  flex: 1;
  min-width: 240px;
  max-width: 340px;
  margin: 0 0 30px 0;
  overflow: hidden;
  transition: box-shadow 0.2s, background 0.2s;
}

.service-box a.section-link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 26px 18px;
  height: 100%;
}

.service-box:hover,
.service-box a.section-link:focus {
  background: #e7f3e1;
  box-shadow: 0 6px 22px rgba(50,80,50,0.17);
}

.service-box h2 {
  margin-top: 0;
}

.service-box p {
  font-size: 1.07rem;
  margin-bottom: 0;
}

/* Events Section */
#events {
  background: rgba(245,255,245,0.75);
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto 40px auto;
  padding: 22px 16px;
  box-shadow: 0 1px 6px rgba(80,120,80,0.09);
}

.event {
  margin-bottom: 24px;
}

.event-meta {
  font-size: 1rem;
  color: #5a687d;
  margin-bottom: 8px;
}

/* Contact Section */
#contact {
  background: rgba(255,255,255,0.8);
  border-radius: 9px;
  max-width: 540px;
  margin: 0 auto 28px auto;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(60,80,60,0.09);
}

#contact p {
  margin: 13px 0;
}

#contact a {
  color: #406b4a;
  font-weight: 600;
  text-decoration: none;
}

#contact a:focus {
  outline: 2px solid #518365;
  background: #e7f3e1;
}

#contact i {
  margin-right: 8px;
  color: #518365;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 44px;
  padding-bottom: 24px;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-photo {
    max-width: 280px;
  }
  .services {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .service-box {
    max-width: 600px;
    width: 95vw;
    min-width: 0;
  }
  #contact {
    font-size: 0.9rem;
    padding: 16px 14px;
  }
  #contact p {
    margin: 8px 0;
  }
}

@media (max-width: 600px) {
  body {
    padding: 18px 7px;
  }
  nav {
    gap: 4px;
    font-size: 0.98rem;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.07rem; }
  .service-box {
    width: 98vw;
    max-width: 100%;
  }
  .service-box .section-link {
    padding: 32px 18px;
  }
  .service-box h2 {
    font-size: 1.7rem;
  }
  .service-box p {
    font-size: 1.1rem;
  }
}

/* Utility: Hide images gracefully if they don't load */
.about-photo {
  background-color: #cfe3c2;
}

/* Optional: Ensure font is applied everywhere */
.heading-font {
  font-family: 'Royal Brone', serif;
}.content-block {
  max-width: 800px;
  margin: 40px auto;
  background: rgba(255,255,255,0.78); /* optional for a card look */
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(50,80,50,0.06);
}

/* Center headings by default */
.content-block h1, .content-block h2, .content-block h3 {
  text-align: center;
}

.content-block .subtitle {
  text-align: center;
  color: #518365;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.content-block p, .content-block ul {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Optionally style ul */
.content-block ul {
  margin-top: 16px;
  margin-bottom: 30px;
}.content-block {
  max-width: 900px;
  margin: 40px auto;
  background: rgba(255,255,255,0.78);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(50,80,50,0.06);
}

/* Gallery grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Smaller, neat images with aspect ratio preserved */
.gallery img {
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: 1/1;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(80,120,80,0.07);
  object-fit: cover;
}

.gallery figure {
  background: #f9faf8;
  padding: 0.5rem;
  border: 1px solid #e0ede0;
  border-radius: 8px;
  text-align: center;
  margin: 0;
}

.gallery figcaption {
  font-size: 0.96rem;
  color: #406b4a;
  margin-top: 0.45rem;
}.event-image img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(80,120,80,0.09);
  object-fit: cover;
}
.content-block ol {
  max-width: 650px;
  margin: 1.5em auto;
  padding-left: 2em;
  font-size: 1.07rem;
  line-height: 1.7;
}

.content-block li {
  margin-bottom: 1.2em;
}
.services {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-box {
  width: 320px;       /* fixed width for all boxes */
  min-width: 320px;   /* ensures the width doesn't shrink */
  max-width: 320px;   /* keeps all equal */
  background: rgba(255,255,255,0.78);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(50,80,50,0.08);
  margin-bottom: 36px;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-box .section-link {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: inherit;
  text-decoration: none;
  padding: 28px 18px;
}
@media (max-width: 1000px) {
  .services {
    flex-direction: column;
    align-items: center;
  }
  .service-box {
    width: 95vw;
    min-width: 0;
    max-width: 600px;
  }
  .service-box .section-link {
    padding: 36px 24px;
  }
  .service-box h2 {
    font-size: 2rem;
  }
  .service-box p {
    font-size: 1.15rem;
  }
}