/* ═══════════════════════════════════════════════════
   NEW RICHMOND TAVERN — styles.css
   Theme: Dark & moody, amber/gold accents
════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────── */
:root {
  --bg-base:       #1e1408;
  --bg-dark:       #160f05;
  --bg-card:       #2a1c0f;
  --bg-card-hover: #321f10;
  --gold:          #c8922a;
  --gold-light:    #e8a83e;
  --gold-dim:      #8a6418;
  --cream:         #f0e6cf;
  --cream-muted:   #a8967e;
  --white:         #ffffff;
  --border:        rgba(200, 146, 42, 0.2);
  --border-strong: rgba(200, 146, 42, 0.5);

  --ff-heading: 'Cinzel', Georgia, serif;
  --ff-body:    'Lato', sans-serif;

  --max-w: 1160px;
  --nav-h: 72px;
  --transition: 0.25s ease;
}

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: var(--bg-base);
  color: var(--cream);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul  { list-style: none; }

/* ── Typography ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; color: var(--gold-light); letter-spacing: 0.03em; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
p  { max-width: 68ch; }

/* ── Layout Helpers ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
}

/* ── Section Headers ───────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto 0;
}

.section-intro {
  margin: 1.25rem auto 0;
  color: var(--cream-muted);
  font-size: 1.05rem;
  text-align: center;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-base);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg-base);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 146, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-base);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(30, 20, 8, 0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg-base) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  transition: background var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--bg-base) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-dark);
  overflow: hidden;
}

/* Subtle radial glow effect */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 55%,
    rgba(200, 146, 42, 0.09) 0%,
    transparent 70%);
  pointer-events: none;
}

/* Decorative grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 14, 12, 0.3) 0%,
    rgba(15, 14, 12, 0.1) 40%,
    rgba(15, 14, 12, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
}

.hero-logo {
  width: clamp(180px, 30vw, 300px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(200, 146, 42, 0.25));
  animation: heroFadeIn 1.2s ease forwards;
}

.hero-tagline {
  font-family: var(--ff-body);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-muted);
  max-width: none;
  animation: heroFadeIn 1.2s ease 0.3s both;
}

.hero-content .btn {
  animation: heroFadeIn 1.2s ease 0.6s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--cream-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about-text p strong { color: var(--cream); font-weight: 700; }

.about-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block h3 {
  font-size: 0.72rem;
  font-family: var(--ff-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.info-block p {
  color: var(--cream-muted);
  line-height: 1.6;
}

.info-block a { color: var(--cream-muted); }
.info-block a:hover { color: var(--gold); }

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--cream-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hours-list li:last-child { border-bottom: none; }

/* ════════════════════════════════════════════════
   COCKTAIL SPECIALS
════════════════════════════════════════════════ */
.cocktails-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cocktail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cocktail-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
}

.cocktail-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.cocktail-name {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.cocktail-desc {
  font-size: 0.88rem;
  color: var(--cream-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: none;
}

.cocktail-price {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 600;
}

.specials-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream-muted);
  font-style: italic;
  max-width: none;
}

/* ════════════════════════════════════════════════
   DISTILLERY
════════════════════════════════════════════════ */
.distillery-text {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
}

.distillery-text p {
  color: var(--cream-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.distillery-text p strong { color: var(--cream); font-weight: 700; }
.distillery-text .btn { margin-top: 0.75rem; }

/* ════════════════════════════════════════════════
   CONTACT / EVENTS
════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width { grid-column: 1 / -1; }

label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

input,
select,
textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder { color: rgba(168, 150, 126, 0.5); }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 146, 42, 0.15);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8922a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

select option { background: var(--bg-card); color: var(--cream); }

textarea { resize: vertical; min-height: 130px; }

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) saturate(2) hue-rotate(5deg);
  cursor: pointer;
}

.btn-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-actions .form-note {
  margin: 0;
}

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border-radius: 3px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status--success {
  background: rgba(74, 160, 90, 0.12);
  border: 1px solid rgba(74, 160, 90, 0.35);
  color: #7ecf8a;
}

.form-status--error {
  background: rgba(200, 60, 60, 0.1);
  border: 1px solid rgba(200, 60, 60, 0.3);
  color: #e08080;
}

.status-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.form-note {
  font-size: 0.8rem;
  color: var(--cream-muted);
  max-width: none;
  opacity: 0.7;
}

/* Contact info panel */
.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-panel h3 {
  font-size: 1rem;
  font-family: var(--ff-heading);
  letter-spacing: 0.05em;
  color: var(--cream);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-detail strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-detail p { font-size: 0.9rem; color: var(--cream-muted); max-width: none; }
.contact-detail a { color: var(--cream-muted); }
.contact-detail a:hover { color: var(--gold); }

.contact-detail .hours-list li { font-size: 0.82rem; }

.social-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cream-muted);
  text-transform: uppercase;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 146, 42, 0.08);
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--cream-muted);
  max-width: none;
}

.footer-text a { color: var(--cream-muted); }
.footer-text a:hover { color: var(--gold); }

.footer-small { font-size: 0.8rem; opacity: 0.75; }
.footer-legal { font-size: 0.72rem; opacity: 0.5; margin-top: 0.25rem; }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cocktails-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info-panel { order: -1; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(30, 20, 8, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 2rem;
    backdrop-filter: blur(10px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1.1rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin: 1.5rem auto;
    display: inline-block;
    width: auto;
    border-radius: 2px;
  }

  .nav-toggle { display: flex; }

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

  .form-row { grid-template-columns: 1fr; }

  .hero-tagline { letter-spacing: 0.12em; }
}
