/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');


/* remove default styles */

* {
  border: 0;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #DAD7CD;
}

html {
  scroll-behavior: smooth;
}

/*--------------------------------------------hover*/

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  transition-duration: 0.3s;
  transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
  transform: scale(1.12);
  opacity: 1;
  border-bottom: #000 1px solid;
}


.menu-drink-image:hover,
.menu-food-image:hover,
.menu-sunday-image:hover {
  transform: scale(1.2);
}

.menu-drink-image:hover h2,
.menu-food-image:hover h2,
.menu-sunday-image:hover h2 {
  visibility: visible;
  opacity: 1;
}

.make-a-booking-button:hover {
  transform: scale(1.2);
}

#signup-submit-button:hover,
#booking-submit-button:hover {

  background-color: #588157;
}

/*--------------------------------------------main styles*/

.main-bg-green {
  background-color: #588157;
}

.bg-color-lightgreen {
  background-color: rgba(163, 177, 138, 100%);
}

.border-green {
  border-top: #588157 2px solid;
  border-bottom: #588157 2px solid;
  padding-top: 30px;
  padding-bottom: 20px;
}

/*--------------------------------------------hero imgs*/

.hero-img-container {
  width: 100%;
  height: 400px;
  padding-bottom: 40px;
}

#hero-img-home,
#hero-img-food,
#hero-img-booking {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  margin-top: 10px;
}

#hero-img-home {
  background-image: url(../img/hero-home-1.webp);
}

#hero-img-food {
  background-image: url(../img/hero-img-food.webp);
}

#hero-img-booking {
  background-image: url(../img/hero-booking.webp);
}

/*--------------------------------------------header, logo & nav-bar*/

header {
  height: 200px;
}

.gb-logo {
  padding-top: 20px;
}

.gb-logo img {
  width: 322px;

}

.nav-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 10px;
  font-size: 1.3rem;
  letter-spacing: 2px;
  list-style-type: none;
  text-transform: capitalize;
}

.nav-link a {
  color: #000;
}

/*--------------------------------------------Welcome header/text*/


.page-header {
  height: fit-content;
  max-width: 700px;
  margin: 15px;
  border-radius: 5px;
  margin: 0 auto;
  font-size: 1.5rem;
  text-align: center;
}


.page-header h2 {
  font-size: 1.5rem;
  text-align: center;
  font-style: italic;
  font-weight: 300;
}

.main-text {
  padding-top: 30px;
  margin: 0 auto;
  width: 66%;
  max-width: 1200px;
  text-align: left;

  font-size: 1.2rem;
  font-weight: 400;
}

#award-logo {
  margin-bottom: 70px;
  margin-top: 70px;
  text-align: center;
}

#award-logo img {
  width: 60%;
  max-width: 250px;
}

/*--------------------------------------------Gallery*/

#gallery {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  padding-top: 30px;
  margin: auto;
}

#gallery img {
  height: auto;
  width: 16%;
  margin: 2px;
}


/*----------------------food/Drink section*/

#food-drink-header {
  color: #DAD7CD;
  height: fit-content;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  top: 230px;
  background-color: rgba(3, 3, 3, 0.3);
  border-radius: 10px;
}

#food-drink-header h2 {
  font-size: 3rem;
  text-align: center;
  text-transform: uppercase;
}

