/* style.css */

/* === FONT FACES === */
@font-face {
  font-family: 'Leadword';
  src: url('../fonts/LeadwordRegular-8ORW0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Mailman';
  src: url('../fonts/MailmanRegular-1j8VM.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Qucluck';
  src: url('../fonts/Qucluck-YzRKO.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* === GLOBAL BODY === */
body {
  font-family: 'Lora', sans-serif;
  margin: 0;
  padding: 0;
  color: #ECE2D0;
}

/* === BACKGROUND LAYERS === */
.background-base {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-color: #1e1e1e;
  z-index: -2;
}

.parallax-container {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.parallax-bg {
  background-image: url('https://res.cloudinary.com/dwhennrjl/image/upload/v1757678940/WoodBound/MasterBackground2_moh2oi.png');
  background-repeat: repeat;
  background-size: 1500px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 300%;
  opacity: 0.7;
  z-index: -1;
}

.page-content {
  position: relative;
  z-index: 1;
  padding: 1vh 5vw;
}

.stepped-text p {
  font-size: 1rem;
}

.step-1 {
  padding-left: 1rem;
}
.step-2 {
  padding-left: 2rem;
}
.step-3 {
  padding-left: 3rem;
}
.step-4 {
  padding-left: 4rem;
}

/* === HEADINGS === */
h1, h2, h3 {
  color: #ECE2D0;
}

h1 {
  font-family: 'Mailman', sans-serif;
  font-size: clamp(5rem, 5vw, 8rem);
  font-weight: 300;
  margin-bottom: 1rem;
  color: #ECE2D0;
}

.handwriting {
  font-family: 'Mailman', sans-serif;
  font-size: 4rem;
  margin: 0;
}

.header-row {
  margin-bottom: 2rem; /* Optional spacing below */
  gap: 2rem;           /* Spacing between h1 and blurb */
  flex-wrap: wrap;     /* Wrap on small screens */
}

/* Hide mobile version by default */
.blurb-mobile {
  display: none;
  padding-top: 40rem;
}

.description-text p.handwriting {
  margin-bottom: 0; /* removes space below the paragraph */
}

.description-text hr {
  margin-top: 0rem;  /* or 0 if you want it tight */
}

/* === TEXT BLOCKS === */
.media-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertically center within the tile */
}

.description-text p {
    margin-bottom: 1.25em;
    line-height: 1.6;
    max-width: 60ch;
}

/* === GENERAL ELEMENTS === */
ul {
  list-style-type: none;
  padding: 0;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === IMAGE STYLING === */
.hero-image {
  height: auto;
  width: 20rem;
  display: block;
  margin: 0 auto;
}

.hero-image:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

/* === STRUCTURE === */
.tile {
    position: absolute;
    left: -1rem;
    display: flex;
    align-items: center;
    background: linear-gradient(
    to right,
    rgba(12, 12, 12, 0.5) 0%,
    rgba(12, 12, 12, 0.6) 25%,
    rgba(12, 12, 12, 0.75) 50%,
    rgba(12, 12, 12, 0.9) 75%,
    rgba(12, 12, 12, 1) 100%
    );
}

.fade-bg {
  position: absolute;
  width: 100vw;
  height: 15rem;
  background: linear-gradient(to right, rgb(20, 18, 18), transparent);
  background-color: #171616;
  z-index: 1;
  padding: 1em;
}

.image-mask {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('https://res.cloudinary.com/dwhennrjl/image/upload/v1758206320/WoodBound/tabletopdraftnarrow_yhyk23.png');
  background-size: cover;
  background-position: center right;
  pointer-events: none;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}

.head-room {
  margin-top: 15rem;
}

/* === WISHLIST LINK === */
.wishlist-link, .wishlist-mobile {
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.wishlist-link:hover {
  text-decoration: none;
}

.wishlist-link h6, .wishlist-mobile {
  font-size: 1.5rem;
  color: #ECE2D0;
  margin: 0;
  line-height: 1.4;
}

.wishlist-link h6:hover {
  color: #ccc;
}

/* Default: hide mobile version */
.wishlist-mobile {
  display: none;
}

.footgap {
    height: 8rem;
}

/* === FOOTER === */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  padding-inline: 5rem;
  gap: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  text-align: center;
  z-index: 1000;
}

.footer-credit {
  text-align: center;
}

.site-footer .social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .social-icons li {
  display: flex;
  align-items: center;
}

.site-footer .social-icons li a {
  color: #fff;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.site-footer .social-icons li a:hover {
  color: #ccc;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 600px) {
.site-footer .social-icons {
gap: 40px;
}
}


@media (min-width: 768px) {
.site-footer {
flex-direction: row;
align-items: center;
}


.footer-credit {
text-align: right;
}
}


@media (max-width: 768px) {
.tile {
flex-direction: column;
align-items: flex-start;
position: static;
width: 100%;
}


.media-block {
align-items: flex-start;
}
}


@media (max-width: 900px) {
.description-text .handwriting,
.description-text hr {
display: none;
}

.fade-bg {
    height: 25rem;
}

.image-mask {
    width: 100%;
    background-position: center center;
    mask-image: linear-gradient(to left, 
  black 0%, 
  black 60%, 
  transparent 100%);
  
-webkit-mask-image: linear-gradient(to left, 
  black 0%, 
  black 60%, 
  transparent 100%);
}

.wishlist-desktop {
display: none !important;
}


.wishlist-mobile {
display: block;
}


.wishlist-mobile p {
font-size: 0.9rem;
}
}

@media (max-width: 500px) {
    h1 {
        font-size: 3rem;
    }

    .stepped-text p {
        font-size: .8rem;
        line-height: .6rem;
    }
    .fade-bg {
        height: 18rem;
    }
    .image-mask {
        mask-image: linear-gradient(to top, black, transparent);
        -webkit-mask-image: linear-gradient(to top, black, transparent);
    }
    .header-row {
        justify-content: center !important;
    }
    .social-icons {
        gap: 0 !important;
    }
    .social-icons li a i {
        font-size: 1.2rem !important;
        margin-inline: .9rem;
    }
    .footer-credit {
        font-size: .8rem;
        white-space: nowrap;
        margin: 0 !important;
    }
    .site-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 0 0rem;
        padding-inline: 0rem;
        gap: 0rem;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #111;
        text-align: center;
        z-index: 1000;
    }
    .tile {
        left: 0rem;
    }
}