/* =========================================
   ALPENGLOW RANCHERO — STYLES
   Brand: Desert Sand, Ranch Earth, Gold
   Fonts: Oswald + DM Sans
   ========================================= */

:root {
  --desert-sand: #F5EDE0;
  --desert-sand-light: #FAF6F1;
  --ranch-earth: #2C1810;
  --juniper-bark: #5C3A28;
  --alpenglow-gold: #D4954A;
  --sunrise-amber: #F9A51A;
  --high-desert-sage: #6B7F5E;
  --cascade-sky: #386B8A;
  --charcoal: #1A1A1A;
  --white: #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-height: 72px;
  --max-width: 1200px;
  --section-padding: 100px 24px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--desert-sand);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =========================================
   UTILITIES
   ========================================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alpenglow-gold);
  margin-bottom: 16px;
}

.section-label--light {
  color: var(--alpenglow-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ranch-earth);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-rule {
  width: 48px;
  height: 2px;
  background: var(--alpenglow-gold);
  margin-bottom: 32px;
}

.section-rule--gold {
  background: var(--alpenglow-gold);
  margin: 24px auto 32px;
}

.section-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--juniper-bark);
  max-width: 680px;
  margin-bottom: 56px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn--gold {
  background: var(--alpenglow-gold);
  color: var(--white);
  border: 2px solid var(--alpenglow-gold);
}
.btn--gold:hover {
  background: var(--sunrise-amber);
  border-color: var(--sunrise-amber);
}

.btn--outline {
  background: transparent;
  color: var(--ranch-earth);
  border: 2px solid var(--ranch-earth);
}
.btn--outline:hover {
  background: var(--ranch-earth);
  color: var(--desert-sand);
}

.btn--outline-light {
  background: transparent;
  color: var(--desert-sand);
  border: 2px solid rgba(245, 237, 224, 0.4);
}
.btn--outline-light:hover {
  background: rgba(245, 237, 224, 0.1);
  border-color: var(--desert-sand);
}

/* =========================================
   NAV
   ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav.scrolled {
  background: rgba(44, 24, 16, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav__logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--alpenglow-gold); }

.nav__cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--alpenglow-gold);
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--sunrise-amber); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ranch-earth);
  padding: 100px 40px 40px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--alpenglow-gold); }
.mobile-link--cta {
  color: var(--alpenglow-gold);
  border-bottom: none;
  margin-top: 16px;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    #1a0e08 0%,
    var(--ranch-earth) 40%,
    #3d1f10 70%,
    #2a1408 100%
  );
}

/* Subtle texture overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 40%, rgba(212, 149, 74, 0.08) 0%, transparent 60%),
                    radial-gradient(ellipse at 20% 80%, rgba(56, 107, 138, 0.06) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__logo-mark {
  margin-bottom: 16px;
}

.hero__logo-img {
  width: clamp(240px, 40vw, 420px);
  height: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.5));
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__rule-left,
.hero__rule-right {
  display: none; /* Used in logo lockup, handled via flex layout */
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  margin-bottom: 32px;
}

.hero__enter {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 16px 52px;
  border-radius: 2px;
  transition: all 0.25s ease;
  margin-top: 8px;
}
.hero__enter:hover {
  background: var(--alpenglow-gold);
  border-color: var(--alpenglow-gold);
  color: var(--white);
  transform: translateY(-1px);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 20px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================
   EXPERIENCE / AMENITIES
   ========================================= */

.experience {
  padding: var(--section-padding);
  background: var(--desert-sand-light);
  text-align: left;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(44, 24, 16, 0.08);
  margin-bottom: 48px;
  border: 1px solid rgba(44, 24, 16, 0.08);
}

.amenity-card {
  background: var(--desert-sand-light);
  padding: 36px 28px;
  transition: background 0.2s;
}
.amenity-card:hover {
  background: var(--white);
}

.amenity-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.amenity-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ranch-earth);
  margin-bottom: 8px;
}

.amenity-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--juniper-bark);
  line-height: 1.5;
}

/* =========================================
   GALLERY
   ========================================= */

