@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

/* Root Variables */
:root {
  --main-bg-color: #231F20;
  --buttons-color: #996a03;
  --buttons-hover-color: red;
  --a-hover-color: orange;
  --text-color: #fff;
  --strong-text-color: #fff;
  --headings-color: #cecbcb;
  --hero-overlay-color: #000000c0;
  --article-overlay-color: #231f20bd;
  --article-darker-color: #141414;
  --article-lighter-color: #1a1a1a;
  --accent-color: #f7b34d;

}

/* Basic Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  background: var(--main-bg-color);
  color: var(--text-color);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15pt;
  line-height: 1.6em;
}

h1,
h2,
h3 {
  color: var(--headings-color);
  font-weight: 400;
}

h1 strong,
h2 strong,
h3 strong {
  color: var(--strong-text-color);
  font-weight: 600;
}

p {
  color: var(--text-color);
  margin-bottom: 1em;
  text-align: justify;
}

a {
  color: inherit;
  text-decoration: none;
  /*border-bottom: 1px solid rgba(255,255,255,0.15);*/
  transition: 0.3s;
}

a:hover {
  color: var(--a-hover-color);
  border-bottom-color: transparent;
}

/* Wrapper Sections */
section {
  margin-bottom: 3em;
}



/* Hero section */

body.homepage #hero {
  height: 100vh;
  min-height: 80vh;
}


body.homepage #hero:after {
  content: '';
  background: #1C0920;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -moz-transition: opacity 2.5s ease-in-out;
  -webkit-transition: opacity 2.5s ease-in-out;
  -ms-transition: opacity 2.5s ease-in-out;
  transition: opacity 2.5s ease-in-out;
  -moz-transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  -ms-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

body.homepage.is-preload #hero:after {
  opacity: 1;
}


/* Header Section */
#hero .button {
  display: inline-block;
  border-radius: 100%;
  width: 7em;
  height: 7em;
  line-height: 7em;
  text-align: center;
  font-size: 1.25em;
  padding: 0;
}


#hero hr:before,
#hero hr:after {
  background: rgba(192, 192, 192, 0.35);
}

#hero {
  position: relative;
  background-image: linear-gradient(var(--hero-overlay-color), var(--hero-overlay-color)), url("../../assets/images/index_hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  text-align: center;
  color: #fff;
  padding: 8em 0 2em 0;
}

#hero.no-background {
  background-image: none !important;
}

#hero .inner {
  position: relative;
  z-index: 1;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  height: 100%;

}


#hero h1 {
  font-size: 8em;
  line-height: 1.2em;
}

#hero h1 a {
  color: #fff;
  font-size: clamp(1em, 1em, 1em);
}

#hero p {
  font-size: 2.25em;
  margin: 0.5em 0 1em 0;
  text-align: center;
}

#hero hr {
  margin: 1em auto 2em auto;
  width: 50%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);

}

#hero .contact-button-wrapper {
  margin-top: auto;

}

#hero .button.circled {
  display: inline-block;

  border-radius: 100%;
  width: 7em;
  height: 7em;
  line-height: 7em;
  text-align: center;
  font-size: 1.25em;
  color: #fff;
  background: var(--buttons-color);
  transition: background-color 0.35s;
}

#hero .button.circled:hover {
  background: var(--buttons-hover-color);
}

#banner {
  background: linear-gradient(to bottom,
      #1c1a1b,
      #231f20);
  text-align: center;
  padding: 6em 2em;
}

#banner header {
  max-width: 900px;
  margin: 0 auto;
}

/* Headline */
#banner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 1.2em;

  font-weight: 600;
  letter-spacing: 0.3px;

  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

/* highlight the strong word */
#banner h2 strong {
  color: orange;
  font-weight: 700;
}

/* Paragraph */
#banner p {
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto;

  opacity: 0.9;
}

#banner h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: orange;
  margin: 1.2rem auto 0;
  border-radius: 10px;
}



/* Buttons */
.button {
  display: inline-block;
  background: var(--buttons-color);
  color: #fff;
  border-radius: 0.5em;
  padding: 0.65em 2em;
  cursor: pointer;
  transition: background-color 0.35s;
}

.button:hover {
  background: var(--buttons-hover-color);
}

/* Section Headings */
body.homepage section h2 {
  color: #ffb400;
  text-align: center;
  font-size: 2rem;
  position: relative;
  margin-bottom: 1em;
}

body.homepage section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5em;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transform: translateX(-50%);
}

/* Paragraphs */
body.homepage section p {
  max-width: 850px;
  margin: 0 auto;
  color: #ccc;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.8;
}

/* Lists */
body.homepage ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  text-align: center;
  color: #bbb;
}

body.homepage ul li {
  margin-bottom: 30px;
  font-size: 1.5rem;
}

body.homepage ul li strong {
  color: #ffb400;
}


