/* 
  Unique Whitehat Site #3 - Annie Kelly | pillis.shop
  Fresh mint + lavender pastel palette
  Zigzag / Split Content Layout (completely new structure)
  Generous spacing, soft rounded cards, calm modern feel
*/

:root {
  --bg: #F8F5F2;
  --bg-alt: #F0EBE3;
  --text: #2C2522;
  --text-muted: #5C5348;
  --accent: #5C8A7D;      /* sage mint */
  --accent2: #7C6B9E;     /* soft lavender */
  --border: #D9D0C4;
  --card: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 25px -8px rgb(44 37 34 / 0.1);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3.1rem; letter-spacing: -0.8px; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.45rem; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent2); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.logo span { color: var(--accent); }

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav a {
  font-weight: 600;
  color: var(--text);
  padding: 6px 0;
}

nav a:hover { color: var(--accent); }

/* Hero Split */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 60px;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-visual {
  background: linear-gradient(135deg, #E8F0ED 0%, #EDE7F5 100%);
  border-radius: 20px;
  padding: 48px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-visual .inner {
  max-width: 280px;
}

.hero-visual h3 {
  color: var(--accent2);
  margin-bottom: 12px;
}

/* Zigzag sections */
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}

.zigzag.reverse {
  grid-template-columns: 1fr 1fr;
}

.zigzag.reverse .zigzag-text { order: 2; }
.zigzag.reverse .zigzag-visual { order: 1; }

.zigzag-visual {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 42px;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.zigzag h3 {
  margin-bottom: 14px;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

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

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin-bottom: 18px; }

/* Buttons */
.btn {
  display: inline-flex;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition);
}

.btn:hover {
  background: var(--accent2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: white;
}

/* Article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.article h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
}

.article-meta {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.article-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-body p {
  margin-bottom: 20px;
}

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px;
  max-width: 620px;
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: #FBF9F6;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Footer */
footer {
  background: #2C2522;
  color: #C9BEB0;
  padding: 56px 0 36px;
  font-size: 0.92rem;
}

footer a { color: #C9BEB0; }
footer a:hover { color: white; }

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-col h5 {
  color: white;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #4A463F;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero, .zigzag {
    grid-template-columns: 1fr;
  }
  
  .zigzag.reverse .zigzag-text { order: 1; }
  .zigzag.reverse .zigzag-visual { order: 2; }
  
  .hero-visual {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  .nav ul { gap: 20px; }
}