/* Crusta Oceans static site styles */
/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* Fonts (local) */
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/albert-sans_normal_400.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/albert-sans_normal_500.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/albert-sans_normal_600.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/albert-sans_italic_400.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/albert-sans_italic_500.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('../fonts/albert-sans_italic_600.ttf') format('truetype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Epilogue';
  src: url('../fonts/epilogue_300.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Epilogue';
  src: url('../fonts/epilogue_300italic.ttf') format('truetype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Epilogue';
  src: url('../fonts/epilogue_500.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Epilogue';
  src: url('../fonts/epilogue_500italic.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora_normal_400.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora_normal_600.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora_italic_400.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora_italic_600.ttf') format('truetype');
  font-weight: 600; font-style: italic; font-display: swap;
}

:root {
  --bg-color: #0a0f14; /* deep blue/black */
  --text-color: #e9f1f7; /* near white */
  --muted: #a5b6c6;
  --accent: #2aa2c9; /* cyan-ish */
  --menu-height: 86px;
  --container: 1200px;
}

body {
  font-family: 'Albert Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text-color);
  background: var(--bg-color) url('../images/bg.png') repeat top left;
  line-height: 1.6;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header / Navigation */
.topbar {
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  color: #cfe3ef;
  font-size: 13px;
}
.topbar .topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
}
.topbar .inline-items { display: flex; align-items: center; gap: 16px; }
.topbar a { color: #e9f1f7; opacity: .85; }
.topbar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky;
  top: 0; z-index: 1000;
  background: url('../images/menu-bg.png') center/cover no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--menu-height);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
}
.logo img { height: 48px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: 'Epilogue', 'Albert Sans', sans-serif;
  font-weight: 500; letter-spacing: .02em;
  text-transform: uppercase; font-size: 14px;
  color: #fff; opacity: .9;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: opacity .2s ease, border-color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  opacity: 1; border-color: var(--accent);
}

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav-toggle img { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: var(--menu-height); background: rgba(0,0,0,.8); padding: 16px 24px; flex-direction: column; gap: 12px; backdrop-filter: blur(6px); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  background: #071018 url('../images/noordzeekrab-1.jpg') center/cover no-repeat;
  background-position: center 35%;
  min-height: min(80vh, 720px);
  display: grid; place-items: center; text-align: center;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,24,.2) 0%, rgba(7,16,24,.6) 60%, rgba(7,16,24,.85) 100%); z-index: 0; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Epilogue', 'Albert Sans', sans-serif; font-weight: 600; letter-spacing: .01em;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px;
}
.hero p { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); margin: 0 0 28px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #02151c; font-weight: 600; border: 0;
  transition: transform .1s ease, filter .1s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
@media (max-width: 600px) {
  .hero { min-height: 60vh; }
}

/* Sections */
.section { padding: 56px 0; }
.section h2 { font-family: 'Epilogue', 'Albert Sans', sans-serif; font-weight: 600; font-size: clamp(22px, 3vw, 32px); margin: 0 0 16px; }
.section p { color: var(--muted); }

/* Simple gallery for product page */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.gallery img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.22); }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr; } }

/* Home feature cards */
.section-features .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.card h3 { margin: 0 0 8px; font-family: 'Epilogue', 'Albert Sans', sans-serif; font-size: 18px; }
.card p { margin: 0; }

@media (max-width: 960px) {
  .section-features .cards { grid-template-columns: 1fr; }
}

/* Home highlight split */
.section-highlight .highlight { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.highlight-media img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,0.24); }
@media (max-width: 960px) { .section-highlight .highlight { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: 14px; }
.footer a { color: #fff; }
.footer .socials { margin-top: 8px; display: flex; gap: 12px; }
.footer .socials img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.contact-card h3 {
  margin: 0 0 8px;
  font-family: 'Epilogue', 'Albert Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  color: #fff;
  opacity: .85;
}
.contact-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

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