/* Footer Wrapper */
#footerWrapper {
  background: #2b252c;
  color: #fff;
  text-align: center;
  padding: 4em 2em;
}

/* Fade Effects */
.fadeInScroll {
  opacity: 0;
  transform: translateY(30vh);
  transition: all 1s;
}

.fadeInScroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.fadeInOpacity {
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}

.fadeInOpacity.visible {
  opacity: 1;
}

#content {
  background: linear-gradient(to bottom, #262223, #1f1c1d);
  padding: 7em 2em 5em;
}

/* every section inside content floats */
#content>section {
  background: rgba(40, 36, 37, 0.95);
  border-radius: 22px;
  padding: 4em 2.5em;
  margin: 0 auto 5em;
  max-width: 1400px;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  transition: transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* subtle hover lift */
#content>section:hover {
  transform: translateY(-6px);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


#content>section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 165, 0, 0.08);
}

#content::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom right,
      transparent 49%,
      #2a2627 50%);
}

.section-intro {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
  color: var(--headings-color);
  position: relative;
}

/* orange accent underline */
.section-intro::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 1rem auto 0;
  background: linear-gradient(to right,
      rgb(218, 190, 138),
      #ffcc66);

  border-radius: 6px;
}

.section-intro {
  width: 100%;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
  color: var(--headings-color);
  position: relative;
}

/* flex layouts */
.cards .section-intro,
.cards-container .section-intro {
  flex-basis: 100%;
}

/* grid layouts */
.cards-wrapper .section-intro {
  grid-column: 1 / -1;
}

.text-highlight {
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  background: linear-gradient(120deg,
      rgba(255, 165, 0, 0.35),
      rgba(255, 200, 80, 0.55));

  padding: 0.15em 0.35em;
  border-radius: 0.35em;
  box-shadow:
    0 0 12px rgba(255, 165, 0, 0.35),
    inset 0 0 0 1px rgba(255, 200, 80, 0.4);
}

.contact-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 4em;
  max-width: 700px;
}

.contact-col {
  line-height: 1.6;
}


/* ===============================
   MOBILE OPTIMIZATION
   =============================== */
@media (max-width: 1000px) {

  body {
    font-size: 16pt;
  }

  /* HERO HEADER */
  body.homepage #hero {
    min-height: 100vh;

    padding: 6em 1.5em 3em;
  }

  body.homepage #hero h1 {
    font-size: clamp(1rem, 12vw, 50vw);
  }

  body.homepage #hero p {
    line-height: 1.5;
    font-size: clamp(1rem, 5vw, 40vw);
  }



  /* Disable parallax on mobile */

  /* Smaller button */
  #hero .button.circled {

    font-size: 0.95em;
  }

  /* BANNER */
  #banner {
    padding: 4em 1.5em;
  }

  #banner h2 {
    font-size: 2rem;
  }

  #banner p {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* CONTENT */
  #content {
    padding: 1em 1.2em 2em;
  }

  #content>section {
    padding: 2.5em 1.8em;
    margin-bottom: 3em;
  }

  #content>section:hover {
    transform: none;
  }

  /* SECTION TITLES */
  .section-intro {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .section-intro::after {
    width: 60px;
  }

  /* text highlight softer */
  .text-highlight {
    box-shadow: none;
  }

  /* contact */
  .contact-index {
    grid-template-columns: 1fr;
  }

}

/* ===============================
   MOBILE FIX PATCH
   =============================== */
@media (max-width: 600px) {

  /* -----------------
     HERO
  ------------------ */

  body.homepage #hero {
    min-height: 100svh;
    /* better mobile vh */
    padding: 5em 1.2em 3em;
    background-attachment: scroll;
  }

  #hero .inner {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.homepage #hero h1 {
    font-size: clamp(2.6rem, 8vw, 3.2rem);
  }

  #hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
  }

  #hero hr {
    width: 80%;
  }

  #hero .button.circled {
    width: 8em;
    height: 8em;
    line-height: 8em;
    font-size: 0.9rem;
  }

  /* -----------------
     BANNER
  ------------------ */

  #banner header {
    max-width: 100%;
  }

  #banner p {
    text-align: center;
  }

  /* -----------------
     CONTENT LAYOUT FIX
  ------------------ */

  #content {
    padding: 1.5em 1em 2em;
    position: relative;
  }

  #content>section {
    padding: 2em 1.5em;
    border-radius: 18px;
    position: relative;
    /* IMPORTANT for ::before */
  }

  #content::before {
    display: none;
  }

  #content>section::before {
    display: none;
  }

  /* -----------------
     CARD SECTION
  ------------------ */

  .cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
  }

  .card {
    width: 100%;
  }

  .container-card {
    border-radius: 18px;
  }

  .card-title h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  /* -----------------
     FOOTER
  ------------------ */

  #footerWrapper {
    padding: 3em 1.2em;
  }
}