:root {
  --dusty-rose: #D8A7A0;
  --soft-cream: #FDF6F0;
  --dark-plum: #4A2C3A;
  --muted-copper: #B8735A;
  --ivory: #FFF9F5;
  --charcoal: #2E2228;
  --rose-light: #EBCDC7;
  --copper-dark: #9C5A44;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: var(--soft-cream);
  color: var(--charcoal);
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode {
  background-color: #1A1116;
  color: #E8D9D4;
}

body.dark-mode .header,
body.dark-mode .nav-bar,
body.dark-mode .footer {
  background-color: #241820;
  color: #E8D9D4;
}

body.dark-mode .card,
body.dark-mode .post-card,
body.dark-mode .team-card,
body.dark-mode .info-box {
  background-color: #2E2228;
  color: #E8D9D4;
}

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

.welcome-badge {
  text-align: center;
  padding: 20px 20px 0;
  font-size: 1.1rem;
  color: var(--muted-copper);
  font-style: italic;
  letter-spacing: 1px;
}

.welcome-badge::before {
  content: "✦ ";
  color: var(--muted-copper);
}

.welcome-badge::after {
  content: " ✦";
}

.theme-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.theme-toggle-btn {
  background: var(--dark-plum);
  color: var(--soft-cream);
  border: 2px solid var(--muted-copper);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.theme-toggle-btn:hover {
  background: var(--muted-copper);
  color: #fff;
  border-color: var(--dark-plum);
}

.header {
  background: linear-gradient(135deg, var(--dark-plum), var(--muted-copper));
  color: var(--soft-cream);
  padding: 40px 20px;
  text-align: center;
}

.header h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 400;
  margin-bottom: 5px;
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.logo-wrap {
  text-align: center;
  margin: 20px 0 10px;
}

.logo-wrap img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--muted-copper);
  object-fit: cover;
}

.nav-bar {
  background: var(--dark-plum);
  padding: 15px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-bar a {
  color: var(--soft-cream);
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.nav-bar a:hover {
  color: var(--muted-copper);
  border-bottom: 2px solid var(--muted-copper);
}

.nav-bar a.active {
  border-bottom: 2px solid var(--muted-copper);
  color: var(--rose-light);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--dark-plum);
  margin: 40px 0 20px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--muted-copper);
  margin: 10px auto;
}

