body { background-color: #c4c4c4;
}
#wrapper {  margin: 0 auto;
            padding: 0 15px;
            box-sizing: border-box;
            position: relative;
}
/* Hamburger Button */
.hamburger {
  z-index: 9999;
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  margin: 10px;
}
.hamburger span {
  background-color: #996629; 
  height: 10px;
  width: 100%;
  border-radius: 2px;
  transition: 0.3s;
}
.welcome-banner {
  background-image: url('Images/Outside.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: #402410;
  position: relative;
}
.welcome-banner h3 {
  background-color: rgba(247, 243, 233, 0.85);
  display: inline-block;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 2.5em;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
header { background-color: #F7F3E9;
        font-family: 'TeX Gyre Termes', serif;
        font-style: italic;
        padding: 20px;
        background-image: url(Images/Trinity\ Banner.svg);
        background-repeat: no-repeat;
        background-position-x: center;
        height: 110px;
        max-width: 2500px;
}
/* Navigation Menu */
.nav-menu {
  color: #C8C38D;
  z-index: 9998;
  display: none; 
  flex-direction: column;
  background-color: #142454;
  padding: 40px;
  position: fixed;
  top: 60px; 
  right: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-size: 45.5px;
}
.nav-menu a {
  padding: 10px;
  text-decoration: none;
  color: #996629;
  font-weight: bold;
}
.nav-menu a:hover {
  background-color: #C8C38D;
}
/* Show menu when active */
.nav-menu.active {
  display: flex;
}
p {color: #F7F3E9;
        font-size: 1.5em;
        background-color: #142454;
        max-width: fit-content;
        margin: auto;
}
h1 { font-size: 1.2em;
        color: #142454;
        max-width: fit-content;
        margin: auto;
}
h2 { font-size: 2.0em;
        font-family: 'Cerebri Sans', sans-serif;
        background-color: #142454;
        color: #F7F3E9;
        text-shadow: 1px 1px 1px 1px #777;
        text-align: center;
        max-width: fit-content;
        margin: auto;
}
h3 {
  font-family: 'TeX Gyre Termes', serif;
  font-style: italic;
  font-size: 2.0em;
  color: #402410;
  text-shadow: #777;
  text-align: center;
  max-width: fit-content;
  margin: auto;
}
main { color: bisque;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
        font-size: 1.5em;
}
.container { color: white;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 15px;
                width: 100%;
                max-width: 2000px;
                margin: 0 auto;
                box-sizing: border-box;
}
.left { color: white;
            box-sizing: border-box;
}
.right { color: white;
            box-sizing: border-box;
}
footer { text-align: center;
        background-color: #F7F3E9;
        color: #996629;
        padding: 20px;
}
.info-table {display: grid;
        background-color: #142454;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        border: 1px solid black;
}
.info-table-S {display: grid;
        background-color: #142454;
        grid-template-columns: 1fr;
        gap: 10px;
        border: 1px solid black;
        max-width: fit-content;
        margin: auto;
}
.info-table > div {border: 1px solid black;
                padding: 10px;
}
.prayer-request-form {
        background-color: #f0f0f0;
        padding: 20px;
        margin: 20px 0;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-left: auto;
        margin-right: auto;
}
.prayer-request-form h3 {
        text-align: center;
        color: black;
        font-size: 1.5em;
}
.prayer-request-form textarea {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
        font-size: 1em;
        margin-bottom: 10px;
        resize: vertical;
}
.prayer-request-form button {
        background-color: #6BA1D3;
        color: #142454;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 1em;
        cursor: pointer;
        display: block;
        width: 100%;
        margin-top: 10px;
}
.prayer-request-form button:hover {
        background-color: #6BA1D3;
}
.give-button {
        background-color: #6BA1D3;
        color: #142454;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 1em;
        cursor: pointer;
        display: block;
        width: 20%;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
}
.prayer-request-form input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
  margin-bottom: 10px;
}
.social-button {
  display: inline-block;
  margin: 10px 5px;
  padding: 10px 15px;
  background-color: #6BA1D3;
  color: #142454;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.social-button-CU{
  display: inline-block;
  margin: 10px 5px;
  padding: 10px 15px;
  background-color: #996629;
  color: #402410;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.social-button:hover {
  background-color: #6BA1D3;
  color: #402410;
}
.social-button-CU:hover {
  background-color: #996629;
  color: #142454;
}
.contact-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.image-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.image-row > img {
  width: 45%;
  max-width: 500px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.gallery img {
  width: 200px;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.show img {
  transform: scale(1);
}

.lightbox img {
  transform: scale(0.8);
}
/* Index Page Styles */
.info-section-index {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
}
.info-card-index {
  background-color: #142454;
  color: #F7F3E9;
  padding: 30px 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.info-card-index2{
  background-color: #6BA1D3;
  color: #142454;
  padding: 30px 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.info-card:hover {
  transform: rotateY(5deg) rotateX(5deg) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}
.info-card h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}
.info-card p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 10px;
}
.alt-heading-index { font-size: 2em;
  background-color: #142454;
        font-family: 'Cerebri Sans', sans-serif;
        color: #F7F3E9;
        text-shadow: 1px 1px 1px 1px #142454;
        text-align: center;
        max-width: fit-content;
        margin: auto;
}
.alt-heading-index2 { font-size: 2em;
  background-color: #6BA1D3;
        font-family: 'Cerebri Sans', sans-serif;
        color: #142454;
        text-shadow: -1.5px -1.5px #142454;
        text-align: center;
        max-width: fit-content;
        margin: auto;
}
.alt-paragraph-index {color: #F7F3E9;
        background-color: #142454;
        font-family: cerebri-sans, sans-serif;
        font-size: 1em;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.25em;
}
.alt-paragraph-index2 {color: #142454;
        background-color: #6BA1D3;
        font-family: cerebri-sans, sans-serif;
        font-size: 1.1em;
        font-weight: 700;
        text-shadow: #142454;
        text-align: center;
        margin-bottom: 0.25em;
}
/* End Index Page Styles */
.about-bg {
  background-image: url(Images/From\ the\ Pulpit.jpg);
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.about-overlay {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 12px 0;
  font-weight: bold;
}
.accordion-body {
  display: none;
  padding: 10px 0 20px;
}
.alt-paragraph-about {
  font-size: 1.2em;
  color: #C8C38D;
  text-align: center;
}
.giving-highlight {
  background-color: #f0f4f8; 
  padding: 60px 20px;
}
.giving-content {
  display: flex;
  align-items: stretch; 
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.giving-image {
  flex: 1;
  display: flex;
  align-items: stretch;
}
.giving-image img {
  object-fit: cover;
  width: 100%;
  height: 100%; 
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 10px;
  background-color: #142454;
}
.giving-text {
  flex: 1; 
  min-width: 300px;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  background-color: #6BA1D3;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1.1em;
  transition: background 0.3s;
}
.cta-link .arrow {
  margin-left: 10px;
  font-size: 1.3em;
  transition: transform 0.3s;
}
.cta-link:hover {
  background-color: #568bbd;
}
.cta-link:hover .arrow {
  transform: translateX(5px);
}
h5 {
  background-color: #C8C38D;
  font-size: 2.5em;
  color: #6BA1D3;
  text-align: center;
  margin: 20px auto;     
  padding: 10px 20px;       
  display: inline-block;    
  border-radius: 8px; 
}
h6 {
font-size: 1.0em;
  color: #402410;
  text-align: center;
  margin: 20px auto;     
  padding: 10px 20px;       
  display: inline-block;    
  border-radius: 8px; 
}
.alt-paragraph-privacy {
  background-color: #F7F3E9;
  font-size: 0.9em;
  color: #402410;
  text-align: center;
  margin: 20px auto;     
  padding: 10px 20px;       
  display: inline-block;    
  border-radius: 8px; 
}
@font-face {
  font-family: 'Cerebri Sans';
  src: url('fonts/Cerebri-Sans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'TeX Gyre Termes';
  src: url('fonts/texgyretermes-italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}
h1,h1 {
  font-family: 'Cerebri Sans', sans-serif;
}
/*Mobile fixes*/
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 0 10px; 
  }
  .info-section-index {
    flex-direction: column;
    padding: 30px 10px;
  }
  .info-card-index,
  .info-card-index2 {
    width: 90%;
    margin: 0 auto;
  }
  .giving-content {
    flex-direction: column;
  }
  .giving-image,
  .giving-text {
    width: 100%;
  }
  .gallery img {
    width: 100%;
    max-width: 300px;
  }
  .nav-menu {
    font-size: 1.8em;
    right: 5px;
    padding: 20px;
  }
  .welcome-banner h3 {
    font-size: 1.6em;
    padding: 15px 25px;
  }
  header {
    padding: 10px;
    background-size: cover;
  }
  .hamburger {
    top: 10px;
    right: 10px;
  }
}
img {
  max-width: 100%;
  height: 600px;
  display: block;
}
@media only screen and (max-width: 768px) {
  header {
    background-image: url('Images/mobile\ header.png');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    text-align: center;
    height: 225px;
  }
  .container {
    padding: 10px;
  }
  .banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .events-table {
    padding: 10px;
    display: block;
  }
  .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #0c1c50;
    width: 100%;
    flex-direction: column;
    text-align: center;
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .events-box {
    padding: 20px 15px; 
    width: 95%;
    max-width: 95%; 
  }
}
.events-box h2,
.events-box p {
  background-color: transparent !important;
  max-width: none !important;
  margin: 20px 0 !important;
  color: white !important;
}
}/*
.events-box {
  background-color: #142454;
  color: #F7F3E9;
  padding: 30px 250px;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
  position: center;
  display: inline-block;
}
*/
.events-box {
  background-color: #142454;
  color: #F7F3E9;
  padding: 30px 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 1600px;
  margin: 40px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  box-sizing: border-box;
  display: block;
}

/* Mobile Fix */
@media only screen and (max-width: 768px) {
  .events-box {
    width: 95%;
    max-width: 95%;
    padding: 20px 10px;
  }

  .events-box h2,
  .events-box p {
    font-size: 1.2em;
    margin: 10px 0;
    background-color: transparent !important;
    color: #F7F3E9 !important;
  }
}
