/* =============================================
   Restaurant De Piraat - Stylesheet
   Vanilla CSS | Playful | Ocean Teal
   ============================================= */

:root {
  --teal-900: #062833;
  --teal-800: #0a3d52;
  --teal-700: #0d5c7a;
  --teal-600: #1278a0;
  --teal-500: #1a9acb;
  --teal-400: #4dbfe0;
  --teal-200: #a8e4f4;
  --teal-100: #d8f2fb;
  --teal-50:  #edfaff;
  --bg:       #f4fbfd;
  --white:    #ffffff;
  --text:     #1a2a30;
  --muted:    #5a7a88;
  --border:   #c2e8f5;
  --closed-bg: #7d1a1a;
  --closed-text: #fff5f5;
  --font-head: 'Pirata One', 'Georgia', serif;
  --font-body: 'Nunito', 'Arial', sans-serif;
  --radius:   4px;
  --radius-lg: 10px;
  --shadow:   0 2px 12px rgba(10,61,82,0.12);
  --shadow-lg: 0 6px 30px rgba(10,61,82,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--teal-800);
}

ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Closed Banner ---- */
.banner-gesloten {
  background: var(--closed-bg);
  color: var(--closed-text);
  text-align: center;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1000;
}

.banner-gesloten span {
  font-weight: 400;
  opacity: 0.9;
}

/* ---- Header ---- */
.site-header {
  background: var(--teal-800);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(6,40,51,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  height: 52px;
  width: auto;
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  color: var(--teal-100);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--teal-600);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--teal-400);
  color: var(--teal-100);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* ---- Hero (Split Layout) ---- */
.hero-section {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-700) 60%, var(--teal-600) 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-text .hero-tagline {
  font-size: 1.15rem;
  color: var(--teal-200);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 26px;
  border-radius: 50px;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-100);
  color: var(--teal-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-teal {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

.btn-teal:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Hero illustration side */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

/* ---- Info strip ---- */
.info-strip {
  background: var(--teal-900);
  color: var(--teal-200);
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-strip .strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.strip-icon {
  font-size: 1.1rem;
}

/* ---- Section basics ---- */
.section-pad {
  padding: 64px 0;
}

.section-pad-sm {
  padding: 40px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 10px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* ---- About section ---- */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-700);
}

.feature-check {
  width: 20px;
  height: 20px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.about-visual {
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.about-visual svg {
  max-width: 300px;
  width: 100%;
}

/* ---- Cards section ---- */
.highlights-section {
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.card-icon-wrap {
  height: 180px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-wrap svg {
  width: 90px;
  height: 90px;
  opacity: 0.9;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-link:hover {
  color: var(--teal-800);
  gap: 8px;
}

/* ---- Buffetten strip ---- */
.buffet-section {
  background: var(--teal-800);
  color: var(--white);
  text-align: center;
  padding: 56px 20px;
}

.buffet-section h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.buffet-section p {
  color: var(--teal-200);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.buffet-items {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.buffet-tag {
  background: rgba(255,255,255,0.12);
  color: var(--teal-100);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ---- Groepen section ---- */
.groepen-section {
  background: var(--white);
}

.groepen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.groepen-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.groepen-text p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.groepen-visual {
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.groepen-visual svg {
  max-width: 260px;
  width: 100%;
}

/* ---- Opening hours CTA ---- */
.openingstijden-section {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  text-align: center;
  padding: 56px 20px;
  color: var(--white);
}

.openingstijden-section h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.openingstijden-section p {
  color: var(--teal-200);
  margin-bottom: 24px;
}

.hours-badge {
  display: inline-block;
  background: var(--white);
  color: var(--teal-800);
  font-family: var(--font-head);
  font-size: 1.8rem;
  padding: 10px 32px;
  border-radius: 50px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--teal-900);
  color: var(--teal-200);
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .site-logo-footer {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-400);
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: var(--teal-200);
  font-size: 0.92rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--teal-100);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

.footer-contact-item .fc-icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--teal-400);
  opacity: 0.7;
}

/* ---- Cookie notice ---- */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-900);
  color: var(--teal-100);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  max-width: 580px;
  width: calc(100% - 40px);
  font-size: 0.88rem;
}

.cookie-notice p {
  flex: 1;
  margin: 0;
  opacity: 0.85;
}

.cookie-notice a {
  color: var(--teal-300);
  text-decoration: underline;
}

.cookie-accept {
  background: var(--teal-600);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.cookie-accept:hover {
  background: var(--teal-500);
}

/* ---- Menu page ---- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.menu-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  gap: 8px;
}

.menu-item-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.menu-item-price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal-700);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Buffet page ---- */
.buffet-block {
  border-top: 3px solid var(--teal-200);
  padding-top: 32px;
}

.buffet-header h3 {
  font-size: 1.8rem;
  color: var(--teal-800);
  margin-bottom: 10px;
}

.buffet-header p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.98rem;
}

.buffet-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.buffet-option {
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  flex: 1;
  min-width: 220px;
}

.buffet-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.buffet-option-head h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--teal-800);
}

.price-badge {
  background: var(--teal-700);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.buffet-list {
  list-style: none;
  padding: 0;
}

.buffet-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}

.buffet-list li::before {
  content: '\00B7';
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-weight: 700;
}

/* ---- Photo gallery ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--teal-900);
  transition: transform 0.25s;
}

.photo-item:hover {
  transform: translateY(-3px);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.photo-placeholder svg {
  width: 100%;
  height: 100%;
}

.photo-caption {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--teal-200);
  font-weight: 600;
}

/* ---- Blog & blogroll ---- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-list-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

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

.blog-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-list-meta time {
  font-size: 0.82rem;
  color: var(--muted);
}

.post-cat {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 2px 10px;
  border-radius: 50px;
}

.blog-list-item h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-list-item h2 a {
  color: var(--teal-800);
  text-decoration: none;
}

.blog-list-item h2 a:hover {
  color: var(--teal-500);
}

.blog-list-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-600);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}

.read-more:hover {
  color: var(--teal-400);
}

/* Blog article (single post) */
.blog-article {
  padding: 48px 0 64px;
  background: var(--white);
}

.post-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--teal-100);
}

.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.post-meta time {
  font-size: 0.85rem;
  color: var(--muted);
}

.post-header h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--teal-900);
}

