/* Base */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #666;
  --text-dark: #111;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Merriweather', serif;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

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

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

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #2980b9;
  color: white;
}

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

.btn-secondary:hover {
  background-color: #f5f5f5;
}

.btn-tertiary {
  background-color: #f5f5f5;
  color: var(--text-light);
}

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

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

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

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

.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
}

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

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

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

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Quote Block */
.quote-block {
  padding: 60px 0;
  background-color: var(--light-color);
}

blockquote {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border-left: 5px solid var(--primary-color);
  font-family: var(--font-secondary);
  font-style: italic;
  background-color: white;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  box-shadow: var(--box-shadow);
}

blockquote p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

blockquote cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 5 Things Section */
.five-things {
  padding: 60px 0;
  background-color: white;
}

.five-things h2 {
  text-align: center;
  margin-bottom: 40px;
}

.five-things ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.five-things ul li {
  padding: 15px;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 30px;
}

.five-things ul li:last-child {
  border-bottom: none;
}

.five-things ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Posts Section */
.posts {
  padding: 60px 0;
  background-color: white;
}

.posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

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

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

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

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

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

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

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-media {
  display: flex;
  margin-top: 20px;
}

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

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

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0 20px 0 0;
  flex: 1;
}

.cookie-content a {
  color: #3498db;
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

/* About Page */
.about-hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.about-hero h2 {
  color: white;
}

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

.our-mission {
  padding: 60px 0;
  background-color: white;
}

.our-mission .container {
  max-width: 800px;
}

.team {
  padding: 60px 0;
  background-color: var(--light-color);
}

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

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.team-member h3,
.team-member p {
  padding: 0 20px;
}

.team-member h3 {
  margin-top: 20px;
  margin-bottom: 5px;
}

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

.team-member p:last-of-type {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  padding: 0 20px 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f5f5f5;
  border-radius: 50%;
  margin-right: 10px;
  color: var(--text-color);
  transition: var(--transition);
}

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

.our-values {
  padding: 60px 0;
  background-color: white;
}

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

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

.value-card:hover {
  background-color: white;
  box-shadow: var(--box-shadow);
}

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

.value-card h3 {
  margin-bottom: 15px;
}

.value-card p {
  margin-bottom: 0;
}

/* Contact Page */
.contact-hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.contact-hero h2 {
  color: white;
}

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

.contact-content {
  padding: 60px 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
}

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

.form-group.checkbox {
  display: flex;
  align-items: center;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
}

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

.contact-info {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  flex: 0 0 60px;
  height: 60px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 20px;
}

.info-text h4 {
  margin-bottom: 5px;
}

.info-text p {
  margin-bottom: 5px;
  color: var(--text-light);
}

.social-contact h4 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
}

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

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

.faq {
  padding: 60px 0;
  background-color: var(--light-color);
}

.accordion {
  max-width: 800px;
  margin: 40px auto 0;
}

.accordion-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-header {
  background-color: white;
  color: var(--text-dark);
  cursor: pointer;
  padding: 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: var(--transition);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1rem;
}

.accordion-header:hover {
  background-color: #f5f5f5;
}

.accordion-header .icon {
  font-size: 1.5rem;
  font-weight: 700;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.active .accordion-content {
  max-height: 200px;
  padding: 0 20px 20px;
}

.active .accordion-header .icon {
  transform: rotate(45deg);
}

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

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-body {
  padding: 40px;
  text-align: center;
}

.success-icon {
  color: #2ecc71;
  margin-bottom: 20px;
}

.modal-body h3 {
  margin-bottom: 15px;
}

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

/* Icons */
.icon-location, 
.icon-phone, 
.icon-email {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .post-image {
    flex: 0 0 250px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .post-card {
    flex-direction: column;
  }
  
  .post-image {
    flex: 0 0 200px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    padding: 15px 0;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  blockquote p {
    font-size: 1rem;
  }
  
  .post-image {
    flex: 0 0 200px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Individual Post Pages */
.post-header {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
  color: white;
  padding: 80px 0 40px;
  text-align: center;
}

.post-header h1 {
  color: white;
  max-width: 800px;
  margin: 0 auto 10px;
}

.post-meta-header {
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
}

.post-body {
  padding: 60px 0;
  background-color: white;
}

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

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

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-content ul, 
.post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content ul li, 
.post-content ol li {
  margin-bottom: 10px;
}

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

.post-content blockquote {
  margin: 30px auto;
}

.post-content a {
  color: var(--primary-color);
  border-bottom: 1px solid transparent;
}

.post-content a:hover {
  border-bottom-color: var(--primary-color);
}

.post-tags {
  margin-top: 40px;
}

.post-tags span {
  display: inline-block;
  background-color: #f0f0f0;
  color: var(--text-light);
  padding: 5px 15px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.post-share {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.post-share h3 {
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
}

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

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

.related-posts {
  padding: 60px 0;
  background-color: var(--light-color);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

.related-image {
  height: 200px;
  overflow: hidden;
}

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

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

.related-content {
  padding: 20px;
}

.related-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.related-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
