/* ========================================================================== 
   Variables
   ========================================================================== */

:root {
  /* Color Palette - Modestitch NL */
  --color-background: #050607; /* near-black for immersive backdrop */
  --color-surface: #101415; /* dark charcoal surface */
  --color-surface-elevated: #171d1f; /* for cards/modals */
  --color-text: #f5f3ea; /* warm off-white text */
  --color-text-muted: #b6b0a2; /* muted body/supporting text */

  --color-primary: #145c4a; /* deep bar green */
  --color-primary-soft: rgba(20, 92, 74, 0.24);
  --color-primary-strong: #1f7c64;

  --color-accent-amber: #f4b25e; /* warm ambient amber lighting */
  --color-accent-amber-soft: rgba(244, 178, 94, 0.16);

  --color-gold: #d7b36b; /* subtle gold accents */

  --color-success: #21a179;
  --color-warning: #ffc857;
  --color-danger: #e84855;

  --gray-50: #f7f5f1;
  --gray-100: #e5e0d7;
  --gray-200: #d0c7b7;
  --gray-300: #b6aa93;
  --gray-400: #9a8e7a;
  --gray-500: #7c715f;
  --gray-600: #5e564a;
  --gray-700: #433c34;
  --gray-800: #2c2621;
  --gray-900: #171310;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows - warm, atmospheric */
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-ambient: 0 0 0 1px rgba(215, 179, 107, 0.1), 0 18px 45px rgba(0, 0, 0, 0.65);
  --shadow-subtle: 0 8px 20px rgba(0, 0, 0, 0.45);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 220ms ease-out;
  --transition-slow: 350ms ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }
}

/* ========================================================================== 
   Reset / Normalize
   ========================================================================== */

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

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
u,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
}

button:disabled,
[disabled] {
  cursor: not-allowed;
}

/* Remove default link underlines and tap highlights */

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* ========================================================================== 
   Base Styles
   ========================================================================== */

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top left, rgba(244, 178, 94, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(20, 92, 74, 0.18), transparent 60%),
    var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

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

strong,
b,
mark {
  color: var(--color-text);
  font-weight: 600;
}

mark {
  background: linear-gradient(120deg, rgba(244, 178, 94, 0.3), rgba(20, 92, 74, 0.35));
  border-radius: var(--radius-xs);
  padding: 0 0.1em;
}

em,
i {
  font-style: italic;
}

/* Headings - modern, elegant, atmospheric */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

h5 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

/* Links */

a {
  position: relative;
  color: var(--color-accent-amber);
  transition: color var(--transition-normal);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-amber), var(--color-gold));
  transition: width var(--transition-normal);
}

a:hover::after,
a:focus-visible::after {
  width: 100%;
}

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

/* Form elements base */

input,
select,
textarea {
  outline: none;
}

textarea {
  resize: vertical;
}

/* ========================================================================== 
   Accessibility & Motion
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent-amber);
  outline-offset: 3px;
}

:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================== 
   Utilities
   ========================================================================== */

/* Layout containers */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1200px;
}

