* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-font: "Raleway", sans-serif;
  --secondary-font: "Playfair Display", serif;
}

body {
  font-family: var(--primary-font);
  background-color: #ede7d8;
}

/*==========================
      SCROLL TO TOP
==========================*/

.scroll-to-top {
  position: fixed;
  right: 35px;
  bottom: 35px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(196, 159, 74, 0.45);
  background: rgba(248, 244, 235, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(120, 84, 30, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 9999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 28px;
  height: 28px;
  fill: #8b5a2b;
  transition:
    transform 0.3s ease,
    fill 0.3s ease;
}

.scroll-to-top:hover {
  background: #c6a047;
  border-color: #c6a047;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(120, 84, 30, 0.28);
}

.scroll-to-top:hover svg {
  fill: #ffffff;
}

.scroll-to-top:active {
  transform: scale(0.94);
}

@media (max-width: 768px) {
  .scroll-to-top {
    width: 48px;
    height: 48px;
    right: 18px;
    bottom: 18px;
  }

  .scroll-to-top svg {
    width: 22px;
    height: 22px;
  }
}

/*==========================
        SCROLLBAR
==========================*/

/* Chrome, Edge, Safari */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f8f4eb;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4bb83 0%, #c6a047 50%, #a8782b 100%);
  border-radius: 50px;
  border: 2px solid #f8f4eb;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ddb96b 0%, #c89b38 50%, #96671d 100%);
}

::-webkit-scrollbar-corner {
  background: #f8f4eb;
}

/* Firefox */

html {
  scrollbar-width: thin;
  scrollbar-color: #c6a047 #f8f4eb;
}

/*==========================
      TEXT SELECTION
==========================*/

::selection {
  background: #c6a047;
  color: #ffffff;
}

::-moz-selection {
  background: #c6a047;
  color: #ffffff;
}
