/* Base Styles */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #6c5ce7;
  --accent-color: #00d2d3;
  --text-color: #2d3436;
  --light-text: #636e72;
  --lightest-text: #b2bec3;
  --bg-color: #ffffff;
  --light-bg: #f9f9f9;
  --medium-bg: #f1f2f6;
  --border-color: #e1e1e1;
  --success-color: #55efc4;
  --warning-color: #ffeaa7;
  --error-color: #ff7675;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --container-max: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

button, .btn-primary, .btn-secondary {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

section {
  padding: 4rem 0;
}

.highlight {
  color: var(--primary-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  font-weight: 600;
  text-align: center;
}

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

.btn-container {
  margin-top: 2rem;
  text-align: center;
}

/* Header & Navigation */
header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  margin-bottom: 0;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  margin: 2px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

.hero-image {
  flex: 1;
  max-width: 500px;
  margin-left: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
  background-color: var(--bg-color);
}

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

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

.feature-card {
  background-color: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.feature-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--light-text);
  margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
  background-color: var(--light-bg);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.post-image {
  height: 200px;
  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 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more svg {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* Fun Fact Section */
.fun-fact {
  background-color: var(--bg-color);
}

.fact-card {
  background-color: var(--medium-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: '"';
  font-family: var(--font-heading);
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 10rem;
  color: rgba(0, 0, 0, 0.05);
}

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

.fact-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.spell-check-btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.spell-check-btn:hover {
  background-color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-bg);
}

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

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

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

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.quote::before {
  content: '"';
  position: absolute;
  top: -5px;
  left: 0;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.author {
  display: flex;
  align-items: center;
}

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

.author h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.author p {
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.slider-controls button {
  background-color: transparent;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  color: var(--text-color);
  transition: var(--transition);
}

.slider-controls button:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Footer */
footer {
  background-color: #333;
  color: #f5f5f5;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: #ccc;
  margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

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

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

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

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

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

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: #ccc;
}

.footer-contact p svg {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.footer-contact p a {
  color: #ccc;
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.company-info p {
  margin-bottom: 0.5rem;
  color: #999;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #ccc;
  font-size: 0.875rem;
}

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

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

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

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

.cookie-content h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.cookie-content p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.btn-accept,
.btn-customize,
.btn-reject {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

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

.btn-accept:hover {
  background-color: #ff4757;
}

.btn-customize {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-customize:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-reject {
  background-color: transparent;
  color: #ccc;
}

.btn-reject:hover {
  color: white;
}

.cookie-more-info {
  font-size: 0.75rem;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.cookie-more-info a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Page Header */
.page-header {
  background-color: var(--light-bg);
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.page-header p {
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.25rem;
}

/* Blog Page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.blog-post-card {
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-post-card .post-image {
  height: 240px;
}

.blog-post-card .post-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--lightest-text);
  font-size: 0.875rem;
}

.post-date, .post-category, .post-author {
  display: flex;
  align-items: center;
}

.post-category {
  background-color: var(--medium-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.blog-post-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-post-card p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
  flex: 1;
}

/* Newsletter */
.newsletter {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 0;
}

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

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

.newsletter p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  padding: 0 2rem;
  border: none;
  font-weight: 600;
}

.newsletter-form button:hover {
  background-color: var(--text-color);
}

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

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

.story-content {
  flex: 1;
}

.story-content h2 {
  margin-bottom: 2rem;
  position: relative;
}

.story-content h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.story-image {
  flex: 1;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.value-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

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

.value-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
}

.value-card h3 {
  margin-bottom: 1rem;
}

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

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

.team-card {
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

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

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

.team-card h3 {
  margin: 1.5rem 0 0.5rem;
}

.team-card p {
  color: var(--light-text);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 2rem;
}

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

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

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

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

.contact-info h2::after,
.contact-form-container h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

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

.info-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.social-connect {
  margin-top: 3rem;
}

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

.contact-form {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.required {
  color: var(--primary-color);
}

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

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.875rem;
}

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

.map-container {
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.thank-you-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  position: relative;
  max-width: 500px;
  width: 90%;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.thank-you-modal.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--lightest-text);
  cursor: pointer;
}

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 2rem;
  color: var(--light-text);
}

.close-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

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

/* Blog Post Page */
.blog-post {
  padding: 4rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.post-content ul ul, .post-content ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-tags {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.post-tags span {
  font-weight: 600;
}

.post-tags a {
  background-color: var(--light-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--light-text);
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-share {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.post-share span {
  font-weight: 600;
}

.post-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.post-author-bio {
  display: flex;
  align-items: center;
  background-color: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 3rem;
}

.author-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
}

.author-info h3 {
  color: var(--lightest-text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.author-info h4 {
  margin-bottom: 0.75rem;
}

.author-info p {
  color: var(--light-text);
  margin-bottom: 0;
}

.related-posts {
  margin-top: 4rem;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-post {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post h3 {
  padding: 1rem;
  font-size: 1rem;
  margin-bottom: 0;
}

.post-comments {
  margin-top: 4rem;
}

.post-comments h2 {
  margin-bottom: 2rem;
}

.comment {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.comment:last-of-type {
  border-bottom: none;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-header h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.comment-date {
  font-size: 0.875rem;
  color: var(--lightest-text);
}

.comment p {
  margin-bottom: 1rem;
}

.reply-btn {
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0;
}

.reply-btn:hover {
  color: var(--secondary-color);
}

.leave-comment {
  margin-top: 3rem;
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.leave-comment h3 {
  margin-bottom: 1.5rem;
}

.comment-form {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content,
  .hero-image {
    max-width: 100%;
    margin: 0 0 2rem;
  }

  .about-story .container,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-image {
    max-width: 100%;
  }

  .related-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-md);
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 5rem;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0 0 1.5rem 2rem;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .features-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    margin-top: 1rem;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

  .post-header h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form button {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem;
  }

  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar {
    margin: 0 auto 1.5rem;
  }

  .comment {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-avatar {
    margin-bottom: 1rem;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-date {
    margin-top: 0.5rem;
  }
}