.container-wide {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1440px;
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--tight {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.section--bordered {
  border-top: 1px solid rgba(244, 178, 94, 0.08);
}

/* Flex helpers */

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-xs {
  gap: var(--space-2);
}

.gap-sm {
  gap: var(--space-3);
}

.gap-md {
  gap: var(--space-4);
}

.gap-lg {
  gap: var(--space-6);
}

/* Grid helpers */

.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Text alignment */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

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

/* Spacing utilities (vertical margins) */

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.py-6 {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

/* Screen-reader only */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================================================== 
   Components
   ========================================================================== */

/* Buttons - primary CTAs like reservations */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1;
  background: radial-gradient(circle at top left, rgba(244, 178, 94, 0.3), transparent 55%),
    linear-gradient(135deg, var(--color-primary), #0b3326);
  color: #fefaf4;
  box-shadow: var(--shadow-subtle);
  transition:
    background var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  background: radial-gradient(circle at top left, rgba(244, 178, 94, 0.42), transparent 55%),
    linear-gradient(135deg, var(--color-primary-strong), #0f4432);
  box-shadow: var(--shadow-ambient);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--color-accent-amber);
  border-color: rgba(244, 178, 94, 0.6);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(244, 178, 94, 0.06);
  box-shadow: 0 0 0 1px rgba(244, 178, 94, 0.35);
}

.btn--ghost {
  background: rgba(15, 20, 21, 0.7);
  border-color: rgba(244, 178, 94, 0.18);
  color: var(--color-text);
}

.btn--ghost:hover {
  background: rgba(24, 31, 33, 0.9);
}

.btn--sm {
  padding: 0.45rem 1.1rem;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 0.9rem 2.1rem;
  font-size: var(--font-size-md);
}

/* Inputs - for reservation & contact forms */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 178, 94, 0.2);
  background: radial-gradient(circle at top left, rgba(244, 178, 94, 0.12), transparent 45%),
    rgba(5, 7, 8, 0.96);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-normal);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(182, 176, 162, 0.7);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-accent-amber);
  box-shadow: 0 0 0 1px rgba(244, 178, 94, 0.6), 0 0 0 8px rgba(244, 178, 94, 0.12);
}

.input[disabled],
.textarea[disabled],
.select[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cards - for venue highlights, poker evenings, testimonials */

.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(244, 178, 94, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(20, 92, 74, 0.16), transparent 60%),
    var(--color-surface-elevated);
  border: 1px solid rgba(244, 178, 94, 0.12);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.5), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.card:hover::before {
  opacity: 1;
}

.card--subtle {
  box-shadow: none;
  background:
    radial-gradient(circle at top left, rgba(244, 178, 94, 0.06), transparent 40%),
    linear-gradient(135deg, rgba(23, 19, 16, 0.96), rgba(10, 13, 14, 0.98));
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
}

/* Tag / pill - for evenings, status, etc. */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 178, 94, 0.35);
  color: var(--color-accent-amber);
  background: rgba(15, 20, 21, 0.85);
}

.tag--success {
  border-color: rgba(33, 161, 121, 0.6);
  color: var(--color-success);
}

.tag--danger {
  border-color: rgba(232, 72, 85, 0.6);
  color: var(--color-danger);
}

/* Media wrapper for consistent rounded imagery */

.media-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.media-rounded:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

/* Hero overlay gradient - for atmospheric headers */

.hero-overlay {
  position: relative;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.3) 35%, transparent 60%),
    radial-gradient(circle at top left, rgba(244, 178, 94, 0.24), transparent 50%);
  pointer-events: none;
}

/* Notification / alert - for poker info & disclaimers */

.alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  border: 1px solid rgba(244, 178, 94, 0.16);
  background: radial-gradient(circle at left, rgba(244, 178, 94, 0.1), transparent 60%),
    rgba(7, 9, 10, 0.96);
  color: var(--color-text-muted);
}

.alert--info {
  border-color: rgba(20, 92, 74, 0.7);
}

.alert--warning {
  border-color: rgba(255, 200, 87, 0.7);
}

.alert--danger {
  border-color: rgba(232, 72, 85, 0.7);
}

/* Badge for availability (e.g. tafel beschikbaar) */

.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.badge-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(33, 161, 121, 0.25);
}

.badge-dot--limited::before {
  background: var(--color-warning);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.25);
}

.badge-dot--full::before {
  background: var(--color-danger);
  box-shadow: 0 0 0 4px rgba(232, 72, 85, 0.25);
}

/* Footer subtle styles (for contact/info sections) */

.site-footer {
  border-top: 1px solid rgba(244, 178, 94, 0.12);
  background: radial-gradient(circle at top, rgba(20, 92, 74, 0.18), transparent 60%),
    #050607;
  padding-top: var(--space-10);
  padding-bottom: var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.site-footer a {
  color: var(--gray-100);
}

.site-footer a:hover {
  color: var(--color-accent-amber);
}

/* End of base.css */
