body {
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0;
  background-color: #f4f0eb;
  color: #2c1b0f;
  overflow-x: hidden;
}

header {
  background: #0e0c0a;
  color: #e5d3b3;
  padding: 3rem 1rem;
  text-align: center;
  border-bottom: 3px solid #d0a264;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: 2px;
}

header p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-style: italic;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #201812;
  padding: 1rem;
  border-bottom: 1px solid #c8b08d;
}

nav a {
  color: #e5d3b3;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.hero {
  background: url('../images/the-root-concept.png') center/cover no-repeat;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  padding: 0 2rem;
  text-align: center;
  transition: background-image 1s ease-in-out;
  position: relative;
  overflow: hidden;
}

.hero h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

.btn {
  background-color: #d0a264;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 0.25rem;
  letter-spacing: 1px;
}

section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
  transition: background-color 0.8s ease-in-out;
}

section:hover {
  background-color: #f0e6da;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #38220f;
}

section p {
  font-size: 1.1rem;
  line-height: 1.7;
}

footer {
  background-color: #0e0c0a;
  color: #e5d3b3;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  margin: 0 0.75rem;
  color: #e5d3b3;
  text-decoration: none;
  font-size: 1.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background-color: #fffefc;
  border: 1px solid #d0a26444;
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h4 {
  margin-top: 0;
  color: #2c1b0f;
  font-size: 1.2rem;
}

.feature p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* Animations */
.feature {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.feature.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Carousel */
@media (max-width: 768px) {
  .features-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .feature {
    min-width: 85%;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

/* --- Fit Guide Specific Styles (Add these to your style.css) --- */
.image-container {
  text-align: center; /* Ensures image and note are centered */
  margin: 30px auto; /* Adds vertical space and centers the container */
  max-width: 600px; /* Limit the container's width */
  /* This max-width will make the image itself (max-width: 100% of container)
     smaller than the full section width (900px). */
}

.image-container img {
  max-width: 100%; /* Ensures image is responsive within its container */
  height: auto;    /* Maintains aspect ratio */
  display: block;  /* Removes extra space below the image */
  margin: 0 auto;  /* Centers the image itself within the image-container */
  border-radius: 5px; /* Softens corners, if desired */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Adds a subtle shadow */
}

.image-container .note {
  font-size: 0.9em; /* Makes the note text a bit smaller */
  color: #666;      /* A slightly softer color for the note */
  margin-top: 10px;  /* Space between image and note */
}

/* Specific styling for the list items in the guide */
section ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
}

section ul li {
    margin-bottom: 25px; /* Add space between list items */
}

section ul li h3 {
    text-align: left; /* Align these sub-headings to the left */
    color: #38220f; /* Use existing darker brown for these headings */
    margin-bottom: 10px;
}

/* Call to action styling (refining existing btn style for this section) */
.call-to-action {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #f0e6da; /* Lighter background for the box */
    border-radius: 8px;
    border: 1px solid #d0a26444; /* Subtle border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* More prominent shadow */
}

.call-to-action h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #6B4E32; /* Use your primary brand color */
}

.call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.call-to-action .btn {
    padding: 12px 28px;
    font-size: 1.05rem;
}

/* Styling for the 'note' paragraphs at the end of the page */
p.note {
    font-style: italic;
    color: #555;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}

p.note h3 {
    font-size: 1.3em; /* Adjust size of headings inside notes */
    color: #4a4a4a;
    text-align: center; /* Center these headings too */
    margin-bottom: 10px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: #f9f5f0;
  border-bottom: 1px solid #e0dbd6;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.3rem;
  color: #3b2e2a;
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #3b2e2a;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #3b2e2a;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #f9f5f0;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
    z-index: 10;
    border-top: 1px solid #ddd;
  }

  .nav-links.show {
    display: flex !important;
  }
}
