/* ============================================
   RATSHIT — Styles
   Teal + Slate Grey | Playfair Display + Lato
   ============================================ */

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

:root {
  --teal-900: #0d262d;
  --teal-800: #1a3c47;
  --teal-700: #234f5c;
  --teal-600: #2d6574;
  --teal-500: #3a7d8e;
  --teal-400: #5a9fad;
  --teal-300: #8fbfc9;
  --teal-200: #bdd8df;
  --teal-100: #dceef2;
  --teal-50:  #eff7f9;

  --slate-950: #0b0f14;
  --slate-900: #111820;
  --slate-800: #1a2332;
  --slate-700: #243044;
  --slate-600: #374a61;
  --slate-500: #4b6278;
  --slate-400: #7a91a7;
  --slate-300: #a8b8c7;
  --slate-200: #d0dae3;
  --slate-100: #e8eef3;
  --slate-50:  #f4f7fa;

  --gold-500: #c9a84c;
  --gold-400: #d4b85e;
  --gold-300: #e0c97a;
  --gold-600: #b08d2e;
  --gold-700: #8a6e1f;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Segoe UI', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(11,15,20,.12), 0 1px 2px rgba(11,15,20,.08);
  --shadow-md: 0 4px 16px rgba(11,15,20,.12), 0 2px 4px rgba(11,15,20,.06);
  --shadow-lg: 0 12px 40px rgba(11,15,20,.16), 0 4px 12px rgba(11,15,20,.08);
  --shadow-xl: 0 24px 60px rgba(11,15,20,.2), 0 8px 20px rgba(11,15,20,.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --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-800);
  background: var(--slate-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--teal-500); }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-400); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 24px;
}
.section-title.light { color: #f4f7fa; }

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--slate-600);
  max-width: 640px;
}
.lead.light { color: var(--slate-200); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal-700);
  color: #f4f7fa;
  border-color: var(--teal-700);
}
.btn-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #f4f7fa;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #f4f7fa;
  border-color: rgba(244,247,250,0.5);
}
.btn-outline:hover {
  background: rgba(244,247,250,0.1);
  border-color: #f4f7fa;
  color: #f4f7fa;
}

.btn-outline-dark {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700);
}
.btn-outline-dark:hover {
  background: var(--teal-700);
  color: #f4f7fa;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--slate-900);
  border-color: var(--gold-500);
}
.btn-gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--slate-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-full { width: 100%; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,38,45,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(11,15,20,0.96);
  box-shadow: var(--shadow-lg);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--gold-500);
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #f4f7fa;
  letter-spacing: 0.02em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  color: var(--slate-200);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.main-nav a:hover {
  color: #f4f7fa;
  background: rgba(255,255,255,0.08);
}
.btn-nav {
  background: var(--gold-500) !important;
  color: var(--slate-900) !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.btn-nav:hover {
  background: var(--gold-400) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #f4f7fa;
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,15,20,0.82) 0%,
    rgba(26,60,71,0.72) 50%,
    rgba(13,38,45,0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 780px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f4f7fa;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-300);
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--slate-200);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--slate-300);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--slate-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--slate-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.about-text p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   BREWERY (full-bleed overlay section)
   ============================================ */
.brewery {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.brewery-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.brewery-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brewery-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,15,20,0.88) 0%,
    rgba(26,60,71,0.78) 100%
  );
}
.brewery .container {
  position: relative;
  z-index: 1;
}
.brewery-content {
  max-width: 680px;
}
.brewery-content .section-title {
  margin-bottom: 20px;
}
.brewery-content .lead {
  margin-bottom: 20px;
}
.brewery-content p {
  color: var(--slate-200);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 32px;
}
.brewery-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brewery-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--slate-100);
  font-size: 1.0625rem;
  font-weight: 500;
}
.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* ============================================
   GRILLE
   ============================================ */
.grille {
  padding: 120px 0;
  background: var(--slate-50);
}
.grille-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.grille-grid .grille-text { order: 1; }
.grille-grid .grille-image { order: 2; }
.grille-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.grille-text p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.grille-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.highlight-icon {
  width: 20px;
  height: 20px;
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 3px;
}
.highlight span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.5;
}

/* ============================================
   CIGAR LOUNGE (full-bleed overlay)
   ============================================ */
.cigars {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cigars-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cigars-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cigars-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,15,20,0.90) 0%,
    rgba(26,60,71,0.80) 100%
  );
}
.cigars .container {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.cigars-content .section-title {
  margin-bottom: 20px;
}
.cigars-content .lead {
  margin-bottom: 20px;
}
.cigars-content p {
  color: var(--slate-200);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 120px 0;
  background: #f4f7fa;
}
.visit > .container {
  text-align: center;
  margin-bottom: 56px;
}
.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.visit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.visit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
.visit-icon {
  width: 48px;
  height: 48px;
  color: var(--teal-600);
  margin: 0 auto 20px;
}
.visit-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.visit-card p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.visit-card a {
  color: var(--teal-600);
  font-weight: 600;
}
.visit-card a:hover {
  color: var(--teal-500);
  text-decoration: underline;
}

/* ============================================
   MAP
   ============================================ */
.map-section {
  padding: 0;
  background: var(--slate-100);
}
.map-wrapper {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-wrapper iframe {
  filter: saturate(0.8) contrast(1.05);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 0;
  background: var(--slate-50);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-icon {
  width: 24px;
  height: 24px;
  color: var(--teal-500);
  flex-shrink: 0;
}
.contact-detail span {
  font-size: 1rem;
  color: var(--slate-700);
  font-weight: 500;
}
.contact-detail a {
  color: var(--teal-600);
  font-weight: 600;
}
.contact-detail a:hover {
  color: var(--teal-500);
  text-decoration: underline;
}

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-600);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(58,125,142,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 16px;
}

/* Success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}
.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--teal-500);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
}
.form-success p {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 320px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--slate-800);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-400);
}
.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #f4f7fa;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-400); }
.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.footer-contact a {
  color: var(--teal-400);
}
.footer-contact a:hover { color: var(--gold-400); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--slate-500);
}
.footer-bottom a {
  color: var(--slate-400);
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
  }
  .reveal.visible[data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .grille-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grille-grid .grille-text { order: 2; }
  .grille-grid .grille-image { order: 1; }
  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11,15,20,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    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); }
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }
  .main-nav a {
    font-size: 1.125rem;
    padding: 14px 20px;
    width: 100%;
  }
  .btn-nav { margin-left: 0 !important; }

  .hero-content { padding: 140px 24px 100px; }
  .hero-headline { font-size: clamp(1.75rem, 8vw, 2.75rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .about, .grille, .brewery, .cigars, .visit, .contact {
    padding: 80px 0;
  }
  .about-image img,
  .grille-image img { height: 360px; }
  .about-stats { gap: 24px; flex-wrap: wrap; }

  .grille-highlights { grid-template-columns: 1fr; }

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

  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
}
