/* makandela.shop - Unique Editorial Journal Style - Danielle Timmer */
/* Warm Neutral & Sage Palette - atypical modern literary blog */

:root {
  --bg: #F9F5F0;
  --bg-alt: #F0EBE3;
  --text: #2C2522;
  --text-light: #5C524B;
  --accent: #6B8E6B;
  --accent-dark: #4A6B4A;
  --highlight: #D4A574;
  --card: #FFFFFF;
  --border: #E5DDD3;
  --shadow: 0 8px 30px rgba(44, 37, 34, 0.08);
  --radius: 12px;
  --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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.1rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

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

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

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

/* Header & Nav - Unique floating elegant */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(249, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

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

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

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

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

/* Hero - Atypical large typography with accent element */
.hero {
  padding: 120px 0 90px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--highlight));
  border-radius: 3px;
}

.hero h1 {
  font-size: 4.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: -2px;
}

.hero .subtitle {
  font-size: 1.35rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 42px;
  background-color: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cta-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(107, 142, 107, 0.3);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
}

/* Unique article grid on home - asymmetric editorial */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.article-card.featured {
  grid-column: span 1;
  background: linear-gradient(145deg, #F0EBE3 0%, #FFFFFF 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.article-card.featured::before {
  content: 'REKOMENDUOJAMA';
  position: absolute;
  top: 24px;
  right: -32px;
  background-color: var(--highlight);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 48px;
  transform: rotate(35deg);
  letter-spacing: 1px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-meta .dot {
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
}

.article-card h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  line-height: 1.35;
}

.article-excerpt {
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 24px;
  font-size: 0.97rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.read-more:hover {
  gap: 14px;
}

/* About teaser section - unique split */
.about-teaser {
  background-color: var(--bg-alt);
  border-radius: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-teaser .text-content h2 {
  margin-bottom: 1.5rem;
}

.about-teaser .text-content p {
  margin-bottom: 1.8rem;
  color: var(--text-light);
}

.author-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 2rem;
}

.author-badge .avatar {
  width: 68px;
  height: 68px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.author-badge .info .name {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-badge .info .role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Article page specific */
.article-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 50px;
}

.article-header h1 {
  font-size: 3.1rem;
  max-width: 820px;
}

.article-header .meta {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.article-content p {
  margin-bottom: 1.6rem;
}

.article-content h2 {
  margin-top: 3.2rem;
  margin-bottom: 1.4rem;
  font-size: 1.85rem;
}

.pull-quote {
  margin: 3rem 0;
  padding: 2.5rem 3rem;
  background-color: var(--bg-alt);
  border-left: 6px solid var(--accent);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
}

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

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Contact page - clean form */
.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--card);
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  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: 18px;
  background-color: var(--accent);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--accent-dark);
}

/* Thank you page */
.thank-you {
  text-align: center;
  padding: 120px 20px;
  max-width: 620px;
  margin: 0 auto;
}

.thank-you h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.thank-you p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Footer - unique with address emphasis */
footer {
  background-color: #2C2522;
  color: #E5DDD3;
  padding: 70px 0 40px;
  margin-top: 80px;
}

footer a {
  color: #E5DDD3;
}

footer a:hover {
  color: var(--highlight);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
}

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

.footer-col p, .footer-col a {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 8px;
  display: block;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

.legal-links a {
  font-size: 0.85rem;
  opacity: 0.85;
}

.address {
  font-style: normal;
  line-height: 1.7;
}

.copyright {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(229, 221, 211, 0.2);
  font-size: 0.82rem;
  opacity: 0.7;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg);
    flex-direction: column;
    padding: 30px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero h1 {
    font-size: 3.4rem;
  }
  
  .about-teaser {
    grid-template-columns: 1fr;
    padding: 45px 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  
  .hero {
    padding: 90px 0 70px;
  }
  
  .hero h1 {
    font-size: 2.9rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .article-card {
    padding: 26px 22px;
  }
}

/* Extra unique touches */
.decorative-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 50px 0;
}

.articles-grid .article-card:nth-child(3n) {
  border-top: 4px solid var(--highlight);
}