/* Global Styles */
:root {
  --primary-color: #6d4c93;
  --primary-dark: #4d336b;
  --primary-light: #9678b6;
  --secondary-color: #4f936d;
  --secondary-dark: #3a7050;
  --accent-color: #e6843f;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f7f5fa;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --container-width: 1200px;
}

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

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

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

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

ul, ol {
  list-style-position: inside;
}

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}

p {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: var(--shadow);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.logo-container h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: var(--radius);
}

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

nav ul li a.active {
  border-bottom: 3px solid var(--primary-color);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 80px 40px;
  gap: 40px;
  background-color: var(--background-alt);
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* Featured Posts Section */
.featured-posts {
  padding: 80px 40px;
}

.featured-posts h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

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

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

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

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

.post-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.4rem;
}

.post-card p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.read-more {
  display: block;
  padding: 0 20px 20px;
  text-align: right;
  font-weight: 600;
  color: var(--primary-color);
}

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

/* Newsletter Section */
.newsletter {
  background-color: var(--background-alt);
  padding: 60px 40px;
  text-align: center;
  margin-top: 40px;
}

.newsletter h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 24px;
}

/* Footer Styles */
footer {
  background-color: #2a2a2a;
  color: white;
  padding: 60px 40px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
  text-align: left;
}

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

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

.footer-links ul li a {
  color: #c5c5c5;
}

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

.footer-social h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
  text-align: left;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #c5c5c5;
  transition: var(--transition);
}

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Blog Page Styles */
.blog-header {
  background-color: var(--background-alt);
  padding: 60px 40px;
  text-align: center;
}

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

.blog-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.blog-posts {
  padding: 60px 40px;
}

.blog-post {
  display: flex;
  margin-bottom: 60px;
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-image {
  flex: 0 0 300px;
}

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

.post-content {
  flex: 1;
  padding: 30px;
}

.post-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: left;
}

.post-meta {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  gap: 20px;
}

.post-excerpt {
  margin-bottom: 20px;
}

.post-excerpt p {
  text-align: left;
}

.centered-list {
  text-align: center;
  list-style-position: inside;
  margin-bottom: 20px;
}

.centered-list li {
  margin-bottom: 8px;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

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

/* Full Blog Post Styles */
.blog-post-full {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.post-header {
  text-align: center;
  margin-bottom: 30px;
}

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

.post-image-full {
  margin-bottom: 40px;
}

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

.post-content-full h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary-dark);
}

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

.post-blockquote {
  margin: 40px 0;
  padding: 20px 30px;
  border-left: 5px solid var(--primary-light);
  background-color: var(--background-alt);
  font-style: italic;
  font-size: 1.2rem;
}

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

.post-image-secondary {
  margin: 40px 0;
}

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

.post-tags {
  margin: 40px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  padding: 5px 15px;
  background-color: var(--background-alt);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-share {
  margin: 40px 0;
  text-align: center;
}

.post-share h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

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

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* About Page Styles */
.about-header {
  background-color: var(--background-alt);
  padding: 60px 40px;
  text-align: center;
}

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

.about-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.about-mission {
  padding: 80px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.mission-content {
  flex: 1;
}

.mission-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-align: left;
}

.mission-content p {
  margin-bottom: 20px;
  text-align: left;
}

.mission-image {
  flex: 1;
}

.team-section {
  padding: 80px 40px;
  background-color: var(--background-alt);
}

.team-section h3 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--primary-dark);
}

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

.team-member {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding-bottom: 20px;
}

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

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

.team-member h3 {
  font-size: 1.4rem;
  margin: 20px 0 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 15px;
}

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

.values-section {
  padding: 80px 40px;
}

.values-section h3 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--primary-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

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

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

.value-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.value-card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

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

/* Contact Page Styles */
.contact-header {
  background-color: var(--background-alt);
  padding: 60px 40px;
  text-align: center;
}

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

.contact-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.contact-content {
  padding: 80px 40px;
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
  text-align: left;
}

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

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-details svg {
  margin-right: 15px;
  color: var(--primary-color);
}

.social-connect {
  margin-bottom: 40px;
}

.social-connect h4 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: left;
}

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

.contact-form-container {
  flex: 1;
}

.contact-form-container h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
  text-align: left;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  outline: none;
}

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

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

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

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

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 20px;
  z-index: 1000;
  display: block;
}

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

.cookie-content p {
  margin-bottom: 15px;
  color: white;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

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

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

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

.cookie-btn.customize {
  background-color: #f8f8f8;
  color: var(--text-color);
}

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

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

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

.cookie-more-info {
  font-size: 0.9rem;
  color: #bbb;
}

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

/* Modal Styles */
.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-content {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

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

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.modal-content p {
  margin-bottom: 20px;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero, .about-mission, .contact-content {
    flex-direction: column;
  }
  
  .mission-image, .contact-image {
    margin-top: 40px;
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .post-image {
    flex: 0 0 200px;
  }
  
  .post-image img {
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
  }
  
  .logo-container {
    margin-bottom: 20px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .hero, .featured-posts, .blog-posts, .about-mission, .team-section, .values-section, .contact-content {
    padding: 40px 20px;
  }
  
  .post-content h3 {
    text-align: center;
  }
  
  .post-excerpt p {
    text-align: center;
  }
  
  .mission-content h3, .contact-info h3, .contact-form-container h3 {
    text-align: center;
  }
  
  .mission-content p {
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-links h3, .footer-social h3 {
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: var(--radius);
  }
}

@media (max-width: 480px) {
  .hero h2, .blog-header h2, .about-header h2, .contact-header h2, .post-header h2 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