.menu-container {
  width: 80%;
  max-width: 1000px;
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-container-reverse {
  width: 80%;
  max-width: 1000px;
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap-reverse;
  justify-content: center;
}

.menu-drink-image,
.menu-food-image,
.menu-sunday-image {
  /* center code for headings*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  min-width: 300px;
  height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  transition: transform .5s;

}

.menu-drink-image {
  background-image: url(../img/drink-menu-img.webp);
}

.menu-food-image {
  background-image: url(../img/food-menu-img.webp);
}

.menu-sunday-image {
  background-image: url(../img/sunday-menu-img.webp);
}

.menu-text-box {
  width: 50%;
  min-width: 300px;
  height: 300px;
  background-color: #A3B18A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
}

.menu-text-box p {
  font-style: italic;
  text-align: justify;
}

.menu-text-box p {
  padding: 0 20px 0 20px;
}

.menu-drink-image h2,
.menu-food-image h2,
.menu-sunday-image h2 {
  text-align: center;
  flex-direction: column;
  background-color: rgba(88, 129, 87, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2rem;
  width: auto;
  color: #DAD7CD;
  transition: transform .5s
}

.food-text {
  margin-bottom: 50px;
}

/*-----------------bottom section-sign-up & opening times*/

/* make a booking button/link*/

.make-a-booking-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-radius: 10px;
  margin-top: 30px;
}

.make-a-booking-button {
  height: fit-content;
  max-width: 250px;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  font-size: 1.2rem;
  text-transform: capitalize;
  font-weight: bolder;
  transition: transform .5s;
  box-shadow: 5px 10px #888888;
  border-radius: 10px;
}

.make-a-booking-button a {
  color: black;
}

/* opening times/loyalty signup form*/

#sign-up-section {
  width: 90%;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 40px;
  margin-top: 60px;
  margin-bottom: 60px;

}


.opening-times {
  display: flex;
  flex-direction: column;
  width: 50%;
  min-width: 300px;
  text-align: left;
  align-items: center;
  margin-bottom: 20px;
}

.opening-times h4 {
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1.5rem;
  padding-bottom: 7px;
}

.opening-times li {
  list-style-type: none;
}

/* loyalty sign up form*/

.loyalty-signup {
  display: flex;
  flex-direction: column;
  width: 50%;
  min-width: 300px;
  text-align: center;
  align-items: center;
}

.signup-form {
  display: block;
  flex-direction: column;
  flex-wrap: nowrap;
  box-shadow: 5px 10px #888888;
  border-radius: 10px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px;
}

#signup-submit-button {
  font-weight: bolder;
  border-radius: 5px;
  transition: transform .5s;
}

.signup-form-names,
.signup-form-email-phone {
  display: flex;
  flex-direction: row;
}

.signup-form-container {

  width: fit-content;
  border-radius: 10px;
  padding: 3px;
}

.signup-form-container input {
  padding: 5px;
  margin: 5px;
}

.loyalty-signup h3,
.opening-times h3 {
  align-items: center;
  text-transform: capitalize;
  font-weight: bold;
}

/*--------------------------------------------Footer*/

.footer {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 30px;
}

.contact-info {
  padding: 15px;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.socials-icons i {
  color: #000;
  font-size: 2.2rem;
  padding: 10px;
  font-weight: 600;
}


.google-maps iframe {
  height: 250px;
  width: 100%;
  margin-bottom: -30px;
}

.to-top-button {

  margin: auto;
  text-transform: capitalize;
  font-weight: 500;
  border-radius: 10px;
  background-color: #A3B18A;
  width: fit-content;
  padding: 4px;
  color: #000;
}

.to-top-button p {
  text-align: center;
}

.to-top-button a {
  color: #000;
}



/*--------------------------------------------Booking page welcome*/



#booking-sub-head {
  padding-top: 40px;
  padding-bottom: 70px;
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  max-width: 90%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

#booking-options-container {
  padding-top: 10px;
  width: 66%;
  max-width: 1500px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 400;
  padding-left: 10px;
  padding-right: 10px;
}

/*---------------Booking descriptions*/
#function-room-hire,
#restaurant-hire {
  height: fit-content;
  width: 47%;
  padding-bottom: 20px;
  margin-left: 10px;
}

#function-room-hire h2,
#restaurant-hire h2 {
  text-align: center;
  font-size: 1.2rem;
}

/*------------reviews and background img*/
#reviews {
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-image: url(../img/review-bg-img.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 30px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
}

#reviews div {
  width: 22%;
  height: 95%;
  background-color: rgba(0, 0, 0, .7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
}

