/*
Theme Name: My Custom Theme
Author: Nelson
Version: 1.0
*/

* {
  box-sizing: border-box;
}

:root {
  --site-header-height: 62px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--site-header-height);
}

.site-content {
  flex: 1;
}

.site-header {
  background: linear-gradient(180deg, #cec6b1 0%, #c4bca5 100%);
  color: #1f170d;
  max-width: 100%;
  margin: 0;
  min-height: var(--site-header-height);
  padding: 10px 24px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(91, 67, 22, 0.22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10px;
  max-width: 1920px;
  margin: auto;
  flex-wrap: wrap;
  gap: 15px;
}

.logo a {
  color: #1f170d;
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo p {
  text-align: center;
  padding: 5px 0px 0px 0px;
  font-style: italic;
  font-weight: bold;
  font-size: 12px;
  margin: 0;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.nav-menu li {
  margin-left: 0;
}

.nav-menu a {
  color: #231b11;
  text-decoration: none;
  font-weight: 600;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 17px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.nav-menu a:hover {
  background: rgba(122, 82, 16, 0.12);
  border-color: rgba(122, 82, 16, 0.3);
}

/* active for menu header */
.nav-menu .current-menu-item > a {
  color: #fffffd;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 14px;
  background-color: #6b5517;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}

.menu-toggle {
  display: none;
  font-size: 25px;
  cursor: pointer;
  position: absolute;
  /* top: 18px; */
  right: 20px;
  z-index: 100;
  background: none;
  border: none;
  /* padding: 5px; */
}

/* FOOTER */

.site-footer {
  background: linear-gradient(180deg, #cec6b1 0%, #c4bca5 100%);
  color: #20180f;
  padding: 48px 24px 14px;
  max-width: 100%;
  margin: auto;
  width: 100%;
  border-top: 1px solid rgba(91, 67, 22, 0.26);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: auto;
  align-items: start;
  text-align: left;
}

.footer-col {
  min-width: 0;
  margin-bottom: 0;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #7a5210;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.footer-col p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

/* NORMAL LIST STYLE */

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 0;
}

.footer-col ul li a {
  color: #1d150b;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.footer-col ul li.current_page_item a {
  color: #fffffd;
  border: 1px solid lightgrey;
  padding: 5px 15px 5px 15px;
  background-color: #6b5517;
  border-radius: 5px;
}

/* HORIZONTAL QUICK LINKS */

.quick-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links ul li {
  margin-bottom: 0;
}

.quick-links .menu-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 82, 16, 0.22);
  background: rgba(255, 255, 255, 0.38);
  color: #1d150b;
  transition: all 0.22s ease;
}

.quick-links .menu-item a:hover {
  background: rgba(122, 82, 16, 0.12);
  border-color: rgba(122, 82, 16, 0.36);
}

.quick-links .menu-item.current-menu-item a,
.quick-links .menu-item.current_page_item a,
.quick-links .menu-item.current-menu-parent a,
.quick-links .menu-item.current-page-ancestor a {
  background: #6b5517;
  color: #fffffd;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}

.footer-email {
  color: #2d1f10;
  font-weight: 700;
  text-underline-offset: 3px;
}

.footer-email:hover {
  color: #7a5210;
}

/* FOOTER BOTTOM */

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(133, 117, 71, 0.7);
  margin-top: 30px;
  padding-top: 14px;
  font-size: 16px;
  color: #251b10;
}

/* RESPONSIVE */

/* Mobile footer - moved to responsive.css */
/* Header mobile - moved to responsive.css */

/* BANNER SECTION */

.hero {
  background-image: url("images/morningchapel.png");
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.hero2 {
  background-image: url("images/goldenmorning_r.png");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero2 .p {
  width: 360px;
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
}

.hero2 .img {
  width: auto;
  margin: 0;
}

.hero2 .img img {
  width: 240px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero3 {
  background-color: #cac3ae;
  height: auto;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: column;
}
.hero3 div.p {
  text-align: center;
}
.hero3 div.p .cont {
  padding: 100px 0px 0px 0px;
}
.hero3 div.p .cont div {
  border: 1px solid red;
  width: 50%;
  height: 100px;
}

div.p {
  text-align: left;
  align-items: center;
  width: 50%;
  margin: 0 auto;
  font-size: 32px;
  margin-top: -250px;
  box-sizing: border-box;
  padding: 0 15px;
}

div.img {
  text-align: right;
  align-items: center;
  width: 40%;
  margin: 0 auto;
  margin-top: 170px;
  box-sizing: border-box;
  padding: 0 15px;
}

div.img img {
  width: 50%;
  height: auto;
  border-radius: 20px;
  max-width: 100%;
}
.hero h1 {
  font-size: 55px;
  margin-bottom: 10px;
  margin-top: -50px;
}

.hero h3 {
  font-weight: normal;
  margin-bottom: 20px;
}
.hero hr {
  border-top: 1px solid #857547;
  opacity: 0.4;
}
.hero-buttons .btn {
  padding: 12px 25px;
  /* margin:5px; */
  border-radius: 4px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.hero-buttons {
  padding: 10px 0px 10px 0px;
}

.green {
  background: #3f6d3f;
}

.gold {
  background: #b88a3a;
}

/* PAGE CONTENT */

.page-content {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}
.story-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background: #f7f3eb;
  max-width: 1920px;
  margin: auto;
}

.story-section .card {
  max-width: 920px;
  width: 100%;
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.story-section .title {
  font-size: 28px;
  margin-bottom: 18px;
  text-align: center;
  color: #2b2b2b;
  letter-spacing: 0.04em;
}

.story-section .description {
  margin: 0 auto 26px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.72;
  color: #3b352f;
}

/* CTA section */
.cta-section {
  background: #f2e7d2;
  padding: 40px 20px;
}

.cta-inner {
  max-width: 920px;
  margin: auto;
  text-align: center;
  padding: 34px 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-radius: 14px;
}

.cta-inner h2 {
  font-size: 22px;
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn.cta {
  padding: 14px 34px;
  background: linear-gradient(135deg, #b88a3a 0%, #8f6b28 60%, #c5a25a 100%);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  display: inline-block;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ABOUT PAGE */
.about-page {
  background: #f4eee2;
  padding: 0;
}

.about-header {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-header-bg {
  position: absolute;
  inset: 0;
  background: url("images/exhi.png") no-repeat center/cover;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75) saturate(1.1);
}

.about-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.about-header-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  color: #fdf9f2;
}

.about-header h1 {
  font-size: 30px;
  margin: 0;
  letter-spacing: 0.1em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.about-header .about-subtitle {
  font-size: 16px;
  margin: 14px auto 0;
  max-width: 720px;
  line-height: 1.6;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.about-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 20px;
  line-height: 1.7;
  color: #3b352f;
}

.about-bio {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
  line-height: 1.75;
  color: #3b352f;
}

.about-bio p {
  margin: 0 0 1.25rem;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

.about-section {
  background: rgba(255, 255, 255, 0.96);
  padding: 40px 18px 60px;
  display: flex;
  justify-content: center;
  border-radius: 16px;
  margin: 40px auto 80px;
}

.about-section .card {
  max-width: 1200px;
  width: 100%;
  padding: 30px;
  text-align: left;
}

.about-inner h2 {
  font-size: 24px;
  margin-bottom: 18px;
  text-align: center;
  color: #4a3f2f;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-columns .about-col:nth-child(3) {
  grid-column: 1 / -1;
}

.about-col {
  flex: 1 1 280px;
  min-width: 260px;
  background: rgba(250, 246, 240, 0.9);
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  position: relative;
}

.about-col::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.about-col h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 18px;
  color: #4d3f2f;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  padding-bottom: 8px;
}

.about-col ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
  color: #3b352f;
}

.about-col ul li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.about-col ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  line-height: 1;
  color: #4d3f2f;
}

@media (max-width: 768px) {
  .about-header {
    height: 220px;
  }

  .about-header h1 {
    font-size: 26px;
  }

  .about-header .about-subtitle {
    font-size: 14px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-bio {
    padding: 20px 18px;
  }
}

/* Contact Page */
.contact-section {
  background: rgba(255, 255, 255, 0.96);
  padding: 40px 18px 60px;
  display: flex;
  justify-content: center;
  border-radius: 16px;
  margin: 40px auto 80px;
}

.contact-section .card {
  max-width: 1000px;
  width: 100%;
  padding: 30px;
  text-align: left;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 18px;
  text-align: center;
  color: #4a3f2f;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #3b352f;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #4d3f2f;
  letter-spacing: 0.02em;
}

.contact-item p {
  margin: 0;
  color: #3b352f;
  line-height: 1.5;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 18px;
  text-align: center;
  color: #4a3f2f;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #4d3f2f;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
}

.btn.gold {
  background: linear-gradient(135deg, #b88a3a 0%, #f3d89e 100%);
  color: #1c1100;
  border: 1px solid #b88a3a;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn.gold:hover {
  background: linear-gradient(135deg, #a67a2a 0%, #e5ca8a 100%);
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info h2,
  .contact-form h2 {
    text-align: left;
  }
}

/* Book page */
.book-page {
  background: #f4eee2;
  padding: 60px 20px 80px;
}

.book-card {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 36px;
  /* background: rgba(255, 255, 250, 0.96); */
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.book-hero {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  text-align: left;
}

.book-cover {
  width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  padding: 18px;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.book-info {
  flex: 1;
  min-width: 280px;
  padding: 0;
}

.book-info h1,
.book-info h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: #2c2c2c;
  font-weight: 600;
}

.book-tagline {
  font-style: italic;
  margin: 8px 0 10px;
  color: #555;
  font-size: 15px;
  font-weight: 500;
}

.book-subtitle {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a453d;
}

.book-divider {
  width: 80px;
  height: 2px;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #b88a3a 0%, #f2d19a 100%);
  border-radius: 2px;
}

.book-highlights h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #2d2d2d;
  position: relative;
  text-align: center;
  line-height: 1;
  padding: 0;
}

.book-highlights h3::before,
.book-highlights h3::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: #b88a3a;
}

.book-highlights h3::before {
  right: 100%;
  margin-right: 12px;
}

.book-highlights h3::after {
  left: 100%;
  margin-left: 12px;
}

.book-highlights ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.book-highlights li {
  position: relative;
  padding-left: 20px;
  color: #3b352f;
  font-weight: 500;
  font-size: 15px;
}

.book-highlights li::before {
  content: "\25B6";
  position: absolute;
  left: 0;
  top: 1px;
  color: #b88a3a;
  font-size: 12px;
  line-height: 1;
}

.book-readers-write h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #2d2d2d;
  text-align: center;
}

.book-readers-note {
  margin: 0 0 12px;
  color: #4a453d;
  font-size: 14px;
  text-align: center;
}

.book-buttons {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.book-buttons .btn {
  flex: 0 0 auto;
  padding: 12px 24px;
  font-size: 15px;
  min-width: 160px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn.dark {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
}

.btn.dark:hover {
  background: #333;
}

.btn.gold {
  background: linear-gradient(135deg, #b88a3a 0%, #f3d89e 100%);
  color: #1c1100;
  border: 1px solid #b88a3a;
}

.btn.gold:hover {
  background: linear-gradient(135deg, #a67a2a 0%, #e5ca8a 100%);
}

.btn.green {
  background: #3f6d3f;
  color: #fff;
  border: 1px solid #3f6d3f;
}

.btn.green:hover {
  background: #2d542d;
}

/* Card container */
.card {
  /* background: #fbfbfb; */
  max-width: 1200px;
  width: 100%;
  padding: 30px;
  /* border: 1px solid #ddd; */
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.05); */
  text-align: center;
}

/* Title */
.title {
  font-style: italic;
  margin-bottom: 20px;
}

/* Banner Image */
.banner img {
  width: 100%;
  height: 500px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

/* Description */
.description {
  margin: 20px auto;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Embedded video */
.video-embed {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  gap: 24px;
  margin: 0 auto 24px;
  max-width: 480px;
}

.video-replay {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 50px;
}

.video-wrapper {
  width: calc(50% - 12px);
  min-width: 260px;
  max-width: 460px;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .video-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery */
.gallery {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

/* Gallery Page */
.gallery-page {
  background: #f4eee2;
  padding: 60px 12px 80px;
}

.gallery-container {
  /* max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  background: rgba(255, 255, 250, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12); */

  /* display: flex; */
  justify-content: center;
  padding: 40px 20px;
  /* background: #f7f3eb; */
  max-width: 1200px;
  margin: auto;
}

.gallery-header {
  padding: 28px 0 16px;
  text-align: center;
}

.gallery-header h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.gallery-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 14px;
  color: #2b2b2b;
}

.gallery-tabs a {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 6px 10px;
  border-radius: 6px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.gallery-tabs a.active,
.gallery-tabs a:hover {
  background: rgba(184, 138, 58, 0.18);
  color: #2b2b2b;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 32px;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 12px 12px 14px;
  font-size: 14px;
  font-weight: normal;
  color: #2b2b2b;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-tabs {
    gap: 10px;
  }
}

/* Events Page */
.events-page {
  background: #f7f3eb;
  padding: 60px 20px 80px;
  min-height: 100vh;
}

.events-card {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 38px 34px;
  /* background: rgba(255, 255, 250, 0.93); */
  /* border: 1px solid rgba(0, 0, 0, 0.12); */
  border-radius: 20px;
  /* box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12); */
}

.events-header h1 {
  font-size: 34px;
  margin: 0;
  color: #2b2b2b;
  letter-spacing: 0.02em;
}

.events-intro {
  margin-top: 14px;
  max-width: 760px;
  line-height: 1.6;
  color: #4a453d;
  font-size: 16px;
}

.events-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.event-details h2 {
  margin: 0;
  font-size: 22px;
  color: #2b2b2b;
}

.event-date {
  margin-top: 8px;
  font-weight: 600;
  color: #6b5517;
}

.event-description {
  margin: 12px 0 0;
  line-height: 1.6;
  color: #4a453d;
  max-width: 550px;
}

.btn.rsvp {
  align-self: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: #6b5517;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn.rsvp:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.past-events .event-item {
  background: rgba(250, 246, 240, 0.9);
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.event-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 720px) {
  .event-item {
    flex-direction: column;
    align-items: stretch;
  }

  .btn.rsvp {
    width: 100%;
    text-align: center;
  }

  .event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-gallery img {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .event-gallery {
    grid-template-columns: 1fr;
  }
}

/*  modal  */

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
