:root {
  --primary-color: #FF7043;
  --secondary-color: #FF9800;
  --accent-color: #FFB74D;
  --text-color: #263238;
  --light-bg: #FFF3E0;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #FF7043 0%, #FF9800 100%);
  --gradient-2: linear-gradient(135deg, #FFB74D 0%, #FF7043 100%);
  --shadow-sm: 0 4px 12px rgba(255, 112, 67, 0.1);
  --shadow-md: 0 8px 24px rgba(255, 112, 67, 0.15);
  --border-radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* Header & Navigation */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 8%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(255, 112, 67, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 0 8%;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: var(--text-color);
  opacity: 0.9;
}

.cta-button {
  padding: 1.4rem 3rem;
  font-size: 1.2rem;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Featured Posts */
.featured-posts {
  padding: 8rem 8%;
  background: var(--white);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
}

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

.post-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.post-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-content {
  padding: 2.5rem;
}

.post-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.post-card p {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 0.8rem;
}

/* Newsletter Section */
.newsletter {
  background: var(--gradient-1);
  padding: 8rem 8%;
  text-align: center;
  color: var(--white);
  position: relative;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/svg/2000" viewBox="0 0 1440 320"><path fill="%23ffffff20" d="M0,96L48,112C96,128,192,160,288,181.3C384,203,480,213,576,202.7C672,192,768,160,864,144C960,128,1056,128,1152,133.3C1248,139,1344,149,1392,154.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  opacity: 0.1;
}

.newsletter h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

#subscribe-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: var(--border-radius);
}

#subscribe-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

#subscribe-form button {
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#subscribe-form button:hover {
  transform: translateX(3px);
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 4rem 8% 2rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
}

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

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--white);
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--primary-color);
}

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

/* Recipe Page Styles */
.recipes-page {
  padding-top: 80px;
}

.recipe-hero {
  background: var(--gradient-1);
  padding: 6rem 8%;
  text-align: center;
  color: var(--white);
  margin-bottom: 4rem;
}

.recipe-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.recipe-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.recipe-categories {
  padding: 0 8% 2rem;
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 8%;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.recipe-image {
  height: 200px;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-icon {
  color: var(--white);
  opacity: 0.9;
}

.recipe-content {
  padding: 2rem;
}

.recipe-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--light-bg);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.recipe-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.recipe-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

.recipe-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--gradient-1);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.recipe-btn:hover {
  transform: translateX(5px);
}

.recipe-tips {
  padding: 6rem 8%;
  background: var(--light-bg);
  margin-top: 4rem;
}

.recipe-tips h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

.tip-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.tip-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tip-card h3 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.tip-card p {
  color: var(--text-color);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    padding: 1rem 5%;
  }
  
  .hero {
    padding: 4rem 5%;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .featured-posts,
  .newsletter {
    padding: 4rem 5%;
  }
  
  #subscribe-form {
    flex-direction: column;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .recipe-hero {
    padding: 4rem 5%;
  }

  .recipe-hero h1 {
    font-size: 2.5rem;
  }

  .category-filters {
    flex-wrap: wrap;
  }

  .recipes-grid {
    padding: 0 5%;
  }

  .recipe-tips {
    padding: 4rem 5%;
  }
}