#reviews div p {
  color: white;
  padding: 10px;
  text-align: left;
}


/*--------------------------------------------booking page form*/

.booking-form-container {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  font-size: .8em;
  margin-top: 40px;
  margin-bottom: 40px;
}

#booking-form-header {
  text-align: center;
  padding-top: 30px;
  text-transform: capitalize;
  max-width: 80%;
  margin: auto;
}

#booking-form-header h3 {
  text-align: center;
}

.booking-form {
  padding: 3px;
  width: 90%;
  max-width: 450px;
  border-radius: 10px;
  margin-bottom: 30px;
  margin-top: 20px;
  box-shadow: 5px 10px #888888;
  margin: auto;
}

.booking-form-flex {
  display: flex;
  flex-direction: column;
}


textarea {
  border-radius: 10px;
  padding: 4px;
  width: 90%;
}

#booking-submit-button {
  width: 80%;
  font-weight: bolder;
  transition: transform .5s;
  margin-top: 15px;
}

.booking-form input {
  padding: 5px;
  margin: 5px;
  border-radius: 10px;
}

.booking-form label {
  text-transform: capitalize;
  padding-top: 7px;
  padding-left: 7px;
  text-align: left;
  font-size: 1rem;
}

.booking-textarea {
  margin-top: 15px;
}

.booking-textarea textarea {
  font-family: 'Inter', sans-serif;
}

#booking-time input,
#booking-date input {
  font-family: 'Inter', sans-serif;
}

.email-text {
  text-align: center;
  margin-bottom: 20px;
}

.email-text a {
  color: #000;
  font-weight: 500;
  text-decoration: underline;
}


/*--------------------------------------------media quries*/

@media only screen and (max-width: 769px) {

  .menu-drink-image:hover,
  .menu-food-image:hover,
  .menu-sunday-image:hover {
    transform: scale(1.0);
  }

  .make-a-booking-button:hover {
    transform: scale(1.0);
  }

  .booking-form {
    box-shadow: none;
  }
}

@media only screen and (max-width: 680px) {
  .footer {
    justify-content: center;
  }

  .loyalty-signup {
    margin-top: 30px;
  }

  #reviews {
    display: flex;
    flex-direction: column;
  }

  #reviews div {
    width: 95%;
    height: 75px;
    justify-content: space-between;
    font-size: 0.8rem;
  }

  #reviews div p i {
    visibility: hidden;
  }

  #booking-options-container {
    flex-direction: column;
    justify-content: center;
  }

  #function-room-hire,
  #restaurant-hire {
    width: 98%;
    margin-bottom: 20px;
  }

  .menu-text-box {
    visibility: hidden;
    height: 0px;
  }

  #sign-up-section {
    flex-wrap: wrap-reverse;
  }

  .opening-times {
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 60px;
  }

  .loyalty-signup {
    width: 98%;
  }

  .page-header {
    width: 100%;
  }

  #gallery img {
    height: auto;
    width: 30%;
    margin: 2px;
  }
}

@media only screen and (max-width: 600px) {
  .opening-times {
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
  }
}


@media only screen and (max-width: 400px) {
  #award-logo img {
    width: 100%;
  }

  .menu-container {
    width: 100%;
  }

  .nav-link {
    padding: 10px;
    font-size: 1rem;
    letter-spacing: 0px;
    list-style-type: none;
  }

  header {
    padding-bottom: 5px;
  }
  .signup-form-container {
    width: 90%;
  }
  
  .menu-drink-image h2,
  .menu-food-image h2,
  .menu-sunday-image h2 {
    visibility: visible;
  }

  .menu-text-box {
    visibility: hidden;
    height: 0px;
  }

  footer {
    justify-content: center;
  }

  .signup-form-names {
    display: flex;
    flex-direction: column;
  }

  .signup-form-email-phone {
    display: flex;
    flex-direction: column;
  }

  #gallery img {
    height: auto;
    width: 48%;
    margin: 2px;
  }
}