/* Kaunexa - Unique Magazine Blog Style | Sage & Warm Sand Palette */
:root {
  --sage: #6B8E6B;
  --sand: #C9A87C;
  --cream: #FAF6F0;
  --dark: #1F2937;
  --gray: #4B5563;
  --light: #F8F1E9;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.08);
}

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

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

/* Header - Clean Magazine Style */
header {
  background: var(--white);
  border-bottom: 1px solid #E5E0D8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

nav a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--dark);
}

/* Hero - Full width magazine style */
.hero {
  background: linear-gradient(135deg, #6B8E6B 0%, #8FAE8B 100%);
  color: white;
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: rgba(255,255,255,0.08);
  transform: rotate(-12deg);
  border-radius: 40% 60% 30% 70%;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-primary {
  background: var(--white);
  color: var(--sage);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.85);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Main Layout - Magazine with sidebar */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .main-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Long Intro Text - Rich reading experience */
.intro-section {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.intro-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  font-weight: 700;
}

.intro-section p {
  font-size: 1.08rem;
  color: var(--gray);
  margin-bottom: 1.35rem;
}

/* Articles Grid - Asymmetric Magazine Cards */
.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
}

.articles-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.65rem;
  margin-bottom: 3rem;
}

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

/* Magazine Card Style */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #EDE6DC;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

.card-accent {
  height: 6px;
  background: linear-gradient(to right, var(--sage), var(--sand));
}

.card-content {
  padding: 1.65rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  color: var(--dark);
  font-weight: 700;
}

.card-content .excerpt {
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #6B7280;
  margin-top: auto;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sage);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 0.7rem;
}

/* Sidebar - Magazine Style */
.sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid #EDE6DC;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar h3 {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  color: var(--dark);
  font-weight: 700;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #EDE6DC;
}

.about-text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.categories {
  list-style: none;
}

.categories li {
  margin-bottom: 0.55rem;
}

.categories a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--gray);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.categories a:hover {
  background: #F1EDE4;
  color: var(--sage);
}

/* Full Articles Section */
.full-articles {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.full-articles h2 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.article-full {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem 3rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid #EDE6DC;
}

.article-full h3 {
  font-size: 1.65rem;
  margin-bottom: 1.35rem;
  color: var(--dark);
  font-weight: 700;
}

.article-full p {
  margin-bottom: 1.25rem;
  color: var(--gray);
}

.article-full ul {
  margin: 1.35rem 0 1.75rem 1.35rem;
}

.article-full li {
  margin-bottom: 0.55rem;
  color: var(--gray);
}

/* Contact Page */
.contact-container {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #EDE6DC;
}

.form-group {
  margin-bottom: 1.65rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1px solid #D1C9B8;
  border-radius: 12px;
  font-size: 1rem;
  background: #FFFEFA;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(107, 142, 107, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--sage);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #5A7A5A;
  transform: translateY(-2px);
}

/* Thank You Page */
.thankyou {
  max-width: 780px;
  margin: 4rem auto;
  padding: 3rem 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.thankyou h1 {
  color: var(--sage);
  margin-bottom: 1.5rem;
}

.thankyou p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 1.35rem;
}

/* Legal Pages - Clean readable */
.legal-page {
  max-width: 860px;
  margin: 3rem auto;
  padding: 2.5rem 2.5rem 4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.legal-page .last-updated {
  color: #6B7280;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 2.35rem 0 1rem;
  color: var(--sage);
  font-weight: 700;
}

.legal-page h3 {
  font-size: 1.1rem;
  margin: 1.65rem 0 0.65rem;
  color: var(--dark);
}

.legal-page p, .legal-page li {
  color: var(--gray);
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.35rem;
}

/* Footer */
footer {
  background: #2C2C2C;
  color: #D1C9B8;
  padding: 3.5rem 2rem 2.5rem;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

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

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

.footer-col a {
  color: #D1C9B8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 0.82rem;
  color: #8B8173;
}

.disclaimer {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-top: 1px solid #E5E0D8;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  flex-direction: column;
  gap: 0.85rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  nav ul {
    display: none;
  }
}