/* 
 * MeadowField - Tour Operator Website
 * Main Stylesheet
 */

/* ==========================================================================
   Base styles and CSS Reset
   ========================================================================== */

:root {
  --primary-color: #2c7da0;
  --primary-light: #a8dadc;
  --primary-dark: #184e77;
  --secondary-color: #e76f51;
  --text-color: #2b2d42;
  --text-light: #6c757d;
  --text-dark: #212529;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --border-color: #dee2e6;
  --success: #52b788;
  --warning: #ffc107;
  --danger: #e63946;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

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);
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 1.5rem 0 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

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

/* ==========================================================================
   Header and Navigation
   ========================================================================== */

header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 8rem 1rem;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

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

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

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

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

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  transition: var(--transition);
}

.feature-card:hover h3 {
  color: var(--primary-color);
}

/* ==========================================================================
   Tours Section
   ========================================================================== */

.featured-tours {
  padding: 5rem 0;
}

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

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

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

.tour-card:hover {
  transform: translateY(-10px);
}

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

.tour-content {
  padding: 1.5rem;
}

.tour-content h3 {
  margin-top: 0;
  font-size: 1.4rem;
  transition: var(--transition);
}

.tour-card:hover h3 {
  color: var(--primary-color);
}

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

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

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

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

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

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

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
}

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

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.newsletter h2 {
  color: var(--white);
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 1.5rem;
}

.newsletter-form button:hover {
  background-color: #e05d3d;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-links h3, .footer-legal h3, .footer-contact h3, .footer-social h3 {
  color: var(--white);
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

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

.footer-links li, .footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-links a, .footer-legal a {
  color: var(--primary-light);
  transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover {
  color: var(--white);
}

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

.footer-contact svg {
  margin-right: 0.5rem;
}

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

.social-icons a {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

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

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

/* ==========================================================================
   Blog Styles
   ========================================================================== */

.page-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/6.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 5rem 1rem;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.blog-content {
  padding: 5rem 0;
}

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

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

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  display: block;
}

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

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

.blog-info {
  display: flex;
  padding: 1rem 1.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-date {
  margin-right: 1rem;
}

.blog-card h2 {
  padding: 0 1.5rem;
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

.blog-card h2 a {
  color: var(--text-dark);
  transition: var(--transition);
}

.blog-card h2 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

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

.blog-newsletter {
  margin-top: 3rem;
}

/* ==========================================================================
   Blog Post Styles
   ========================================================================== */

.blog-post-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

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

.post-header {
  padding: 2rem 2rem 0;
}

.post-header h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.post-meta {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.post-date, .post-author, .post-category {
  margin-right: 1.5rem;
}

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

.post-content h2, .post-content h3 {
  margin-top: 2.5rem;
}

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

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

.post-image {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  padding: 0 1rem;
}

.post-callout {
  background-color: var(--primary-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.post-callout p {
  margin-bottom: 0;
}

.post-conclusion {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-color);
}

.post-tags span {
  margin-right: 1rem;
  font-weight: 600;
}

.post-tags a {
  display: inline-block;
  background-color: var(--light-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition);
}

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

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

.post-share span {
  margin-right: 1rem;
  font-weight: 600;
}

.social-share {
  display: flex;
}

.social-share a {
  color: var(--text-light);
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

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

/* Blog Sidebar */

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

.sidebar-section {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-section h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

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

.author-info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1rem;
}

.author-info h4 {
  margin: 0 0 0.5rem;
}

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

.related-post {
  margin-bottom: 1.5rem;
}

.related-post:last-child {
  margin-bottom: 0;
}

.related-post a {
  display: flex;
  align-items: center;
}

.related-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-right: 1rem;
}

.related-post h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.related-post a:hover h4 {
  color: var(--primary-color);
}

.sidebar-form {
  display: flex;
  flex-direction: column;
}

.sidebar-form input {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-section {
  padding: 5rem 0;
}

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

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

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-icon {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.info-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.info-item p {
  margin-bottom: 0.5rem;
}

.info-item .note {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

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

.form-group {
  margin-bottom: 0;
}

.full-width {
  grid-column: 1 / -1;
}

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

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

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  grid-column: 1 / -1;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
  margin-right: 0.75rem;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.map-section {
  padding: 3rem 0 5rem;
}

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

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

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

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

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

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* Modal */

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

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.success-icon {
  color: var(--success);
  margin-bottom: 1.5rem;
}

.modal h2 {
  margin-top: 0;
}

.modal p {
  margin-bottom: 2rem;
}

.close-btn {
  background-color: var(--text-dark);
}

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

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.about-intro {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

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

.about-text h2 {
  margin-top: 0;
}

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

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

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.value-card h3 {
  margin-top: 0;
  transition: var(--transition);
}

.value-card:hover h3 {
  color: var(--primary-color);
}

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

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

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

.team-member:hover {
  transform: translateY(-10px);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
  transition: var(--transition);
}

.team-member:hover h3 {
  color: var(--primary-color);
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

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

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

.social-links a {
  color: var(--text-light);
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

.certifications {
  padding: 5rem 0;
}

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

.certification-item {
  text-align: center;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.certification-item img {
  height: 80px;
  width: auto;
  margin: 0 auto 1rem;
}

.certification-item h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* ==========================================================================
   Glossary Section
   ========================================================================== */

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

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

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

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

.glossary-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

.glossary-item:hover h3 {
  color: var(--primary-color);
}

.glossary-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

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

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

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media screen and (max-width: 992px) {
  .blog-post-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blog-sidebar {
    position: static;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .hero {
    padding: 5rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-share span {
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .post-header {
    padding: 1.5rem 1.5rem 0;
  }
  
  .post-content {
    padding: 1.5rem;
  }
  
  .post-tags, .post-share {
    padding: 1.5rem;
  }
  
  .author-info {
    flex-direction: column;
    text-align: center;
  }
  
  .author-info img {
    margin: 0 auto 1rem;
  }
}
