/* Oclax - Unique Modern Lifestyle Blog Design | Sage & Terracotta Palette | Asymmetric + Masonry Inspired */
/* Never repeated layout: Zigzag sections on home, sticky filters + masonry grid on blog, custom 16px radius, soft shadows, pill buttons */

:root {
  --bg: #F4F1DE;
  --text-primary: #264653;
  --text-secondary: #5C6B73;
  --primary: #2A9D8F;
  --accent: #E76F51;
  --light-accent: #E9C46A;
  --card-bg: #FFFFFF;
  --border: #E0DCD0;
  --shadow: 0 10px 30px rgba(38, 70, 83, 0.07);
  --shadow-hover: 0 20px 40px rgba(38, 70, 83, 0.12);
  --radius: 16px;
  --radius-pill: 9999px;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.65rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* Header - Unique floating glassmorphism style */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 222, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1.5px;
}

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

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

nav a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-secondary);
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover:after,
nav a.active:after {
  width: 100%;
}

.cta-header {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.3);
}

.cta-header:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 111, 81, 0.35);
}

/* Hamburger - Mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  transition: 0.3s;
}

@media (max-width: 900px) {
  nav ul {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .cta-header {
    display: none;
  }
}

/* Hero - Asymmetric Split Layout (unique for this site) */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 60px;
}

.hero-content h1 {
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px rgba(42, 157, 143, 0.35);
}

.btn-primary:hover {
  background: #248a7d;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 32px rgba(42, 157, 143, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
  padding: 14px 32px;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(42, 157, 143, 0.06);
}

.hero-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 1.15 / 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-image:hover img {
  transform: scale(1.04);
}

.hero-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  background: rgba(255,255,255,0.95);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  color: var(--primary);
}

/* Zigzag Sections - Unique alternating layout */
.section {
  padding: 100px 0;
}

.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.zigzag.reverse {
  direction: rtl;
}

.zigzag.reverse > * {
  direction: ltr;
}

.zigzag-content h2 {
  margin-bottom: 22px;
}

.zigzag-content p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.zigzag-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1.05 / 1;
}

.zigzag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured Grid - Asymmetric Masonry Inspired */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

@media (min-width: 1100px) {
  .featured-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  
  .featured-grid .card:nth-child(1) {
    grid-row: span 2;
  }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.4s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.card-content {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  flex: 1;
  margin-bottom: 20px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.read-time {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Benefits / Icon Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.benefit-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary), #3AB8A8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: white;
  font-size: 1.6rem;
}

.benefit-card h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

/* Blog Page Specific */
.blog-hero {
  text-align: center;
  padding: 80px 0 40px;
  background: linear-gradient(to bottom, #F4F1DE, #F8F6E8);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 40px 0 60px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.masonry-grid {
  columns: 3;
  column-gap: 26px;
  margin-bottom: 80px;
}

@media (max-width: 1100px) {
  .masonry-grid {
    columns: 2;
  }
}

@media (max-width: 700px) {
  .masonry-grid {
    columns: 1;
  }
}

.masonry-card {
  break-inside: avoid;
  margin-bottom: 26px;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.masonry-card .card-image {
  aspect-ratio: 16 / 9.5;
}

/* Article Page */
.article-hero {
  height: 68vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(38, 70, 83, 0.35), rgba(38, 70, 83, 0.65));
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}

.article-hero-content .tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.article-content {
  max-width: 780px;
  margin: 60px auto;
  padding: 0 24px;
}

.article-content h2 {
  margin: 48px 0 18px;
  color: var(--text-primary);
}

.article-content p, .article-content li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.article-content ul {
  padding-left: 22px;
  margin: 22px 0;
}

.article-content li {
  margin-bottom: 10px;
}

.related {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

/* Contact & Forms */
.form-container {
  max-width: 620px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--card-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.12);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  margin-top: 12px;
}

/* Thank You Page */
.thank-you {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.thank-you-content h1 {
  font-size: 3.2rem;
  margin-bottom: 18px;
}

.thank-you-content p {
  max-width: 460px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
}

/* Footer - Unique multi-column with brand emphasis */
footer {
  background: #1F2A2A;
  color: #C8C4B8;
  padding: 80px 0 40px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-col a {
  color: #C8C4B8;
  display: block;
  margin-bottom: 11px;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--light-accent);
}

.footer-brand .logo {
  color: white;
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid #3A4646;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #C8C4B8;
}

.footer-bottom a:hover {
  color: white;
}

/* Misc */
.section-title {
  text-align: center;
  margin-bottom: 18px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

.meta-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}