/* ==== 01-header.html ==== */
:root {
  --hg-bg: #fff;
  --hg-button-bg: #FFD879;
  --hg-fg: #BB6C29;
  --hg-border: #e6e2d9;
  --hg-accent: #1b1b1b;
  --hg-space-1: 0.5rem;
  --hg-space-2: 1rem;
  --hg-space-3: 1.5rem;
  --hg-bg: #ffffff;
  --hg-text-brown: #BB6C29;
  --hg-font-main: "Manrope", sans-serif;
  --menu-height: 80px;
}

html {
  scroll-behavior: smooth;
  font-family: var(--hg-font-main);
  font-optical-sizing: auto;
  box-sizing: border-box;
  scroll-padding-top: calc(var(--menu-height) + 15px);
  font-size: 15px;
  color: var(--hg-text-brown);
}

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

h2 {
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-block: 1rem;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hg-container {
  max-width: 960px;
  margin-inline: auto;
}

.hg-btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background-color: var(--hg-button-bg);
  color: var(--hg-fg);
  text-decoration: none;
  padding: 1.2rem 1.5rem;
  /* font-size: 0.8125rem; */
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;

  /* Octagonal Clip Path (8 points) */
  clip-path: polygon(8% 0%, 92% 0%,
      100% 30%, 100% 70%,
      92% 100%, 8% 100%,
      0% 70%, 0% 30%);

  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  border: none;
}

@media (hover: hover) {
  .hg-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
  }
}

.hg-btn:active {
  transform: scale(0.98);
}

/* Header & Navigation Start */
.hg-header {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 50;
  background-color: var(--hg-bg);
  height: var(--menu-height);
  border-bottom: 1px solid var(--hg-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hg-header__inner {
  max-width: 960px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
}

.hg-logo-link {
  display: block;
  z-index: 10;
  flex-shrink: 0;
  align-self: flex-start;

  @media (width >=980px) {
    margin-top: 10px;
    margin-bottom: -80px;
  }
}

.hg-logo-img {
  width: 90px;
  height: auto;
  display: block;

  @media (width >=980px) {
    width: 140px;
  }
}

.hg-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-grow: 1;
}

.hg-nav--desktop {
  display: none;
  flex-direction: row;
  margin-inline: 20px;
  gap: 40px;
}

.hg-nav a {
  text-decoration: none;
  color: var(--hg-text-brown);
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.hg-lang-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  border-left: 1px solid var(--hg-border);
  padding-left: 20px;
  margin-left: -20px;
}

.hg-lang-switcher a {
  font-weight: 400;
  opacity: 0.5;
}

.hg-lang-switcher a.active {
  font-weight: 700;
  opacity: 1;
}

.hg-lang-switcher--mobile {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
  margin-top: 20px;
  font-size: 1.2rem;
  color: #fff;
}

.hg-lang-switcher--mobile a {
  color: #fff;
}

@media (hover: hover) {
  .hg-nav a:hover {
    opacity: 0.6;
  }
}

.hg-socials {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}

.hg-social-link {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .hg-social-link:hover {
    transform: scale(1.1);
  }
}

.hg-social-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hg-cta {
  text-decoration: none;
  color: #fff;
  background: var(--hg-accent);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hg-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hg-accent);
  color: #fff;
  padding: var(--hg-space-1) var(--hg-space-2);
  z-index: 100;
}

.hg-skip:focus-visible {
  left: var(--hg-space-2);
  top: var(--hg-space-1);
}

.hg-nav a:focus-visible,
.hg-cta:focus-visible {
  outline: 2px solid var(--hg-accent);
  outline-offset: 2px;
}

/* Mobile Hamburger & Overlay */
.hg-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.hg-hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hg-fg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hg-hamburger.is-active .hg-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hg-hamburger.is-active .hg-hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hg-hamburger.is-active .hg-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hg-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.hg-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hg-overlay__nav a {
  color: var(--hg-fg);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 400;
  transition: transform 0.3s ease, color 0.3s ease;
}

