/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../assets/fonts/inter-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('../assets/fonts/inter-v18-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/inter-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('../assets/fonts/inter-v18-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../assets/fonts/inter-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('../assets/fonts/inter-v18-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../assets/fonts/inter-v18-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 900;
  src: url('../assets/fonts/inter-v18-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

  /* crimson-text-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/crimson-text-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* crimson-text-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Crimson Text';
    font-style: italic;
    font-weight: 400;
    src: url('../assets/fonts/crimson-text-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* crimson-text-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 600;
    src: url('../assets/fonts/crimson-text-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* crimson-text-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Crimson Text';
    font-style: italic;
    font-weight: 600;
    src: url('../assets/fonts/crimson-text-v19-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* crimson-text-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 700;
    src: url('../assets/fonts/crimson-text-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* crimson-text-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Crimson Text';
    font-style: italic;
    font-weight: 700;
    src: url('../assets/fonts/crimson-text-v19-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

:root{
    --primary-color: #000000;
    --secondary-color: hsl(27, 15%, 88%);
    --tertiary-color: #000000;
    --quaternary-color: #ffffff;
    --quinary-color: hsla(0, 0%, 0%, 0.815);

    --clr-secondary--100: hsl(27, 15%, 1%);
    --clr-secondary--200: hsl(27, 15%, 29.34%);
    --clr-secondary--300: hsl(27, 15%, 58.67%);
    --clr-secondary--400: hsl(27, 15%, 88%);
    --clr-secondary--500: hsl(27, 15%, 90.4%);
    --clr-secondary--600: hsl(27, 15%, 92.8%);
    --clr-secondary--700: hsl(27, 15%, 95.2%);
    --clr-secondary--800: hsl(27, 15%, 96.6%);
    --clr-secondary--900: hsl(27, 15%, 99%);

    --clr-youtube: #FF0000;
    --clr-instagram: #E4405F;

    --ff-default: 'Inter', sans-serif;
    --ff-mocs: 'Crimson Text', serif;

    --fw-light: 300;
    --fw-normal: 400;
    --fw-bold: 700;
    --fw-bolder: 900;

    --step--2: clamp(0.6944rem, 0.6021rem + 0.4618vw, 0.96rem);
    --step--1: clamp(0.8333rem, 0.7058rem + 0.6377vw, 1.2rem);
    --step-0: clamp(1rem, 0.8261rem + 0.8696vw, 1.5rem);
    --step-1: clamp(1.2rem, 0.9652rem + 1.1739vw, 1.875rem);
    --step-2: clamp(1.44rem, 1.1257rem + 1.5717vw, 2.3438rem);
    --step-3: clamp(1.728rem, 1.31rem + 2.0899vw, 2.9297rem);
    --step-4: clamp(2.0736rem, 1.5211rem + 2.7626vw, 3.6621rem);
    --step-5: clamp(2.4883rem, 1.7616rem + 3.6336vw, 4.5776rem);

    --lh: clamp(1.4, 1.5, 1.6);
}   

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

body {
   
  background-color: var(--clr-secondary--900);
  color: var(--clr-secondary--100);

  font-family: var(--ff-default);
  font-size: var(--step-0);
  font-weight: var(--fw-normal);

  line-height: var(--lh);
  margin: 0;

}

.container{
    height: 100dvh;
    min-height: 100dvh;  
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 8vh 1fr 6vh;
}

nav{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: var(--clr-secondary--100);
    color: var(--clr-secondary--900);
}

.logo{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-transform: uppercase;
}

.logo img {
    height: calc(8vh - 2rem);
    aspect-ratio: 1;
}

.logo h1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    font-size: var(--step-1);
}

.logo a {
    text-decoration: none;
    color: var(--clr-secondary--900);
}

.logo a:hover,
.logo a:focus-visible {
    color: var(--clr-secondary--400);
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    width: 100%;
    justify-self: flex-end;
}

.menu__list,
.menu__contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
}

.menu__item a,
.menu__contact__link{
   text-decoration: none;
   text-transform: uppercase;
   cursor: pointer;
   color: var(--clr-secondary--900);

   display: flex;
   justify-content: center;
   align-items: center;

   svg {
    height: 1.5rem;
    width: 1.5rem;
    fill: var(--clr-secondary--900);
   }
}

.menu__item a:hover,
.menu__item a:focus-visible{
    color: var(--clr-secondary--400);

    svg {
        fill: var(--clr-secondary--400);
    }
}

.menu__contact__link:hover,
.menu__contact__link:focus-visible{
    color: var(--clr-secondary--400);

    svg {
        fill: var(--clr-secondary--400);
    }
}

.menu__contact__link--youtube:hover,
.menu__contact__link--youtube:focus-visible{
    
  color: var(--clr-youtube);

    svg {
        fill: var(--clr-youtube);
    }
}

.menu__contact__link--instagram:hover,
.menu__contact__link--instagram:focus-visible{
    
  color: var(--clr-instagram);

    svg {
        fill: var(--clr-instagram);
    }
}

.hamburger {
    display: none;
}

.content {
  padding: 1rem;
}

.moc-slider__title {
  font-size: var(--step-2);
  font-weight: var(--fw-bold);
  display: grid;
  place-content: center;
}

.moc-slider__list {
  list-style: none;

  --min: 25ch;
  --gap: 1rem;

  display: grid;
  grid-gap: var(--gap);
  /* min() with 100% prevents overflow
  in extra narrow spaces */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
}

.moc-slider__item {
  background-color: hsla(0, 0%, 0%, 0.2);
  backdrop-filter: blur(30px);
  padding: 1.25rem;
  border-radius: 1rem;
  border: hsla(0, 0%, 0%, 0.4) solid 3px;
  color: var(--clr-secondary--100);

  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 1rem;

  text-align: center;
}

.moc-slider__image {
  display: inline-block;        /* Ensures it maintains shape as a block */
  border-radius: 50%;           /* Makes the outer picture area circular */
  border: 3px solid white;      /* White border */
  padding: 0.5rem;              /* Space between the border and the image */
  overflow: hidden;             /* Ensures the image stays within the circle */
  width: 180px;                 /* Sets a fixed width */
  height: 180px;

  img {
    display: block;               /* Prevents spacing issues inside the picture */
    width: 100%;                  /* Ensures the image fills the circle */
    height: 100%;                 /* Forces the image to cover the full circular area */
    border-radius: 50%;           /* Ensures the image itself is circular */
    object-fit: cover;   
  }
}

.moc-slider__btn {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  padding: 10px 35px;
  color: var(--clr-secondary--900);
  border-radius: 0.5rem;
  font-weight: var(--fw-bold);
  cursor: pointer;
  background-color: var(--clr-secondary--900);
  border: 3px solid transparent;
  transition: 0.2s ease;
  text-transform: uppercase;
  color: var(--clr-secondary--100);
  text-decoration: none;

  &:hover,
  &:focus-visible {
    background-color: var(--clr-secondary--100);
    border: 3px solid var(--clr-secondary--900);
    color: var(--clr-secondary--900);
  }
}

.footer {

  background-color: var(--clr-secondary--100);
  color: var(--clr-secondary--900);

  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  justify-content: flex-start;
}

.footer__copyright{
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
}

.footer__partner{
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  justify-self: flex-end;
}

.footer__partner a {
  text-decoration: none;
  color: var(--clr-secondary--900);
}

.footer__partner a:hover,
.footer__partner a:focus-visible {
  color: hsl(47, 100%, 50%);
}

.moc {
  padding: 1.5rem;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;

  min-height: 92dvh;

  font-family: var(--ff-default);
}

.moc__content{
  max-width: 75ch;
  font-size: 1.125rem;
}

.moc__content h2 {
  font-size: 2rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.5rem;
}



.moc__photos {
  align-self: flex-start;
}

.moc__photos ul li {
  list-style: none;
}

.carousel {
  position: relative;
  height: 600px;
  width: 80%;
  margin: 0 auto;
  /* overflow: hidden; Ensures slides don’t overflow the container */
}

.carousel__track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex; /* Enables horizontal alignment */
  transition: transform 0.250ms ease-in;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
}

.carousel__slide {
  min-width: 100%; /* Ensures each slide takes full width */
  height: 100%;
  flex: 0 0 100%; /* Prevents slides from shrinking */
}

.carousel__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers its container */
}

