/* Base Styles */
:root {
  --primary-color: #2e5a88;
  --secondary-color: #e67e22;
  --accent-color: #27ae60;
  --text-color: #333;
  --text-light: #666;
  --background-color: #fff;
  --background-alt: #f7f9fc;
  --border-color: #e1e1e1;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --max-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);
  font-size: 16px;
}

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 {
  list-style: none;
}

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

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

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

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

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

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

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

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

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

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

.font-size-control {
  display: flex;
  align-items: center;
}

#reduce-font-size {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
  transition: var(--transition);
}

#reduce-font-size:hover {
  background-color: var(--background-alt);
  border-color: var(--primary-color);
}

#reduce-font-size svg {
  width: 16px;
  height: 16px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

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

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

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

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

/* Daily Inspiration Section */
.daily-inspiration {
  padding: 60px 5%;
  background-color: var(--background-color);
  margin-bottom: 60px;
}

.daily-inspiration h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}

.inspiration-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.inspiration-item {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

.inspiration-item p {
  padding: 20px;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color);
}

.inspiration-item .author {
  padding: 0 20px 20px;
  text-align: right;
  font-weight: 600;
  font-style: normal;
  color: var(--text-light);
}

/* Featured Posts Section */
.featured-posts {
  padding: 60px 5%;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}

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

.post-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--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;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

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

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

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

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

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

/* Blog Page Styles */
.page-header {
  text-align: center;
  padding: 80px 5%;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.blog-posts {
  padding: 0 5% 60px;
}

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

.post-image {
  flex: 1;
  min-width: 300px;
}

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

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

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

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

/* Gallery Page Styles */
.gallery-filter {
  padding: 0 5% 40px;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: var(--background-alt);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 5% 60px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About Page Styles */
.about-content {
  padding: 0 5% 60px;
}

.about-intro {
  display: flex;
  gap: 50px;
  margin-bottom: 60px;
}

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

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

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

.about-text p {
  margin-bottom: 20px;
}

.mission-values {
  margin-bottom: 60px;
}

.mission-values h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 2rem;
}

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

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

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

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

.value-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.team-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 2rem;
}

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

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

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

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

.team-member h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 10px;
  color: var(--text-light);
}

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

.member-social {
  display: flex;
  gap: 15px;
  padding: 0 20px 20px;
}

.member-social a {
  color: var(--text-light);
  transition: var(--transition);
}

.member-social a:hover {
  color: var(--primary-color);
}

/* Contact Page Styles */
.contact-section {
  padding: 0 5% 60px;
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

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

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

.info-icon {
  color: var(--primary-color);
}

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

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

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

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

.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;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

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

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

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.map-section {
  padding: 0 5% 60px;
}

.map-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 2rem;
}

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

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

/* Blog Post Single Page */
.blog-post-single {
  padding: 0 5% 60px;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-light);
}

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

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

.post-content {
  line-height: 1.8;
}

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

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

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

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

.content-image {
  margin: 30px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-caption {
  padding: 15px;
  background-color: var(--background-alt);
  text-align: center;
  font-style: italic;
  color: var(--text-light);
}

.author-bio {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
}

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

.author-info h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.post-navigation {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
}

/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 5% 20px;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 50%;
}

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

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

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

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

.social-icons a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  z-index: 9999;
  display: none;
}

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

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

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

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

.cookie-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.cookie-policy {
  font-size: 0.8rem;
}

.cookie-policy a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.thank-you-message h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 20px;
}

.close-btn {
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 60px 5%;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-intro {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }
  
  .post {
    flex-direction: column;
  }
  
  .post-image {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 5%;
  }
  
  .logo-container {
    margin-bottom: 15px;
  }
  
  .nav-links {
    margin-bottom: 15px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .filter-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* Font Size Reduction */
.reduced-font-size {
  font-size: 14px;
}

.reduced-font-size h1 {
  font-size: 2.5rem;
}

.reduced-font-size h2 {
  font-size: 1.8rem;
}

.reduced-font-size h3 {
  font-size: 1.4rem;
}

.reduced-font-size .hero p,
.reduced-font-size .page-header p {
  font-size: 1rem;
}

.reduced-font-size .btn {
  font-size: 12px;
}
