
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: #fff;
  color: #333;
}


/* Main sticky header container */
/* Default: sticky on larger screens */
header#main-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

/* On mobile, override to fix hamburger scroll issue 
@media (max-width: 768px) {
  header#main-header {
    position: relative;
  }
}
*/

/* Max width and vertical stack inside header */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
}

/* Top bar: Socials right */
.header-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

/* Row: logo left, social icons right */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Bigger logo */
.logo img {
  height: 120px;
}

/* Social icons top right */
#social-icons {
  display: flex;
  gap: 0.5rem;
}

/* Main row: logo left, nav right */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* 👈 aligns both items to the bottom */
}

/* Navigation bar: left-aligned below */
nav {
  margin-top: 0.5rem;
  align-self: flex-end;
}

/* Nav styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
}

.nav-link.active {
  color: #d6006e;
}

#social-icons a img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#social-icons a img:hover {
  filter: none;
}


#home {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 3rem 1rem;
  border-top: none;
}

#home .cover-image {
  width: 100%;
}

#home .cover-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
   #home {
    margin: 0;
    padding: 0;
  }
  .cover-image {
    height: 300px;
    overflow: hidden;         /* 👈 this hides the overflow */
    width: 100vw;             /* ensure it doesn't exceed viewport */
    max-width: 100%;          /* just in case */
    margin: 0;
    padding: 0;
  }

  .cover-image img {
    margin-top:60px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(2);
  }
}


#welcome {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.welcome-image,
.welcome-text {
  flex: 1 1 45%;
  box-sizing: border-box;
  align-self: start;
}


.welcome-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

#welcome h2 {
  margin-top: 0;
}

#welcome p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #home {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #welcome {
    flex-direction: column;
    text-align: center;
  }

  .welcome-image,
  .welcome-text {
    width: 100%;
    flex: 1 1 100%;
  }

  .welcome-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 80px;
  }
}



section {
  padding: 0 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #8fd0e1;
}

h2, h3 {
  font-family: 'Covered By Your Grace', cursive;
  color: #d6006e;
  font-weight: 500;
  font-size: 4rem;
  line-height: 3.5rem;
  margin-bottom: 0.3rem; 
}

#services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  padding-top:25px;
}

.service p {
  margin-bottom: 1rem;
  margin-top:1rem;
}

/* Make service icons 140x140px */
.service img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.service h3{
    margin-top:0rem;
}

/* Match button to contact form style */
#services-buttons {
  text-align: center;
  margin-top: 2rem;
}

#services-buttons button {
  background: #193849;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
}

#enquire-btn {
  background: #193849;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

#enquire-btn:hover {
  background: #0f1f26;
}


#gallery-viewer {
  width: 100%; 
  background: #fff; /* remove gray bar */
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#gallery-viewer img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

#gallery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  overflow: hidden;
  max-width: 995px; /* Limit to 10 thumbnails */
  margin: 0 auto;   /* Center the row */
  justify-content: center;
}

#gallery-thumbnails img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

#gallery-thumbnails img.active {
  border-color: #d6006e;
}

@media (max-width: 768px) {
  #gallery-thumbnails {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
}





#about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1rem;
}

.about-text,
.about-image {
  flex: 1 1 45%;
  align-self: end;
}

.qualifications-block {
  margin-top: 1.5rem;
}

.qualifications-block img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5rem;
}


#about, #contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}


.about-image img {
  max-width: 100%;
  height: auto;
  align-self: flex-end;
}

#captcha-container {
  display: flex;
  flex-direction: row; /* ⬅︎ horizontal layout */
  align-items: center;
  /* justify-content: space-between; */
  gap: 2rem;
  padding: 1rem;
  background: #fff;
 /* flex-wrap: wrap;  mobile-friendly */
}

#slider-track {
  position: relative;
  width: 80%;
  max-width: 400px;
  height: 10px;
  background: #ddd;
  border-radius: 10px;
}

#bone {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 50px;
  cursor: grab;
  z-index: 2;
  user-select: none;
}

#dog {
  height: 140px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
#dog {
  height: 80px;
  width: auto;
  flex-shrink: 0;
}
 #slider-track {
  position: relative;
  width: 70%;
  max-width: 400px;
  height: 10px;
  background: #ddd;
  border-radius: 10px;
}

   
}




