/* General styling */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    box-sizing: inherit;
}
@font-face {
    font-family: 'Gentium Basic';
    src: url('GenBasR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body { font-family: 'Source Sans Pro', sans-serif; }
h1, h2 { font-family: 'Gentium Basic', sans-serif; }
h2 { font-size: 36px; }

/* Hero image at the top, the overlaid text, and promo (promo desktop only) */
.hero {
    background: url('hero.jpg') no-repeat center center/cover;
    height: 60vh;
    position: relative;
    color: white;
}
.hero-overlay {
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 1;
}
.hero-overlay h1 {
    font-size: 3.5rem;
    margin: 0;
}
.starter-pack {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 250px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
}

/* Mobile promo banner below hero image */
.mobile-banner {
    display: none;
    background: red;
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
	font-size: 0.95rem;
}
.mobile-banner-subtext {
  font-size: 0.7rem;
  margin-top: 0.25rem;
  display: block;
  color: white;
  opacity: 0.9;
}
.highlight-word {
  color: yellow;
}

/* Carousel of those doggos that need homes */
.carousel-section {
  position: relative;
  background: #2F312E;
  color: white;
  overflow-x: hidden;
  padding: 2rem 1rem;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  max-width: 100vw;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  flex: 0 0 50%;
  min-width: 50%;
  box-sizing: border-box;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

.slide img {
  width: 200px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.slide img:hover {
  transform: scale(1.05);
}

.caption {
  max-width: 400px;
  text-align: left;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}


.map-section {
    display: flex;
    flex-direction: row;
    background: #F5FFF9;
    color: #2F312E;
    height: 500px;
}
.locator-box {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 2rem 3rem;
	flex: 1;
}
.link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2F312E;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}
.link-button:hover {
  transform: scale(1.05);
}
.faq-section {
    padding: 2rem;
	padding-left: 25rem;
	padding-right: 25rem;
    background: #f9f9f9;
}
.faq-section h2 {
    text-align: center;
}
.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
}
.faq-question {
    width: 100%;
    text-align: left;
	font-family: 'Gentium Basic', sans-serif; 
    padding: 1rem;
    cursor: pointer;
	font-size: 20px;
	margin-bottom: 15px;
	position: relative;
	color: inherit;
    text-decoration: none;
    background: none;
    border: none;
	display: block;
}

.faq-toggle {
  right: 1.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
}
.faq-question.active .faq-toggle {
  content: "-";
}
.faq-answer {
    display: none;
    padding: 1rem;
    background: none;
	margin-bottom: 15px;
}
.faq-question.active {
	margin-bottom: 0px;
}
.faq-question.active + .faq-answer {
    display: block;
}
@media screen and (max-width: 768px) {
    .starter-pack { display: none; }
	.hero-overlay h1 { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); }
    .mobile-banner { display: block; }
    .carousel-section { padding: 2rem 1rem; }
    .carousel-container { flex-direction: column; overflow: visible; }
	.caption { max-width: 300px }
    .slide {
      flex: 0 0 100%;
      min-width: 100%;
      flex-direction: column;
      text-align: center;
      padding: 2rem;
    }
	.faq-section { 	padding-left: 1rem; padding-right: 1rem; }
	.fw-map-section { display: none; }
	.carousel { padding-left: 0rem; }
	.faq-question { display: flex; justify-content: space-between; gap: 1rem; align-items: center;}
	.faq-text { flex: 1; word-break: break-word; margin-right: 30px; }
	.faq-toggle { flex-shrink: 0; font-size: 1.5rem; font-weight: bold; }
}

/* Footer container, including links, logos, header, subtext */
.footer-container {
  background-color: #2F312E;
  color: white;
  padding: 20px 20px 40px;
  text-align: center;
  width: 100%;
  min-height: 300px;
}

.footer-title {
  font-size: 28px;
  margin-bottom: 26px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.footer-block {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  max-height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-text {
  margin: 0 0 10px;
}

.footer-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.footer-button:hover {
  transform: scale(1.05);
}

.footer-copyright {
  background-color: white;
  color: #444;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

/* Standard banner with header and text, this one is below the map */
.text-container {
  background-color: #2F312E;
  color: white;
  padding: 20px 20px 40px;
  text-align: center;
  width: 100%;
  min-height: 200px;
}

.text-title {
  font-size: 28px;
  margin-bottom: 26px;
}

.fw-map-image {
    flex: 1;
    background-image: url('final_map.jpg');
    background-size: cover;
    background-position: center;
}

.fw-map-section {
  background: #F5FFF9;
  color: #2F312E;
  position: relative;
  width: 100%;
  overflow-x: auto;
}

.fw-map-background {
  position: relative;
  width: 100%;
}

.static-map {
  width: 100%;
  display: block;
}

.fw-locator-box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 2rem 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.map-hotspot {
  position: absolute;
  display: block;
  z-index: 10;
  /*background-color: rgba(255, 0, 0, 0.2)*/ /*Red colour just for testing things*/
}

/* From top left clockwise 1-7 here, starting in Wolves */
.centre1 { top: 16.5%; left: 50.5%; width: 4.3%; height: 7%; }
.centre2 { top: 27.5%; left: 51.1%; width: 2.7%; height: 8.5%; border-radius: 50%; }
.centre3 { top: 42%; left: 72.5%; width: 4.3%; height: 7%; }
.centre4 { top: 41.8%; left: 81.45%; width: 2.7%; height: 8.5%; border-radius: 50%; }
.centre5 { top: 53.8%; left: 80.7%; width: 4.3%; height: 5.1%; }
.centre6 { top: 67.4%; left: 80.65%; width: 4.2%; height: 4.5%; }
.centre7 { top: 77%; left: 74.8%; width: 2.9%; height: 8.5%; border-radius: 50%; }

/* Hides the mobile map elements on desktop */
@media (min-width: 768px) {
  .mobile-map-container { display: none; }
  .map-info-mob-container { display: none; }
}

.mobile-map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.mobile-map {
  width: 100%;
  display: block;
}

.map-hotspot-mobile {
  position: absolute;
  background: none;
  border: none;
  border-radius: 50%;
  z-index: 10;
}

.spot1 { top: 15%; left: 15%; width: 12%; height: 18%; }
.spot2 { top: 20%; left: 65%; width: 12%; height: 18%; }
.spot3 { top: 50%; left: 64%; width: 20%; height: 18%; }
.spot4 { top: 74%; left: 53%; width: 12%; height: 18%; }

/* Modals on mobile map hotspots */
.mobile-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

.mobile-modal-content {
  background: #F5FFF9;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  padding-right: 1.2rem;
}


.mobile-modal-content::-webkit-scrollbar {
  width: 8px;
}

.mobile-modal-content::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px;
}

.mobile-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.mobile-modal-content:hover::-webkit-scrollbar-thumb,
.mobile-modal-content:active::-webkit-scrollbar-thumb {
  opacity: 1;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.map-info-mob-container {
  background-color: #F5FFF9;
  color: #2F312E;
  padding: 20px 20px 40px;
  text-align: center;
  width: 100%;
  min-height: 100px;
}

.map-info-mob-title {
  font-size: 28px;
  margin-bottom: 12px;
}