html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
}

h2 {
  margin-top: 30px;
}

textarea {
  resize: none;
}

button {
  margin-bottom: 15px;
}

#success-msg {
  color: #000;
  padding: 10px;
  display: none;
  font-size: 1.3rem;
  text-align: center;
}

#contactMe {
  width: 40%;
  display: block;
  padding: 0 25px;
  text-align: center;
  margin: 30px auto;
  border-radius: 7px;
  border: 2px solid #f1f1f1;
}

#contact h2 {
  margin-top: 60px;
}

#contactMe label {
  width: 100%;
  margin-top: 20px;
  text-align: left;
}

#map {
  width: 100%;
  height: 500px;
}

#mapSection {
  scroll-margin-top: 140px;
}

#foot {
  width: 100%;
  padding: 7px 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
  color: #f3ecd1;
  background-color: #000;
}

#foot p {
  margin: 0;
  padding: 5px;
}

#foot a {
  color: #f3ecd1;
  text-decoration: none;
}

#foot a:hover {
  color: #f3ecd1;
  transform: scale(1.1);
}

.map-popup {
  min-width: 190px;
  text-align: center;
}

.map-popup-thumb {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.map-popup-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.map-popup-count {
  margin-bottom: 8px;
}

.map-popup-link a {
  font-weight: 600;
  text-decoration: none;
}

.field-space {
  margin: 15px 0;
}

.centerMe {
  display: block;
  text-align: center;
}

.shopcart-icon {
  margin-left: 25px;
  width: 48px;
  height: auto;
}

.btn-style {
  width: 150px;
  margin: 20px 0;
}

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  position: fixed;
  background: #000;
}

.header-inner {
  /* max-width: 1400px; */
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: space-between;
}

.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-brand img {
  display: block;
  height: 95px;
  width: auto;
  max-width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 40px;
  margin-right: 35px;
  padding-left: 0 34px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #f3ecd1;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: #ffffff;
  padding-bottom: 3px;
  border-bottom: 2px solid #fff;
}

/* HERO / FIXED BACKGROUND */
.hero-section {
  /* min-height: 100vh; */
  min-height: calc(100vh - 80px); /* match navbar height */
  background: url("../images/pnw_scene_r2.jpg") center center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK OR LIGHT OVERLAY */
.hero-overlay {
  width: 100%;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.6); /* change to darker if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
  box-sizing: border-box;
}

/* TEXT INSIDE HERO */
.hero-content {
  max-width: 900px;
  text-align: center;
  color: #111;
}

.hero-panel {
  width: 60%;
  display: block;
  text-align: center;
  /* align-items: center;
  justify-content: center; */
}

.hero-panel h2 {
  margin-bottom: 15px;
}

.hero-panel p {
  width: 100%;
  text-align: center;
  /* align-items: center; */
  /* justify-content: center; */
  font-size: clamp(0.8rem, 2vw, 1.15rem);
  line-height: 1.5;
}

/* SCROLLING CONTENT SECTIONS */
.content-section {
  background: #ffffff;
  padding: 80px 20px;
  position: relative;
  z-index: 2;
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.alt-section {
  background: #f3f3f3;
}

/* ============================================================
   AREA PAGE RULES
============================================================ */

.area-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 170px 40px 80px;
}

/* ============================================================
   AREA INTRO
============================================================ */

.area-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.area-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.area-summary {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ============================================================
   ARTICLE
============================================================ */

.area-story {
  margin-top: 30px;
}

.area-story-header {
  text-align: center;
  margin-bottom: 45px;
}

.area-story-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

/* ============================================================
   EDITORIAL STORY
============================================================ */

.editorial-story {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.85;
}

.story-text p {
  margin-top: 0;
}

.story-text p::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 8px;
  font-weight: 600;
}

/* ============================================================
   STORY PHOTOS
============================================================ */

.story-photo {
  margin: 0;
}

.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.story-photo figcaption {
  margin-top: 7px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #666;
}

/* First photo wraps inside article text */
.story-photo-right {
  float: right;
  width: 48%;
  margin: 0 0 25px 40px;
}

/* Wide image between story sections */
.story-photo-wide {
  clear: both;
  max-width: 1100px;
  margin: 50px auto;
}

.story-photo-wide img {
  max-height: 650px;
  object-fit: cover;
}

/* Remaining photographs */
.story-photo-row {
  clear: both;
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

/* =========================================================
   STORIES AND PLACES - ZIGZAG LAYOUT
   ========================================================= */
.story-place-item {
  display: flex;
  align-items: center;
  gap: 70px;

  max-width: 1180px;
  margin: 0 auto 75px;
  /* margin: 0 auto 120px; */
}

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

/* Photo side */
.story-place-image {
  flex: 0 0 56%;
}

.story-place-image img {
  display: block;
  width: 100%;
  height: auto;

  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Text side */
.story-place-content {
  flex: 1;
  max-width: 390px;
}

.story-place-content h3 {
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 1.15;
}

.story-place-content p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.story-place-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
}

.story-place-link:hover {
  text-decoration: underline;
}
#storiesPlacesSection {
  scroll-margin-top: 140px;
}

/* Odd rows */
.story-place-item:nth-child(odd) {
  transform: translateX(-35px);
}

.story-place-item:nth-child(odd) .story-place-content {
  transform: translateY(30px);
}

/* Even rows */
.story-place-item:nth-child(even) {
  transform: translateX(35px);
}

.story-place-item:nth-child(even) .story-place-image {
  transform: translateY(25px);
}

/* =========================================================
   PHOTO GALLERY
   ========================================================= */
#photoGallerySection {
  scroll-margin-top: 140px;
}

