/*
Theme Name: Shabaily Theme
Author: Matthew Shabaily
Version: 5.0
*/

/* ============ Root ============ */

:root {
  --primary: #a93535;
}

/* ============ Globals ============ */

html {
  overflow-x: hidden;
}

body {
  position: relative;
  overflow: hidden;
  font-family: "League Spartan";
}

html.no-scroll {
  overflow: hidden;
}

/* ============ Containers ============ */

.flex-row {
  display: flex;
}

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

.grid {
  display: grid;
}

/* ============ Scrollbar ============ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ============ Effects ============ */

.light-effect {
  cursor: pointer;
  transition: filter 02s;
}

.pan-effect {
  cursor: pointer;
  transition: transform 0.2s;
}

.dim-effect {
  cursor: pointer;
  transition: opacity 0.2s;
}

.dim-effect:hover {
  opacity: 0.6;
}

.pan-effect:hover {
  transform: translate(1px);
}

.light-effect:hover {
  filter: brightness(1.2);
}

/* ============ Utils ============ */

.background {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
  object-position: center;
}

.hidden {
  opacity: 0;
  z-index: -1 !important;
}

/* ============ Text ============ */

h1 {
  font-size: 45px;
  font-weight: 500;
}

h2 {
  font-size: 45px;
  font-weight: 500;
}

h3 {
  font-size: 35px;
  font-weight: 500;
}

p {
  font-size: 20px;
  font-weight: 300;
}

p strong {
  font-weight: 500;
}

ul {
}

/* ============ CTAs ============ */

.cta {
  position: relative;
  background-color: white;
  width: 400px;
  height: 50px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
  margin-left: 20px;
}

.cta::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  height: 100%;
  width: 50px;
  background: var(--primary);
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}

.cta:hover {
  transform: translateX(2px);
  opacity: 0.6;
}

.cta p {
  width: fit-content;
  margin-right: 10px;
}

/* ============ 404 ============ */

.error-404 {
  align-items: center;
  height: 500px;
}

.error-404 .text {
  width: 85%;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 50px;
  height: 100%;
}

.error-404 .text h1 {
  color: var(--primary);
  font-size: 100px;
}

/* ============ Navigation ============ */

.main-nav a {
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.6;
}

/* ============ Header ============ */

header {
  align-items: center;
  padding-block: 20px;
}

header .wrapper {
  justify-content: space-between;
  width: 90%;
  align-items: center;
}

header #menu-primary {
  gap: 50px;
}

header #menu-primary a {
  font-size: 18px;
}

header .logo {
  width: 300px;
  height: auto;
}

header .logo img {
  width: 300px;
  height: auto;
}

#burger {
  display: none;
  position: absolute;
  right: 50px;
  top: 25px;
  flex-direction: column;
  justify-content: space-evenly;
  height: 50px;
  width: 50px;
  cursor: pointer;
}

#burger rect {
  display: block;
  width: 100%;
  height: 10%;
  border-radius: 100px;
  background-color: black;
  transition: transform 0.5s;
}

#burger.rotated rect:nth-child(1) {
  transform: translate(0, 270%) rotate(45deg);
}

#burger.rotated rect:nth-child(2) {
  opacity: 0;
}

#burger.rotated rect:nth-child(3) {
  transform: translate(0, -260%) rotate(-45deg);
}

.burger-menu {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: black;
}

.burger-menu.open .main-nav {
  position: absolute;
  left: 50%;
  top: 50px;
  transform: translateX(-50%);
  display: block;
  width: 90%;
}

.burger-menu.open .main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.burger-menu.open .main-nav ul a {
  font-size: 35px;
  color: white;
}

.burger-menu.open .contact-details {
  position: absolute;
  bottom: 200px;
  gap: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

.burger-menu.open .contact-detail img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2904%)
    hue-rotate(201deg) brightness(101%) contrast(100%);
  width: 35px;
  height: 35px;
}

/* ============ Title ============ */

.page-title {
  width: 100%;
  place-items: center;
  background-color: var(--primary);
  padding-block: 35px;
  color: white;
}

/* ============ Home Banner ============ */

.home .banner {
  background-color: var(--primary);
  margin-bottom: 50px;
}

.home .banner .cta {
  margin-left: 0;
}

.home .banner .cta p {
  margin-right: 20px;
}

.home .banner .main-image {
  width: 50%;
  object-fit: cover;
}

.home .banner .container {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
}

.home .banner .text {
  padding-block: 50px;
  align-items: center;
  text-align: center;
  width: 70%;
  gap: 40px;
}

