/* ───────────────────────────────────────────
   B&S's Jack The Ripper Pub — Styles
   Palette: Burgundy (#7B1E2A) · Blush (#F5D5CC) · Neutrals
   Fonts: DM Serif Display · Inter
─────────────────────────────────────────── */

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

:root {
  --burgundy:       #7B1E2A;
  --burgundy-dark:  #5C151E;
  --burgundy-light: #9E2B3A;
  --blush:          #F5D5CC;
  --blush-light:    #FBF0EC;
  --blush-dark:     #E8B8AB;
  --cream:          #FDF8F5;
  --charcoal:       #1E1E1E;
  --slate:          #3A3A3A;
  --stone:          #6B6B6B;
  --stone-light:    #9A9A9A;
  --white:          #FFFFFF;
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:         8px;
  --radius-lg:      12px;
  --shadow:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.12);
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--burgundy-light); }

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

/* ───────────────────────────────────────────
   TYPOGRAPHY
─────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--blush);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag--light {
  color: var(--blush);
  background: var(--burgundy);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-title--light {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--stone);
  max-width: 560px;
  margin-bottom: 48px;
}
.section-sub--light {
  color: var(--blush);
}

/* ───────────────────────────────────────────
   BUTTONS
─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn--primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn--primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--burgundy);
}
.btn--dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn--dark:hover {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white);
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ───────────────────────────────────────────
   NAVIGATION
─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(123, 30, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.nav__logo:hover { color: var(--white); }
.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--blush);
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--burgundy-dark);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__links a {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
  }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ───────────────────────────────────────────
   HERO
─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 10, 14, 0.72) 0%,
    rgba(123, 30, 42, 0.65) 50%,
    rgba(92, 21, 30, 0.82) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
  padding: 120px 24px 80px;
}
.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--blush);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ───────────────────────────────────────────
   ABOUT
─────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about__stat {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--burgundy);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}
.about__stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blush);
}
.about__text p {
  color: var(--stone);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about__highlights {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.about__highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--slate);
}
.hl__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--burgundy);
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__stat {
    right: 16px;
    bottom: -16px;
  }
}

/* ───────────────────────────────────────────
   MENU
─────────────────────────────────────────── */
.menu {
  padding: 100px 0;
  background: var(--burgundy);
  position: relative;
}
.menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,213,204,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.menu > .container:first-child {
  text-align: center;
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.menu-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: background var(--transition), transform var(--transition);
}
.menu-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.menu-card__icon {
  width: 52px;
  height: 52px;
  color: var(--blush);
  margin-bottom: 20px;
}
.menu-card__icon svg {
  width: 100%;
  height: 100%;
}
.menu-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
}
.menu-card__desc {
  font-size: 0.9rem;
  color: var(--blush);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .menu__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .menu__grid {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   ATMOSPHERE
─────────────────────────────────────────── */
.atm {
  padding: 100px 0;
  background: var(--cream);
}
.atm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.atm__text p {
  color: var(--stone);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.atm__text .btn {
  margin-top: 28px;
}
.atm__gallery {
  display: grid;
  gap: 20px;
}
.atm__gallery img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.atm__gallery img:first-child {
  height: 340px;
}
.atm__gallery img:last-child {
  height: 200px;
}

@media (max-width: 900px) {
  .atm__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .atm__gallery {
    order: -1;
  }
}

/* ───────────────────────────────────────────
   VISIT
─────────────────────────────────────────── */
.visit {
  padding: 100px 0;
  background: var(--blush-light);
}
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.visit__info p {
  color: var(--stone);
  font-size: 1.02rem;
}
.visit__address {
  font-style: normal;
  margin: 24px 0;
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.8;
}
.visit__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.visit__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.95rem;
}
.visit__contact-link:hover {
  color: var(--burgundy-light);
}
.visit__contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.visit__hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.visit__hours-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.visit__hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--blush);
  font-size: 0.92rem;
  color: var(--slate);
}
.visit__hours-row:last-of-type {
  border-bottom: none;
}
.visit__hours-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--stone-light);
}
.visit__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 480px;
}
.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

@media (max-width: 900px) {
  .visit__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ───────────────────────────────────────────
   CONTACT
─────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__text p {
  color: var(--stone);
  font-size: 1.02rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1.5px solid var(--blush-dark);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123,30,42,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-light);
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-success {
  text-align: center;
  padding: 16px;
  background: var(--blush-light);
  border: 1px solid var(--blush-dark);
  border-radius: var(--radius);
  color: var(--burgundy-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__row {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--blush);
  padding: 64px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__brand .nav__logo-mark {
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
}
.footer__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.9rem;
  color: var(--stone-light);
  max-width: 300px;
  line-height: 1.6;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.footer__links a {
  color: var(--stone-light);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--blush);
}
.footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--stone);
}
.footer__legal a {
  color: var(--stone-light);
}
.footer__legal a:hover {
  color: var(--blush);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__legal {
    flex-direction: column;
    gap: 4px;
  }
}

/* ───────────────────────────────────────────
   SCROLL REVEAL (progressive enhancement)
─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
