/* ==========================
   RESET STYLES
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Makes padding/border not affect total size */
}

.logo {
  width: 270px;
  height: auto;
}

.logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth effect */
    cursor: pointer; /* show pointer on hover */
}

/* Hover effect */
.logo:hover {
    transform: scale(1.1); /* make it slightly bigger */
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* optional shadow */
}

/* ==========================
   HERO SECTION
   ========================== */
.hero-section {
  height: 100vh; /* Full screen height */
  width: 100%;
  overflow: hidden;
}

.hero-mobile {
  display: none;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the section without stretching */
}

/* ==========================
   HEADER
   ========================== */
.site-header {
  position: relative; /* Header not sticky */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

.blackHeader {
  height: 130px;
  background-image: url('./Page 2 Pictures/header_background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================
   MAIN CONTENT
   ========================== */
.main-content {
  padding-left: 80px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: white;
  min-height: calc(86vh - 100px);
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between sections */
}

.main-content > *:last-child {
  margin-bottom: 0; /* remove last section’s extra margin */
}

h1, h2, p {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: black;
}

/* ==========================
   SERVICES + LOCATION WRAPPER
   ========================== */
.services-location-wrapper {
  display: flex; /* Services left, location right */
  gap: 150px; /*Space between them*/
  align-items: flex-start;
}

.services-side { width: 50%; }
.location-side { width: 50%; }

/* ---------- SERVICES ---------- */
.services {
  font-size: 50px;
  margin-bottom: 20px;
}

.services-images {
  display: flex;
  gap: 15px;
}

.services-images img {
  flex: 1;  /* Still share space evenly */
  max-height: 200px;  /* Limit height */
  width: auto; /* Keep aspect ratio */
  object-fit: contain; /* Show full image without cropping */
  border-radius: 8px;
}

/* ---------- LOCATION ---------- */
.location {
  font-size: 50px;
  margin-bottom: 20px;
}

.location-section {
  display: flex; /* Image left, details right */
  align-items: flex-start;
  gap: 20px;
}

.church-front {
  max-width: 425px;
  height: auto;
  border-radius: 8px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

.location-details p {
  font-size: 18px;
  line-height: 1.4;
}

.arrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow img {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

.arrow .waze-link img {
  height: 80px;
  width: auto;
}

.waze-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.waze-link img {
  height: 80px;
  width: auto;
  transition: transform 0.2s ease;
}

.waze-link img:hover {
  transform: scale(1.2);
}

/* ==========================
   PASTORS SECTION
   ========================== */
/* Wrapper for title + pastors in one row */
.pastors-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 20px;
}

/* Title styling */
.Pastors {
  font-size: 100px;
  margin-top: 80px;
  white-space: nowrap;
  padding-right: 60px;
}

/* Pastor cards grid inside the wrapper */
.pastors-section {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

/* Individual pastor card */
.pastor-card {
  text-align: center;
  flex: 1;
  min-width: 180px;
  transition: transform 0.2s ease;
}

.pastor-card:hover {
  transform: scale(1.25);
}

.pastor-card img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.pastor-name {
  font-size: 18px;
  margin-top: 10px;
}

.connect {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;

  /* Font changes */
  font-family: 'Norwester', sans-serif; /* Make sure you imported it */
  font-weight: 700; /* Bold */
  color: rgb(111, 169, 236);
  
  /* Text shadow */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* x-offset, y-offset, blur, color */
}

.connect:hover {
  transform: scale(1.1);
}

.connect img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

/* ==========================
   FOOTER
   ========================== */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

/* Left Footer */
.footer-left {
  background-image: url('./Page 2 Pictures/header_background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 75%;
  height: 100%;
  gap: 10px;
  color: white;
}

.footer-left .pbag-logo {
  height: 90px;
}

.footer-left span {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Right Footer */
.footer-right {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 25%;
  height: 100%;
  background: white;
}

.footer-right i {
  font-size: 100px;
  color: black;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-right i:hover {
  transform: scale(1.2);
  color: gray;
}

/* PHONE DISPLAY */
/* PHONE DISPLAY */
/* PHONE DISPLAY */
@media (max-width: 599px) and (min-height: 480px) {

/* ==========================
   RESET STYLES
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Makes padding/border not affect total size */
}

.logo {
  width: 270px;
  height: auto;
}

/* ==========================
   HERO SECTION
   ========================== */
.hero-section {
  display: none;
}

.hero-mobile {
  display: block; /* Show mobile hero */
  height: 100vh; /* Full screen height */
  width: 100%;
  overflow: hidden;
}

.hero-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the section without stretching */
}

/* ==========================
   HEADER
   ========================== */
.site-header {
  position: relative; /* Header not sticky */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

.blackHeader {
  height: 130px;
  background-image: url('./Page 2 Pictures/header_background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================
   MAIN CONTENT
   ========================== */
.main-content {
  padding-left: 0px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: white;
  min-height: calc(86vh - 100px);
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between sections */
}

.main-content > *:last-child {
  margin-bottom: 0; /* remove last section’s extra margin */
}

h1, h2, p {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: black;
}

.services-location-wrapper {
  flex-direction: column;
  gap: 30px;
}

.services-side,
.location-side {
  width: 100%;
}

/* ---------- SERVICES ---------- */
.services {
  font-size: 30px;
  margin-left: 125px;
  margin-top: 5px;
  margin-bottom: 0px;
}

.services-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.services-images img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  border-radius: 8px;
}

.services-images img:first-child {
  grid-column: span 2;
}

/* ---------- LOCATION ---------- */
.location {
  font-size: 30px;
  margin-left: 125px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.location-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.church-front {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.location-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.location-details p {
  font-size: 15px;
  line-height: 1.4;
}

.arrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow img {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

.arrow .waze-link img {
  height: 80px;
  width: auto;
}

.waze-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.waze-link img {
  height: 80px;
  width: auto;
  transition: transform 0.2s ease;
}

.waze-link img:hover {
  transform: scale(1.2);
}

/* ==========================
   PASTORS SECTION
   ========================== */
/* Wrapper for title + pastors in one row */
.pastors-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 20px;
}

/* Title styling */
.Pastors {
  font-size: 100px;
  margin-top: 80px;
  white-space: nowrap;
  padding-right: 60px;
}

/* Pastor cards grid inside the wrapper */
.pastors-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.Pastors {
  font-size: 70px;
  margin-top: 20px;
  padding-right: 0;
}

.pastors-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  justify-items: center;
  margin-bottom: 50px;
}

.pastor-card {
  width: 45%;
  min-width: 120px;
}

.pastor-card img {
  width: 120px;
  border-radius: 8px;
}

.pastor-name {
  font-size: 14px;
  margin-top: 5px;
}

.connect {
  font-size: 12px;
  gap: 3px;
}

.connect img {
  height: 18px;
  width: 18px;
}

/* ==========================
   FOOTER (Mobile)
   ========================== */
.site-footer {
  display: flex;
  justify-content: flex-start; /* align everything to the left */
  align-items: center;
  gap: 20px; /* add controlled spacing */
  height: 70px;
}

/* Left Footer */
.footer-left {
  background-image: url('./Page 2 Pictures/header_background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 10px;
  width: 50%; /* more space for text */
  height: 100%;
  gap: 8px;
  color: white;
}

.footer-left .pbag-logo {
  height: 35px; /* smaller logo */
}

.footer-left span {
  font-size: 9px; /* smaller text */
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Right Footer */
.footer-right {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 30%; /* more balanced */
  height: 100%;
  margin-left: 20px;
  background: white;
}

.footer-right i {
  font-size: 32px; /* smaller icons */
  color: black;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-right i:hover {
  transform: scale(1.1);
  color: gray;
}
}