.home .banner .text p {
  width: 70%;
  color: white;
  font-size: 25px;
}

.home .banner .text h2 {
  color: white;
}

.home .banner .text .cta p {
  color: black;
  font-size: 20px;
}

.home .banner .text .logo {
  width: 430px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2904%)
    hue-rotate(201deg) brightness(101%) contrast(100%);
}

/* ============ Home Services ============ */

.home .services {
  align-items: center;
  background: var(--primary);
  padding-block: 40px;
}

.home .services .wrapper {
  width: 90%;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 150px;
  row-gap: 50px;
}

.home .services .service {
  align-items: center;
  text-align: center;
  gap: 15px;
}

.home .services .service * {
  color: white;
}

/* ============ Home Showreels ============ */

.showreel .wrapper {
  position: relative;
  align-items: center;
  justify-content: center;
  padding-block: 120px;
  margin-top: -5px;
  border-bottom: 50px solid var(--primary);
}

.showreel .text h2 {
  margin-bottom: 20px;
}

.showreel .text {
  width: 40%;
  text-align: center;
  align-items: center;
  gap: 15px;
}

.showreel .cta {
  background: var(--primary);
  color: white;
  margin-top: 20px;
}

.showreel .cta::after {
  background: white;
}

.showreel video {
  height: 500px;
  width: 100%;
  object-fit: contain;
  background: black;
  object-position: center;
}

.showreel .border {
  position: absolute;
  height: 100%;
  width: 50px;
  background: var(--primary);
}

.showreel .border::before,
.showreel .border::after {
  clip-path: polygon(0 1%, 0% 100%, 100% 100%);
  width: 70px;
  height: 120px;
  content: "";
  position: absolute;
  background: var(--primary);
}

.showreel .border.left {
  left: 0;
}

.showreel .border.left::before {
  transform: scaleX(-1) rotate(180deg);
  top: 0;
  left: 0;
}

.showreel .border.left::after {
  bottom: -1px;
  left: 0;
}

.showreel .border.right {
  right: 0;
}

.showreel .border.right::before {
  top: 0;
  right: 0;
  transform: rotate(180deg);
}

.showreel .border.right::after {
  bottom: 0;
  right: 0;
  transform: scaleX(-1);
}

/* ============ Home Reviews ============ */

.reviews {
  align-items: center;
  padding-block: 35px;
  background-color: var(--primary);
  margin-block: 50px;
  margin-top: -20px;
  padding-bottom: 60px;
  position: relative;
}

.reviews .wrapper {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 100px;
  width: 90%;
}

.reviews .review {
  width: 95%;
  text-align: center;
  gap: 10px;
}

.reviews .review * {
  color: white;
}

.text-section .text {
  width: 50%;
}

.text-section .text h2 {
  margin-bottom: 20px;
}

.text-section .contact-details {
  margin-top: 20px;
}

.text-section .cta {
  margin-top: 20px;
}

/* ============ Text Section ============ */

.text-section {
  align-items: center;
  position: relative;
  padding-block: 50px;
}

.text-section .wrapper.image-right {
  flex-direction: row-reverse;
}

.text-section .wrapper {
  width: 75%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 75px;
}

.text-section .main-image {
  width: 500px;
  height: 400px;
  border-radius: 5px;
  object-fit: cover;
}

.text-section .contact-details {
  justify-content: start;
  gap: 50px;
  align-items: end;
}

.text-section .contact-detail {
  width: 35px;
  height: 35px;
}

.text-section .contact-detail img {
  width: 35px;
  height: 35px;
}

.text-section .cta.link {
  width: 250px;
  background: var(--primary);
  color: white;
  margin-left: 0;
}

.text-section .cta.link p {
  margin-right: 20px;
}

.text-section .cta.link::after {
  background: white;
}

.text-section .text {
  width: 45%;
  gap: 20px;
}

.text-section:has(+ footer) .border {
  display: none;
}

.text-section:not(:has(+ footer)) {
  margin-bottom: 100px;
}

.text-section .border.top {
  content: "";
  position: absolute;
  left: 0;
  bottom: -25px;
  width: 100vw;
  background-color: var(--primary);
  height: 25px;
}

.text-section .border.bottom {
  content: "";
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 100vw;
  background-color: var(--primary);
  height: 25px;
}

.text-section .border.top::before {
  clip-path: polygon(0 1%, 0% 100%, 100% 100%);
  width: 70px;
  height: 120px;
  content: "";
  position: absolute;
  top: -119px;
  background: var(--primary);
  left: 0;
}

