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

:root {
  --primary-color: #f8b5c3;
  --secondary-color: #e6b3ff;
  --accent-color: #b3d9ff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --background-light: #fefefe;
  --background-cream: #faf8f5;
  --border-light: #e8e8e8;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #f8b5c3 0%, #e6b3ff 100%);
  --gradient-secondary: linear-gradient(135deg, #e6b3ff 0%, #b3d9ff 100%);
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Header and Navigation */
.header {
  background: var(--background-light);
  box-shadow: 0 2px 10px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--gradient-primary);
  color: white;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: var(--background-cream);
  padding: 4rem 0;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.hero-content {
  flex: 1;
  padding: 0 20px;
  max-width: 600px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-medium);
  color: white;
}

.hero-image {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-light);
}

/* Featured Articles Section */
.featured-articles {
  padding: 4rem 0;
  background: var(--background-light);
}

.featured-articles h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

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

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

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

.article-card.featured {
  grid-row: span 2;
}

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

.article-card.featured .article-image img {
  height: 300px;
}

.article-content {
  padding: 1.5rem;
}

.article-content h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.article-content h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.article-content h3 a:hover {
  color: var(--primary-color);
}

.article-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Newsletter Signup */
.newsletter-signup {
  background: var(--gradient-secondary);
  padding: 3rem 0;
  text-align: center;
}

.newsletter-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #f5a1b1;
}

/* Recent Articles */
.recent-articles {
  padding: 4rem 0;
  background: var(--background-cream);
}

.recent-articles h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.articles-list {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-item {
  display: flex;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px var(--shadow-light);
  transition: transform 0.3s ease;
}

.article-item:hover {
  transform: translateY(-3px);
}

.article-item .article-image {
  flex-shrink: 0;
  width: 200px;
}

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

.article-item .article-content {
  padding: 1.5rem;
  flex: 1;
}

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

.article-item p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.view-all {
  text-align: center;
}

.view-all-link {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.view-all-link:hover {
  transform: translateY(-2px);
  color: white;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px var(--shadow-light);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card.featured {
    grid-row: span 1;
  }

  .article-item {
    flex-direction: column;
  }

  .article-item .article-image {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .article-content {
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .logo h1 {
    font-size: 1.2rem;
    padding: 0;
    line-height: 1.1;
    max-width: 160px;
    overflow: hidden;
  }
  .nav-container {
    padding: 0.5rem 10px;
  }
  .nav-menu {
    padding: 1rem 0;
    top: 59px;
  }
  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-card,
.article-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* About Page Styles - Harmonized with Home and Blog */
.about-hero {
  background: var(--background-cream);
  padding: 4rem 0 2rem 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  background: var(--background-light);
  padding: 4rem 0 2rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 2rem;
}

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

.about-text li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-light);
  background: var(--background-cream);
}

.values-section {
  margin-top: 3rem;
}

.values-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow-light);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: 2.5rem 0 1rem 0;
  }
  .about-hero h1 {
    font-size: 2rem;
  }
  .about-content {
    padding: 2rem 0 1rem 0;
  }
  .values-section h2 {
    font-size: 1.5rem;
  }
  .value-card {
    padding: 1.2rem 0.7rem;
  }
}