.photo-gallery-section {
  padding: 80px 0 110px;
}

.photo-gallery-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
}

.photo-gallery-heading h2 {
  margin-bottom: 16px;
  font-size: 2.5rem;
}

.photo-gallery-heading p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px 45px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-photo-card {
  text-align: center;
}

/* =========================================================
   WOOD PHOTO FRAME
   ========================================================= */
.gallery-photo-frame {
  padding: 14px;

  background:
        /* subtle horizontal wood grain */
    repeating-linear-gradient(
      2deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 3px,
      transparent 4px,
      transparent 8px
    ),
    /* irregular grain variation */
    repeating-linear-gradient(
        -3deg,
        transparent 0px,
        transparent 12px,
        rgba(0, 0, 0, 0.08) 13px,
        transparent 15px,
        transparent 24px
      ),
    /* existing wood coloring */
    linear-gradient(
        135deg,
        #3b2114 0%,
        #795035 18%,
        #4a2a19 35%,
        #936747 52%,
        #4b2a19 70%,
        #765036 86%,
        #352014 100%
      );

  border: 2px solid #2b180f;

  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    inset 0 0 10px rgba(0, 0, 0, 0.65),
    0 10px 22px rgba(0, 0, 0, 0.28);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-photo-frame:hover {
  transform: translateY(-4px);

  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    inset 0 0 10px rgba(0, 0, 0, 0.65),
    0 16px 30px rgba(0, 0, 0, 0.32);
}

.gallery-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid #17110d;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.gallery-photo-info {
  padding-top: 16px;
}

.gallery-photo-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.gallery-photo-area {
  margin-top: 4px;
  font-size: 0.9rem;
  opacity: 0.65;
}

/* =========================================================
   PHOTO GALLERY MODAL
   ========================================================= */
.gallery-photo-frame {
  cursor: pointer;
}

.gallery-modal-content {
  /* margin-top: 35px; */
  position: relative;
  background: rgba(15, 15, 15, 0.97);
  border: none;
  border-radius: 5px;
  border: 4px solid rgba(255, 255, 255, 0.45);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 15px 45px rgba(0, 0, 0, 0.65);
}

.gallery-modal-body {
  padding: 28px;
  text-align: center;
}

.gallery-modal-image {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

.gallery-modal-caption {
  margin-top: 18px;
  color: #fff;
}

.gallery-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.gallery-modal-area {
  margin-top: 4px;

  font-size: 0.95rem;
  opacity: 0.7;
}

.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  filter: invert(1);
}

/* ============================================================
   SECTION TRANSITION
============================================================ */
.section-transition {
  width: 100%;
  height: 350px;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.transition-overlay {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.18);
}

.transition-content {
  color: #fff;

  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* ============================================================
   AREA PAGE - TABLET / MOBILE
============================================================ */
@media (max-width: 900px) {
  .area-page {
    padding: 190px 20px 60px;
  }

  .story-photo-right {
    float: none;
    width: 100%;
    margin: 0 0 30px;
  }

  .story-photo-row {
    grid-template-columns: 1fr;
  }

  .editorial-story {
    font-size: 1.05rem;
  }
}

/* Large laptop / small desktop */
@media (max-width: 1280px) {
  .header-inner {
    padding: 12px 18px;
    gap: 16px;
  }

  .site-brand img {
    height: 82px;
  }

  .main-nav {
    gap: 18px;
    padding-left: 18px;
  }

  .main-nav a {
    font-size: 1rem;
  }
}

/* Tight laptop range */
@media (max-width: 1080px) {
  .site-brand img {
    height: 72px;
  }

  .main-nav {
    gap: 14px;
    padding-left: 14px;
  }

  .main-nav a {
    font-size: 0.95rem;
  }
}

/* Tablet and below */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .site-brand {
    justify-content: center;
  }

  .site-brand img {
    height: auto;
    width: min(100%, 360px);
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    padding-left: 0;
    gap: 12px 18px;
  }

  .main-nav a {
    font-size: 1rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  .header-inner {
    padding: 10px 12px;
  }

  .site-brand img {
    width: min(100%, 300px);
  }

  .main-nav {
    gap: 10px 14px;
  }

  .main-nav a {
    font-size: 0.92rem;
  }
}

/* Photo Gallery Responsiveness */
@media (max-width: 992px) {
  .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .gallery-photo-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}
