* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background: #fff;
  color: #111;
  line-height: 1.6;
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* H1 safety: responsive clamp */
h1 {
  font-family: "Cabin", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 90px);
  line-height: 1.05;
}

 h2 {
  font-family: "Caveat", cursive;
  font-weight: 400;
  font-size: 2rem;
 }

 h3,
 h4,
 h5 {
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 700;
 }

p,
ul,
ol,
li,
span {
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 400;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */

.logo img {
  height: 62px;          /* adjust as needed */
  width: auto;
  display: block;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.menu-btn {
  background: none;
  border: 0px solid #ccc;
  padding: 6px 12px;
  cursor: pointer;
}



/* Mobile utility CTA bar (hidden on desktop) */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-top: 1px solid #eee;
  }

  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.2px;
  }

  .mobile-cta + .mobile-cta {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
  }

  .mobile-cta:active {
    transform: translateY(1px);
  }

  .mobile-cta:focus-visible {
    outline: 2px solid #000;
    outline-offset: -2px;
  }
}

/* Hamburger icon */
.menu-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.hamburger {
  position: relative;
  width: 22px;
  height: 2px;
  background: #111;
  display: block;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* Drawer overlay + panel */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 150;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 30vw;
  max-width: 520px;
  min-width: 320px;
  background: #000;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

body.drawer-open .nav-drawer {
  transform: translateX(0);
}

body.drawer-open {
  overflow: hidden;
}

.drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 16px 0;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.drawer-nav {
  padding: 28px 50px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav a {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.drawer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 4px;
  background: #fff;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-nav a:hover::after {
  width: 100%;
}

/* Prevent layout shift when scroll is locked (drawer/modal) */
html {
  scrollbar-gutter: stable;
}

/* Content links (exclude nav, drawer, footer) */
.content a,
.meta a,
.testimonials a,
.related a {
  font-weight: 700;
  color: #000;
  text-decoration: none;
  position: relative;
}

.content a::after,
.meta a::after,
.testimonials a::after,
.related a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: #000;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.content a:hover::after,
.meta a:hover::after,
.testimonials a:hover::after,
.related a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-drawer {
    width: 85vw;
    min-width: 0;
  }
}


/* Hero */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;

  overflow: hidden;
}

/* Hero background layer (JS keeps it visually "fixed" on iOS) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("media/cabinfront_1900.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateY(0);
  z-index: 0;
}

/* Gradient tint overlay (top and bottom) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 30%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  opacity: 0;
  animation: heroFade 1s var(--ease-out) forwards;
  position: relative;
  z-index: 2;
}

@keyframes heroFade {
  to { opacity: 1; }
}

.btn {
  padding: 22px 38px;
  margin: 0 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.primary {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}


/* Hero button links: keep text white for normal/visited/active states */
.hero-actions .btn a,
.hero-actions .btn a:visited,
.hero-actions .btn a:active {
  color: #fff;
  text-decoration: none;
}

.hero-actions .btn a:hover {
  color: #fff;
}

/* Meta */
.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 24px;
  padding: 50px 0;
}

/* About the Cabin split layout */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom:60px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
  display: block;
}


@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
  }
}

/* Content */
.content {
  margin: 60px auto;
}

.ul {
  margin: 0px 40px ;
}

.image-placeholder {
  background: #e0e0e0;
  height: 300px;
  width: 100%;
  transition: transform 0.6s var(--ease-out);
}

/* Grids */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  margin: 60px auto;
}

.image-block {
  margin: 60px auto;
}

/* Full-width 16:9 image block */

.image-block-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.image-block-full .image-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.image-block-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* iOS-friendly "static while scrolling" for fixed-parallax sections */
.fixed-parallax-img {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.fixed-parallax-img.is-visible {
  opacity: 1;
}

/* Prevent double-rendering: hide the in-section image while fixed layer is active */
[data-fixed-parallax].is-fixed-parallax-active .image-item img {
  opacity: 0;
}

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.mosaic-small {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

/* Quote */
.quote {
  text-align: center;
  margin: 80px auto;
}

.quote blockquote {
  font-style: italic;
  font-size: 2rem;
}

/* Related */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0;
}

.related-card:hover {
  transform: none;
  box-shadow: none;
}


/* Product card layout (Products section) */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #e0e0e0;
  overflow: hidden;
  margin: 0 0 10px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

.product-variant {
  font-size: 0.85rem;
  color: #666;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-top: 2px;
}

.product-buy,
.product-buy:visited {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
}

.product-buy:hover {
  background: #111;
  color: #fff;
}

.product-buy:active {
  transform: translateY(1px);
}

/* Footer */
.site-footer {
  background: #000;
  padding: 48px 0 32px;
  border-top: none;
  color: #fff;
  margin-top: 50px
}

.footer-inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Top row */
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

/* Logo */
.footer-logo img {
  height: 250px; /* adjust to taste */
  width: auto;
  display: block;
}


.footer-logo img {
  filter: brightness(0) invert(1);
}

/* Nav links */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Social */
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
}

/* Divider */
.footer-divider {
  margin: 32px 0 20px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* Bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #ccc;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }


  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .stagger > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .image-grid,
  .related-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials {
  border-top: 1px solid #e0e0e0;
  padding: 80px 0;

}

.testimonials-header {
  max-width: 500px;
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.testimonials-header p {
  color: #555;
}

/* Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Card */
.testimonial-card {
  border-top: 1px solid #eee;
  padding-top: 32px;
}

.stars {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* Quote */
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  color: #111;
}

/* Footer */
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
}

.author-info span {
  font-size: 0.8rem;
  color: #666;
}

/* Company logo */
.company img {
  height: 80px;
  width: auto;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.image-item {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #e0e0e0;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image modal */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.image-modal.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.modal-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Controls */
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 12px;
}

.modal-nav.prev {
  left: 24px;
}

.modal-nav.next {
  right: 24px;
}

/* About the Cabin gallery hover zoom */

[data-gallery="aboutthecabin"] .image-item {
  overflow: hidden;
}

[data-gallery="aboutthecabin"] .image-item img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-gallery="aboutthecabin"] .image-item:hover img {
  transform: scale(1.04);
}


/* Mobile */
@media (max-width: 768px) {
  .modal-nav {
    font-size: 36px;
  }
}
