/* Base styles */
    body { font-family: 'Lato', sans-serif; background: #fdf8f0; color: #3a3a3a; }
    a { text-decoration: none; }
    .pencil{
      width: 24px;
      height: 24px;
      color: #d35400;
      transition: fill 0.3s;
    font-family: none;
    font-weight: 900;
    }
    .sticky-top {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(253, 248, 240, 0.9);
        backdrop-filter: blur(8px);
        transition: background 0.3s, box-shadow 0.3s;
        border-bottom: 1px solid #e7ddd3;
      }
      .opaque-header {
        background: #fdf8f0 !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
      }
      .nav-left-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #d35400;
        opacity: 0;
        transition: opacity 0.4s ease;
      }
      .opaque-header .nav-left-title {
        opacity: 1;
      }
    /* Hero */
    .headline { font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 1; color: #2c3e50; margin-bottom: 1rem; }
    .tagline { font-size: 1.2rem; font-weight: 300; color: #525252; margin-bottom: 2.5rem; }
    .btn-primary { background: #d35400; border: none; padding: 0.75rem 1.5rem; font-weight: 700; }
    /* Section titles */
    .section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #2c3e50; margin: 3rem 0 1rem; }
    .thought-title { font-size: 1.5rem; color: #d35400; margin-top: 1.5rem; }
    .thought-description { font-size: 1rem; color: #525252; margin-bottom: 0.5rem; }
    .divider { width: 40px; height: 3px; background: #d35400; margin: 1rem 0; }
    /* Nav */
    .navbar { padding: 1rem; }
    .nav-link { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #525252 !important; transition: color 0.3s; }
    .nav-link:hover { color: #c0392b !important; }
    /* Footer */
    footer { padding: 2rem 0; text-align: center; border-top: 1px solid #e7ddd3; }
    footer a { color: #525252; margin: 0 0.5rem; font-size: 1.25rem; }
    footer a:hover { color: #c0392b; }
    /* Voronoi bg */
    #voronoi-bg { position: fixed; inset: 0; z-index: -1; opacity: 0.3; pointer-events: none; }
/* Section spacing and padding */
section {
  padding: 4rem 0;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
  .headline { font-size: 3rem; /* Adjusted for mobile */ }
  .tagline { font-size: 1rem; /* Adjusted for mobile */ }
  .section-title { font-size: 2rem; /* Adjusted for mobile */ }
  .thought-title { font-size: 1.25rem; /* Adjusted for mobile */ }
  .nav-left-title { font-size: 1rem; /* Adjust if needed */ }

  /* Adjust hero section text alignment and image for mobile */
  main.container > .row > div, /* If hero is using .row > .col structure */
  main.container > div[class*="col-"] { /* More general targeting for hero columns */
    text-align: center !important; /* Center text for hero columns */
  }
  main.container .img-fluid {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%; /* Or a specific smaller size */
  }
}

/* Container and Section Spacing */
.container {
  padding-left: 2rem;
  padding-right: 2rem;
  /* max-width: 1200px; */
  margin: 0 auto;
}

section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  section {
    padding: 2.5rem 0; /* Slightly adjusted from previous 3rem for consistency */
  }

  /* Reduce padding for navbar on mobile */
  .navbar {
    padding: 0.5rem 1rem;
  }

  /* Ensure hero section content stacks and centers */
  main.container {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem; /* Add some padding at the top */
    padding-bottom: 2rem; /* Add some padding at the bottom */
  }
  main.container > .col-12.col-md-8,
  main.container > .col-12.col-md-4 {
    width: 100% !important; /* Ensure full width for stacking */
    text-align: center !important; /* Center content within columns */
  }
   main.container .text-md-start { /* Override text-md-start for mobile */
    text-align: center !important;
  }
}

/* Row spacing */
.row {
  margin-bottom: 2rem;
}

/* Ensure images don't overflow */
.img-fluid {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

/* Animation classes */
.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/*
section:not(.animated) {
  opacity: 0;
  transform: translateY(30px);
}
*/

.headline, .tagline, .btn-primary {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure smooth transitions */
.section-title,
.thought-title,
.thought-description,
.divider,
.img-fluid {
  transition: all 0.5s ease-out;
}
