@font-face {
    font-family: "DM Sans";
    src: url('../fonts/DMSans-VariableFont_opsz\,wght.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
}

@font-face {
    font-family: "Epilogue";
    src: url('../fonts/Epilogue-VariableFont_wght.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

:root {
    --color-darkbrown: #794B21; /* old */
    --color-darkbrown: #5E4127;
    --color-yellow: #FFFFCD; /* old */
    --color-yellow: #FFFFDC;
    --color-pink: #F5CEDD;
    --color-mint: #C7F1EF; /* old */
    --color-mint: #DFFAF2;
    --color-off-white: #FFFFF6;
    --color-sheer-off-white: #FFFFF690;
}

body {
    background-color: var(--color-off-white);
    background-size: 800% 800%;

    font-family: "DM Sans", sans-serif;
    color: var(--color-darkbrown);
    margin: 0;
    padding: 0;
}

/* -------------------------------- */
/* ----- ANNOUNCEMENT STYLING ----- */
/* -------------------------------- */

.announcement {
    background-color: var(--color-mint);

    position: sticky;
    top: 0;
    width: 100%;
    height: 32px;
    overflow: hidden;
    padding-top: env(safe-area-inset-top);
    line-height: 1;
    z-index: 1001;

    text-align: center;
}

.announcement-text {
    font-family: "Epilogue", sans-serif;
    margin: 0;
    padding: 8px 16px;
    font-size: 14px;
    animation: scroll 10s linear infinite;
}

.announcement-text span {
    font-weight: bold;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* -------------------------- */
/* ----- HEADER STYLING ----- */
/* -------------------------- */

.site-header {
    background-color: var(--color-off-white);
    font-family: "Epilogue", sans-serif;

    display: flex;
    position: sticky;
    top: calc(32px + env(safe-area-inset-top));
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 4px 12px;
    border-bottom: solid 0.5px var(--color-darkbrown);
    z-index: 1000;
}

/* ----------------------------- */
/* ----- SIDE MENU STYLING ----- */
/* ----------------------------- */

.side-menu {
    position: fixed;
    top: calc(80px + env(safe-area-inset-top));
    left: 0; /* hidden off screen */
    width: 100%;
    height: calc(100dvh - 80px);

    background: var(--color-off-white);
    border-right: 1px solid var(--color-darkbrown);

    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 80px 24px;

    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.25,.8,.25,1);
    z-index: 999;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu a {
    font-family: "Epilogue", sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: var(--color-darkbrown);
}

body.menu-open {
    overflow: hidden;
}

/* -------------------------------- */
/* ----- MAIN SECTION STYLING ----- */
/* -------------------------------- */

.main-section {
    background-color: var(--color-off-white);
    
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    background: url("../images/model.webp") no-repeat center center;
    background-size: cover;

    display: flex;
    justify-content: center;
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 16px 24px;
    height: 500px;
    box-sizing: border-box;
}

.hero-text {
    background-color: var(--color-sheer-off-white);

    position: absolute;
    padding: 8px 16px;
    bottom: 8px;
    border-radius: 30px;
    width: 95%;
    max-width: 1000px;
    box-sizing: border-box;
    line-height: 1.3;
}

.hero-text h1 {
    text-shadow: 0 4px 10px rgba(0,0,0,0.25);
    line-height: 1.3;
    font-weight: 600;
}

.hero-text p {
    font-family: "Epilogue", sans-serif;
    font-style: italic;
    opacity: 0.8;
}

.products-text {
    background-color: var(--color-yellow);
    border-radius: 16px;
    padding: 0px 10px;
    border: solid 1px var(--color-darkbrown);
    
    width: 90%;
    max-width: 400px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.25);
    text-align: center;
    line-height: 1.3;
    margin: 16px 0 10px;
}

.products-text h1 {
    font-style: italic;
    font-weight: 600;
}

.products-text p {
    font-family: "Epilogue", sans-serif;
    font-style: italic;
    opacity: 0.8;
}

.products {
    background-color: var(--color-off-white);

    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1500px;
    margin: 0;
    padding: 0 0 16px;
    box-sizing: border-box;

    scroll-behavior: smooth;
}

.product-grid {
    display: flex;
    gap: 0;
    padding: 6px 0 0;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.product-card {
    background: var(--color-off-white);

    flex: 0 0 auto;
    width: 70%;
    max-width: 300px;
    border-radius: 12px;
    padding: 0px 5px;
    text-align: center;

    scroll-snap-align: center;
}

.product-card:first-child {
    margin-left: 6px;
}

.product-card:last-child {
    margin-right: 6px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps square */
    object-fit: cover;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 0.85rem;
    font-weight: 400;
    margin: 8px 0 4px;
}

.product-card p {
    font-family: "Epilogue", sans-serif;
    margin: 8px 0;
}

.information {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
  background: var(--color-mint);
}

.info-card {
  background: var(--color-off-white);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  padding: 30px 20px;
  max-width: 450px;
  flex: 1 1 300px;
  text-align: center;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-card.show {
  opacity: 1;
  transform: translateY(0);
}

.info-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 15px;
  color: var(--color-darkbrown);
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.info-card p {
  font-family: 'Epilogue', sans-serif;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  color: var(--color-darkbrown);
}

/* -------------------------- */
/* ----- FOOTER STYLING ----- */
/* -------------------------- */

.site-footer {
    background-color: var(--color-off-white);
    font-family: "Epilogue", sans-serif;

    padding: 16px 24px calc(env(safe-area-inset-bottom));
    line-height: 0.8;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.socials {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    font-size: 12px;
}

a[href^="mailto:"] {
    color: var(--color-darkbrown);
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* ------------------------------------ */
/* ----- BOTTOM SAFE AREA STYLING ----- */
/* ------------------------------------ */

.bottom-safe-area {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: max(5px + env(safe-area-inset-bottom));

    background-color: var(--color-off-white);
    z-index: 2000;
}

@media (min-width: 700px) {
    .bottom-safe-area {
        display: none;
    }
}

/* ------------------------------------- */
/* ----- IMAGE/ICON/BUTTON STYLING ----- */
/* ------------------------------------- */

.logo img {
    display: flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

svg {
    width: 24px;
    height: 24px;
    fill: var(--color-darkbrown);
}

button {
    font-family: "DM Sans", sans-serif;

    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: var(--color-darkbrown);
}

.shop-btn {
    background-color: var(--color-yellow);
    color: var(--color-darkbrown);
    border: solid 1px var(--color-darkbrown);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    margin: 6px auto 16px;
}

#view-all-btn {
    margin: 0 0 -12px;
}

.hero-text button {
    display: flex;
    align-items: right;
}
