/* dorelina.shop - Premium Lifestyle Journal by Abdi Nuur
   Unique sage-warm neutral palette, modern elegant typography, generous spacing
   Fully responsive, no images - pure color, typography & subtle UI details
*/

:root {
  --bg: #F4F1E9;
  --bg-alt: #EDE8DF;
  --text: #2D2A26;
  --text-light: #5C5852;
  --accent: #6B7F5D;
  --accent-dark: #4A5A42;
  --accent-light: #8C9A7D;
  --card: #FFFFFF;
  --border: #D4CDBE;
  --shadow: 0 10px 30px rgba(45, 42, 38, 0.08);
  --shadow-soft: 0 4px 15px rgba(45, 42, 38, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --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: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; letter-spacing: -0.015em; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.25rem; }

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

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

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

/* Header & Navigation - Premium sticky with subtle blur */
header {
  background-color: rgba(244, 241, 233, 0.92);
  backdrop-filter: blur(20px);
  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-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

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

.nav-links {
  display: flex;
  gap: 42px;
  align-items: center;
}

.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: 1.5px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links a.active {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
}

/* Hero Section - Asymmetric elegant */
.hero {
  padding: 120px 0 90px;
  background: linear-gradient(145deg, #F4F1E9 0%, #EDE8DF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(107, 127, 93, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero .lead {
  font-size: 1.35rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 42px;
}

.hero .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero .meta::before {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--accent);
}

/* Long Intro Text Section */
.intro {
  padding: 80px 0;
  max-width: 820px;
  margin: 0 auto;
}

.intro h2 {
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
}

.intro h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.intro p {
  font-size: 1.08rem;
  margin-bottom: 26px;
  color: var(--text);
}

.intro p:last-child {
  margin-bottom: 0;
}

/* Articles Section */
.articles {
  padding: 60px 0 100px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  margin-bottom: 0;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Article Cards - Magazine style asymmetric grid feel */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

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

.card-accent {
  height: 5px;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
}

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

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}

.category-tag {
  background: var(--bg-alt);
  color: var(--accent-dark);
  padding: 3px 13px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.card-date {
  color: var(--text-light);
}

.article-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

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

.excerpt {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--accent-dark);
  gap: 12px;
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Modal - Clean reading experience */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 38, 0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  position: relative;
}

.modal-header {
  padding: 26px 32px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.7rem;
  padding-right: 40px;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 4px;
}

.close-modal:hover {
  color: var(--text);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  max-height: calc(88vh - 140px);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.modal-footer {
  padding: 18px 32px;
  background: var(--bg-alt);
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Contact Page */
.contact-hero {
  padding: 90px 0 60px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.contact-hero h1 {
  margin-bottom: 18px;
}

.contact-hero p {
  font-size: 1.15rem;
  color: var(--text-light);
}

.form-card {
  max-width: 620px;
  margin: 40px auto 80px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  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(--accent);
  box-shadow: 0 0 0 4px rgba(107, 127, 93, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 16px 28px;
  background: var(--accent);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: scale(0.985);
}

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

.thankyou-card {
  max-width: 720px;
  text-align: center;
  background: var(--card);
  padding: 70px 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.thankyou-card h1 {
  color: var(--accent);
  margin-bottom: 18px;
}

.thankyou-card .big-text {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: var(--text-light);
}

.thankyou-card p {
  margin-bottom: 18px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.back-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Footer - Clean & informative */
footer {
  background: #2D2A26;
  color: #C9C3B8;
  padding: 70px 0 40px;
  font-size: 0.92rem;
}

footer a {
  color: #C9C3B8;
}

footer a:hover {
  color: #EDE8DF;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #EDE8DF;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col p, .footer-col a {
  display: block;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #46423C;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
}

.footer-bottom a {
  margin-left: 18px;
}

.footer-bottom a:first-child {
  margin-left: 0;
}

/* Legal pages */
.legal-page {
  padding: 70px 0 100px;
}

.legal-page h1 {
  margin-bottom: 12px;
}

.legal-page .update {
  color: var(--text-light);
  margin-bottom: 42px;
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: 48px 0 18px;
  font-size: 1.45rem;
  color: var(--accent-dark);
}

.legal-page p, .legal-page li {
  margin-bottom: 16px;
  max-width: 820px;
}

.legal-page ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.legal-page li {
  margin-bottom: 9px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.6rem; }
  .hero { padding: 90px 0 70px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    box-shadow: var(--shadow-soft);
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  
  .form-card {
    padding: 34px 26px;
  }
  
  .modal-content {
    max-height: 92vh;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2.35rem; }
  .section-header { flex-direction: column; align-items: flex-start; }
}