/* 
  Simple Japanese Cuisine - Main Stylesheet
  A clean, modern design with traditional Japanese aesthetic elements
  Colors: Deep red accents, neutral backgrounds, clean typography
*/

/* Base & Typography */
:root {
  --primary: #d42c2c;
  --primary-dark: #b01e1e;
  --primary-light: #f7e7e7;
  --secondary: #333333;
  --secondary-light: #666666;
  --light: #f9f9f9;
  --gray-light: #e5e5e5;
  --gray: #aaaaaa;
  --dark: #222222;
  --text: #333333;
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --border-radius: 6px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2em;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  color: white;
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.font-decrease {
  font-size: 0.9em;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.font-size-toggle {
  display: flex;
  align-items: center;
}

#decrease-font {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

#decrease-font:hover {
  background-color: var(--gray-light);
}

#decrease-font svg {
  margin-right: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--primary-light);
  background-image: url('images/hero-pattern.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero .slogan {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--secondary);
  font-style: italic;
}

.page-header {
  padding: 3rem 0;
  text-align: center;
  background-color: var(--primary-light);
  margin-bottom: 3rem;
}

.page-header h1 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-header .slogan {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--secondary);
  font-style: italic;
}

/* Featured Posts Section */
.featured-posts {
  padding: 4rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.featured-posts h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-image {
  height: 220px;
  overflow: hidden;
}

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.post-content p {
  color: var(--secondary-light);
  margin-bottom: 1.5rem;
}

.view-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* About Preview Section */
.about-preview {
  padding: 4rem 0;
  background-color: var(--light);
}

.about-preview .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  margin-bottom: 1rem;
  position: relative;
}

.about-content h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 0.8rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--secondary-light);
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background-color: var(--primary-light);
  text-align: center;
}

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--secondary-light);
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 70px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-links h3:after,
.footer-contact h3:after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  margin-top: 0.6rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.7rem;
}

.footer-links ul li a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 0.7rem;
  color: var(--gray);
}

.footer-contact a {
  color: var(--gray);
}

.footer-contact a:hover {
  color: white;
}

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

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(34, 34, 34, 0.95);
  color: white;
  padding: 1rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1 0 100%;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.cookie-link {
  color: white;
  text-decoration: underline;
  margin-left: 1rem;
}

/* Blog Page */
.blog-content {
  padding: 2rem 0 4rem;
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-box {
  display: flex;
  max-width: 300px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.8rem 3rem 0.8rem 1.2rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
}

.search-box input:focus {
  border-color: var(--primary);
}

.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
}

.category-filter select {
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
  background-color: white;
  cursor: pointer;
}

.category-filter select:focus {
  border-color: var(--primary);
}

.blog-grid {
  margin-top: 2rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 100%;
  min-height: 250px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  margin-bottom: 0.5rem;
}

.blog-date, .blog-category {
  font-size: 0.9rem;
  color: var(--gray);
  margin-right: 1.5rem;
}

.blog-category {
  color: var(--primary);
  font-weight: 500;
}

.blog-details h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.blog-details p {
  margin-bottom: 1.5rem;
  color: var(--secondary-light);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.3rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-light);
  color: var(--secondary);
  transition: var(--transition);
}

.pagination a:hover {
  background-color: var(--gray-light);
}

.pagination .current {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination .disabled {
  color: var(--gray);
  pointer-events: none;
}

/* About Page */
.about-story {
  padding: 3rem 0;
}

.about-story .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-story .about-content {
  flex: 1 1 500px;
}

.about-story .about-image {
  flex: 1 1 400px;
}

.team-section {
  padding: 4rem 0;
  background-color: var(--light);
}

.team-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.team-section h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

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

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  padding-bottom: 2rem;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
}

.team-member p {
  color: var(--secondary-light);
  margin: 0 1.5rem 0.8rem;
}

.team-member p:first-of-type {
  color: var(--primary);
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--light);
  border-radius: 50%;
  color: var(--secondary);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: white;
}