.hero {
  background: linear-gradient(rgba(74,44,58,0.8), rgba(74,44,58,0.8)), url("../images/1.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: var(--soft-cream);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

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

.hero-btn {
  display: inline-block;
  background: var(--muted-copper);
  color: #fff;
  padding: 12px 30px;
  margin-top: 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.hero-btn:hover {
  background: var(--dark-plum);
  transform: translateY(-3px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.card {
  background: var(--ivory);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(74,44,58,0.1);
  border: 1px solid var(--rose-light);
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  color: var(--dark-plum);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--charcoal);
  margin-bottom: 15px;
}

.btn-copper {
  display: inline-block;
  background: var(--muted-copper);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.btn-copper:hover {
  background: var(--copper-dark);
}

.post-card {
  background: var(--ivory);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  border-left: 5px solid var(--muted-copper);
  box-shadow: 0 4px 15px rgba(74,44,58,0.08);
}

.post-card h3 {
  color: var(--dark-plum);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.post-meta {
  color: var(--muted-copper);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.post-card p {
  margin-bottom: 15px;
}

.read-more {
  color: var(--muted-copper);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--dark-plum);
  text-decoration: underline;
}

.team-card {
  background: var(--ivory);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(74,44,58,0.1);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

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

.team-card h3 {
  font-size: 1.3rem;
  color: var(--dark-plum);
  margin-top: 15px;
}

.team-card p {
  padding: 5px 15px 15px;
  color: var(--muted-copper);
}

.team-card .bio {
  color: var(--charcoal);
  font-size: 0.9rem;
}

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

.info-box {
  background: var(--ivory);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  border: 1px solid var(--rose-light);
}

.info-box h3 {
  color: var(--dark-plum);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rose-light);
  color: var(--charcoal);
}

.contact-list li strong {
  color: var(--dark-plum);
}

.contact-form {
  background: var(--ivory);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(74,44,58,0.1);
  max-width: 600px;
  margin: 20px auto;
}

.contact-form label {
  display: block;
  margin: 15px 0 5px;
  color: var(--dark-plum);
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--rose-light);
  border-radius: 8px;
  font-family: inherit;
  background: var(--soft-cream);
  color: var(--charcoal);
}

.contact-form textarea {
  min-height: 150px;
}

.contact-form .btn-copper {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.1rem;
}

.map-frame {
  width: 100%;
  height: 400px;
  border: 2px solid var(--muted-copper);
  border-radius: 15px;
  margin: 20px 0;
}

.footer {
  background: var(--dark-plum);
  color: var(--soft-cream);
  padding: 40px 20px 20px;
  margin-top: 50px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 30px;
}

.footer h4 {
  margin-bottom: 15px;
  color: var(--muted-copper);
  font-size: 1.1rem;
}

.footer a {
  color: var(--soft-cream);
  text-decoration: none;
  display: block;
  margin: 8px 0;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--muted-copper);
}

.footer-bottom {
  border-top: 1px solid var(--muted-copper);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-plum);
  color: var(--soft-cream);
  padding: 20px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

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

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

.cookie-content p {
  margin-bottom: 10px;
  color: var(--soft-cream);
}

.cookie-content a {
  color: var(--muted-copper);
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  margin: 5px;
  font-family: inherit;
  transition: all 0.3s;
}

.cookie-accept-all {
  background: var(--muted-copper);
  color: #fff;
}

.cookie-accept-all:hover {
  background: var(--copper-dark);
}

.cookie-settings {
  background: transparent;
  border: 2px solid var(--muted-copper);
  color: var(--soft-cream);
}

.cookie-settings:hover {
  background: var(--muted-copper);
}

.cookie-decline {
  background: transparent;
  border: 2px solid #777;
  color: var(--soft-cream);
}

.cookie-decline:hover {
  background: #555;
}

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

.post-content h1 {
  color: var(--dark-plum);
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
}

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

.post-content img {
  width: 100%;
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(74,44,58,0.2);
}

.post-content h2 {
  color: var(--dark-plum);
  margin: 30px 0 15px;
  font-size: 1.6rem;
}

.post-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.post-content ul {
  margin: 20px 40px;
}

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

.prev-next-btn {
  display: inline-block;
  background: var(--dark-plum);
  color: var(--soft-cream);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s;
}

.prev-next-btn:hover {
  background: var(--muted-copper);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .grid-2,
  .team-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .nav-bar a {
    display: inline-block;
    margin: 5px 10px;
    font-size: 0.9rem;
  }
  
  .contact-form {
    margin: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .badge-icon {
    font-size: 3rem;
  }
  
  .cookie-content p {
    font-size: 0.9rem;
  }
}

.badge-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}

.testimonial {
  background: var(--ivory);
  border-left: 4px solid var(--muted-copper);
  padding: 20px;
  margin: 15px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

.testimonial-author {
  display: block;
  text-align: right;
  color: var(--muted-copper);
  font-weight: bold;
  margin-top: 10px;
}

.faq-item {
  margin: 15px 0;
}

.faq-item details {
  background: var(--ivory);
  border-radius: 10px;
  padding: 15px;
}

.faq-item summary {
  font-weight: bold;
  color: var(--dark-plum);
  cursor: pointer;
}

.faq-item p {
  margin-top: 10px;
  color: var(--charcoal);
}

.jump-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--muted-copper);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 90;
  transition: all 0.3s;
}

.jump-top.show {
  display: block;
}

.jump-top:hover {
  background: var(--dark-plum);
  transform: scale(1.1);
}

a {
  color: var(--muted-copper);
}

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

blockquote {
  border-left: 4px solid var(--muted-copper);
  margin: 20px 0;
  padding: 10px 20px;
  background: var(--ivory);
  font-style: italic;
  border-radius: 0 10px 10px 0;
}

h1, h2, h3, h4, h5, h6 {word-break: break-word;}
