/**
Template: generatepress
Theme Name: Scarborough Surf
Version: 1.0
Author: Troy Emmerson
*/

.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-main .gallery, .page-header, .sidebar .widget, .site-main > * {
  margin-bottom: 0;
}

.one-container .site-content {
  padding: 0;
}

.one-container .site-main > :last-child, .separate-containers .site-main > :last-child {
  margin-bottom: unset;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.center {
  text-align: center;
}

header .inside-header {
  padding: 0 20px !important;
}


header .main-navigation a, header .main-navigation a:hover {
  font-size: 17px;
  color: #222 !important;
}

.btn {
  display: inline-block;
  padding: 5px 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  border: solid 2px #222;
  font-size: 16px;
  color: #222;
  text-decoration: unset;
  transition: 0.1s;
}

.btn:hover {
  background-color: #222;
  color: #fff;
}

footer .container {
  padding: 20px;
  font-size: 15px;
}

/* Home */

.hero {
  background-image: url('https://scarboroughsurf.co.za/wp-content/uploads/2025/03/Screenshot-2025-03-04-at-07.33.12.jpg');
  background-position: 50% 40%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 20px 250px;
}

.hero .content h1 {
  font-size: 58px;
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  font-weight: 500;
  color: #243450;
}

.hero .content p {
  font-size: 18px;
  margin-bottom: 2rem;
  color: #243450;
}

.hero .btn {
  color: #fff;
  background-color: #243450;
  border-color: #243450;
  width: 250px;
  text-align: center;
}

.hero .btn:hover {
  opacity: 0.8;
}

.gallery .flex {
  justify-content: space-between;
  margin: 120px auto;
}

.gallery img {
  width: 100%;
  max-width: 32.5%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.intro .flex {
  align-items: center;
  margin-bottom: 120px;
}

.intro .content {
  width: 100%;
  max-width: 40%;
  margin-right: 10%;
}

.intro .content h2 {
  font-size: 50px;
  margin-bottom: 3rem;
}

.intro img {
  width: 100%;
  display: block;
  max-width: 50%;
  height: 600px;
  object-fit: cover;
}

.offering h2 {
  font-size: 50px;
  margin-bottom: 3rem;
}

.offering .flex {
  justify-content: space-between;
  margin-bottom: 100px;
}

.offering .col {
  width: 100%;
  max-width: 32%;
}

.offering .col img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.offering .col h3 {
  font-size: 25px;
  font-weight: 500;
}

.offering .col p {
  font-size: 16px;
}

.offering .col .btn {
  font-size: 15px;
}

.offering .content {
  padding: 30px 15px;
}

.about .flex:not(.images) {
  align-items: center;
  margin-bottom: 120px;
}

.about .content {
  width: 100%;
  max-width: 43%;
  margin-left: 5%;
}

.about .images {
  width: 100%;
  max-width: 52%;
}

.about .content h2 {
  font-size: 50px;
  margin-bottom: 2rem;
}

.about .images {
  align-items: center;
}

.about .images img {
  width: 100%;
  display: block;
  position: relative;
}

.about .images img:first-child {
  max-width: 64%;
  left: 4%;
}

.about .images img:nth-child(2) {
  max-width: 30%;
  margin-left: auto;
}

.about .images img:nth-child(3) {
  max-width: 28%;
}

.about .images img:nth-child(4) {
  max-width: 60%;
  margin-left: 3%;
}

.about .images img:nth-child(5) {
  max-width: 45%;
  margin-left: 10%;
  top: 5px;
}

.about .images img:nth-child(6) {
  max-width: 38%;
  margin-left: 5%;
}

/* 404 */

.error-page {
  padding: 120px 20px 120px;
}

.error-page h1 {
  font-size: 100px;
  font-weight: 500;
  letter-spacing: 2px;
}

.error-page p {
  font-size: 20px;
}

/* Contact */

.contact h1 {
  font-size: 50px;
  margin: 2rem 0;
}

.contact .flex {
  margin: 100px auto;
  max-width: 1200px;
}

.contact .details {
  width: 40%;
  margin-right: 10%;
  padding-top: 20px;
}

.contact .poster {
  width: 40%;
  margin-left: auto;
}

.contact h2 {
  font-size: 32px;
}

.contact h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 30px 0 15px;
}

.contact .details a {
  display: block;
  color: #444;
  text-decoration: unset;
  margin-bottom: 5px;
  max-width: max-content;
}

.contact .wpforms-container {
  margin: 0 !important;
}

.contact .socials a {
  display: inline-block;
  margin-right: 7px;
}

.contact .wpforms-submit {
  background-color: #fff !important;
  color: #222 !important;
  border: solid 2px #222 !important;
  padding: 5px 25px !important;
  display: inline-block !important;
  font-weight: 400 !important;
  border-radius: 4px !important;
  transition: 0.1s !important;
  line-height: 1.5 !important;
  height: unset !important;
}

.contact .wpforms-submit:hover {
  background-color: #222 !important;
  color: #fff !important;
}

.contact .wpforms-submit:after {
  display: none !important;
}

.contact .wpforms-container .wpforms-field, .contact .wp-core-ui div.wpforms-container .wpforms-field {
  padding: 10px 0;
}

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

  .has-inline-mobile-toggle #site-navigation.toggled {
    margin: 1em;
  }

  .about .flex:not(.images) {
    margin-bottom: 30px;
  }

  .about .images {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .main-navigation .main-nav ul li a {
    text-align: center;
    line-height: 2.5;
  }

  .hero .content h1 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  header #site-navigation {
    background-color: transparent !important;
  }

  header button.menu-toggle {
    line-height: 1;
    padding: 20px 0;
    background-color: transparent !important;
    font-size: 20px;
  }

  .hero .content p {
    font-size: 16px;
    margin-bottom: 2rem;
  }

  .hero .content {
    padding: 60px 20px 100px;
  }

  .gallery .flex {
    margin: 50px auto 40px;
    padding: 0 10px;
  }

  .gallery img {
    aspect-ratio: 3/5;
  }

  .intro .content {
    margin-right: 0;
    max-width: 100%;
    margin-bottom: 20px;
  }

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

  .intro .content h2, .offering h2 {
    font-size: 38px;
    margin-bottom: 2rem;
  }

  .offering h2 {
    text-align: center;
  }

  .offering .col {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .intro .flex:not(.images) {
    margin-bottom: 80px;
  }

  .about .content {
    max-width: 100%;
    margin-left: 0;
  }

  .intro .content h2, .about .content h2 {
    font-size: 38px;
    margin-bottom: 1.5rem;
  }

  .offering .flex {
    margin-bottom: 40px;
  }

  .contact h1 {
    font-size: 38px;
  }

  .contact .flex {
    margin: 60px auto;
  }

  .contact .details {
    width: 100%;
    padding-top: 0;
    margin-right: 0;
    order: 2;
  }

  .contact .poster {
    width: 100%;
    order: 1;
    margin-bottom: 3rem;
  }

  .contact h2 {
    font-size: 28px;
  }

  .contact p {
    font-size: 16px;
  }

  .form div.wpforms-container-full input {
    height: 38px !important;
  }

  .contact form legend, .contact form label {
    font-size: 15px !important;
  }

	.hero {
	  background-position: 38% 37%;
	  background-size: 1150px;
	}

}