.text-section .border.top::after {
  clip-path: polygon(0 1%, 0% 100%, 100% 100%);
  width: 70px;
  height: 120px;
  content: "";
  position: absolute;
  top: -120px;
  right: 0;
  background: var(--primary);
  transform: scaleX(-1);
}

.text-section .border.bottom::before {
  clip-path: polygon(0 1%, 0% 100%, 100% 100%);
  width: 70px;
  height: 120px;
  content: "";
  position: absolute;
  bottom: -120px;
  background: var(--primary);
  left: 0;
  transform: scaleX(-1) rotate(180deg);
}

.text-section .border.bottom::after {
  clip-path: polygon(0 1%, 0% 100%, 100% 100%);
  width: 70px;
  height: 120px;
  content: "";
  position: absolute;
  bottom: -120px;
  right: 0;
  background: var(--primary);
  transform: rotate(180deg);
}

/* ============ Home News ============ */

.home .news {
  align-items: center;
  margin-block: 50px;
  margin-bottom: 150px;
}

.home .news .wrapper {
  width: 81%;
}

.home .news .article {
  display: flex !important;
  align-items: center;
}

.home .news .article .text > p:not(:has(strong)) {
  width: 85%;
  margin-top: 15px;
}

.home .news .article img {
  height: 380px;
  width: 380px;
  object-fit: cover;
  border-radius: 5px;
}

.home .news .title {
  text-align: center;
  margin-block: 50px;
}

.home .news .article .cta {
  background: var(--primary);
  color: white;
  width: 250px;
}

.home .news .article .cta::after {
  background: white;
}

.home .news .article .text {
  align-items: center;
  text-align: center;
  margin-top: 20px;
  width: 80%;
}

.home .news .article .text .cta {
  margin-top: 20px;
}

.home .news .slick-arrow {
  position: absolute;
  z-index: 100;
  top: 35%;
}

.home .news .slick-arrow.left {
  left: -100px;
  transform: translate(-50%) rotate(180deg);
}

.home .news .slick-arrow.right {
  right: -100px;
  transform: translate(-50%);
}

/* ============ My Work ============ */

.photoshoots {
  align-items: center;
}

.photoshoots .wrapper {
  grid-template-columns: repeat(3, 1fr);
  margin-block: 50px;
  place-items: center;
  row-gap: 25px;
  width: 94%;
}

.photoshoots .photoshoot {
  position: relative;
  width: 550px;
  height: 300px;
}

.photoshoot .thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photoshoot .filter {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: black;
  opacity: 0.2;
}

.photoshoot .title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  z-index: 3;
  color: white;
  font-size: 35px;
}

/* ============ What's New ============ */

.whats-new {
  align-items: center;
}

.whats-new .articles {
  width: 85%;
  gap: 50px;
  margin-block: 50px;
}

.whats-new .article {
  align-items: center;
  justify-content: space-between;
  height: 300px;
}

.whats-new .article .main-image {
  width: 800px;
  height: 270px;
  object-fit: cover;
  border-radius: 5px;
  transform: scale(1.1);
  z-index: 10;
}

.whats-new .article .text-container {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  width: 800px;
  height: 250px;
  background-color: var(--primary);
}

.whats-new .article .text-container::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  height: 100%;
  width: 50px;
  background: var(--primary);
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
  background: white;
}

.whats-new .article .text-container .text {
  width: 40%;
  gap: 20px;
  color: white;
  align-items: center;
}

.whats-new .article .cta {
  width: 300px;
  color: black;
}

.whats-new .contact-details {
  gap: 50px;
}

.whats-new .contact-detail {
  width: 35px;
  height: 35px;
}

.whats-new .contact-detail img {
  width: 35px;
  height: 35px;
}

/* ============ Services ============ */

.banner-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 50px;
}

/* ============ Enquire ============ */

.services-enquires .services {
  align-items: center;
}

.services-enquires .services .grid {
  width: 85%;
  grid-template-columns: repeat(3, 1fr);
  margin-block: 50px;
}

.services-enquires .services .service .main-image {
  width: 85%;
  height: 450px;
  object-fit: cover;
}

.services-enquires .services .service {
  align-items: center;
}

.services-enquires .services .service .text {
  align-items: center;
  text-align: center;
  gap: 25px;
  margin-block: 10px;
  width: 70%;
  margin-top: 30px;
}

.contact {
  margin-block: 50px;
  height: 550px;
}

.contact .text-container {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--primary);
  width: 43%;
}

