/* ================ */
/* FONT DEFINITIONS */
/* ================ */
@font-face {
  font-family: "Area";
  src: url(./assets/fonts/AreaNormal-Regular.otf) format("opentype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Area";
  src: url(./assets/fonts/AreaNormal-SemiBold.otf) format("opentype");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Area";
  src: url(./assets/fonts/AreaNormal-Bold.otf) format("opentype");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Area";
  src: url(./assets/fonts/AreaNormal-Black.otf) format("opentype");
  font-style: normal;
  font-weight: 900;
}

/* ================ */
/* CSS VARIABLES */
/* ================ */
:root {
  /* Spacing - Simplified system with fewer variations */
  --space-1: 1rem; /* Base unit */
  --space-2: 2rem; /* 2x base */
  --space-4: 4rem; /* 4x base */
  --space-8: 8rem; /* 8x base */
  --space-half: 0.5rem; /* Half base unit - use sparingly */

  /* Standard section paddings */
  --section-padding-x: var(--space-1); /* Horizontal padding */
  --section-padding-y: var(--space-2); /* Default vertical padding */
  --section-padding-large: var(--space-4); /* Large vertical padding */

  /* Typography */
  --font-size-xs: 0.5rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.5rem;
  --font-size-lg: 2.5rem;
  --font-size-xl: 3.5rem;

  /* Font weights */
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Line heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-loose: 2.5;

  /* Text alignment */
  --text-align-desktop: center;
  --text-align-mobile: left;
}

/* ================ */
/* RESET & BASE STYLES */
/* ================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Area", Arial, sans-serif;
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-semibold);
}

p {
  margin: 0;
}

/* ================ */
/* LAYOUT STRUCTURE */
/* ================ */
.section {
  width: 100%;
  position: relative;
}

.section__content {
  padding: var(--section-padding-y) var(--section-padding-x);
  display: flex;
  flex-direction: column;
}

/* ================ */
/* HERO SECTION */
/* ================ */
#hero {
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

#hero .section__content {
  height: 100%;
  gap: var(--space-half);
  padding-top: var(--space-2);
  padding-bottom: 0;
}

.swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ================ */
/* ABOUT SECTION */
/* ================ */
#about .section__content {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

#about .section__text {
  font-size: var(--font-size-xl);
  text-indent: 15%;
  text-wrap: pretty;
}

/* ================ */
/* WORKSHOPS SECTION */
/* ================ */
#workshops {
  height: 100vh;
}

#workshops .section__content {
  height: 100%;
  justify-content: center;
  align-items: center;
}

.workshops__list {
  list-style: none;
  line-height: var(--line-height-loose);
  text-align: var(--text-align-desktop);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-black);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.section__note {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  text-align: var(--text-align-desktop);
  text-transform: uppercase;
}

/* ================ */
/* FOOTER SECTIONS */
/* ================ */
#contact {
  height: 100vh;
}

#contact .section__content {
  height: 100%;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-xl);
  line-height: var(--line-height-normal);
}

#contact p {
  text-align: var(--text-align-desktop);
}

.termin-title {
  font-size: var(--font-size-md);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

#address .section__content {
  padding-top: var(--space-1);
  padding-bottom: var(--space-2);
  gap: var(--space-half);
  align-items: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
}

#address p {
  text-align: var(--text-align-desktop);
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ================ */
/* RESPONSIVE DESIGN */
/* ================ */
@media (max-width: 1024px) {
  :root {
    /* Adjust font sizes for medium screens */
    --font-size-xl: 3rem;
    --font-size-lg: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    /* Adjust font sizes for smaller screens */
    --font-size-xl: 2rem;
    --font-size-lg: 1.5rem;

    /* Adjust spacing for mobile */
    --section-padding-y: var(--space-2);
    --section-padding-large: var(--space-4);
  }

  /* Hero adjustments */
  #hero {
    height: 60vh;
  }

  /* About adjustments */
  #about .section__content {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
  }

  #about .section__text {
    text-indent: unset;
  }

  /* Workshops adjustments */
  #workshops {
    height: auto;
  }

  #workshops .section__content {
    padding-top: var(--section-padding-large);
    padding-bottom: var(--section-padding-large);
    align-items: flex-start;
  }

  .workshops__list {
    text-align: var(--text-align-mobile);
    line-height: var(--line-height-normal);
    hyphens: auto;
  }

  .workshops__list li {
    margin-bottom: var(--space-1);
  }

  .section__note {
    text-align: var(--text-align-mobile);
    text-transform: unset;
  }

  /* Footer adjustments */
  #contact {
    height: auto;
  }

  #contact .section__content {
    align-items: flex-start;
    justify-content: flex-start;
  }

  #contact p {
    font-size: var(--font-size-lg);
    text-align: var(--text-align-mobile);
  }

  footer {
    display: flex;
    flex-direction: column;
    padding-top: var(--section-padding-large);
    padding-bottom: var(--space-2);
  }

  #address .section__content {
    padding-top: var(--space-8);
    padding-bottom: 0;
    font-size: var(--font-size-sm);
    flex-direction: column;
    align-items: flex-start;
  }

  #address p {
    text-align: left;
    width: 100%;
  }

  footer .termin-title {
    display: none;
  }
}