@media (hover: hover) {
  .hg-overlay__nav a:hover {
    transform: scale(1.1);
    color: #ccc;
  }
}

.hg-overlay__nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (min-width: 840px) {

  .hg-hamburger,
  .hg-overlay {
    display: none;
  }

  .hg-nav--desktop {
    display: flex;
  }
}

/* Header & Navigation End */

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none;
  }

  .hg-hamburger__bar,
  .hg-overlay,
  .hg-overlay__nav a {
    transition: none;
  }
}

/* ==== 02-hero.html ==== */
.hg-hero-img {
  width: 960px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: left;

  @media (width >=560px) {
    aspect-ratio: 3 / 2;
  }

  @media (width >=980px) {
    aspect-ratio: auto;
  }
}

/* === info === */
.hg-info {
  margin: 2rem auto;
  max-width: 800px;
  padding-inline: 0.5rem;
  color: var(--hg-text-brown);
  text-align: center;
  text-wrap: balance;

  @media (width >=980px) {
    margin-block: 3.125rem;
  }
}

#about {
  hyphens: auto;
  max-width: 60ch;
  margin-inline: auto;
  text-align: left;
  text-wrap: unset;

  @media (width >= 980px) {
    max-width: 980px;
    text-align: center;
  }
}

/* ==== 03-menus ==== */
.hg-menu {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;

  img {
    max-width: 45%;
  }

  @media (width >=980px) {
    gap: 20px;
    flex-direction: row;
    align-items: center;
  }
}

.hg-menu__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hg-menu div {
  padding-inline: 10px;
}

.hg-fotograf {
  display: block;
  margin: 3rem auto;
}

/* ==== 04-contact ==== */
.hg-contact {
  max-width: 1124px;
  margin: 2rem auto;
  text-align: center;
  padding-block: 1.5rem;

  @media (width >=980px) {
    margin-block: 2rem;
  }
}

.hg-contact-info {
  display: flex;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  @media (width >=980px) {
    flex-direction: row;
    align-items: center;
  }
}

.hg-contact-info div {
  @media (width >=980px) {
    flex-basis: 33.33%;
  }
}

/* ==== 05-location.html ==== */

.hg-map h2 {
  margin-block: 1.5rem;
  text-align: center;
}

.hg-map__frame {
  border: 1px solid #e0d9ce;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;

  @media (width >=980px) {
    aspect-ratio: 16 / 9;
  }
}

.hg-map__frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.hg-map__link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #1b1b1b;
  text-decoration: none;
  border-bottom: 1px solid #cfc8bc;
}

.hg-map__link:focus-visible {
  outline: 2px solid #1b1b1b;
  outline-offset: 2px;
}

/* ==== 06-gallery.html ==== */
.hg-gallery {
  padding: 1.5rem 1rem;
  text-align: center;
}

.hg-gallery h2 {
  margin-bottom: 1.5rem;
}

.hg-gallery__wrapper {
  position: relative;
  padding-bottom: 3rem;
}

.hg-gallery__swiper {
  height: 250px;
  width: 100%;

  @media (width >=980px) {
    height: 400px;
  }
}

.hg-gallery__item {
  height: auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
}

.hg-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .hg-gallery__item img:hover {
    transform: scale(1.05);
  }
}

/* Custom Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: var(--hg-fg);
  background: transparent;
  width: auto;
  height: auto;
  backdrop-filter: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 2rem;
  font-weight: bold;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: var(--hg-fg);
  opacity: 0.2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--hg-fg);
  opacity: 1;
  transform: scale(1.2);
}



@media (hover: hover) {

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-gallery__item img:hover {
    transform: none;
  }
}

.hg-footer {
  margin-block: 1.5rem;
}

.hg-footer .hg-logo-img,
.hg-footer .hg-socials {
  margin-inline: auto;
}

.hg-footer .hg-socials {
  margin-block: 0.75rem;
  width: max-content;
}
