@charset "utf-8";

/* ------------------------------
   Font Group
------------------------------ */
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.playfair-display-regular {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.playfair-display-bold {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.inspiration-regular {
  font-family: "Inspiration", cursive;
  font-weight: 400;
}

/* ------------------------------
   Color Variables
------------------------------ */
:root {
  --peacoat: #212B40;
  --opal: #A4BFB5;
  --gainsboro: #D9D8D7;
  --aluminum: #8C8C8C;
  --eigengrau: #131926;
  --flamingo: #E35D40;
}

/* ------------------------------
   Navbar
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 0 16px;
  height: 80px;
  box-shadow: 0px 2px 4px rgba(33, 43, 64, 0.3);
}

.navbar-brand img {
  max-height: 40px;
}

.navbar-toggler {
  background: none;
  border: none;
  padding: 0;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23131926' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: white;
  color: var(--eigengrau);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 1050;
  padding: 60px 30px;
  font-family: "Playfair Display", serif;
}

.menu-overlay.open {
  transform: translateY(0);
}

.main-menu,
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu > li {
  font-family: "Poppins", sans-serif;
	margin-bottom: 16px;
}

.submenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}

.has-submenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.main-menu a.active,
.submenu a.active {
  font-weight: 600;
  color: var(--flamingo);
}

.main-menu a,
.submenu-toggle {
  color: var(--eigengrau);
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s;
}

.main-menu a:hover,
.submenu-toggle:hover {
  color: var(--flamingo);
}

/* --- Submenu Toggle (with SVG caret) --- */
.submenu-toggle {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 16px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  color: var(--eigengrau);
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 0;
}

.submenu-toggle::after {
  content: "";
  display: inline-block;
  width: 28px;                 /* slightly larger circle */
  height: 28px;
  background-color: #88B6AC;   /* Opal */
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23131926' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.25l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.25a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px 14px;  /* larger arrow inside */
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}


.submenu-open > .submenu-toggle::after {
  transform: rotate(180deg);
}


/* --- Smooth submenu animation with opacity/transform --- */
.submenu {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding-left: 16px;
  font-family: "Playfair Display", serif;
}

.submenu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu a {
  font-family: "Playfair Display", serif;
  color: var(--eigengrau);
  font-size: 18px;
  text-decoration: none;
  display: block;
  margin-top: 6px;
}

.submenu a:hover {
  color: var(--flamingo);
}

.category-label {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-top: 12px;
  color: var(--opal);
  text-transform: lowercase;
}

.active-link {
  font-weight: 600;
  text-decoration: underline;
}

.no-scroll {
  overflow: hidden;
}

/* ------------------------------
   Responsive Navigation
------------------------------ */
@media screen and (max-width: 350px) {
  .navbar-toggler-icon {
    width: 20px;
    height: 25px;
  }
}

@media screen and (max-width: 576px) {
  .navbar-toggler-icon {
    width: 20px;
    height: 25px;
  }

  .has-submenu {
    flex-direction: column;
    align-items: flex-start;
  }

  .submenu-toggle {
    margin-left: 0;
    margin-top: 4px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-toggler-icon {
    width: 35px;
    height: 40px;
  }
}

@media screen and (max-width: 992px) {
  .navbar-toggler-icon {
    width: 25px;
    height: 30px;
  }
}
