/* ============================================
   ASHMO'S — Café & Bar, Sitka, AK
   Bold editorial style · Forest green + off-white
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-950: #0D1F17;
  --green-900: #1B3C2F;
  --green-800: #254E3D;
  --green-700: #2D5F4A;
  --green-600: #3A7459;
  --green-500: #4A8B6A;
  --green-100: #D4E6D8;
  --green-50:  #EFF6EF;
  --cream:     #F5F2EB;
  --cream-dark:#EDE8DC;
  --white:     #FEFEFC;
  --black:     #0A0A08;
  --gray-900:  #1A1A18;
  --gray-700:  #3D3D38;
  --gray-500:  #6B6B62;
  --gray-300:  #B8B8AE;
  --gray-100:  #E8E8E0;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  color: var(--green-900);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--green-700);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-900);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 60, 47, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--green-900);
  border: 1.5px solid var(--green-900);
}

.btn--ghost:hover {
  background: var(--green-900);
  color: var(--cream);
}

.btn--nav {
  padding: 10px 24px;
  background: var(--green-900);
  color: var(--cream);
  border-radius: 100px;
}

.btn--nav:hover {
  background: var(--green-800);
}

.btn--full {
  width: 100%;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green-900);
  color: var(--cream);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
}

.logo-word {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-list a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 100px;
  transition: var(--transition);
}

.nav-list a:hover {
  color: var(--green-900);
  background: var(--green-50);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--green-100) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--green-600);
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--green-900);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-headline em {
  font-style: italic;
  color: var(--green-600);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero images */
.hero-image {
  position: relative;
  height: 680px;
}

.hero-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 82%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(27, 60, 47, 0.15);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(27, 60, 47, 0.2);
  background: var(--green-900);
}

.hero-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.hero-img-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(27, 60, 47, 0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green-600), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---------- MARQUEE ---------- */
.marquee-strip {
  background: var(--green-900);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee 24s linear infinite;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--green-100);
  letter-spacing: 0.04em;
}

.marquee-track span:last-child {
  margin-right: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(27, 60, 47, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 7 / 9;
}

.about-content {
  max-width: 520px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--green-900);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- MENU ---------- */
.menu {
  padding: 120px 0;
  background: var(--cream);
}

.menu-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.menu-card {
  padding: 40px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
}

.menu-card--dark {
  background: var(--green-900);
  color: var(--cream);
}

.menu-card--dark:hover {
  box-shadow: 0 16px 48px rgba(27, 60, 47, 0.3);
}

.menu-card--accent {
  background: var(--green-700);
  color: var(--cream);
}

.menu-card--accent:hover {
  box-shadow: 0 16px 48px rgba(45, 95, 74, 0.3);
}

.menu-card--light {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-100);
}

.menu-card--light:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.menu-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  background: rgba(255,255,255,0.12);
  color: var(--cream);
}

.menu-card--light .menu-card-icon {
  background: var(--green-50);
  color: var(--green-700);
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: inherit;
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.menu-item-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: inherit;
}

.menu-item-desc {
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: right;
  flex-shrink: 0;
}

.menu-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 120px 0 80px;
  background: var(--white);
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,60,47,0.2) 0%, transparent 40%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item--tall  { grid-column: span 4; grid-row: span 2; }
.gallery-item       { grid-column: span 4; }
.gallery-item--wide { grid-column: span 8; }

/* ---------- VISIT ---------- */
.visit {
  padding: 120px 0;
  background: var(--green-900);
  color: var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.visit-info .section-eyebrow {
  color: var(--green-100);
}

.visit-info .section-title {
  color: var(--cream);
}

.visit-info .section-title em {
  color: var(--green-100);
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.visit-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visit-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-100);
}

.visit-detail-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--cream);
}

.visit-link {
  color: var(--green-100);
  border-bottom: 1px solid rgba(212, 230, 216, 0.3);
  padding-bottom: 2px;
  transition: var(--transition);
}

.visit-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

/* ---------- CTA / CONTACT ---------- */
.cta {
  padding: 120px 0;
  background: var(--cream);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-content .section-title {
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.cta-form-wrap {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--cream);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 139, 106, 0.12);
}

.form-input::placeholder {
  color: var(--gray-300);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  color: var(--green-800);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--green-100);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(212, 230, 216, 0.1);
}

.footer-brand .logo-word {
  color: var(--cream);
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--green-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--green-100);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cream);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--green-500);
}

.footer-contact a {
  color: var(--green-100);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--cream);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-500);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 242, 235, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-list a {
    font-size: 1.1rem;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
  }

  .btn--nav {
    text-align: center;
    margin-top: 16px;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    height: 500px;
    order: -1;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    max-width: 100%;
  }

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

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

  .gallery-item--tall,
  .gallery-item,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item--tall {
    grid-row: span 2;
  }

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

  .visit-map {
    min-height: 300px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-image {
    height: 400px;
  }

  .hero-img-main {
    width: 85%;
    height: 88%;
  }

  .hero-img-float {
    width: 60%;
    bottom: 4%;
  }

  .about, .menu, .gallery, .visit, .cta {
    padding: 80px 0;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 2rem;
  }

  .menu-card {
    padding: 28px;
  }

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

  .gallery-item--tall {
    grid-row: span 1;
  }

  .cta-form-wrap {
    padding: 32px 24px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
