/* Base styles and variables */
:root {
  --primary-color: #d4a373;
  --primary-dark: #c08b60;
  --primary-light: #e6c69c;
  --secondary-color: #588157;
  --secondary-dark: #3a5a40;
  --secondary-light: #a3b18a;
  --accent-color: #e76f51;
  --text-color: #333;
  --text-light: #666;
  --text-dark: #222;
  --background-color: #fff;
  --background-light: #f8f8f8;
  --background-dark: #eee;
  --border-color: #ddd;
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --header-height: 80px;
  --footer-height: 320px;
  --container-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

ul {
  list-style: none;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2rem;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header and Navigation */
header {
  background-color: var(--background-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  height: var(--header-height);
}

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

.logo-container img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 1rem;
}

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

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

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

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  background-color: var(--background-light);
  margin-bottom: 2rem;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

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

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

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

/* Features Section */
.features {
  padding: 4rem 5%;
  text-align: center;
}

.features h2 {
  margin-bottom: 3rem;
}

.feature-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.feature-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
}

.feature-card .icon svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Recent Posts Section */
.recent-posts {
  padding: 4rem 5%;
  background-color: var(--background-light);
}

.recent-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.post-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.post-card {
  flex: 1;
  min-width: 300px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.post-card.full {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 2rem;
}

.post-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.new-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.new-tag.post-page {
  position: relative;
  top: 0;
  right: 0;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

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

.view-all {
  text-align: center;
  margin-top: 2rem;
}

.view-all-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.view-all-button:hover {
  background-color: var(--secondary-dark);
  color: white;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 5%;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  display: flex;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.testimonial-image {
  flex: 0 0 100px;
  margin-right: 1.5rem;
}

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

.testimonial-content {
  flex: 1;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-content h4 {
  margin-bottom: 0.25rem;
}

.testimonial-title {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Blog Page Styles */
.blog-header, .about-header, .contact-header {
  text-align: center;
  padding: 3rem 5% 2rem;
  background-color: var(--background-light);
}

.blog-header h2, .about-header h2, .contact-header h2 {
  margin-bottom: 0.5rem;
}

.blog-posts {
  padding: 2rem 5% 4rem;
}

/* Blog Post Page */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 5% 4rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.blog-post .post-image {
  height: auto;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.post-content h5 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 0.5rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-navigation {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.prev-next {
  display: flex;
  justify-content: space-between;
}

.prev, .next {
  padding: 0.5rem 0;
}

.post-share {
  margin-top: 2rem;
}

.post-share h4 {
  margin-bottom: 0.75rem;
}

.social-share {
  display: flex;
  gap: 1rem;
}

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

.social-share a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.related-posts {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5% 4rem;
}

.related-posts h3 {
  margin-bottom: 2rem;
  text-align: center;
}

/* About Page Styles */
.about-intro {
  padding: 3rem 5%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

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

.team-section, .values-section {
  padding: 4rem 5%;
  background-color: var(--background-light);
}

.team-section h2, .values-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

.team-card h3, .team-card p {
  padding: 0 1.5rem;
}

.team-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-card .social-icons {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.value-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  border-radius: 50%;
}

.value-card .icon svg {
  width: 30px;
  height: 30px;
}

/* Contact Page Styles */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 3rem 5%;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-item .icon {
  flex: 0 0 40px;
  height: 40px;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
}

.info-item .icon svg {
  width: 20px;
  height: 20px;
}

.info-item h4 {
  margin-bottom: 0.25rem;
}

.social-connect {
  margin-top: 2rem;
}

.social-connect h4 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

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

.contact-form {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

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

.checkbox-group input {
  width: auto;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.map-section {
  padding: 2rem 5% 4rem;
}

.map-section h3 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.map-placeholder {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.map-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 1rem;
}

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

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

.close-modal {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--success-color);
  color: white;
  border-radius: 50%;
}

.modal-icon svg {
  width: 30px;
  height: 30px;
}

.close-btn {
  margin-top: 1.5rem;
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Terminology Section */
.terminology {
  padding: 3rem 5%;
  background-color: var(--background-light);
}

.terminology h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.terminology-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.terminology-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.terminology-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.terminology-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Footer Styles */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 5% 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 2;
  min-width: 200px;
}

.footer-about img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3, .footer-contact h3 {
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

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

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-contact {
  flex: 2;
  min-width: 200px;
}

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

.footer-contact i {
  margin-right: 0.5rem;
}

.footer-contact .social-icons {
  margin-top: 1.25rem;
}

.footer-contact .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

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

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: bottom 0.5s ease;
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-content p {
  flex: 1;
  min-width: 300px;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  margin-right: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

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

.cookie-btn.decline {
  background-color: var(--text-light);
  color: white;
}

.cookie-policy-link {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .feature-cards, .post-cards {
    justify-content: center;
  }
  
  .feature-card, .post-card {
    flex-basis: 45%;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  header {
    flex-direction: column;
    padding: 1rem 5%;
    height: auto;
    position: relative;
  }
  
  .logo-container {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .feature-card, .post-card {
    flex-basis: 100%;
  }
  
  .testimonial {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .testimonial-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .about-intro {
    flex-direction: column-reverse;
  }
  
  .about-image {
    margin-bottom: 2rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .post-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-policy-link {
    margin-left: 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .prev-next {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Icon placeholders for footer */
.icon-location, .icon-phone, .icon-email {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c-4.198 0-8 3.403-8 7.602 0 4.198 3.469 9.21 8 16.398 4.531-7.188 8-12.2 8-16.398 0-4.199-3.801-7.602-8-7.602zm0 11c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z'/%3E%3C/svg%3E");
}

.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M20 22.621l-3.521-6.795c-.008.004-1.974.97-2.064 1.011-2.24 1.086-6.799-7.82-4.609-8.994l2.083-1.026-3.493-6.817-2.106 1.039c-7.202 3.755 4.233 25.982 11.6 22.615.121-.055 2.102-1.029 2.11-1.033z'/%3E%3C/svg%3E");
}

.icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M0 3v18h24v-18h-24zm21.518 2l-9.518 7.713-9.518-7.713h19.036zm-19.518 14v-11.817l10 8.104 10-8.104v11.817h-20z'/%3E%3C/svg%3E");
}
