:root {
  --ivory: #f8f4ef;
  --cream: #fffaf3;
  --soft-beige: #efe4d6;
  --champagne: #d8bc94;
  --bronze: #8a623d;
  --deep-bronze: #6f4b30;
  --espresso: #241b17;
  --smoke: #746962;
  --border: rgba(216, 188, 148, 0.35);
  --glass: rgba(255, 248, 240, 0.74);
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    "Inter",
    "Poppins",
    "Segoe UI",
    sans-serif;

  background:
    linear-gradient(
      135deg,
      var(--ivory),
      var(--soft-beige),
      #e7d8c6
    );

  color: var(--espresso);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* HEADER */

.site-header {
  position: fixed;

  top: 24px;
  left: 50%;

  transform: translateX(-50%);

  width: min(1180px, 92%);

  z-index: 9999;

  border-radius: 999px;

  background: var(--glass);

  border:
    1px solid rgba(216, 188, 148, 0.42);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    0 24px 70px rgba(29, 22, 19, 0.18);
}

.container {
  width: 94%;
  margin: 0 auto;
}

.header-inner {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 15px;
}

.logo-mark {
  flex: 0 0 auto;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--champagne);

  background:
    linear-gradient(
      145deg,
      #251b17,
      #5a4030
    );

  box-shadow:
    inset 0 0 0 1px
    rgba(255, 255, 255, 0.18);

  font-size: 22px;
}

.site-title {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 1px;

  color: var(--espresso);
}

.site-tag {
  margin-top: 3px;

  color: var(--smoke);

  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 2px;

  text-transform: uppercase;
  white-space: nowrap;
}

/* NAVIGATION */

.site-nav {
  flex-shrink: 0;

  display: flex;
  align-items: center;

  gap: 24px;
}

.site-nav .nav-link {
  color: #46352c;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;

  text-transform: uppercase;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.site-nav .nav-link:hover {
  color: var(--bronze);
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 22px;

  border-radius: 999px;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--champagne),
      var(--bronze)
    );

  box-shadow:
    0 16px 34px
    rgba(123, 90, 66, 0.32);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;

  text-transform: uppercase;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-3px);

  box-shadow:
    0 22px 42px
    rgba(123, 90, 66, 0.4);
}

/* USER BUTTON */

.user-menu {
  position: relative;
}

.profile-dropdown {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;

  gap: 8px;

  padding: 11px 16px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.5);

  color: #46352c;

  font-size: 13px;
  font-weight: 600;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.user-btn:hover {
  transform: translateY(-3px);

  background: white;

  box-shadow:
    0 12px 25px
    rgba(0, 0, 0, 0.08);
}

/* PROFILE DROPDOWN */

.profile-menu {
  position: absolute;

  top: calc(100% + 12px);
  right: 0;

  min-width: 210px;

  padding: 10px;

  border-radius: 20px;

  background:
    rgba(255, 250, 243, 0.97);

  border:
    1px solid
    rgba(216, 188, 148, 0.35);

  box-shadow:
    0 20px 45px
    rgba(50, 30, 15, 0.16);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-8px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;

  z-index: 10000;
}

.profile-menu a {
  display: block;

  padding: 12px 14px;

  border-radius: 12px;

  color: #46352c;

  font-size: 13px;
  font-weight: 500;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.profile-menu a:hover {
  background:
    rgba(216, 188, 148, 0.2);
}

.profile-menu .logout-link {
  margin-top: 6px;

  color: #a33f3f;

  border-top:
    1px solid
    rgba(138, 98, 61, 0.14);

  border-radius:
    0 0 12px 12px;
}

.profile-dropdown:hover .profile-menu,
.profile-dropdown:focus-within .profile-menu {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* GENERAL BUTTON */

.luxury-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 24px;

  border: none;
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      var(--champagne),
      var(--bronze)
    );

  color: white;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;

  cursor: pointer;

  box-shadow:
    0 14px 30px
    rgba(123, 90, 66, 0.28);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.luxury-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 20px 40px
    rgba(123, 90, 66, 0.38);
}

/* TOAST MESSAGE */

.toast-message {
  position: fixed;

  top: 125px;
  right: 28px;

  z-index: 99999;

  padding: 15px 22px;

  border-radius: 18px;

  background:
    rgba(235, 248, 237, 0.97);

  border:
    1px solid
    rgba(47, 125, 72, 0.16);

  color: #2f7d48;

  font-size: 14px;
  font-weight: 600;

  box-shadow:
    0 18px 40px
    rgba(31, 23, 20, 0.14);

  animation:
    toastFade 4s forwards;
}

@keyframes toastFade {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }

  12%,
  75% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-15px);
    visibility: hidden;
  }
}

/* FOOTER */

footer,
.home-footer {
  padding: 35px 8% 48px;

  color: #806f63;

  text-align: center;
  font-size: 13px;
}

/* TABLET */

@media (max-width: 1100px) {
  .site-header {
    width: 95%;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav .nav-link {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .nav-cta {
    padding: 11px 16px;

    font-size: 10px;
  }

  .user-btn {
    padding: 10px 14px;

    font-size: 12px;
  }

  .site-tag {
    max-width: 360px;

    white-space: normal;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    top: 12px;

    width: calc(100% - 24px);

    border-radius: 24px;
  }

  .container {
    width: 100%;
  }

  .header-inner {
    min-height: auto;

    flex-direction: column;

    padding: 14px;

    gap: 12px;
  }

  .brand {
    width: 100%;

    justify-content: center;

    text-align: center;
  }

  .logo-mark {
    width: 40px;
    height: 40px;

    font-size: 19px;
  }

  .site-title {
    font-size: 17px;
  }

  .site-tag {
    display: none;
  }

  .site-nav {
    width: 100%;

    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
  }

  .site-nav .nav-link {
    padding: 8px 10px;

    border-radius: 999px;

    background:
      rgba(255, 255, 255, 0.42);

    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .nav-cta {
    padding: 9px 12px;

    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .user-btn {
    padding: 9px 12px;

    font-size: 10px;
  }

  .profile-menu {
    position: fixed;

    top: 145px;
    left: 16px;
    right: 16px;

    width: auto;
    min-width: 0;
  }

  .toast-message {
    top: 175px;
    left: 16px;
    right: 16px;

    text-align: center;
  }

  footer,
  .home-footer {
    padding: 45px 20px;

    font-size: 12px;
  }
}

/* SMALL PHONES */

@media (max-width: 430px) {
  .header-inner {
    padding: 12px 10px;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav .nav-link,
  .nav-cta,
  .user-btn {
    padding: 8px 9px;

    font-size: 8px;
  }

  .logo-mark {
    width: 37px;
    height: 37px;
  }

  .site-title {
    font-size: 16px;
  }

  .profile-menu {
    top: 140px;
  }

  .toast-message {
    top: 170px;

    font-size: 13px;
  }
}