#send-message {
  background: #193849;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 1.5rem;
  display: none; /* Or .visible toggled by JS */
  width: auto;
}

#send-message.visible {
  display: inline-block;
}

#fetch{
    height:80px;
    display:block;
    background-color:#ffffff;
}




footer {
  text-align: center;
  background: #f3f3f3;
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  #about, #contact {
    flex-direction: column;
  }

  #services {
    grid-template-columns: 1fr;
  }
}

#quotes {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quotes-container {
  display: flex;
  flex-wrap: nowrap; /* ⬅️ force single row */
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  height: 260px;
}


.quote-text-block {
  flex: 1 1 45%;
  background: url('../treats-everything-else/quotation.svg') no-repeat top left;
  background-size: 80px 80px;
  padding-left: 100px;
  min-height: 100px;
  box-sizing: border-box;
  
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  margin: 0 0 0.5rem;
  transition: opacity 0.5s ease-in-out;
}

.quote-author {
  font-weight: bold;
  margin: 0;
  transition: opacity 0.5s ease-in-out;
  line-height: 13px;
}

.quote-illustration {
  flex: 1 1 50%;
  text-align: center;
  align-self: center; /* ⬅️ change to flex-end if you want it bottom-aligned */
}

.quote-illustration img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .quotes-container {
    flex-direction: column;
    text-align: center;
      height:400px;
  }

  .quote-text-block {
    background-position: top center;
    padding-left: 0;
    padding-top: 100px;
  }
}


.btn-rounded {
  background: #193849;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none; /* 👈 this removes underline */
  display: inline-block;  /* 👈 ensures padding works for <a> too */
  transition: background 0.3s ease;
}

.btn-rounded:hover {
  background: #145263;
  text-decoration: none; /* just in case */
}


#faq-columns {
  display: flex;
  flex-wrap: wrap;
  /*gap: 2rem;*/
  justify-content: space-between;
}

.faq-column {
  flex: 1 1 45%;
  box-sizing: border-box;
}

.faq-column h4{
    margin-bottom: 0px;
}
.faq-column p{
    margin-top: 5px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
  #faq-columns {
    flex-direction: column;
  }

  .faq-column {
    flex: 1 1 100%;
  }
}


/*SHOW HIDE FAQs*/


#faq-list p { max-height:0; overflow:hidden; opacity:0; transition:max-height .22s ease, opacity .18s ease; margin:0; }
#faq-list p[data-open="true"] { max-height:500px; opacity:1; margin:0 0 .75rem; }
#faq-list h4 > button.faq-q {
  all: unset;
  cursor: pointer;
  display: block;
  padding: 0.4rem 0;
  line-height: 1.3;
}
#faq-list h4 > button.faq-q:focus-visible {
  outline: 2px solid #333; 
  outline-offset: 2px;
}
#faq-list h4 > button.faq-q:hover { text-decoration: underline; }

#faq-list h4 > button.faq-q::after {
  content: '▸';
  margin-left: .5rem;
  display: inline-block;
  transition: transform .2s ease;
}
#faq-list h4 > button.faq-q[aria-expanded="true"]::after {
  transform: rotate(90deg);
}





/*Show/hide END*/




#contact {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* ⬅️ this is the key */
  gap: 2rem;
}

.contact-text {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
}

.contact-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#contact .contact-image img {
  max-width: 100%;
  max-height: 60%;
  height: auto;
  width: auto;
  object-fit: contain;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

#contact-form label {
  font-weight: bold;
}

#contact-form input,
#contact-form textarea {
  width: 90%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

#enquiry-link {
  display: inline-block;
  background: #193849;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 1rem;
  width: auto;
  max-width: fit-content; /* <- THIS helps override wide flex/column layouts */
  white-space: nowrap;     /* <- Prevents text wrapping */
  align-self: flex-end;
}

p #enquiry-link{
  align-self: flex-end;
}

#captcha-instructions {
  margin-top: 1.5rem;
  font-style: italic;
  color: #333;
  font-size: 1rem;
  transition: opacity 0.0s ease;    
}



#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #193849;
  margin-left: auto;
}

@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%; /* right below header */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  nav.show {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
}

.hp-field {
  position: absolute;
  left: -10000px; /* visually off-screen */
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#quotes.is-paused { opacity: 0.95; transition: opacity 0.3s; }