.gallery {
  background: var(--ranch-earth);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 340px 340px;
  gap: 3px;
}

.gallery__item {
  overflow: hidden;
  position: relative;
}

.gallery__item--large {
  grid-row: 1 / 3;
}

.gallery__item--wide {
  grid-column: 2 / 4;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d2415 0%, #2C1810 50%, #1a0e08 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.gallery__item:hover .gallery__placeholder {
  transform: scale(1.03);
}

.gallery__placeholder span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 149, 74, 0.6);
}

/* =========================================
   INLINE IMAGE PLACEHOLDERS (interior pages)
   ========================================= */

.img-block {
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  margin: 40px 0;
}

.img-block--tall {
  height: 480px;
}

.img-block--medium {
  height: 360px;
}

.img-block--short {
  height: 260px;
}

.img-block__inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d2415 0%, #2C1810 50%, #1a0e08 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.img-block:hover .img-block__inner {
  transform: scale(1.02);
}

.img-block__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 149, 74, 0.6);
}

/* Map block */
.map-block {
  width: 100%;
  background: transparent;
  margin-bottom: 48px;
  overflow: hidden;
  line-height: 0;
  border-radius: 3px;
}

.map-block__img {
  width: 100%;
  height: auto;
  display: block;
}

.map-block__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 149, 74, 0.6);
}

/* Seasonal 2x2 grid */
.seasonal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 32px 0 48px;
}

.seasonal-item {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.seasonal-item__inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d2415 0%, #2C1810 50%, #1a0e08 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.4s ease;
}

.seasonal-item:hover .seasonal-item__inner {
  transform: scale(1.03);
}

.seasonal-item__season {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--alpenglow-gold);
}

.seasonal-item__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Dual image row (side by side) */
.img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 40px 0;
}

.img-row .img-block {
  margin: 0;
  height: 320px;
}

@media (max-width: 640px) {
  .seasonal-grid { grid-template-columns: 1fr; }
  .img-row { grid-template-columns: 1fr; }
  .img-block--tall { height: 300px; }
  .img-block--medium { height: 260px; }
  .map-block { height: 280px; }
}

/* =========================================
   POLICIES & FAQ
   ========================================= */

.policies {
  padding: var(--section-padding);
  background: var(--desert-sand);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.policy-block__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ranch-earth);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--alpenglow-gold);
}

.policy-block p,
.policy-block li {
  font-size: 14px;
  color: var(--juniper-bark);
  line-height: 1.7;
}

.policy-block ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-block li::before {
  content: '— ';
  color: var(--alpenglow-gold);
}

/* FAQ */
.faq__heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ranch-earth);
  margin-bottom: 24px;
}

.faq__item {
  border-bottom: 1px solid rgba(44, 24, 16, 0.12);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ranch-earth);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--alpenglow-gold); }

.faq__icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--alpenglow-gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__answer.open {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq__answer p {
  font-size: 15px;
  color: var(--juniper-bark);
  line-height: 1.7;
}

/* =========================================
   CONTACT
   ========================================= */

.contact {
  background: var(--ranch-earth);
  padding: 120px 24px;
  text-align: center;
}

.contact__inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact__logo-img {
  width: 180px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.contact__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(245, 237, 224, 0.65);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.contact__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(245, 237, 224, 0.45);
  letter-spacing: 0.05em;
}

.contact__dot {
  color: var(--alpenglow-gold);
  opacity: 0.5;
}

.contact__phone {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.contact__phone:hover {
  color: var(--alpenglow-gold);
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background: #1a0e08;
  padding: 48px 40px;
  border-top: 1px solid rgba(212, 149, 74, 0.15);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--alpenglow-gold); }

.footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .amenities {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }
  .gallery__item--large {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .gallery__item--wide {
    grid-column: 1 / 3;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 20px;
    --nav-height: 60px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .amenities {
    grid-template-columns: 1fr 1fr;
  }

  .amenity-card {
    padding: 24px 20px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 200px 200px 200px;
  }

  .gallery__item--large,
  .gallery__item--wide {
    grid-column: 1;
    grid-row: auto;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .contact__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .amenities {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 38px;
  }
}
