/* Base Styles */
:root {
  --primary-color: #b35a5a;
  --primary-light: #e7c9c9;
  --primary-dark: #8c4646;
  --secondary-color: #4a4a4a;
  --text-color: #333333;
  --light-text: #767676;
  --background-color: #ffffff;
  --light-bg: #f9f6f6;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --border-radius: 4px;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  --transition: all 0.3s ease;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

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

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 2rem;
}

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

li {
  margin-bottom: 0.8rem;
}

section {
  padding: 6rem 0;
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--light-text);
  max-width: 70rem;
  margin: 0 auto;
}

.section-subtitle {
  color: var(--light-text);
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.8rem;
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 1.6rem;
}

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

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

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

.btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
}

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

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

/* Header and Navigation */
header {
  background-color: var(--background-color);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

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

.logo img {
  height: 4rem;
  width: auto;
  margin-right: 1rem;
  border-radius: 50%;
}

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

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

nav ul li {
  margin: 0 1.5rem;
}

nav ul li a {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 3rem;
  height: 2.1rem;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: var(--transition);
}

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

.hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

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

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

/* Intro Section */
.intro {
  background-color: var(--background-color);
}

.story-section {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.story-section p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.story-section h3 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.story-section ul {
  display: inline-block;
  text-align: left;
  margin-bottom: 3rem;
}

.story-section li {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

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

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.post-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.post-image {
  height: 22rem;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

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

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

.post-card h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.post-card p {
  color: var(--text-color);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.read-more {
  align-self: flex-start;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

.read-more:hover {
  color: var(--primary-dark);
}

.view-all {
  text-align: center;
}

/* Services Section */
.services {
  background-color: var(--background-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
}

.service-card {
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  background-color: var(--light-bg);
  transition: var(--transition);
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 2.4rem;
}

.service-card h3 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

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

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

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.testimonial {
  max-width: 48rem;
  flex-grow: 1;
}

.testimonial-content {
  background-color: var(--background-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2rem;
}

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

.client img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}

.client-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.client-info p {
  color: var(--light-text);
  font-style: normal;
  margin-bottom: 0;
}

/* Call to Action Section */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 60rem;
  margin: 0 auto 3rem;
  font-size: 1.8rem;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.cta .btn-secondary {
  background-color: transparent;
  border-color: white;
  color: white;
}

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

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

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

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

.footer-logo img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-weight: 600;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-contact svg {
  margin-right: 1rem;
  flex-shrink: 0;
}

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

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

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  font-size: 1.4rem;
}

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

.page-header h1 {
  margin-bottom: 1.5rem;
}

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

.blog-posts {
  padding: 6rem 0;
}

.blog-posts .post-card {
  flex-direction: row;
  height: auto;
  margin-bottom: 3rem;
}

.blog-posts .post-image {
  width: 40%;
  height: auto;
}

.blog-posts .post-content {
  width: 60%;
}

.newsletter {
  background-color: var(--light-bg);
  padding: 6rem 0;
}

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

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

.newsletter p {
  color: var(--light-text);
  margin-bottom: 3rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 50rem;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

/* About Page Styles */
.about-story {
  padding-bottom: 4rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 5rem;
}

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

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 2rem;
}

.about-values {
  background-color: var(--light-bg);
  padding: 6rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
}

.value-card {
  background-color: var(--background-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
}

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

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

.team-section {
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 4rem;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

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

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

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

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

.credentials {
  background-color: var(--light-bg);
  padding: 6rem 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3rem;
}

.credential {
  background-color: var(--background-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.credential h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

/* Contact Page Styles */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
  gap: 5rem;
}

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

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

.contact-details {
  margin-bottom: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

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

.contact-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

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

.social-contact h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

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

.contact-form-container h2 {
  margin-bottom: 2.5rem;
  text-align: center;
}

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

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1.6rem;
}

.contact-form textarea {
  resize: vertical;
}

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

.contact-form .checkbox input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.4rem;
}

.contact-form .checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 1.4rem;
}

.contact-form button {
  width: 100%;
}

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

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

.map {
  height: 40rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

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

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40rem, 1fr));
  gap: 3rem;
}

.faq-item {
  background-color: var(--light-bg);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

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

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--background-color);
  padding: 4rem;
  border-radius: var(--border-radius);
  max-width: 50rem;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--light-text);
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  width: 6rem;
  height: 6rem;
  color: var(--success-color);
  margin: 0 auto 2rem;
}

.thank-you-message h2 {
  color: var(--success-color);
}

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

/* Blog Post Styles */
.blog-post {
  padding: 6rem 0;
}

.post-header {
  margin-bottom: 4rem;
}

.post-header .post-meta {
  margin-bottom: 2rem;
}

.post-header h1 {
  margin-bottom: 3rem;
}

.post-featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 4rem;
}

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

.post-content {
  max-width: 80rem;
  margin: 0 auto;
}

.post-intro {
  margin-bottom: 4rem;
  font-size: 1.8rem;
}

.post-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

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

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

.post-item {
  margin-bottom: 3rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 4rem 0;
}

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

.post-tags a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--light-bg);
  border-radius: 3rem;
  font-size: 1.4rem;
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

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

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

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

.post-author-bio img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-bio h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  color: var(--light-text);
}

.post-author-bio h4 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

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

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

.related-posts .posts-grid {
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-content {
  max-width: 80rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 2rem;
}

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

.cookie-content a {
  font-size: 1.4rem;
  text-decoration: underline;
}

/* Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56%;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 54%;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 8rem;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    padding: 2rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 1rem 0;
  }
  
  .blog-posts .post-card {
    flex-direction: column;
  }
  
  .blog-posts .post-image,
  .blog-posts .post-content {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 52%;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .footer-content {
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .modal-content {
    padding: 3rem 2rem;
  }
}
