/* Base styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  line-height: 1.6;
}

html{
  scroll-behavior: smooth;
  /* scroll-snap-type: y mandatory; */

  
  overflow-x: hidden;
}

body{
  height: 100%;
  background-color: white;
    color: #333;
  background-position: center;
  ;
}

body::-webkit-scrollbar{
  display: none;
}

nav{
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
  width: 100%;
  top: 0;
  z-index: 2;
  position: sticky;
}

#logo{
  height: 45px;
  width: auto;
  
}

#logo a{
  display: block;
  height: 100%;
  width: 100%;
  background-image: url("./public/images/Cropped_logo.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  padding-left : 10px;
  margin: 0;


}

nav li{
  height: 60px;
}

nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
  font-size: 0.95rem;
}
/* nav li:First-child{
  margin-right: auto;
} */

nav .spacer{
  flex: 1;
}

.phone-number{
  margin-left: 10px;
}

nav a:hover{
  background-color: #f0f0f0;
}

/* .header {
  background-color: #3e5c76;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
} */

.menuButton{
  display: none;
}

.sidebar{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: -10 0 10px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  /* transition-timing-function: ease-in-out; */
  /* transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; */
}

.sidebar-contact {
  margin-top: auto;
  padding: 10px;
}

.sidebar li{
  width: 100%;
}

.sidebar a{
  width: 100%;
}

.sidebar #logo{
  display: none;
}

.sidebar a:hover{
  background-color: transparent;
}

.responsive-first-img{
  display: block;
  max-width: 100%;
  height: auto;
  /* border-radius: 16px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  padding: 8px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  transition: max-width 0.3s ease;
}

.responsive-second-img{
  display: block;
  max-width: 100%;
  height: auto;
   border-radius: 16px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  transition: max-width 0.3s ease;
}

@media (min-width: 1200px) {
  .responsive-first-img,
  .responsive-second-img
  {
      max-width: 50%;
  }
}

.content {
  width: 100%;
  margin: auto;
  background-color: white;

}

.section {
  margin-bottom: 2.5rem;
  height: 100vh;
  /* scroll-snap-align: start; */
  align-content: center;
  justify-items: center;
}

footer{
   scroll-snap-align: start;
}

.section h2 {
  color: #3e5c76;
  margin-bottom: 1rem;
  padding-top: 3rem;

}

.section ul {
  list-style-type: disc;
  padding-left: 1.5rem;

}

/* .footer {
  background-color: lightsteelblue;
  color: black;
  text-align: center;
  padding: 2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  align-items: end;
  justify-items: end;
}

.map-container{
  height: 100%;
  width: 33%;

} */

.footer {
  background-color: #b0c4de; /* lightsteelblue */
  color: black;
  padding: 2rem 1rem;
  font-size: 0.9rem;

}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
  border-top: 1px solid #ccc;
}

.contact-info, .social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  align-items: center;
  padding-top: 1rem;
}

.map-container {
  height: 100%;
  min-height: 200px;
  padding-top: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}

.footer a {
  color: black;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  align-content: center;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}


@media(max-width: 1090px) {
  .hideOnMobile{
      display:none;
  }
  .menuButton{
      display: block;
  }
}

/* Responsive improvements */
@media (min-width: 768px) {
  .content {
    padding: 3rem 1rem;
  }
}

@media(max-width: 400px){
  .sidebar{
      width: 100%;
  }

}

 .piggy{
  width: 56px;
  height: 76px;
  background-color: #fad192;
}

.bi-hand-thumbs-up{
  background-color: #fad192;
}

.bi-arrows-fullscreen{
  background-color: #fad192;
}

.bi-pin-map{
  background-color: #fad192;
}

.church{
    width: 56px;
    height: 76px;
    background-color: #fad192;
}

.meeting{
    width: 56px;
    height: 76px;
    background-color: #fad192;
}

.facebook{
    width: 56px;
    height: 76px;
}

.area-colours{
  background-color: #fad192;
}

.pricing-table-header{
  background-color: lightsteelblue;
}