:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #e74c3c;
  --dark-color: #34495e;
  --light-color: #ecf0f1;
  --text-color: #333;
  --light-text: #f5f5f5;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
  transition: font-size 0.3s ease;
}

body.large-font {
  font-size: 1.2em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--dark-color);
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-color);
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.font-size-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.font-size-btn:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  margin-left: 15px;
}

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

/* Blog Section */
.blog-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

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

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.post-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  transition: var(--transition);
}

.post-card:hover .post-title {
  color: var(--primary-color);
}

.post-excerpt {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.7;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.read-more::after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
}

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

.read-more:hover::after {
  margin-left: 10px;
}

/* Single Post Page */
.post-header {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-content-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: white;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.post-content-full p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.post-content-full h2 {
  margin: 40px 0 20px;
  color: var(--dark-color);
}

.post-content-full img {
  width: 100%;
  border-radius: var(--border-radius);
  margin: 30px 0;
}

.post-content-full blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  background-color: #f7f9fc;
  margin: 30px 0;
  font-style: italic;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.tag {
  background-color: #eee;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  transition: var(--transition);
}

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

/* About Page */
.about-section {
  padding: 80px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.about-header p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

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

.team-info {
  padding: 20px;
}

.team-info h3 {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.team-info p {
  color: #666;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 50%;
  color: #555;
  transition: var(--transition);
}

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

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  padding-right: 30px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 30px;
  line-height: 1.8;
  color: #555;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #333;
}

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

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

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

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: #bbb;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-col p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

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

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

.footer-bottom p {
  margin-bottom: 10px;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: flex;
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

.cookie-text h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.cookie-text p {
  color: #666;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.accept-cookies:hover {
  background-color: #27ae60;
}

.customize-cookies {
  background-color: #f5f5f5;
  color: #333;
}

.customize-cookies:hover {
  background-color: #e0e0e0;
}

.decline-cookies {
  background-color: #f5f5f5;
  color: #555;
}

.decline-cookies:hover {
  background-color: #e0e0e0;
}

/* Thank you modal */
.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

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

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.modal-content p {
  margin-bottom: 30px;
  color: #555;
}

.close-modal {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    flex-direction: column;
    padding: 20px;
    z-index: 1000;
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-bottom: 20px;
    padding-right: 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