.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out;
    text-align: center;
    padding: 0.5rem;
    background-color: hsla(27, 15%, 1%, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50%;
}

.carousel__button:hover,
.carousel__button:focus-visible {
  background-color: hsla(27, 15%, 1%, 0.9);
}

.carousel__button--left {
  left: 1.5rem;
}

.carousel__button--right {
  right: 1.5rem;
}

.carousel__button--hidden {
  display: none;
}

.carousel__button svg {
  height: 1.5rem;
  width: 1.5rem;
  fill: var(--clr-secondary--900);
}

.carousel__nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel__indicator {
  width: 0.95rem;
  height: 0.95rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: var(--clr-secondary--100) solid 1px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel__indicator.current-slide {
  background-color: white;
}

.carousel__indicator:hover,
.carousel__indicator:focus-visible {
  background-color: rgba(255, 255, 255, 0.75);
}

/***
 🟣 SmolCSS Snippet Styles
 */
 .smol-flexbox-grid {
  --min: 15ch;
  --gap: 1rem;

  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.smol-flexbox-grid > * {
  flex: 1 1 var(--min);
}

.smol-aspect-ratio-gallery {
  --min: 15rem;
  --aspect-ratio: 4/3;
  --gap: 0;
}

.smol-aspect-ratio-gallery li {
  height: max(25vh, 15rem);
}

@supports (aspect-ratio: 1) {
  .smol-aspect-ratio-gallery li {
    aspect-ratio: var(--aspect-ratio);
    height: auto;
  }
}

.smol-aspect-ratio-gallery img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Media query kicked in when screen is smaller then 34.5rem (552px) */
@media (max-width: 34.5rem) {
  .footer {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .footer__copyright{
    justify-self: center;
  }
  
  .footer__partner{
    justify-self: center;
  }

  .moc {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .moc__content h2 {
    margin-block: 1.5rem;
  }
}

/* Media query kicked in when screen is smaller then 29.75rem (476px) */
@media (max-width: 29.75rem) {

  nav{
    padding: 1rem 1rem;
  }

  .logo h1 {
    font-size: clamp(0.8rem, -0.3139rem + 4.7525vw, 1.1rem);
  }

  .home-mocs{
    padding-inline: 1rem;
  }

  .moc__content p {
    text-align:justify;
    text-wrap-mode: balance;
  }
}