/* =============================================
   VILLAVERAES - DAGDRAUM AS | Unique Modern Blog Design
   Sage + Warm Yellow Palette | Never repeated layout
   Fully responsive, no images, text & color focused
   ============================================= */

:root {
  --sage: #4A7C59;
  --sage-dark: #3A6347;
  --yellow: #E8C547;
  --yellow-dark: #D4A93A;
  --cream: #FDF9F3;
  --cream-dark: #F5EDE0;
  --text: #1F2E1F;
  --text-light: #5A6B5A;
  --white: #FFFFFF;
  --border: #E5E0D8;
  --shadow: 0 8px 25px rgba(31, 46, 31, 0.08);
  --shadow-hover: 0 15px 35px rgba(31, 46, 31, 0.12);
  --radius: 16px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

a {
  color: var(--sage);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Header - Unique sticky with elegant border */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

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

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--yellow-dark);
  font-weight: 400;
}

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text);
  transition: var(--transition);
}

/* Hero - Asymmetric creative layout with CSS art */
.hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.75rem;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 42ch;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--yellow);
  color: var(--text);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(232, 197, 71, 0.35);
}

.cta-button:hover {
  background-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 197, 71, 0.45);
}

.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decorative-shapes {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 380px;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 197, 71, 0.25);
  border: 1px solid rgba(232, 197, 71, 0.4);
}

.shape-1 {
  width: 180px;
  height: 180px;
  top: 10%;
  left: 15%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 45%;
  right: 12%;
  background: rgba(74, 124, 89, 0.3);
  border-color: rgba(74, 124, 89, 0.5);
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  width: 90px;
  height: 90px;
  bottom: 18%;
  left: 28%;
  background: rgba(232, 197, 71, 0.15);
  animation: float 7s ease-in-out infinite 1s;
}

.shape-4 {
  width: 60px;
  height: 60px;
  top: 22%;
  right: 28%;
  background: transparent;
  border: 2px solid rgba(232, 197, 71, 0.6);
  animation: float 5s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(8deg); }
}

/* Main content */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Intro section - generous readable text */
.intro-section {
  padding: 4.5rem 0 3rem;
  max-width: 78ch;
  margin: 0 auto;
}

.intro-section h2 {
  font-size: 2.35rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.intro-section p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.35rem;
}

/* Categories - unique pill style */
.categories {
  padding: 2rem 0 3.5rem;
}

.categories h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.pill {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.pill:hover {
  background-color: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  transform: translateY(-1px);
}

/* Articles section - Magazine asymmetric grid */
.articles-section {
  padding: 2rem 0 5rem;
}

.articles-section h2 {
  font-size: 2.15rem;
  margin-bottom: 2rem;
  text-align: center;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

/* Asymmetric cards - unique magazine layout */
.article-card {
  background-color: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  grid-column: span 12;
}

@media (min-width: 768px) {
  .article-card {
    grid-column: span 6;
  }
  .article-card.featured {
    grid-column: span 7;
    grid-row: span 2;
  }
  .article-card.wide {
    grid-column: span 5;
  }
}

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

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

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

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.category-tag {
  background-color: var(--cream-dark);
  color: var(--sage-dark);
  padding: 0.2rem 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.card-content p {
  color: var(--text-light);
  font-size: 0.97rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sage);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--sage-dark);
  gap: 0.65rem;
}

.read-more::after {
  content: '→';
  transition: var(--transition);
}

/* Sidebar - unique sticky with elegant border */
.sidebar {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar h4 {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar li:last-child {
  border-bottom: none;
}

.sidebar a {
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.sidebar a span {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Contact page specific */
.contact-section {
  max-width: 620px;
  margin: 3rem auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-section .subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.25rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background-color: var(--cream);
}

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

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

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

.submit-btn:hover {
  background-color: var(--sage-dark);
  transform: translateY(-2px);
}

/* Thank you page */
.thankyou-container {
  max-width: 680px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1.5rem;
}

.thankyou-container h1 {
  font-size: 2.85rem;
  color: var(--sage);
  margin-bottom: 1rem;
}

.thankyou-container .lead {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.thankyou-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: left;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.thankyou-content p {
  margin-bottom: 1.1rem;
}

/* Legal pages - clean long form reading */
.legal-page {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}

.legal-page h1 {
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

.legal-page .last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.9rem;
  color: var(--sage);
}

.legal-page h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.6rem;
}

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

.legal-page ul, .legal-page ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.legal-page strong {
  color: var(--text);
}

/* Footer */
footer {
  background-color: var(--text);
  color: #C5D0C5;
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
}

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

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

.footer-col h5 {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.footer-col p, .footer-col a {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #C5D0C5;
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.legal-links a {
  color: #A8B8A8;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual {
    height: 280px;
    margin-top: 2rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .article-card.featured,
  .article-card.wide {
    grid-column: span 1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  nav ul.show {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-container {
    position: relative;
  }
  
  .hero-text h1 {
    font-size: 2.85rem;
  }
}

/* Print & accessibility */
@media print {
  header, footer, .sidebar, .cta-button {
    display: none;
  }
}

/* Extra unique touches */
.article-card .card-content h3 {
  transition: color 0.2s ease;
}

.article-card:hover .card-content h3 {
  color: var(--sage);
}

.pill:active {
  transform: scale(0.97);
}