/* The Chequer Inn - Contemporary Styles */

:root {
  --ink: #1a1614;
  --cream: #f8f5f0;
  --amber: #c9a227;
  --rust: #8b3a2f;
  --sage: #4a5d4a;
  --warm-white: #fffdf8;
  --text-muted: #5a5450;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 1000;
  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)'/%3E%3C/svg%3E");
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248, 245, 240, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(26, 22, 20, 0.08);
}

.site-nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.site-nav .logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-right: 0.75rem;
}

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

.site-nav .nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  margin-left: 2.5rem;
}

.site-nav .nav-links a:first-child {
  margin-left: 0;
}

.site-nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s ease;
}

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

/* Page Header */
.page-header {
  text-align: center;
  padding: 4rem 2rem 3rem;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Main Content */
.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  flex: 1;
}

/* Container / Card */
.container {
  background: var(--warm-white);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(26, 22, 20, 0.06);
}

.container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.container p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.container p:last-child {
  margin-bottom: 0;
}

.container strong {
  color: var(--ink);
  font-weight: 500;
}

/* Text utilities */
.text-center {
  text-align: center;
}

/* Note box */
.note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  background: rgba(201, 162, 39, 0.08);
  border-left: 2px solid var(--amber);
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

/* Hours list */
.hours-list {
  margin: 1.5rem 0;
}

.hours-list .day {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(26, 22, 20, 0.06);
}

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

.hours-list .date {
  font-weight: 500;
  color: var(--ink);
}

.hours-list .time {
  color: var(--text-muted);
}

.hours-list .day.highlight {
  background: rgba(139, 58, 47, 0.08);
  margin: 0 -1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border-bottom: none;
}

.hours-list .day.highlight .date {
  color: var(--rust);
}

/* Contact strip */
.contact-strip {
  background: var(--sage);
  color: var(--cream);
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.contact-strip .address {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  margin-right: 4rem;
}

.contact-strip .phone {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.contact-strip a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-strip a:hover {
  opacity: 0.7;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.site-footer > div {
  margin-right: 2rem;
}

.site-footer .brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.site-footer .tagline {
  font-size: 0.85rem;
  opacity: 0.5;
  font-style: italic;
}

.site-footer .copyright {
  font-size: 0.75rem;
  opacity: 0.3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile */
@media (max-width: 768px) {
  .site-nav {
    padding: 0.75rem 1.5rem;
    flex-wrap: wrap;
  }
  
  .site-nav .logo {
    font-size: 1.1rem;
  }
  
  .site-nav .logo img {
    height: 36px;
    width: 36px;
    margin-right: 0.5rem;
  }
  
  .site-nav .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .site-nav .nav-links a {
    font-size: 0.75rem;
    margin-left: 1.5rem;
  }
  
  .page-header {
    padding: 3rem 1.5rem 2rem;
  }
  
  .main-content {
    padding: 0 1rem 3rem;
  }
  
  .container {
    padding: 1.5rem;
  }
  
  .contact-strip {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .contact-strip .address {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }
  
  .site-footer > div {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}