/* Imports your custom Gill Sans font stylesheet */
@import url("gill_sans_mt_bold/stylesheet.css");

/* Global setup */
* {
  box-sizing: border-box;
}

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

/* Main page styling */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #2f2f2f;
  background-color: #c2b59b;
  background-image: url("../Images/Background2.gif");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 6%;
  background-color: rgba(255, 255, 255, 0.9);
}

.site-header img {
  max-width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: bold;
}

.site-nav a:hover {
  color: #7a6c55;
}

/* Main layout */
main {
  width: min(1180px, 90%);
  margin: 50px auto;
  flex: 1;
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 50px;
}

/* Hero image container */
.hero-image,
.home-hero-image,
.about-image {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Hero images */
.hero-image img,
.home-hero-image img,
.about-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* Optional white image block for home/about hero images */
.home-hero-image,
.about-image {
  background-color: rgba(255, 255, 255, 0.94);
  padding: 18px;
  border-radius: 8px;
}

/* About circle portrait if used */
.about-circle-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-circle-image img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.94);
}

/* Hero text box */
.hero-content {
  background-color: rgba(255, 255, 255, 0.94);
  padding: 36px;
  border-radius: 8px;
  height: 100%;
}

/* Headings */
h1,
h2,
h3 {
  line-height: 1.2;
  color: #2b2b2b;
}

h1 {
  margin-top: 0;
  font-size: 2.2rem;
}

/* Buttons */
.button {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  background-color: #6f654f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

/* White section blocks */
.services,
.gallery-section,
.booking-intro,
.booking-section,
.pricing-section,
.testimonial-section,
.faq-section,
.testimonials,
.how-it-works-section {
  background-color: rgba(255, 255, 255, 0.94);
  padding: 36px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-grid article {
  border-top: 3px solid #c2b59b;
  padding-top: 14px;
}

/* Info cards */
.info-section {
  margin-bottom: 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  background-color: rgba(255, 255, 255, 0.92);
  padding: 26px;
  border-radius: 12px;
  border-top: 4px solid #c2b59b;
}

.info-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.info-card p {
  margin: 8px 0;
}

/* Gallery */
.gallery-section h2 {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  border-top: 3px solid #c2b59b;
  padding-top: 14px;
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.gallery-card h3 {
  margin-bottom: 0;
}

/* Forms */
.booking-form {
  display: grid;
  gap: 28px;
}

.booking-form fieldset {
  border: 1px solid #c2b59b;
  border-radius: 8px;
  padding: 24px;
  margin: 0;
}

.booking-form legend {
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0 10px;
  color: #2b2b2b;
}

.booking-form label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: bold;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #b8aa8f;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background-color: #ffffff;
  color: #2f2f2f;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form .button {
  justify-self: start;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0;
}

.pricing-card {
  border-top: 3px solid #c2b59b;
  padding-top: 14px;
}

.price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #6f654f;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  border-top: 3px solid #c2b59b;
  padding-top: 14px;
}

.testimonial-card h3 {
  margin-bottom: 4px;
}

.testimonial-location {
  font-weight: bold;
  color: #6f654f;
  margin-top: 0;
}

/* How It Works */
.how-it-works-section > p {
  width: 100%;
  max-width: none;
  margin-bottom: 28px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-card {
  border-top: 3px solid #c2b59b;
  padding-top: 18px;
}

.process-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #6f654f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 14px;
}

.process-card h3 {
  margin-top: 0;
}

/* YouTube */
.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 20px;
}

.youtube-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* Footer */
footer {
  margin-top: auto;
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

/* Tablet layout */
@media (max-width: 1000px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .info-grid,
  .gallery-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile and small tablet layout */
@media (max-width: 850px) {
  .site-header {
    display: block;
  }

  .site-nav {
    margin-top: 20px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-image,
  .home-hero-image,
  .about-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .hero-image img,
  .home-hero-image img,
  .about-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
  }

  .service-grid,
  .info-grid,
  .gallery-grid,
  .pricing-grid,
  .testimonial-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone layout */
@media (max-width: 650px) {
  main {
    width: min(94%, 1180px);
    margin: 30px auto;
  }

  .services,
  .gallery-section,
  .booking-intro,
  .booking-section,
  .pricing-section,
  .testimonial-section,
  .faq-section,
  .testimonials,
  .how-it-works-section,
  .hero-content {
    padding: 24px;
  }

  .gallery-card img {
    height: 240px;
  }

  .booking-form fieldset {
    padding: 18px;
  }

  .about-circle-image img {
    width: 260px;
    height: 260px;
  }
}