/* ============================================
   ORA — Modern Mediterranean Cuisine
   style.css — Design tokens, base, layout
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Design Tokens ─────────────────────────── */
:root {
  --color-bg:       #FAF7F2;
  --color-surface:  #F0EAE0;
  --color-ink:      #1A1208;
  --color-accent:   #B5451B;
  --color-muted:    #8C7B6B;
  --color-border:   #DDD5C8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-1:  8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  40px;
  --space-6:  48px;
  --space-8:  64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  --max-width: 1200px;
  --radius-sm: 2px;
  --radius-md: 4px;

  --transition: 0.25s ease;
}

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

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

body {
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Noise texture overlay ──────────────────── */
body::before {
  content: '';
  position: fixed;
  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");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-ink);
}

h1 { font-size: clamp(52px, 8vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }

p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ── Section label style ───────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: var(--space-3);
}

/* ── Ornamental rule ────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: 13px;
  margin: var(--space-4) 0;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ── Container ─────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-5); }
}

/* ── Sections ──────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: var(--space-10) 0;
}

@media (min-width: 768px) {
  section { padding: var(--space-16) 0; }
}

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

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background-color: #9a3a16;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}
.btn-outline:hover {
  background: var(--color-ink);
  color: var(--color-bg);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ── Full-bleed image sections ─────────────── */
.full-bleed {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .full-bleed { height: 620px; }
}

/* ── Accent text ────────────────────────────── */
.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-muted); }
.text-italic { font-style: italic; }

/* ── Visually hidden ────────────────────────── */
.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;
}
