/*
Theme Name: Stoke Nudist
Theme URI: https://stokenudist.co.uk
Author: Stoke Nudist
Description: A clean, modern WordPress theme for stokenudist.co.uk, designed around naturism, outdoor living, community, safety and informative content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stokenudist
*/

:root {
  --sn-navy: #0d2942;
  --sn-navy-2: #153a58;
  --sn-teal: #2186a7;
  --sn-teal-dark: #176783;
  --sn-orange: #ef7f1a;
  --sn-sand: #f4efe7;
  --sn-sage: #79996f;
  --sn-white: #ffffff;
  --sn-text: #203040;
  --sn-muted: #687985;
  --sn-border: #dce6ea;
  --sn-shadow: 0 16px 40px rgba(13,41,66,.10);
  --sn-radius: 22px;
  --sn-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sn-text);
  background: #fff;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--sn-teal-dark); text-decoration: none; }
a:hover { color: var(--sn-orange); }

.site-wrap { width: min(100% - 32px, var(--sn-max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,41,66,.08);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-branding .custom-logo { max-height: 58px; width: auto; }
.brand-text { line-height: 1.1; }
.site-title { font-size: 1.35rem; font-weight: 700; color: var(--sn-navy); }
.site-description { font-size: .82rem; color: var(--sn-muted); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  color: var(--sn-navy);
  font-weight: 650;
  padding: 10px 13px;
  border-radius: 999px;
}
.main-nav a:hover, .main-nav .current-menu-item > a {
  background: #eef7fa;
  color: var(--sn-teal-dark);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--sn-navy);
  color: white;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,33,53,.92) 0%, rgba(10,48,73,.82) 48%, rgba(15,61,81,.35) 100%),
    var(--hero-image, linear-gradient(135deg, #1a607e, #75b4c6));
  background-size: cover;
  background-position: center;
  min-height: 620px;
  display: grid;
  align-items: center;
  color: white;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -110px -10%;
  height: 180px;
  background: white;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 110px 0 160px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.hero h1 span { color: #70c1d8; }
.hero p { max-width: 650px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #e9f5f8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sn-orange); color: white; box-shadow: 0 8px 25px rgba(239,127,26,.28); }
.btn-primary:hover { color: white; background: #db6f0e; }
.btn-secondary { color: white; border: 1px solid rgba(255,255,255,.44); background: rgba(255,255,255,.08); }
.btn-secondary:hover { color: white; background: rgba(255,255,255,.16); }

.section { padding: 82px 0; }
.section.alt { background: #f7fafb; }
.section.sand { background: var(--sn-sand); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head .kicker { color: var(--sn-teal-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.section-head h2 {
  margin: 5px 0 10px;
  color: var(--sn-navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.section-head p { color: var(--sn-muted); font-size: 1.08rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius);
  padding: 28px;
  box-shadow: 0 8px 26px rgba(13,41,66,.06);
}
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: #eaf6f9;
  color: var(--sn-teal-dark);
  font-size: 1.35rem;
  margin-bottom: 17px;
}
.card h3 { color: var(--sn-navy); margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--sn-muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.feature-panel {
  background: linear-gradient(145deg, var(--sn-navy), #164b69);
  border-radius: 30px;
  padding: 44px;
  color: white;
  box-shadow: var(--sn-shadow);
}
.feature-panel h3 { font-size: 2rem; margin-top: 0; }
.feature-panel p { color: #dbeaf0; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { padding: 10px 0 10px 34px; position: relative; }
.feature-list li:before { content: "✓"; position: absolute; left: 0; color: #75cee2; font-weight: 900; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sn-shadow); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.post-card-content { padding: 23px; }
.post-card .meta { font-size: .8rem; color: var(--sn-teal-dark); font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.post-card h3 { margin: 8px 0 10px; color: var(--sn-navy); font-size: 1.25rem; line-height: 1.25; }

.content-area { width: min(100% - 32px, 880px); margin: 60px auto 90px; }
.entry-title { color: var(--sn-navy); font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: 12px; }
.entry-content h2, .entry-content h3 { color: var(--sn-navy); line-height: 1.2; }
.entry-content blockquote {
  border-left: 4px solid var(--sn-orange);
  margin: 30px 0;
  padding: 8px 0 8px 22px;
  color: var(--sn-navy-2);
  font-size: 1.15rem;
  background: #fff9f3;
}
.entry-content img { border-radius: 18px; }

.notice {
  background: #eef7fa;
  border: 1px solid #cfe7ee;
  border-radius: 18px;
  padding: 22px 24px;
  margin: 28px 0;
}
.notice strong { color: var(--sn-navy); }

.site-footer { background: #0a2438; color: #d9e5eb; padding: 64px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
.site-footer h3, .site-footer h4 { color: white; }
.site-footer a { color: #c8e8ef; }
.site-footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 42px;
  padding-top: 20px;
  color: #9db1bf;
  font-size: .86rem;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute;
    top: 82px; left: 16px; right: 16px;
    background: white;
    border-radius: 18px;
    box-shadow: var(--sn-shadow);
    border: 1px solid var(--sn-border);
    padding: 12px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { display: block; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  .site-wrap { width: min(100% - 24px, var(--sn-max)); }
  .hero { min-height: 580px; }
  .hero-content { padding-top: 90px; }
  .card-grid, .post-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .feature-panel { padding: 30px; }
  .footer-bottom { flex-direction: column; }
}
