/* 
* EcoWatch - Environmental News Blog Styles
* Modern, clean design with a focus on readability and sustainability theme
*/

/* Base Styles and Variables */
:root {
  /* Main Colors */
  --primary-color: #2e7d32;
  --secondary-color: #1b5e20;
  --accent-color: #4caf50;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #e0e0e0;
  
  /* Dark Mode Colors */
  --dark-bg: #1c2023;
  --dark-bg-light: #272c30;
  --dark-text: #e0e0e0;
  --dark-text-light: #9e9e9e;
  --dark-primary: #4caf50;
  --dark-secondary: #81c784;
  
  /* Other Variables */
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.5s ease, color 0.5s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.dark-mode {
  --bg-color: var(--dark-bg);
  --bg-light: var(--dark-bg-light);
  --text-color: var(--dark-text);
  --text-light: var(--dark-text-light);
  --primary-color: var(--dark-primary);
  --secondary-color: var(--dark-secondary);
}

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: 2rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

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

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

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

nav ul {
  display: flex;
  gap: 3rem;
  margin: 0;
}

nav li {
  list-style: none;
}

nav a {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.8rem 0;
}

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

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

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

.theme-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-color);
}

.theme-toggle svg {
  transition: var(--transition);
}

.theme-toggle .sun {
  display: none;
}

.theme-toggle .moon {
  display: block;
}

body.dark-mode .theme-toggle .sun {
  display: block;
}

body.dark-mode .theme-toggle .moon {
  display: none;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/6.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 10rem 0;
  position: relative;
}

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

.hero h1 {
  font-size: 4.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-primary, 
.btn-secondary {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

.post-content {
  padding: 2rem;
}

.post-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

.read-more {
  font-weight: 600;
  display: inline-block;
  color: var(--primary-color);
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 1rem;
}

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

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

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

.newsletter p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 3rem;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-color);
  padding: 6rem 0 2rem;
  margin-top: auto;
}

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

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

.footer-logo p {
  margin-bottom: 0.5rem;
}

.footer-links h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

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

.footer-links a {
  color: var(--text-color);
}

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

.footer-contact h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

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

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

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

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

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

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

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

.page-header p {
  font-size: 1.8rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Page Styles */
.blog-content {
  padding: 6rem 0;
}

.search-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.search-bar {
  display: flex;
  max-width: 500px;
  width: 100%;
}

.search-bar input {
  flex-grow: 1;
  padding: 1rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

.search-bar button {
  padding: 0 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.category-filter select {
  padding: 1rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-width: 200px;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

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

.blog-image {
  flex: 0 0 300px;
  overflow: hidden;
}

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

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

.blog-details {
  flex: 1;
  padding: 2.5rem;
}

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

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

.blog-details h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.blog-details p {
  margin-bottom: 2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.pagination a:hover, .pagination a.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

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

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

.post-header h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

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

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

.post-content {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.post-content p, .post-content ul, .post-content ol {
  margin-bottom: 2rem;
}

.post-content h2 {
  font-size: 2.8rem;
  margin: 4rem 0 2rem;
}

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

.post-content a {
  text-decoration: underline;
}

.post-content img {
  margin: 3rem 0;
  border-radius: var(--border-radius);
}

.post-content blockquote {
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--bg-light);
  margin: 3rem 0;
  font-style: italic;
}

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

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

.post-tags a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--bg-light);
  border-radius: 50px;
  font-size: 1.4rem;
  transition: var(--transition);
}

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

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

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

.share-buttons {
  display: flex;
  gap: 1rem;
}

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

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

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

.author-image {
  flex: 0 0 100px;
}

.author-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

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

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

.author-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

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

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

.related-posts h3 {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

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

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

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

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

.related-card h4 {
  padding: 1.5rem 1.5rem 1rem;
  font-size: 1.8rem;
}

.related-card a {
  display: block;
  padding: 0 1.5rem 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* About Page */
.about-mission {
  padding: 6rem 0;
}

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

.about-image {
  flex: 0 0 45%;
}

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

.about-text {
  flex: 1;
}

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

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

.about-text ul {
  margin-bottom: 3rem;
}

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

.team-section h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.team-section > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

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

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

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

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-card h3 {
  font-size: 2rem;
  margin: 2rem 0 0.5rem;
  padding: 0 2rem;
}

.team-card p {
  padding: 0 2rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

.achievements {
  padding: 6rem 0;
}

.achievements h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 5rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 1.8rem;
  color: var(--text-light);
}

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

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

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

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

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

.info-icon {
  flex: 0 0 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-contact h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

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

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

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

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

.contact-form-container h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: inherit;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

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

.contact-form .checkbox input {
  width: auto;
  margin-top: 0.5rem;
}

.contact-form button {
  width: 100%;
  font-size: 1.6rem;
  padding: 1.2rem;
}

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

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

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

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

.modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--bg-color);
  padding: 4rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.check-icon {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.modal-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.modal-content p {
  margin-bottom: 3rem;
}

.close-btn {
  min-width: 150px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  padding: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.cookie-buttons button {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.4rem;
}

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

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

.btn-customize, .btn-decline {
  background-color: var(--bg-light);
  color: var(--text-color);
}

.btn-customize:hover, .btn-decline:hover {
  background-color: var(--bg-dark);
}

.cookie-more {
  font-size: 1.4rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    flex: 0 0 100%;
    margin-bottom: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .blog-card {
    flex-direction: column;
  }
  
  .blog-image {
    flex: 0 0 200px;
  }
  
  .post-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-image {
    margin-bottom: 2rem;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    height: auto;
    padding: 2rem;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
  }
  
  .theme-toggle {
    margin-top: 2rem;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .post-header h1 {
    font-size: 3rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-form-container {
    padding: 3rem 2rem;
  }
}

/* Dark Mode for inputs and selects */
body.dark-mode input, 
body.dark-mode textarea, 
body.dark-mode select {
  background-color: var(--dark-bg-light);
  border-color: #555;
  color: var(--dark-text);
}

body.dark-mode .cookie-banner {
  background-color: var(--dark-bg);
}

body.dark-mode .modal-content {
  background-color: var(--dark-bg);
}

body.dark-mode .btn-customize, 
body.dark-mode .btn-decline {
  background-color: var(--dark-bg-light);
  color: var(--dark-text);
}

body.dark-mode .btn-customize:hover, 
body.dark-mode .btn-decline:hover {
  background-color: #3a3a3a;
}

/* Fix for dark mode footer */
body.dark-mode footer {
  background-color: #161a1d;
}

/* Make sure modal close button is visible in dark mode */
body.dark-mode .close-modal {
  color: var(--dark-text-light);
}

body.dark-mode .close-modal:hover {
  color: var(--dark-text);
}
