:root {

  --primary: rgb(233, 192, 12);
  --accent-muted: rgb(241, 241, 241);
  --border-light: rgb(226, 226, 226);
  --tmg: rgb(255, 102, 27);

  --text-color-main: rgb(0, 0, 0);
  --text-color-secondary: rgb(100, 100, 100);
  --text-color-muted: rgb(200, 200, 200);
  --tmg-text-body: rgb(201, 201, 201);

  --box-color-light: rgb(245, 245, 245);


}


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

body {
  font-family: 'Inter', sans-serif;
  height: 100%;
}

section {
  display: flex;
  flex-direction: column;
  height: 70%;
  padding: 6rem 4rem;
  gap: 2rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

article {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 2rem;
  border: 1px solid var(--border-light);
  border-radius: .375rem;
  flex: 1;
}

/* ---------------------- TEXT --------------------- */

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
}

h1 {
  font-size: 3.2rem;
  font-weight: 400;
}

h2 {
  font-size: 2.75rem;
  font-weight: 500;
}

h3 {
  font-size: 1.9rem;
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

h5 {
  font-size: 1rem;
  font-weight: 500;
}

.p1 {
  font-size: 1.2rem;
  color: var(--text-color-secondary);
}

.p2 {
  font-size: 1rem;
  color: var(--text-color-secondary);
}

.p3 {
  font-size: 0.9rem;
  color: var(--text-color-muted);
}



/* ---------------------- BUTTONS --------------------- */

button {
  background-color: var(--primary);
  font-size: 1rem;
  max-width: 16rem;
  min-width: 8rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background-color: black;
  transition: left 0.3s ease;
  transform: skewX(-30deg);
  transform-origin: bottom right;
  z-index: 1;
}

button:hover::before {
  left: -20%;
  width: 120%;
}

button.primary {
  background-color: var(--primary);
  color: var(--text-color-main);
}

button.primary:hover {
  color: white;
}

button.secondary {
  background-color: black;
  color: white;
}

button.secondary:hover {
  color: black;
}

button.secondary::before {
  background-color: var(--primary);
}

button.tertiary {
  background-color: white;
  border: 1px solid var(--border-light);
  padding: .75rem 2rem;
}

button.tertiary::before {
  background-color: var(--accent-muted);
}

button.tmg-btn {
  background-color: var(--tmg);
}

button.tmg-btn::before {
  background-color: gray;
}

button.admin-btn {
  font-size: .75rem;
  color: var(--text-color-muted);
  background-color: white;
  border: 1px solid var(--border-light);
  width: fit-content;
  padding: 0.5rem 1rem;
  height: 3rem;
}

button.admin-btn::before {
  background-color: var(--accent-muted);
}

button.admin-btn span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

button.admin-btn svg {
  height: 1rem;
  width: 1rem;
  color: var(--text-color-muted);
  stroke: currentColor;
}

button span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

#hero-btn-wrapper {
  display: flex;
  gap: 1rem;
}

/* -----------------------INPUT-------------------------- */

#search-input-wrapper {
  display: flex;
  gap: 1.5rem;
  /* height: 2.5rem; */
  flex-wrap: wrap;
  align-items: center;
}

select,
#search-input-wrapper input {
  padding: 0.5rem;
  border: 1px solid var(--text-color-secondary);
  border-radius: 0.375rem;
  font-size: 1rem;
  color: var(--text-color-secondary);
  border-color: lightgray;
  min-width: 14rem;
  width: 100%;
  transition: border-color 0.2s ease;
  flex: 1;
}

#search-input-wrapper input {
  height: 100%;
  width: 300px;
}

#search-input-wrapper .search {
  flex: 1;
}

#search-input-wrapper #q {
  width: 100%;

}

#search-input-wrapper #reset {
  display: flex;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

select {
  cursor: pointer;
}

select:hover,
#q:hover {
  border-color: black;
  background-color: white;
}



select {
  justify-content: space-between;

  option {
    padding: .5rem;
    border-radius: .375rem;
  }

  &, &::picker(select) {
    appearance: base-select;
    padding: 0.5rem;
    border-radius: .375rem;
  }

  &::picker(select) {
    margin-block-start: 0.5rem;
    border-color: var(--border-light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }

  .picker {
    transition: rotate 0.3s ease;

    :open & {
      rotate: 90deg;
    }
  }

}

#search-input-wrapper select:focus {
  border: 2px solid black;
}





/* ---------------------- HEADER --------------------- */

header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 4rem;
  background: rgba(255, 255, 255, 0.815);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

#header-logo {
  height: 5rem;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

nav a {
  position: relative;
  display: block;
  text-decoration: none;
  font-family: Bebas Neue, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: .05rem;
  color: var(--text-color-secondary);
  transition: 0.3s ease;

  &::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;
  }

  &:hover {
    color: var(--text-color-main);
  }

  &:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* ---------------------- HERO SECTION --------------------- */

#hero-section {
  padding: 4rem;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.76),
      rgba(255, 255, 255, 0.185),
      rgba(0, 0, 0, 0.356));
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  position: relative;
}

#hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/images/site/hero-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
}

.hero-title {
  font-size: 5rem;
  font-weight: 400;
  max-width: 700px;
  line-height: 1;
}

#hero-text {
  font-size: 1.2rem;
  color: var(--text-color-secondary);
}

/* ------------------------FOOTER--------------------------- */

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 4rem 2rem 4rem;
  background-color: var(--box-color-light);
  border-top: 1px solid var(--border-light);
}

footer h4 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-column:first-of-type {
  max-width: 20rem;
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0;
}

footer li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-secondary);
  list-style: none;
}

footer li img {
  height: 1.2rem;
}

footer a {
  text-decoration: none;
  color: var(--text-color-secondary);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text-color-main);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 2rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-color-secondary);
  border-top: 1px solid var(--border-light);
}

.footer-bot-col-2 ul {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

#footer-logo {
  height: auto;
  width: 8rem;
}