/*
Theme Name: Healthy Comfort Kitchen Theme
Theme URI: https://healthycomfortkitchen.com/
Author: Ali Propeck
Author URI: https://healthycomfortkitchen.com/
Description: A modern, wellness-focused WordPress theme with recipe showcase and healthy lifestyle content.
Version: 11.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthy-comfort-kitchen
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
 --sage: #9CAF88;
 --sage-light: #B8C9A8;
 --sage-dark: #7D9268;
 --turquoise: #A8D5D5;
 --turquoise-light: #C5E5E5;
 --turquoise-dark: #8BC5C5;
 --cream: #F5F1E8;
 --cream-light: #FFFCF5;
 --cream-dark: #E8E0D0;
 --gray-800: #1F2937;
 --gray-700: #374151;
 --gray-600: #4B5563;
}

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Inter', system-ui, sans-serif;
 color: var(--gray-800);
 background-color: var(--cream);
 line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
 font-family: 'Playfair Display', serif;
 font-weight: 700;
 line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Default link styles - inherit color from parent, only style header/nav links */
a {
 text-decoration: none;
 transition: color 0.3s ease;
}

/* Header and navigation link colors */
header a,
.desktop-nav a,
.mobile-navigation a {
 color: var(--sage);
}

header a:hover,
.desktop-nav a:hover,
.mobile-navigation a:hover {
 color: var(--sage-dark);
}

/* Header Styles */
header {
 background-color: rgba(245, 241, 232, 0.95);
 backdrop-filter: blur(10px);
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 color: var(--gray-800);
 padding: 1.5rem 2rem;
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 999;
 transition: all 0.3s ease;
}

header.scrolled {
 /* Keeping this class for compatibility, but styles are now default */
}

header h1, header .site-title {
 font-size: 1.75rem;
 margin: 0;
 color: var(--sage-dark);
 transition: color 0.3s ease;
}

header h1:hover, header .site-title:hover {
 color: var(--sage);
}

/* Navigation */
.desktop-nav {
 display: none;
}

.desktop-nav ul {
 list-style: none;
 display: flex;
 gap: 2rem;
 margin: 0;
 padding: 0;
}

.desktop-nav ul li a {
 font-weight: 500;
 color: var(--gray-700);
 padding: 0.5rem 0;
 transition: all 0.3s ease;
}

.desktop-nav ul li a:hover {
 color: var(--sage);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
 display: flex;
 align-items: center;
 justify-content: center;
 background: none;
 border: none;
 color: var(--sage-dark);
 cursor: pointer;
 padding: 0.5rem;
 transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
 color: var(--sage);
}

/* Mobile Navigation */
.mobile-navigation {
 display: none;
 margin-top: 1rem;
 padding-top: 1rem;
 border-top: 1px solid rgba(156, 175, 136, 0.2);
 animation: slideDown 0.3s ease-out;
}

.mobile-navigation.active {
 display: block;
}

.mobile-navigation ul {
 list-style: none;
 margin: 0;
 padding: 0;
 display: flex;
 flex-direction: column;
 gap: 1rem;
}

.mobile-navigation ul li a {
 font-weight: 500;
 color: var(--gray-700);
 display: block;
 padding: 0.5rem 0;
 transition: color 0.3s ease;
}

.mobile-navigation ul li a:hover {
 color: var(--sage);
}

@keyframes slideDown {
 from {
  opacity: 0;
  transform: translateY(-10px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}

/* Desktop Navigation - Show on larger screens */
@media (min-width: 768px) {
 .desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
 }

 .mobile-menu-toggle {
  display: none;
 }

 .mobile-navigation {
  display: none !important;
 }
}

.site-header-wrapper {
 display: flex;
 align-items: center;
 justify-content: space-between;
 max-width: 80rem;
 margin: 0 auto;
}

/* Footer Styles */
footer {
 background-color: var(--sage-dark);
 color: white;
 padding: 3rem 2rem;
 margin-top: 4rem;
}

footer h3, footer h4 {
 color: white;
 margin-bottom: 1rem;
}

footer p {
 color: rgba(184, 201, 168, 0.8);
 line-height: 1.6;
}

footer a {
 color: rgba(184, 201, 168, 0.8);
 transition: color 0.3s ease;
}

footer a:hover {
 color: white;
}

.footer-wrapper {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 max-width: 80rem;
 margin: 0 auto 2rem;
}

.footer-section h4 {
 font-size: 1.125rem;
 margin-bottom: 1rem;
}

.footer-links {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
}

.social-icons {
 display: flex;
 gap: 1rem;
}

.social-icons a {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 2.5rem;
 height: 2.5rem;
 background-color: rgba(255, 255, 255, 0.1);
 border-radius: 50%;
 transition: background-color 0.3s ease;
}

.social-icons a:hover {
 background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.2);
 padding-top: 2rem;
 text-align: center;
 color: rgba(184, 201, 168, 0.6);
}

/* Content Styles */
main {
 max-width: 80rem;
 margin: 0 auto;
 padding: 0 2rem;
}

.entry-content {
 margin-top: 6rem;
 padding-bottom: 2rem;
}

/* Card Styles */
.card {
 background-color: white;
 border-radius: 1rem;
 overflow: hidden;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 transition: all 0.3s ease;
}

.card:hover {
 transform: translateY(-0.5rem);
 box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
 width: 100%;
 height: 16rem;
 object-fit: cover;
 transition: transform 0.5s ease;
}

