/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #fafaf7;
  font-weight: 400;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: #a8c5da;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #7ba7c7;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main {
  min-height: calc(100vh - 200px);
}

/* Header and Navigation */
.header {
  background-color: #fafaf7;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  padding: 1rem 0;
}

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

.nav-brand .brand-link {
  text-decoration: none;
  color: inherit;
}

.brand-title {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
  color: #2c2c2c;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  font-style: italic;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: #2c2c2c;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: #b7d3c6;
  color: #2c2c2c;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #2c2c2c;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f6dada 0%, #b7d3c6 100%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #444;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: #a8c5da;
  color: #2c2c2c;
}

.btn-primary:hover {
  background-color: #7ba7c7;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #a8c5da;
  border: 2px solid #a8c5da;
}

.btn-secondary:hover {
  background-color: #a8c5da;
  color: #2c2c2c;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #2c2c2c;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Featured Articles */
.featured-articles {
  padding: 4rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.article-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-card.featured {
  background: linear-gradient(135deg, #f6dada 0%, #b7d3c6 100%);
  border: none;
}

.article-title {
  margin-bottom: 1rem;
}

.article-title a {
  color: #2c2c2c;
  text-decoration: none;
}

.article-title a:hover {
  color: #a8c5da;
}

.article-excerpt {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #777;
}

.read-time {
  background-color: #f0f0f0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Friendship Note */
.friendship-note {
  padding: 4rem 0;
  background-color: #f6dada;
}

.note-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.note-title {
  margin-bottom: 2rem;
  color: #2c2c2c;
}

.note-quote {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: #444;
  line-height: 1.5;
}

.note-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  color: #666;
}

.note-reflection {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0;
}

/* Recent Articles */
.recent-articles {
  padding: 4rem 0;
}

.articles-list {
  max-width: 800px;
  margin: 0 auto;
}

.article-item {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.article-item:last-child {
  border-bottom: none;
}

.article-item .article-title {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.article-item .article-excerpt {
  margin-bottom: 1rem;
  color: #666;
}

.article-item .read-time {
  background-color: transparent;
  padding: 0;
  color: #a8c5da;
  font-weight: 500;
}

/* Page Header */
.page-header {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, #b7d3c6 0%, #a8c5da 100%);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.page-description {
  font-size: 1.2rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

/* Articles Archive */
.articles-archive {
  padding: 4rem 0;
}

/* About Page */
.about-content {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.about-list li {
  margin-bottom: 0.5rem;
  color: #555;
}

.about-quote {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #f6dada;
  border-radius: 12px;
  text-align: center;
}

.about-quote blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: #444;
  margin: 0;
}

.about-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  color: #666;
}

/* Article Content */
.article-header {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, #f6dada 0%, #b7d3c6 100%);
}

.article-content {
  padding: 4rem 0;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background-color: #f6dada;
  border-left: 4px solid #a8c5da;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #444;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: #2c2c2c;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #ccc;
  margin-bottom: 0;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #ccc;
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mt-2 {
  margin-top: 2rem;
}

/* Заборона копіювання тексту */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
.article-body,
.article-content,
.about-content,
.main,
.section-title,
.brand-title,
.brand-subtitle,
.note-quote,
.note-reflection,
.article-excerpt,
.article-title,
.article-item,
.footer,
.footer-content,
.footer-brand,
.footer-nav,
.footer-bottom,
.page-title,
.page-description,
.about-list,
.about-quote,
.about-text,
.note-content,
.note-title,
.friendship-note,
.read-time,
.article-meta,
.btn,
.nav-link,
.nav-menu,
.nav-brand,
.nav-container,
.nav-toggle,
.brand-link,
.container,
.header,
.nav,
.main,
.section-cta,
.featured-articles,
.recent-articles,
.articles-archive,
.article-card,
.articles-grid,
.content-wrapper,
.article-header,
.page-header,
.articles-list,
.article-item,
.article-title a,
.article-title a:hover,
.article-excerpt,
.article-meta,
.read-time,
.footer,
.footer-content,
.footer-brand,
.footer-nav,
.footer-bottom,
.text-center,
.mb-0,
.mb-1,
.mb-2,
.mt-2 {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
}
