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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lora", serif;
  font-weight: 400;
  line-height: 1.7;
  color: #2e2e2e;
  background-color: #fff8f4;
  font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: #2e2e2e;
}

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

a:hover {
  color: #b8879a;
}

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

/* Header and Navigation */
.header {
  background-color: rgba(255, 248, 244, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(216, 167, 177, 0.2);
}

.nav {
  padding: 1rem 0;
}

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

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2e2e2e;
  margin: 0;
}

.logo a {
  color: inherit;
}

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

.nav-link {
  font-weight: 500;
  color: #2e2e2e;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #d8a7b1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #d8a7b1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #2e2e2e;
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff8f4 0%, #fdf3f0 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #5a5a5a;
  line-height: 1.6;
}

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

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

.btn-primary {
  background-color: #d8a7b1;
  color: white;
}

.btn-primary:hover {
  background-color: #b8879a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(216, 167, 177, 0.3);
}

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

.btn-secondary:hover {
  background-color: #d8a7b1;
  color: white;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.featured-articles {
  padding: 6rem 0;
}

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

.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.article-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 2rem;
}

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

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

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

.article-excerpt {
  color: #5a5a5a;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.read-time {
  font-weight: 500;
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Philosophy Section */
.philosophy {
  background-color: #fdf3f0;
  padding: 6rem 0;
}

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

.philosophy-title {
  margin-bottom: 2rem;
}

.philosophy-text {
  font-size: 1.1rem;
  color: #5a5a5a;
  margin-bottom: 1.5rem;
}

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

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #5a5a5a;
}

/* Articles Listing */
.articles-listing {
  padding: 4rem 0;
}

/* Article Page */
.article-page {
  padding: 2rem 0 4rem;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-page .article-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.article-page .article-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: 15px;
  overflow: hidden;
}

.article-page .article-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.article-intro {
  font-size: 1.3rem;
  color: #5a5a5a;
  font-style: italic;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #fdf3f0;
  border-radius: 10px;
  border-left: 4px solid #d8a7b1;
}

.article-navigation {
  margin-top: 4rem;
  text-align: center;
}

.nav-back {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #d8a7b1;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-back:hover {
  background-color: #b8879a;
}

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

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

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

.about-text li {
  margin-bottom: 0.5rem;
}

/* Resources Page */
.resources-content {
  padding: 4rem 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.resource-category {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.resource-category h2 {
  color: #d8a7b1;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.resource-item {
  padding: 1.5rem;
  background-color: #fdf3f0;
  border-radius: 10px;
  border-left: 4px solid #d8a7b1;
}

.resource-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.resource-item p {
  margin-bottom: 0;
  color: #5a5a5a;
}

.resource-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fdf3f0;
  border-radius: 15px;
  text-align: center;
}

.resource-note h3 {
  color: #d8a7b1;
  margin-bottom: 1rem;
}

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

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

.footer-brand h3 {
  color: #d8a7b1;
  margin-bottom: 0.5rem;
}

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

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #b8b8b8;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d8a7b1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #4a4a4a;
}

.footer-bottom p {
  color: #8a8a8a;
  margin-bottom: 0;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.fade-in-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 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;
}

/* Blog Quote Section */
.blog-quote {
  background: linear-gradient(135deg, #fdf3f0 60%, #fbe6e6 100%);
  border-left: 6px solid #d8a7b1;
  border-radius: 1.2rem;
  margin: 3rem auto 2.5rem auto;
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  max-width: 700px;
  box-shadow: 0 4px 24px 0 rgba(216, 167, 177, 0.08);
  position: relative;
}

.blog-quote .quote-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #b8879a;
  margin-bottom: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.blog-quote .quote-text::before {
  content: "\201C";
  font-size: 3.5rem;
  color: #e2bfc7;
  position: absolute;
  left: -2.2rem;
  top: -1.2rem;
  font-family: "Playfair Display", serif;
}

.blog-quote .quote-author {
  display: block;
  text-align: right;
  font-size: 1rem;
  color: #7a5c6b;
  font-style: normal;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .blog-quote {
    padding: 1.5rem 1rem 1.5rem 1.2rem;
    max-width: 95%;
  }
  .blog-quote .quote-text {
    font-size: 1.1rem;
  }
  .blog-quote .quote-text::before {
    font-size: 2.2rem;
    left: -1.1rem;
    top: -0.7rem;
  }
}

/* Disable text selection for all main text elements */
p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
cite,
li,
span,
.article-content,
.philosophy-text,
.quote-text,
.quote-author {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
}
