/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Calisto';
  background-color: #f7f6f4;
  color: #2b2b2b;
  line-height: 1.6;
}

/* GENERIC CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  background-image: url(assets/images/main/main.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  padding-bottom: 80px;
  text-align: center;
}

.hero h1 {
  font-family: 'Stolen Love';
  font-size: clamp(2rem, 15vw, 7.5rem);
  font-feature-settings: "liga" 0, "calt" 0;
  color: whitesmoke;
  margin-bottom: 10px;
  max-width: 100%;
  white-space: nowrap;
}

.hero .subtitle {
  font-family: 'Poppins';
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: bold;
  color: whitesmoke;
  margin-bottom: 6px;
}

.hero .location {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: whitesmoke;
}

/* INTRO */
.intro {
  margin: 100px auto;
  text-align: center;
}

.intro p {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  font-style: italic;
  max-width: 650px;
  margin: 0 auto 10px;
}

/* STORY BLOCKS */
.story-block {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 120px auto;
}

.story-block--reverse {
  flex-direction: row-reverse;
}

.story-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-block__content p {
  max-width: 550px;
  margin: 0 auto;
}

.story-block__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 600px;
  object-fit: cover;
}

.story-block:not(.story-block--reverse) .story-block__content {
  padding-right: 40px;
}

.story-block--reverse .story-block__content {
  padding-left: 40px;
}



@media (max-width: 900px) {

  .story-block,
  .story-block--reverse {
    flex-direction: column;
    text-align: center;
  }

  .story-block:not(.story-block--reverse) .story-block__content,
  .story-block--reverse .story-block__content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* GALLERY PREVIEW */
.gallery__title {
  font-family: 'Stolen Love';
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 40px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 1.5rem;
  break-inside: avoid;
}

@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}

.gallery__link {
  display: block;
  margin: 40px auto 0;
  width: fit-content;

  font-family: 'Stolen Love';
  font-size: 3rem;
  color: inherit;
  text-decoration: none;

  transition: opacity 0.2s ease;
}

.gallery__link:hover {
  opacity: 0.7;
}

/* ABOUT US */
.about-us {
  margin: 120px auto;
}

.about-us__title {
  font-family: 'Stolen Love';
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 40px;
}

.about-us-block {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-us-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-us-block__content p {
  max-width: 550px;
  margin: 0 auto;
}

.about-us-block__image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 600px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .about-us-block {
    flex-direction: column;
    text-align: center;
  }
}

/* ANIMATION */
.story-block,
.about-us-block {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CONTACT */
.contact__title {
  font-family: 'Stolen Love';
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 40px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  font-family: 'Inter', sans-serif;
  background: #fff;
}

.contact textarea {
  min-height: 150px;
}

.contact button {
  padding: 12px;
  background: none;
  border: 1px solid #2b2b2b;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact button:hover {
  background: #2b2b2b;
  color: #fff;
}

.note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  margin: 80px 0;
  font-size: 0.8rem;
}

/* GALLERY PAGE */
.gallery-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 56px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  background-color: #f7f6f4;
}

.gallery-back__link {
  text-decoration: none;
  color: inherit;
  font-family: 'Stolen Love';
  font-size: 2rem;
  transition: opacity 0.2s ease;
}

.gallery-back__link:hover {
  opacity: 0.7;
}

.gallery-page-title h2 {
  font-family: 'Stolen Love';
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin: 40px 0;
}

.gallery-page {
  margin: 40px auto 80px;
}

/* GALLERY MODAL */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f6f4;
  z-index: 9999;
  overflow-y: auto;
}

@media (min-width: 901px) {
  .gallery-modal .container {
    max-width: 80%;
  }
}

/* FONTS */
@font-face {
  font-family: 'Stolen Love';
  src: url('/assets/fonts/StolenLove-Regular.woff2') format('woff2'),
    url('/assets/fonts/StolenLove-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Regular.woff2') format('woff2'),
    url('/assets/fonts/Poppins-Regular.woff') format('woff');
  font-display: swap;
}