/*
========
FONTS
========
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&family=Roboto:wght@100;300;400;500;700;900&display=swap');

/*
===========
VARIABLES
===========
*/

:root {
  /* Fonts */
  --font-primary: 'Roboto', 'Open-Sans', sans-serif;

  /* Colors */
  --color-black: rgb(0, 0, 0);
  --color-gray-dark: rgb(168, 168, 168);
  --color-gray-light: rgb(221, 218, 218);
  --color-white: rgb(227, 225, 225);
  --color-red: rgb(234, 52, 52);
  --color-red-light: rgba(234, 52, 52, 0.6);

  /* Transitions */
  --transition-colors: all 0.8s linear;
  --transition-menu: all 0.25s ease-in-out;
  --transition-separator: all 1s ease-in-out;
  --transition-carousel: all 0.6s ease-out;
  --transition-image-shadow: all 0.1s ease-out;
  --transition-submit-button: all 0.16s linear;
  --transition-alert: all 0.4s ease-in-out;

  /* Transition delays */
  --transition-delay-welcome-section: 0.2s;

  /* Max width */
  --max-width: 1440px;

  /* Radius */
  --radius: 0.4rem;

  /* Shadows */
  --shadow-light-gray: 0 0 12px 0 rgba(0, 0, 0, 0.25);
  --shadow-bottom-light-gray: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
  --shadow-top-light-gray: 0 -5px 10px 0 rgba(0, 0, 0, 0.1);
  --shadow-button-red:
    0 3px 8px 0 var(--color-red-light),
    5px 3px 8px 0 var(--color-red-light),
    -5px 3px 8px 0 var(--color-red-light);
}

/*
========
STYLES
========
*/

/* GENERAL */

*,
*::after,
*::before {
  padding: 0;
  border: 0;
  margin: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
  visibility: hidden;
  width: 0;
  background: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 16px;
  background-color: var(--color-gray-light);
  color: var(--color-black);
}

body {
  width: 100vw;
  overflow-x: hidden;
  background-color: var(--color-white);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  /* height: 421000px; */
  padding: 0.4rem;
  margin: 0 auto;
  text-align: center;
  background-color: var(--color-black);
  transition: var(--transition-colors);
}

/* NAV */

.nav {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: var(--color-white);
  box-shadow: var(--shadow-bottom-light-gray);
}

.nav-center {
  width: 100vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-header {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-black);
}

.logo {
  height: 100%;
}

.logo-text {
  padding-left: 1rem;
}