.card:hover .card-image {
 transform: scale(1.1);
}

.card-body {
 padding: 1.5rem;
}

.card-title {
 font-size: 1.5rem;
 margin-bottom: 1rem;
}

.card-description {
 margin-bottom: 1.5rem;
 line-height: 1.6;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

/* Button Styles */
.btn {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.75rem 1.5rem;
 border: none;
 border-radius: 9999px;
 font-weight: 600;
 text-decoration: none;
 cursor: pointer;
 transition: all 0.3s ease;
}

.btn-primary {
 background-color: var(--sage);
 color: white;
}

.btn-primary:hover {
 background-color: var(--sage-dark);
 box-shadow: 0 10px 15px rgba(125, 146, 104, 0.3);
}

.btn-link {
 color: var(--sage);
 padding: 0;
}

.btn-link:hover {
 color: var(--sage-dark);
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 100vh;
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
 background: linear-gradient(135deg, rgba(156, 175, 136, 0.3) 0%, rgba(168, 213, 213, 0.3) 50%, var(--cream) 100%);
 text-align: center;
 padding: 2rem;
}

.hero-content {
 position: relative;
 z-index: 10;
 max-width: 60rem;
}

.hero-image {
 width: 150px;
 height: 150px;
 object-fit: cover;
 border-radius: 50%;
 border: 4px solid white;
 box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
 margin-bottom: 2rem;
}

.hero h1 {
 margin-bottom: 1.5rem;
}

.hero h2 {
 font-style: italic;
 margin-bottom: 2rem;
 font-size: 1.5rem;
}

.hero p {
 font-size: 1.125rem;
 margin-bottom: 2rem;
 line-height: 1.8;
}

/* Grid Styles */
.grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 margin: 3rem 0;
}

/* Animations */
@keyframes fadeIn {
 from {
  opacity: 0;
  transform: translateY(20px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}

@keyframes fadeInScale {
 from {
  opacity: 0;
  transform: scale(0.8);
 }
 to {
  opacity: 1;
  transform: scale(1);
 }
}

@keyframes scrollIndicator {
 0%, 100% {
  transform: translateY(0);
 }
 50% {
  transform: translateY(10px);
 }
}

/* Scroll Indicator */
.scroll-indicator {
 position: absolute;
 bottom: 2rem;
 left: 50%;
 transform: translateX(-50%);
 width: 24px;
 height: 40px;
 border: 2px solid rgba(156, 175, 136, 0.3);
 border-radius: 20px;
 display: flex;
 align-items: flex-start;
 justify-content: center;
 padding: 8px;
 animation: scrollIndicator 2s infinite;
}

.scroll-indicator::before {
 content: '';
 width: 6px;
 height: 6px;
 background-color: var(--sage);
 border-radius: 50%;
 animation: scrollIndicator 2s infinite;
}

/* Decorative Background Elements */
.hero::before {
 content: '';
 position: absolute;
 top: -80px;
 left: -80px;
 width: 384px;
 height: 384px;
 background-color: rgba(156, 175, 136, 0.1);
 border-radius: 50%;
 filter: blur(60px);
 pointer-events: none;
}

.hero::after {
 content: '';
 position: absolute;
 top: 50%;
 right: -80px;
 width: 320px;
 height: 320px;
 background-color: rgba(168, 213, 213, 0.1);
 border-radius: 50%;
 filter: blur(60px);
 pointer-events: none;
}

/* About Section Styles */
.about-section {
 background-color: rgba(156, 175, 136, 0.1);
 padding: 4rem 2rem;
}

.about-section h2 {
 text-align: center;
 margin-bottom: 3rem;
}

.about-content {
 max-width: 1200px;
 margin: 0 auto;
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
 align-items: center;
}

@media (min-width: 768px) {
 .about-content {
  grid-template-columns: 1fr 1fr;
 }
}

.about-image {
 position: relative;
 border-radius: 1rem;
 overflow: hidden;
 box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.about-image img {
 width: 100%;
 height: auto;
 display: block;
}

.about-text {
 line-height: 1.8;
}

.about-text p {
 margin-bottom: 1.5rem;
}

.about-quote {
 background-color: rgba(255, 255, 255, 0.6);
 border-left: 4px solid var(--sage);
 padding: 1.5rem;
 margin: 2rem 0;
 border-radius: 0.5rem;
 font-style: italic;
}

/* Recipe Stats */
.recipe-stats {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
 gap: 1.5rem;
 margin: 2rem 0;
}

.stat-card {
 background-color: white;
 padding: 1.5rem;
 border-radius: 1rem;
 text-align: center;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-icon {
 width: 32px;
 height: 32px;
 margin: 0 auto 0.5rem;
 color: var(--sage);
}

.stat-label {
 font-weight: 600;
 margin-bottom: 0.25rem;
}

.stat-value {
}

/* Section Divider */
.section-divider {
 width: 96px;
 height: 4px;
 background-color: var(--sage);
 margin: 0 auto 3rem;
 border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.5rem; }
 h3 { font-size: 1.25rem; }
 
 nav ul {
  gap: 1rem;
 }
 
 nav ul li a {
  font-size: 0.9rem;
 }
 
 .footer-wrapper {
  grid-template-columns: 1fr;
 }
 
 .grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
 }
 
 .hero h1 {
  font-size: 2rem;
 }
}
