/*
Theme Name: Sunshine & Sage
Description: A gentle, minimalist blog theme with feminine aesthetics focused on slow living, homemaking, and intentional lifestyle content. Features sage green and cream color palette with organic design elements.
Version: 1.0
Author: Your Name
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Source+Serif+Pro:wght@300;400;600&family=Dancing+Script:wght@400;500;600&display=swap');

/* CSS Variables - Color Palette */
:root {
  /* Sage Green Palette */
  --sage-50: hsl(88, 25%, 97%);
  --sage-100: hsl(86, 23%, 93%);
  --sage-200: hsl(84, 22%, 84%);
  --sage-300: hsl(82, 21%, 75%);
  --sage-400: hsl(99, 17%, 63%);
  --sage-500: hsl(99, 17%, 53%);
  --sage-600: hsl(82, 18%, 48%);
  --sage-700: hsl(81, 18%, 38%);
  --sage-800: hsl(80, 17%, 28%);
  --sage-900: hsl(79, 16%, 18%);
  
  /* Cream Palette */
  --cream-50: hsl(60, 100%, 99%);
  --cream-100: hsl(44, 100%, 97%);
  --cream-200: hsl(43, 96%, 93%);
  --cream-300: hsl(42, 91%, 89%);
  --cream-400: hsl(41, 86%, 83%);
  --cream-500: hsl(28, 32%, 72%);
  --cream-600: hsl(26, 28%, 64%);
  --cream-700: hsl(25, 24%, 51%);
  --cream-800: hsl(24, 20%, 36%);
  --cream-900: hsl(23, 16%, 26%);
  
  /* Font Families */
  --font-serif: 'Crimson Text', serif;
  --font-body: 'Source Serif Pro', serif;
  --font-script: 'Dancing Script', cursive;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 5rem 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--cream-50);
  color: var(--sage-800);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--sage-700);
  margin-bottom: 1rem;
}

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

p {
  margin-bottom: 1.5rem;
  color: var(--sage-600);
}

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

a:hover {
  color: var(--sage-600);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-100);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sage-300), var(--cream-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-600);
}

.site-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-700);
  margin: 0;
}

.site-tagline {
  font-family: var(--font-script);
  font-size: 0.9rem;
  color: var(--sage-500);
  margin: 0;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--sage-600);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.main-navigation a:hover,
.main-navigation a.current {
  color: var(--sage-700);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: linear-gradient(90deg, var(--sage-400), var(--cream-500));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 247, 242, 0.8), rgba(228, 238, 224, 0.8));
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-script {
  font-family: var(--font-script);
  color: var(--sage-500);
  font-size: 3rem;
  display: block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--sage-600);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 25px 15px 25px 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--sage-400);
  color: var(--cream-50);
  box-shadow: 0 8px 25px -5px rgba(156, 175, 136, 0.2);
}

.btn-primary:hover {
  background-color: var(--sage-500);
  border-radius: 15px 25px 15px 25px;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(156, 175, 136, 0.3);
  color: var(--cream-50);
}

.btn-outline {
  background-color: transparent;
  color: var(--sage-600);
  border: 2px solid var(--sage-400);
}

.btn-outline:hover {
  background-color: var(--sage-50);
  border-radius: 15px 25px 15px 25px;
  color: var(--sage-600);
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-card {
  background: var(--cream-50);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 8px 25px -5px rgba(156, 175, 136, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(156, 175, 136, 0.2);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.blog-category {
  background: var(--sage-100);
  color: var(--sage-600);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-date {
  color: var(--sage-400);
  font-size: 0.875rem;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--sage-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  color: var(--sage-500);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--sage-600);
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.section-subtitle {
  font-size: 1.25rem;
  color: var(--sage-600);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-300), var(--cream-400));
  margin: 0 auto;
  border-radius: 2px;
}

/* Footer */
.site-footer {
  background: var(--sage-700);
  color: var(--cream-100);
  padding: 4rem 0 2rem;
}

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

.footer-section h3 {
  color: var(--cream-50);
  margin-bottom: 1.5rem;
}

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

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

.footer-section a {
  color: var(--cream-200);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--sage-600);
  padding-top: 2rem;
  text-align: center;
  color: var(--cream-200);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-script {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* WordPress Specific Classes */
.wp-block-image {
  margin: 2rem 0;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

/* Decorative Elements */
.organic-blob {
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
}

.texture-linen {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(156, 175, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 181, 160, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(250, 247, 242, 0.8) 0%, transparent 50%);
}