/* ================================================
   PITCH & POUR — pitch-and-pour.co.uk
   Coffee. Community. Matchday.
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --dark-green: #1F2F2A;
  --cream: #F5F1E8;
  --tan: #E6DED0;
  --sage: #A8C3A0;
  --brown: #5C3A2E;
  --gold: #C8A96A;
  --cream-light: #FDFBF7;
  --shadow-sm: 0 2px 8px rgba(31, 47, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(31, 47, 42, 0.08);
  --shadow-lg: 0 8px 40px rgba(31, 47, 42, 0.12);
  --radius: 12px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--dark-green);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================
   HEADER
   ================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--tan);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover {
  color: var(--brown);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-green);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--tan);
    box-shadow: var(--shadow-md);
  }

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

/* ================================================
   HERO
   ================================================ */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 195, 160, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 2rem;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-tagline em {
  font-style: italic;
  color: var(--brown);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--brown);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
  border: none;
}

.gold-divider.wide { width: 120px; }

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 2px solid var(--dark-green);
  background: transparent;
  color: var(--dark-green);
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--dark-green);
  color: var(--cream);
}

.btn-gold {
  border-color: var(--gold);
  color: var(--brown);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--cream-light);
}

.btn-filled {
  background: var(--dark-green);
  color: var(--cream);
  border-color: var(--dark-green);
}

.btn-filled:hover {
  background: var(--brown);
  border-color: var(--brown);
}

/* ================================================
   SECTIONS
   ================================================ */

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
  display: block;
}

/* ================================================
   PILLARS
   ================================================ */

.pillars {
  background: var(--cream-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--sage);
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--brown);
  font-weight: 300;
}

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ================================================
   SCHEDULE
   ================================================ */

.schedule {
  background: var(--dark-green);
  color: var(--cream);
  padding: 4rem 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.schedule-item {
  padding: 2rem;
}

.schedule-item h3 {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.schedule-item p {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

  .schedule-item {
    border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  }

  .schedule-item:last-child { border-bottom: none; }
}

/* ================================================
   WELCOME
   ================================================ */

.welcome {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.welcome p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ================================================
   MENU CARDS
   ================================================ */

.menu-section {
  background: var(--tan);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.menu-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all var(--transition);
  border: 1px solid rgba(200, 169, 106, 0.2);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.menu-card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-green);
}

.menu-card .subtitle {
  font-size: 0.85rem;
  color: var(--brown);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.menu-card ul {
  list-style: none;
  padding: 0;
}

.menu-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 300;
  border-bottom: 1px solid var(--tan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.menu-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ================================================
   CALLOUT
   ================================================ */

.callout {
  background: var(--cream-light);
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
}

.callout h3 { margin-bottom: 0.75rem; }

.callout p {
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
}

/* ================================================
   PAGE HERO (subpages)
   ================================================ */

.page-hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: var(--cream);
  position: relative;
}

.page-hero h1 { margin-bottom: 0.5rem; }

.page-hero p {
  font-weight: 300;
  color: var(--brown);
  font-size: 1.05rem;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}

/* ================================================
   ABOUT
   ================================================ */

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1rem; }

.about-text p {
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: 300px;
  border: 1px solid var(--tan);
}

.about-images img:first-child {
  grid-row: 1 / 3;
  height: 100%;
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-images {
    grid-template-columns: 1fr 1fr;
  }

  .about-images img { height: 200px; }
  .about-images img:first-child { height: 200px; grid-row: auto; }
}

/* ================================================
   VALUES
   ================================================ */

.values-section {
  background: var(--cream-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.value-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
}

.value-icon {
  width: 36px;
  height: 36px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--brown);
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ================================================
   CONTACT
   ================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--tan);
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.hours-notice {
  background: var(--tan);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.hours-notice .follow-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.hours-notice p {
  font-weight: 300;
  font-size: 0.9rem;
}

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-green);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--dark-green);
  transition: all var(--transition);
  margin-top: 1rem;
}

.fb-link:hover {
  background: var(--dark-green);
  color: var(--cream);
}

.fb-link svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--cream-light);
  position: relative;
}

.cta-section h2 {
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

/* ================================================
   STAY & PLAY
   ================================================ */

.stay-play {
  background: var(--sage);
  color: var(--dark-green);
  text-align: center;
  padding: 4rem 2rem;
}

.stay-play h2 { margin-bottom: 0.75rem; }

.stay-play p {
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
  background: var(--dark-green);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}

.footer-links h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-weight: 300;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-weight: 300;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-social { margin-top: 1.25rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: 6px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(245, 241, 232, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img { margin: 0 auto 1rem; }
  .footer-social { justify-content: center; }
}

/* ================================================
   ANIMATIONS
   ================================================ */

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

/* Fade-in: visible by default, JS adds .js-ready to body to enable animations */
.js-ready .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-ready .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================
   BAKERY CALLOUT
   ================================================ */

.bakery-callout {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--cream);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  margin-top: 2rem;
}

.bakery-callout h3 { margin-bottom: 0.5rem; }

.bakery-callout p {
  font-weight: 300;
  font-style: italic;
  color: var(--brown);
}

/* ================================================
   MOBILE OPTIMISATION
   ================================================ */

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  section { padding: 3rem 0; }

  .header-inner { padding: 0.75rem 1.25rem; }
  .header-logo img { height: 45px; }

  .hero {
    min-height: auto;
    padding: 3rem 1.5rem 3.5rem;
  }

  .hero::before { width: 300px; height: 300px; }
  .hero::after { width: 250px; height: 250px; }

  .hero-logo { width: 160px; margin-bottom: 1.5rem; }
  .hero-sub { margin-bottom: 2rem; letter-spacing: 0.1em; font-size: 0.85rem; }

  .welcome { padding: 3rem 1.5rem; }
  .welcome p { font-size: 0.95rem; }

  .section-header { margin-bottom: 2rem; }

  .pillar-card { padding: 1.75rem 1.25rem; }
  .pillar-icon { width: 40px; height: 40px; }

  .schedule { padding: 2.5rem 0; }
  .schedule-item { padding: 1.25rem; }

  .cta-section { padding: 3rem 1.5rem; }

  .page-hero { padding: 3.5rem 1.5rem 2.5rem; }

  .menu-card { padding: 1.75rem; }

  .stay-play { padding: 3rem 1.5rem; }
  .stay-play p { font-size: 0.95rem; }

  .bakery-callout { padding: 2rem 1.5rem; }

  .about-text p { font-size: 0.95rem; }

  .value-item { padding: 1rem 0.5rem; }

  .hours-notice { padding: 1.5rem; }

  .map-container { min-height: 300px; }
  .map-container iframe { min-height: 300px; }

  .contact-info h3 { margin-top: 1.5rem; }

  .btn { padding: 0.875rem 2rem; font-size: 0.8rem; }
  .fb-link { padding: 0.875rem 1.25rem; }

  .site-footer { padding: 3rem 0 1.5rem; }
  .footer-inner { gap: 2rem; padding: 0 1.25rem; }
  .footer-bottom { padding-top: 1.5rem; margin-top: 1.5rem; }
}

@media (max-width: 380px) {
  .hero-logo { width: 140px; }
  .pillars-grid { gap: 1rem; }
  .menu-card { padding: 1.5rem; }
  .btn { padding: 0.75rem 1.5rem; width: 100%; text-align: center; }
  .fb-link { width: 100%; justify-content: center; }
}
