/* =========================================================
   1. IMPORT FONTS
   ========================================================= */
@font-face {
    font-family: 'Primary';
    src: url('../fonts/NatureSpiritRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    opacity: 1;
    letter-spacing: 0px;
    font-size: 96px;
}

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

@font-face {
    font-family: 'Secondary-extra-bold';
    src: url('../fonts/FiraSans-ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
  --font-base-primary: 'Primary';
  --font-base-secondary: 'Secondary';
  --text-color-black: #000;
  --text-color-gold: #755D3B;
  --bg-color: transparent linear-gradient(180deg, #FFFFFF 0%, #F8F6F4 12%, #755D3B 100%) 0% 0% no-repeat padding-box;
  --max-width: 1900px;
  --spacing: 1.25rem;
  --spacing-sections: 20px;
}

* {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: var(--font-base-secondary);
  /* background: var(--bg-color); */
  color: var(--text-color-black);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: var(--spacing); */
  min-height: 100vh;
  justify-content: space-between;
}

html {
  height: 100%;
  background: var(--bg-color);
  background-attachment: fixed; /* ensures gradient covers full viewport */
}

h1 {
  font-family: var(--font-base-primary);
  letter-spacing: 4px;
  font-size: 96px;
  font-weight: lighter;
  margin: 0;
  line-height: 90px;
}

p {
  font-family: var(--font-base-secondary);
  font-size: 41px;
  font-weight: lighter;
  margin: 0;
}

header,
main {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
  padding: 15px
}

header,
main,
footer {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
}

.site-header {
  margin-top: 40px;
}

.logo {
  max-width: 322px;
  height: auto;
  margin-bottom: var(--spacing);
}

.intro {
  margin-bottom: var(--spacing);
  padding: 0 var(--spacing);
}

.gallery {
  display: flex;
  flex-wrap: wrap; /* ✅ allows wrapping when window shrinks */
  justify-content: center;
  gap: var(--spacing);
  position: relative;
  transition: all 0.5s ease-in-out; /* smooth flex reflow */
}

figure {
  margin: 0;
  position: relative;
  border-radius: 8px;
  flex: 1 1 250px; /* ✅ responsive image block */
  max-width: 300px;
  transition: all 0.5s ease-in-out; /* smooth layout change */
}

/* --- ZOOM BEHAVIOR --- */
.zoomable {
  width: 100%;
  height: auto;
  border-radius: 22px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 0;
  background-color: #ffffff;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  touch-action: manipulation; /* allows taps but blocks save/download popup */
}

/* Hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .zoomable:hover {
    transform: scale(1.1);
    z-index: 5; /* bring above others */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    /* cursor: zoom-in; */
  }
}

/* Tap (mobile) */
.zoomable:active,
.zoomable:focus {
  transform: scale(1.4);
  z-index: 5;
  cursor: zoom-out;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* --- Responsive: Switch to column under 991px --- */
@media (max-width: 991px) {
  .gallery {
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease-in-out; /* smooth layout change */
  }

  .gallery figure {
    max-width: 90%;
    flex: 1 1 auto;
    transition: all 0.5s ease-in-out; /* smooth layout change */
  }

   h1 {
       font-size: 54px!important;
       line-height: 55px!important;
       letter-spacing: 0px;
    }

    .p-mobile {
      font-size: 22px!important;
      line-height: 25px;
      margin-top: 10px;
    }
}


footer {
  width: 100%;
  /* background-color: #222; */
  color: #fff;
  text-align: center;
  /* padding: 1rem 0; */
  margin-top: auto;
}