.contact .text-container::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 71px;
  height: 100%;
  background-color: white;
  clip-path: polygon(0 67%, 0 29%, 100% 0, 100% 100%);
}

.contact .text-container::before {
  clip-path: polygon(0 1%, 0% 100%, 100% 100%);
  width: 70px;
  height: 120px;
  content: "";
  position: absolute;
  left: 0;
  top: -120px;
  background: var(--primary);
}

.contact .text-container .text {
  width: 51%;
  gap: 25px;
  margin-left: 70px;
}

.contact .text .contact-details {
  margin-top: 30px;
  gap: 30px;
}

.contact .text .contact-detail {
  width: 35px;
  height: 35px;
}

.contact .text .contact-detail img {
  width: 35px;
  height: 35px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2904%)
    hue-rotate(201deg) brightness(101%) contrast(100%);
}

.contact .text-container .text * {
  color: white;
}

.contact .text-container h2 {
  margin-bottom: 30px;
}

.contact .form {
  position: relative;
  width: 40%;
  margin-left: 7%;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .form #price {
  position: absolute;
  bottom: 108px;
  font-size: 18px;
  left: 0;
}

.contact .form #price strong {
  color: var(--primary);
}

/* ============ Gravity Forms ============ */

.gform_wrapper input {
  border: none;
  border-bottom: 1px solid black;
  font-family: "League Spartan";
  height: 60px !important;
}

.gform_wrapper textarea {
  font-family: "League Spartan" !important;
  border: none;
  border-bottom: 1px solid black;
  height: 150px !important;
}

.gform_wrapper option {
  font-family: "League Spartan" !important;
}

.gform_wrapper select {
  font-family: "League Spartan" !important;
  height: 60px !important;
}

.gform_wrapper .cta {
  background: var(--primary);
  color: white;
  width: 250px;
  margin-top: 25px !important;
  margin-left: 0;
}

.gform_wrapper .cta::after {
  background: white;
}

.gform_wrapper.gravity-theme .gform_fields {
  grid-row-gap: 20px !important;
}

/* ============ Photoshoots ============ */

.photoshoot-page {
  align-items: center;
}

.gallery {
  grid-template-columns: repeat(4, 1fr);
  row-gap: 25px;
  width: 90%;
  margin-block: 50px;
}

.gallery .image {
  width: 94%;
  height: 500px;
}

.gallery .image img {
  height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.gallery .image.wide {
  width: 96%;
  grid-column: span 2;
}

/* ============ Archive ============ */

.archive-text {
  align-items: center;
  margin-bottom: 75px;
}

.archive-text .text {
  width: 500px;
  gap: 15px;
  text-align: center;
  align-items: center;
}

.archive-text .text .cta {
  background-color: var(--primary);
  color: white;
  width: 250px;
  margin-top: 15px;
}

.archive-text .text .cta::after {
  background-color: white;
}

/* ============ Contact Details ============ */

.contact-detail {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
}

.contact-detail img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* ============ Article ============ */

.article-page {
  align-items: center;
  margin-bottom: 50px;
}

.article-page .wrapper {
  width: 80%;
  justify-content: space-between;
  margin-block: 50px;
}

.article-page .main-image {
  width: 700px;
  height: 600px;
  border-radius: 5px;
  object-fit: cover;
}

.article-page .cta {
  width: 250px;
  background: var(--primary);
  color: white;
  margin-left: 0;
}

.article-page .cta p {
  margin-right: 20px;
}

.article-page .cta::after {
  background: white;
}

.article-page .text {
  gap: 40px;
  width: 45%;
  margin-top: 100px;
}

.article-page .text .title {
  margin-bottom: 50px;
}
/* ============ Footer ============ */

footer {
  align-items: center;
}

footer .wrapper {
  align-items: center;
  gap: 20px;
  width: 100%;
}

footer .top {
  width: 100%;
  align-items: center;
  padding-block: 15px;
  background-color: var(--primary);
}

footer .main-nav {
  width: 80%;
}

footer .main-nav ul {
  display: flex;
  justify-content: space-between;
}

footer .main-nav a {
  color: white;
}

footer .bottom {
  width: 90%;
  justify-content: space-between;
  margin-bottom: 15px;
}

footer .contact-details {
  justify-content: end;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

footer .logo {
  width: 300px;
  height: auto;
}

footer .logo img {
  width: 300px;
  height: auto;
}

footer .legal {
  gap: 20px;
}

footer .legal p {
  font-size: 15px;
  font-weight: 400;
}

footer .legal a {
  font-size: 15px;
  font-weight: 400;
}
