@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary-color: #4F7A68;
  --bg-light: #FAFAF8;
  --text-dark: #2B2B2B;
  --text-gray: #555555;
  --border-light: #E8E8E6;
  --accent-soft: #F5F2ED;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #FFFFFF;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

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

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

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

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

a:hover {
  color: #3D5F52;
  text-decoration: underline;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'PT Serif', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: none;
}

.logo:hover {
  color: #3D5F52;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

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

/* MAIN CONTENT */
main {
  margin-top: 70px;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero {
  background-color: var(--bg-light);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: -1rem;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
}

/* TWO COLUMN LAYOUT */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.content-section {
  padding: 2rem 0;
}

.content-section h2 {
  margin-top: 0;
}

/* SINGLE COLUMN FOR SMALLER SCREENS */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 2.5rem 1.5rem;
  }

  .container {
    padding: 2rem 1.5rem;
  }
}

/* FAQ SECTION */
.faq-section {
  background-color: var(--accent-soft);
  border-radius: 8px;
  padding: 2.5rem;
  margin: 3rem 0;
}

.faq-section h3 {
  margin-top: 1.5rem;
}

.faq-section h3:first-child {
  margin-top: 0;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-item strong {
  color: var(--primary-color);
}

/* CTA BUTTONS */
.cta-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin: 0.5rem 0;
  font-weight: 500;
}

.cta-link:hover {
  background-color: #3D5F52;
  text-decoration: none;
}

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin: 2rem 0;
}

.blog-card {
  background-color: var(--accent-soft);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
footer {
  background-color: var(--accent-soft);
  border-top: 1px solid var(--border-light);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

footer .container {
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  font-family: 'PT Serif', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

.footer-section ul li {
  margin-bottom: 0.6rem;
}

.footer-section a {
  font-size: 0.9rem;
}

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  header {
    position: relative;
  }

  main {
    margin-top: 0;
  }
}

/* CONTACT FORM */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(79, 122, 104, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #3D5F52;
}

/* DISCLAIMER BOX */
.disclaimer-box {
  background-color: #FFFBF7;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
}

/* COOKIE CONSENT */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.cookie-accept:hover {
  background-color: #3D5F52;
}

.cookie-decline {
  background-color: var(--border-light);
  color: var(--text-dark);
}

.cookie-decline:hover {
  background-color: #D8D8D6;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-button {
    width: 100%;
  }
}

/* LINK BLOCKS */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.link-block {
  background-color: var(--accent-soft);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.link-block:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.link-block h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.link-block a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.link-block a:hover {
  background-color: #3D5F52;
  text-decoration: none;
}

/* EDUCATIONAL DISCLAIMER */
.educational-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 2rem 0;
  padding: 1rem;
  background-color: var(--bg-light);
  border-radius: 4px;
}

.educational-disclaimer strong {
  color: var(--text-dark);
}