.mission-section {
  padding: 4rem 0;
}

.mission-section .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.mission-content {
  flex: 1 1 500px;
}

.mission-image {
  flex: 1 1 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.mission-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.mission-list li {
  display: flex;
  margin-bottom: 2rem;
}

.mission-icon {
  flex: 0 0 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  margin-right: 1.5rem;
}

.mission-text h3 {
  margin-bottom: 0.5rem;
}

.testimonials {
  padding: 4rem 0;
  background-color: var(--light);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 3rem;
  position: relative;
}

.testimonials h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  margin: 0 auto;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-content p:before,
.testimonial-content p:after {
  content: '"';
  font-size: 2rem;
  color: var(--primary);
  position: absolute;
}

.testimonial-content p:before {
  left: 0;
  top: -10px;
}

.testimonial-content p:after {
  right: 0;
  bottom: -20px;
}

.testimonial-author {
  margin-top: 1.5rem;
}

.testimonial-author h4 {
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Contact Page */
.contact-content {
  padding: 2rem 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 2rem;
  position: relative;
}

.contact-info h2:after,
.contact-form-container h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 0.8rem;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex: 0 0 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  margin-right: 1.5rem;
}

.contact-details h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.contact-details p {
  color: var(--secondary-light);
  margin-bottom: 0.5rem;
}

.contact-details a {
  display: inline-block;
}

.social-connect h3 {
  margin-bottom: 1rem;
}

.social-icons.large {
  justify-content: flex-start;
  margin-bottom: 0;
}

.social-icons.large a {
  width: 50px;
  height: 50px;
  background-color: var(--light);
  color: var(--secondary);
}

.contact-form-container {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.map-section {
  padding: 3rem 0;
  background-color: var(--light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.map-section h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.business-hours {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.business-hours h3 {
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.hours-list li span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.faq-section {
  padding: 4rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.faq-section h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

.thank-you-message svg {
  color: var(--success);
  margin-bottom: 1.5rem;
}

.thank-you-message h2 {
  color: var(--success);
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

/* Recipe Articles */
.recipe-article {
  padding: 2rem 0 4rem;
}

.recipe-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.recipe-meta {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.recipe-category,
.recipe-date,
.recipe-author {
  margin: 0 1rem;
  font-size: 0.95rem;
  color: var(--secondary-light);
}

.recipe-category {
  color: var(--primary);
  font-weight: 500;
}

.recipe-intro {
  font-size: 1.2rem;
  color: var(--secondary-light);
}

.recipe-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.recipe-content-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.recipe-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.recipe-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
}

.info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  margin-right: 1rem;
}

.info-content h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--secondary-light);
}

.info-content p {
  font-weight: 600;
  margin-bottom: 0;
}

.recipe-ingredients,
.recipe-equipment,
.recipe-substitutions,
.recipe-nutrition {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.recipe-ingredients h2,
.recipe-equipment h2,
.recipe-substitutions h2,
.recipe-nutrition h2 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.8rem;
}

.recipe-ingredients h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.5rem 0 0.8rem;
}

.recipe-ingredients ul,
.recipe-equipment ul,
.recipe-substitutions ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.recipe-ingredients li,
.recipe-equipment li,
.recipe-substitutions li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.4;
}

.recipe-ingredients li:before,
.recipe-equipment li:before,
.recipe-substitutions li:before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.recipe-ingredients .sub-item {
  padding-left: 2.5rem;
}

.recipe-ingredients .sub-item:before {
  content: '-';
  left: 1.5rem;
  color: var(--gray);
}

.recipe-nutrition ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recipe-nutrition li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--gray-light);
}

.recipe-nutrition li:last-child {
  border-bottom: none;
}

.recipe-nutrition li span {
  font-weight: 600;
  color: var(--primary);
}

.nutrition-serving,
.nutrition-note {
  font-style: italic;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.nutrition-note {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
}

.recipe-main-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--primary);
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary-light);
}

.recipe-main-content h2:first-child {
  margin-top: 0;
}

