/*
Project: ChopChop Restaurant
Author: Rilind Tasholli
Author URI: https://www.github.com/rilindtasholli/
Description: This project is developed as a final exam project for Web Development Practitioner Course on ICT for Kosovo's Growth lectured by Muharrem Smakiqi
Version: 1.0
Finished Date: 17-Jan-22
*/

/*------------------ contact Section ------------------*/

.contact-section {
  /* border: dashed 2px red; */
  height: 620px;
  position: relative;
}

.contact-parallax-background {
  background-image: url("../img/reservation-banner.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  position: absolute;
  width: 100%;
  height: 100%;
}

.section-content {
  position: absolute;
  top: 0;
  transform: translateY(80px);
}

.shadow-overlay-dark {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.726);
  position: absolute;
}

.contact-info {
  /* border: dashed 1px red; */
  padding: 35px 20px;
  width: 90%;
  margin: 15px;
  background-color: white;
}

.contact-info .title-dark {
  position: relative;
}
.contact-info .title-dark::after {
  content: "";
  bottom: -10px;
  left: 25%;
  width: 50%;
  border-bottom: solid 3px var(--primary);
  position: absolute;
}

.contact-info span {
  color: rgb(73, 73, 73);
  font-size: 15pt;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
}
.contact-info .info-item svg {
  margin: 5px;
}

.contact-apply {
  background-color: rgb(238, 235, 232);
  padding: 60px 0;
  width: 100%;
  max-width: 550px;
  transform: translate(-50px, -150px);
  box-shadow: 0px 0px 11px 2px rgba(0, 0, 0, 0.26);
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

form div {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 750px;
}

form input:not([type="submit"]),
form textarea {
  padding: 8px 11px;
  width: 100%;
  margin: 8px;
  border-radius: 8px;
  border: none;
  background-color: rgb(255, 255, 255);
}

form input:not([type="submit"]):focus,
form textarea:focus {
  outline: solid 2px var(--primary);
}

.contact-form .btn-main {
  margin-top: 30px;
}

.map {
  background-color: var(--primary);
}

/*---------------------- Media Queries ----------------------*/

/*tablet*/
@media screen and (max-width: 1000px) {
  .contact-section {
    height: unset;
    padding: 50px 0;
  }
  .contact-apply {
    background-color: rgb(238, 235, 232);
    padding: 60px 0;
    width: 100%;
    max-width: 550px;
    transform: unset;
  }
  .section-content {
    position: relative;
    transform: unset;
  }
}

/*middle of tablet and mobile*/
@media screen and (max-width: 750px) {
  .contact-info .title-dark {
    font-size: 20pt;
  }

  .contact-info span {
    font-size: 13pt;
  }
}

/*mobile*/
@media screen and (max-width: 500px) {
  .contact-info .info-item {
    flex-direction: column;
  }
}
