/* ============================================
   Captain Jack's Saloon — Styles
   Terracotta + Sand · Clean Minimalist
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #3d3730;
  background-color: #fdfcfa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Container
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 64px;
  }
}

/* ============================================
   Section helpers
   ============================================ */
.section {
  padding: 100px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 140px 0;
  }
}

.section-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8411f;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  color: #1f1b17;
  margin-bottom: 24px;
}

.section-subtitle {
  font-weight: 300;
  font-size: 17px;
  color: #7d7466;
  max-width: 480px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 88px;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: #b8411f;
  color: #fdfcfa;
  border: 1px solid #b8411f;
}

.btn-primary:hover {
  background-color: #933118;
  border-color: #933118;
}

.btn-ghost {
  background-color: transparent;
  color: #fdfcfa;
  border: 1px solid rgba(253, 252, 250, 0.4);
}

.btn-ghost:hover {
  border-color: #fdfcfa;
  background-color: rgba(253, 252, 250, 0.08);
}

.btn-large {
  padding: 16px 44px;
  font-size: 13px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 55, 48, 0.08);
  transition: background-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .nav-inner {
    padding: 0 48px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  color: #1f1b17;
  letter-spacing: 0.01em;
}

.nav-logo-icon {
  color: #b8411f;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #5f574b;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #b8411f;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #1f1b17;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: #b8411f !important;
  border: 1px solid #f8c4b2;
  padding: 8px 20px;
  border-radius: 2px;
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: #b8411f !important;
  color: #fdfcfa !important;
  border-color: #b8411f !important;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #1f1b17;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg line {
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background-color: rgba(253, 252, 250, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px 24px;
  gap: 24px;
  border-bottom: 1px solid rgba(61, 55, 48, 0.08);
}

@media (min-width: 768px) {
  .nav-links.mobile-open {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1f1b17;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 27, 23, 0.3) 0%,
    rgba(31, 27, 23, 0.55) 50%,
    rgba(31, 27, 23, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  padding-top: 72px;
}

.hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f8c4b2;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.08;
  color: #fdfcfa;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: #f8c4b2;
}

.hero-sub {
  font-weight: 300;
  font-size: 17px;
  color: rgba(253, 252, 250, 0.7);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(253, 252, 250, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   About
   ============================================ */
.about {
  background-color: #fdfcfa;
}

.about-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-image {
  overflow: hidden;
  border-radius: 2px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-text p {
  font-weight: 300;
  font-size: 16px;
  color: #5f574b;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid #eeede8;
}

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

.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  color: #1f1b17;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #9e9586;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: #eeede8;
  flex-shrink: 0;
}

/* ============================================
   Menu
   ============================================ */
.menu {
  background-color: #faf5ee;
}

.menu-columns {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .menu-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.menu-column-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(61, 55, 48, 0.1);
}

.menu-column-header svg {
  color: #b8411f;
  flex-shrink: 0;
}

.menu-column-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  color: #1f1b17;
}

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

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(61, 55, 48, 0.06);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-weight: 400;
  font-size: 15px;
  color: #1f1b17;
}

.menu-item-desc {
  font-weight: 300;
  font-size: 13px;
  color: #9e9586;
  text-align: right;
  flex-shrink: 0;
  max-width: 180px;
}

.menu-note {
  text-align: center;
  font-weight: 300;
  font-size: 13px;
  color: #9e9586;
  margin-top: 56px;
  font-style: italic;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  background-color: #fdfcfa;
  padding-bottom: 0;
}

.gallery .container {
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .gallery .container {
    padding-bottom: 140px;
  }
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 280px 280px;
    gap: 20px;
  }

  .gallery-item--wide {
    grid-column: span 6;
  }

  .gallery-item:not(.gallery-item--wide) {
    grid-column: span 3;
  }

  .gallery-grid > :nth-child(1) {
    grid-column: span 6;
  }

  .gallery-grid > :nth-child(2) {
    grid-column: span 3;
  }

  .gallery-grid > :nth-child(3) {
    grid-column: span 3;
  }

  .gallery-grid > :nth-child(4) {
    grid-column: span 3;
  }

  .gallery-grid > :nth-child(5) {
    grid-column: span 3;
  }

  .gallery-grid > :nth-child(6) {
    grid-column: span 6;
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

@media (max-width: 640px) {
  .gallery-item {
    height: 240px;
  }

  .gallery-item img {
    height: 100%;
  }
}

/* ============================================
   Visit
   ============================================ */
.visit {
  background-color: #faf5ee;
}

.visit-grid {
  display: grid;
  gap: 56px;
  align-items: start;
}

@media (min-width: 768px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.visit-address,
.visit-phone {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-style: normal;
}

.visit-address svg,
.visit-phone svg {
  color: #b8411f;
  flex-shrink: 0;
  margin-top: 3px;
}

.visit-address span {
  font-weight: 300;
  font-size: 16px;
  color: #3d3730;
  line-height: 1.6;
}

.visit-phone {
  color: #b8411f;
  font-weight: 400;
  font-size: 17px;
  transition: color 0.2s ease;
}

.visit-phone:hover {
  color: #933118;
}

.hours {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(61, 55, 48, 0.1);
}

.hours-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  color: #1f1b17;
  margin-bottom: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(61, 55, 48, 0.06);
  font-weight: 300;
  font-size: 15px;
  color: #5f574b;
}

.hours-row span:last-child {
  color: #1f1b17;
  font-weight: 400;
}

.hours-row:last-child {
  border-bottom: none;
}

.visit-map {
  border-radius: 2px;
  overflow: hidden;
  min-height: 400px;
  background-color: #eeede8;
}

@media (min-width: 768px) {
  .visit-map {
    min-height: 480px;
  }
}

/* ============================================
   CTA / Contact
   ============================================ */
.cta {
  background-color: #1f1b17;
}

.cta .section-eyebrow {
  color: #f8c4b2;
}

.cta .section-title {
  color: #fdfcfa;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-text {
  font-weight: 300;
  font-size: 17px;
  color: rgba(253, 252, 250, 0.6);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-form {
  text-align: left;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  margin-top: 4px;
}

.form-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9e9586;
}

.form-input {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #fdfcfa;
  background-color: rgba(253, 252, 250, 0.06);
  border: 1px solid rgba(253, 252, 250, 0.15);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
}

.form-input::placeholder {
  color: #7d7466;
}

.form-input:focus {
  border-color: #b8411f;
  background-color: rgba(253, 252, 250, 0.08);
}

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

.form-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #f8c4b2;
}

.form-success svg {
  color: #f8c4b2;
  flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: #110f0d;
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(253, 252, 250, 0.08);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 48px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  color: #fdfcfa;
}

.footer-logo svg {
  color: #b8411f;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: #9e9586;
  transition: color 0.2s ease;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: #fdfcfa;
}

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

.footer-bottom p {
  font-size: 12px;
  font-weight: 300;
  color: #7d7466;
  letter-spacing: 0.04em;
}

/* ============================================
   Scroll-reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .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; }
}

/* Reduced motion — keep everything visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll {
    animation: none;
  }
}
