/* ======= Base Styles ======= */
:root {
  --primary-color: #b0926a;
  --secondary-color: #d1bfa6;
  --third-color: rgba(196, 122, 43, 0.966);
  --fourth: rgba(196, 122, 43, 0.966);
  --text-color: #333;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --footer-text: #9ca3af;
  --bg-light: #f9f9f9;
  --max-width: 1200px;
  --shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: none;
  /*box-shadow: var(--shadow-lg);*/
  border-radius: 10px;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.2));
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #111;
}

/* ======= Header & Navigation ======= */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  top: 2.5rem;
  left: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  list-style: none;
}

.li a {
  color: var(--text-color);
}

.cta-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--third-color);
  text-decoration: none;
}

.menu a:hover,
.menu a.active {
  color: var(--third-color);
}

/* ======= Main Layout ======= */
.pillar-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 10px;
}

/* ======= Table of Contents ======= */
.sticky-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--bg-light);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #ddd;
}

.sticky-toc h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #111;
}

.sticky-toc ul {
  list-style: none;
  line-height: 1.8;
}

.sticky-toc a {
  color: #444;
  font-size: 0.95rem;
}

.sticky-toc a:hover {
  color: var(--primary-color);
}

/* ======= Article / Content ======= */
.pillar-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pillar-content p {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.pillar-content strong {
    font-size: x-large;
}

section {
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

/*section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}*/

ol, ul {
  margin-left: 1.5rem;
}

.related-articles ul {
  margin: 0;
  /*list-style: disc;*/
  padding-left: 1.5rem;
}

.related-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  color: #665743;
}

.related-articles {
  /*background: var(--bg-light);*/ 
  /*padding: 1rem;*/
  border-radius: 8px;
  margin-top: 1rem;
}

.related-articles h4 {
  margin-bottom: 0.5rem;
}

.related-articles a {
  color: var(--primary-color);
}

/* ======= Buttons / CTAs ======= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

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

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

.btn-secondary {
  background: var(--secondary-color);
  color: #111;
}

.cta-box {
  background: var(--bg-light);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-box p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ======= Comparison Table ======= */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 0.8rem;
  text-align: left;
}

.comparison-table th {
  background: var(--bg-light);
}

/* ======= FAQ Section ======= 
details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: #fff;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

details p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
} */

/* ======= Footer ======= */
footer {
  background: var(--text-dark);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--footer-text);
  border-top: 1px solid #ddd;
}

footer a {
  color: var(--primary-color);
  margin: 0 5px;
}

footer a:hover {
  color: var(--fourth);
}

/* ======= Responsive Design ======= */
@media (max-width: 992px) {
  .pillar-container {
    grid-template-columns: 1fr;
  }
  
  .sticky-toc {
    display: none;
  }

  .menu {
    display: none;
  }

  .cta-btn {
    display: none;
  }

  .navbar {
    justify-content: space-between;
  }

  .logo {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .pillar-content h1 {
    font-size: 1.6rem;
  }

  section h2 {
    font-size: 1.25rem;
  }

  .cta-box {
    padding: 1rem;
  }
}