.post-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}

.post-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.post-body p {
  margin-bottom: 18px;
}

.post-body h2 {
  font-size: 1.45rem;
  color: var(--teal-700);
  margin: 32px 0 14px;
}

.post-body a {
  color: var(--teal-600);
  text-decoration: underline;
}

.post-body a:hover {
  color: var(--teal-400);
}

.post-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.back-link {
  font-size: 0.9rem;
  color: var(--teal-600);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  color: var(--teal-400);
}

/* Blogroll on homepage */
.blogroll-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.blogroll-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

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

.blogroll-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.blogroll-meta time {
  font-size: 0.8rem;
  color: var(--muted);
}

.blogroll-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blogroll-item h3 a {
  color: var(--teal-800);
  text-decoration: none;
}

.blogroll-item h3 a:hover {
  color: var(--teal-500);
}

.blogroll-item p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.blogroll-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-600);
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
}

.blogroll-more:hover {
  color: var(--teal-400);
}

@media (max-width: 760px) {
  .menu-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .buffet-options { flex-direction: column; }
  .post-header h1 { font-size: 1.6rem; }
}

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

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  padding: 56px 20px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-hero p {
  color: var(--teal-200);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid,
  .groepen-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual,
  .groepen-visual { display: none; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 660px) {
  .main-nav ul { display: none; flex-direction: column; padding: 12px 0; }
  .main-nav ul.open { display: flex; }
  .main-nav a { padding: 10px 16px; font-size: 0.88rem; }
  .nav-toggle { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-strip { gap: 16px; flex-direction: column; }
  .buffet-section,
  .openingstijden-section { padding: 40px 20px; }
}