.menu-toggle {
  height: 100%;
  padding: 0 1.2rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle img {
  height: 24px;
}

.links-container {
  height: 0;
  overflow: hidden;
  transition: var(--transition-menu);
  background-color: var(--color-white);
}

.links {
  list-style-type: none;
}

.section-link {
  display: block;
  font-weight: bold;
  color: var(--color-black);
  font-size: 1.1rem;
  text-align: center;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  cursor: pointer;
}

/* Change menu layout */
@media screen and (min-width: 780px) {
  .menu-toggle {
    display: none;
  }

  .nav-header {
    width: auto;
    border-bottom: none;
  }

  .links-container {
    height: auto !important;
    padding-right: 1.2rem;
  }

  .links,
  .nav-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.nav-spacer {
  width: 100vw;
  height: 70px;
  background: transparent;
}

/*
==============
SECTIONS
==============
*/

.section {
  width: 100%;
  text-align: center;
}

.section-center {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2.3rem;
  text-align: center;
  padding-bottom: 0.6rem;
}

.spacer {
  width: 95%;
  max-width: var(--max-width);
  margin: 2rem auto;
  height: 4px;
  border-radius: var(--radius);
  background-color: var(--color-red);
}

.spacer.inner {
  margin: 0.4rem auto;
}

/* Welcome Section */
.welcome-section {
  padding: 5rem 0;
}

.title {
  width: 95%;
  padding: 0 0.6rem;
  max-width: 600px;
  font-size: 2.35rem;
  text-align: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-black);
  margin: 0 auto;
  margin-bottom: 1rem;
}

.intro-container {
  width: 95%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0.6rem;
  font-size: 1.1rem;
}

.intro-container p {
  text-align: justify;
}

.intro-container p:first-child {
  padding-bottom: 0.4rem;
}

@media screen and (min-width: 500px) {
  .intro-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .intro-container p {
    width: 48%;
    padding: 0;
  }
}

/* Promotions Section */

.carousel-container {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.carousel {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  transition: var(--transition-carousel);
}

.carousel-content img {
  width: 100%;
  min-width: 100%;
  max-height: 600px;
  padding: 0 2rem;
  object-fit: contain;
  background: transparent;
}

/* Promo Overlay */

.promo-overlay {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 14000;
  background-color: rgba(0, 0, 0, 0.24);
}

.promo-image {
  width: 95%;
  max-width: 800px;
  max-height: 600px;
  object-fit: contain;
  background: transparent;
}


/* Services Section */

.services {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service {
  width: 100%;
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 80px;
}

.service-title {
  font-size: 1.5rem;
  padding-left: 0.8rem;
  text-align: left;
  flex: 1;
}

@media screen and (max-width: 350px) {
  .service-icon {
    width: 65px;
  }

  .service-title {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 800px) {
  .service {
    width: 48%;
  }

  .service:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service:nth-child(even) .service-title {
    padding-left: 0;
    padding-right: 0.8rem;
    text-align: right;
  }

  .service-title {
    font-size: 1.65rem;
  }
}

/* Premises Section */

.premises-section a,
.premises-section a:visited {
  text-decoration: none;
  color: var(--color-black);
  font-size: 1.25rem;
}

.premises-section a:hover {
  text-decoration: underline;
}

.contact-container {
  width: 95%;
  max-width: 500px;
  margin: 0 auto;
}

.contact-container h4 {
  font-size: 1.8rem;
  text-align: center;
  padding-bottom: 0.4rem;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.contact a {
  font-size: 1.4rem;
}

.premises {
  width: 100%;
  max-width: 1000px;
  padding-top: 1rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.premise {
  width: 100%;
  max-width: 400px;
  margin: 0.6rem auto;
  padding: 1.4rem 0.4rem 0 0.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-light-gray);
}

.premise h5 {
  font-size: 1.4rem;
  text-align: center;
}

.premise .details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.premise .opening-hours {
  padding: 0.6rem 0.4rem;
  text-align: center;
}

.premise .opening-hours h6 {
  font-size: 1.3rem;
  padding-bottom: 0.4rem;
}

.premise .opening-hours p {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  padding: 0 0.2rem;
  padding-bottom: 0.2rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 1.2rem;
}

.premise img {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  margin-top: 0.8rem;
  object-fit: cover;
}

@media screen and (min-width: 980px) {
  .premises {
    flex-direction: row;
    align-items: flex-start;
  }

  .premise {
    width: 32%;
  }

  .premise img {
    height: 220px;
  }
}

/* Sale */
.sale {
  width: 95%;
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  box-shadow: var(--shadow-light-gray);
}

.sale-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.sale-details {
  width: 100%;
  padding: 0.4rem;
}

.sale-title {
  font-size: 1.2rem;
  text-align: center;
}

.sale-desc {
  font-size: 1.1rem;
  text-align: center;
}

.sale-link,
.sale-link:visited {
  text-decoration: none;
  font-size: 1.4rem;
  color: var(--color-black);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-black);
  display: block;
  width: fit-content;
  margin: 0.8rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-button-red);
  transition: var(--transition-submit-button);
}

.sale-link:hover {
  box-shadow: none;
  transform: translateY(5px);
}

@media screen and (min-width: 600px) {
  .sale {
    flex-direction: row;
  }

  .sale-image {
    width: 70%;
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .sale-details {
    width: 30%;
  }
}

/* Tender Section */
.tender {
  padding-top: 1.2rem;
}

.tender p {
  width: 95%;
  max-width: 1100px;
  padding: 0.1rem 0;
  margin: 0 auto;
  color: var(--color-black);
  text-decoration: none;
}

.tender-primary {
  font-size: 1.25rem;
  font-weight: bold;
}

.tender-secondary {
  font-size: 1.12rem;
}

/* Tender Image */

.tender-image {
  position: absolute;
  top: 70px;
  right: 0;
  width: 160px;
}


/* Self Promo */

.promo {
  width: 100%;
  padding: 0.8rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--color-black);
  box-shadow: var(--shadow-top-light-gray);
}

.promo-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  text-align: center;
  color: var(--color-black);
}

.promo-text a,
.promo-text a:visited {
  text-decoration: none;
  color: var(--color-black);
}

.promo-text a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 400px) {
  .promo-text {
    font-size: 1.1rem;
  }
}


/* HIDE */

.hide {
  display: none;
  visibility: none;
}