.recipe-main-content h3 {
  font-size: 1.4rem;
  margin: 1.8rem 0 1rem;
  color: var(--dark);
}

.recipe-main-content p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.recipe-introduction {
  margin-bottom: 2rem;
}

.recipe-instructions ol {
  counter-reset: item;
  list-style-type: none;
  margin: 1.5rem 0;
  padding: 0;
}

.recipe-instructions li {
  counter-increment: item;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 3.5rem;
}

.recipe-instructions li:before {
  content: counter(item);
  background-color: var(--primary);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 0;
}

.tip-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tip-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.tip-box p strong {
  color: var(--primary);
}

.recipe-variations,
.recipe-tips,
.recipe-uses,
.recipe-dipping-sauce,
.recipe-ingredients-guide,
.recipe-history,
.recipe-troubleshooting {
  margin: 3rem 0;
}

.variation-cards,
.variations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.variation-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.variation-card p {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.variation-card p strong {
  font-weight: 600;
  color: var(--dark);
}

.recipe-tips ul,
.recipe-uses ol {
  list-style-position: inside;
}

.recipe-tips li h3,
.recipe-uses li h3 {
  display: inline;
  margin-right: 0.5rem;
}

.recipe-tips li p,
.recipe-uses li p {
  display: inline-block;
}

.problem-solution {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
}

.problem-solution:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem-solution h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.problem-solution .causes,
.problem-solution .solutions {
  margin-bottom: 1.5rem;
}

.problem-solution h4 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: var(--dark);
}

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

.sauce-recipe {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 1.5rem;
}

.sauce-recipe h3 {
  font-size: 1.2rem;
  margin-top: 0;
  color: var(--primary);
}

.recipe-faqs {
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.recipe-sharing,
.recipe-rating,
.recipe-comments {
  max-width: 800px;
  margin: 3rem auto;
}

.recipe-sharing h3,
.recipe-rating h3,
.recipe-comments h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sharing-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-button {
  display: flex;
  align-items: center;
  padding: 0.7rem 1.2rem;
  background-color: var(--light);
  border-radius: var(--border-radius);
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.share-button svg {
  margin-right: 0.7rem;
}

.share-button:hover {
  background-color: var(--primary);
  color: white;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.star {
  color: var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
}

.star.active,
.star:hover {
  color: var(--primary);
}

.rating-text {
  text-align: center;
  color: var(--secondary-light);
}

.comment-form {
  margin-bottom: 2rem;
}

.comment-form textarea {
  width: 100%;
  height: 120px;
  padding: 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  resize: vertical;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.comment-form button {
  float: right;
}

.comments-list {
  clear: both;
}

.comment {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
}

.comment:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.comment-author h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.comment-date {
  font-size: 0.9rem;
  color: var(--gray);
}

.comment p {
  margin-bottom: 0;
}

.related-recipes {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-light);
}

.related-recipes h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.related-recipes h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

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

.recipe-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.recipe-card-image {
  height: 200px;
  overflow: hidden;
}

.recipe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.recipe-card-content {
  padding: 1.5rem;
  text-align: center;
}

.recipe-card-content h3 {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
}

.recipe-card-content p {
  color: var(--secondary-light);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .recipe-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .recipe-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  .recipe-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  header .container {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav-links {
    margin-bottom: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .slogan {
    font-size: 1.2rem;
  }
  
  .about-preview .container,
  .about-story .container,
  .mission-section .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image, 
  .mission-image {
    order: -1;
  }
  
  .blog-card {
    grid-template-columns: 1fr;
  }
  
  .blog-image {
    min-height: 200px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .slogan {
    font-size: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    margin: 0.5rem;
  }
  
  .recipe-meta {
    flex-direction: column;
  }
  
  .recipe-category, 
  .recipe-date, 
  .recipe-author {
    margin: 0.3rem 0;
  }
  
  .recipe-info {
    grid-template-columns: 1fr;
  }
  
  .sharing-buttons {
    flex-direction: column;
  }
  
  .share-button {
    width: 100%;
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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