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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-gray-dark);
  background-color: var(--color-white);
}
a {
  color: inherit;
  text-decoration: none;
}
li {
    list-style: none;
}


:root {
/* Brand Colors */
--color-primary: #550A3D;
--color-primary-light: #6B1A4F;
--color-primary-dark: 1#440832;
--color-secondary: #354F14;
--color-accent-light: #e7ccdf;
--color-accent-muted: #EAD9E6;

/* Neutrals */
--color-white: #FFFFFF;
--color-black: #000000;
--color-gray-light: #F0F0F0;
--color-gray-lighter: #EBEBEB;
--color-gray-text: #676767;
--color-gray-dark: #1E1E1E;
--color-gray-medium: #9F9F9F;

/* Font sizes */
--text-xs: 0.75 rem; /* 12px - meta text, tags */
--text-sm: 0.875 rem; /* 14px - small body text */
--text-base: 1rem; /* 16px - body text */
--text-lg: 1.125 rem; /* 18px - large body text */
--text-xl: 1.5rem; /* 24px - section headings */
--text-2xl: 2rem; /* 32px - page headings */
--text-3xl: 2.5 rem; /* 40px - hero headings */
--text-4xl: 4rem; /* 48px - large hero titles */

/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-card: 0 4px 6px -1px rgba (0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* CONTAINER SYSTEM */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.full-width-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Button Styles */

.button {
display: inline-flex;
padding: 15px 20px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 8px;
border: none;
font-size: 14px;
font-weight: 600;
}
button:hover {
    cursor: pointer;
    transition: background-color 0.4s ease;
}


/* SECTION SPACING */
.section {
  padding: var(--space-section-gap) 0;
}

.section--hero {
  padding: var(--space-hero-padding) 0;
}

.section--large {
  padding: var(--space-3xl) 0;
}

/* HEADER STYLES */
.site-header {
    position: fixed;
    position: absolute;  /*remove this when the javscript function for scrolling bg has been added */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-bg {
    background-color: var(--color-primary);
    width: 100%;
    height: 80px;
}
.navigation {
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
    padding: 0px 35px;

}
.nav-list {
    display: flex;
    gap: 40px;
    font-weight: 500;
    color: white;
}
.nav-item a {
    transition: 0.4s;
}
.nav-item a:hover {
    color: var(--color-accent-muted);
}

.brand-logo {
    height: 40px;
    width: auto;
}
.footer-logo {
    height: 60px;
    width: auto;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    color: var(--color-primary);
}

/* FOOTER STYLES */

/* HERO SECTION STYLES */

.homepage-hero {
    background: url('/assets/images/Lashey Corner Hero.png');
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    background-position: center 40%;
}
.pages-hero {
    height: 100vh;
    min-height: 500px;
    max-height: 650px;
}
.about-hero-bg {
    background: url('/assets/images/lashey-profile-picture.jpeg');
    background-position: top center;
}
.blog-hero-bg {
    background: url('/assets/images/lashey3.jpeg');
    background-position: center 20%;
}
.blog-hero-bg {
    background: url('/assets/images/lashey3.jpeg');
    background-position: center 20%;
}
.connect-hero-bg {
    background: url('/assets/images/lashey4.jpeg');
    background-position: center 50%;
}

.hero-title {
    opacity: 0;
    animation: fadeInText 1s ease-in forwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    color: var(--color-white);
    text-align: center;
    padding: 100px 20px;
    margin-top: -80px;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    pointer-events: none;
}
.hero-section > * {
    position: relative;
    z-index: 1;
}
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.hero h1 {
    font-size: var(--text-4xl);
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 100px;
    max-width: 900px;
    line-height: 90px;
}

.cta {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}
.cta button {
    background-color: var(--color-white);
}
.cta button:hover {
    background-color: var(--color-accent-muted);
}

.featured-posts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 56px;
    padding: 40px 0px;
}
.post-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
    height: fit-content;
    gap: 20px;
    padding: 20px 40px;
}

.post-card {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    gap: 10px;
}
.cover-image {
    border-radius: 20px;
    overflow: hidden;
    width: 260px;
    height: 360px;
}
.cover-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border-radius: 20px;
    object-fit: cover;
}
.post-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    width: 267px;
    height: 360px;
    background-color: var(--color-gray-light);
    border-radius: 20px;
    padding: 40px 25px;
}
.post-info h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    max-width: 211px;
    line-height: 26px;
}
.post-info h2:hover {
    color: var(--color-primary);
    transition: 0.4s;
}
.post-category {
    font-size: 12px;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 20px;
    color: var(--color-primary);
    font-weight: 400;
    margin-top: 15px;
    background-color: var(--color-accent-light);
}
.excerpt-and-link p {
    font-size: 14px;
    color: var(--color-gray-text);
    max-width: 200px;
    line-height: 22px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.post-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.margin-top-60 {
    margin-top: 60px;
}

.primary-btn {
        background-color: var(--color-white);
        color: var(--color-primary)
}
.primary-btn:hover {
        background-color: var(--color-accent-light);
}

.see-more-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
    transition: 0.4s;
}
.see-more-btn:hover {
    background-color: var(--color-primary-light);
}

.content-buckets {
    margin-top: 80px;
}


.buckets-wrapper,
.card-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px;
}
.bucket-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 320px;
    height: 250px;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}
.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    gap: 15px;
    width: 320px;
    height: 250px;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    color: var(--color-white);
}
.bucket-card h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-white);
}
.bucket-card a {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.5s;
    cursor: pointer;
}
.bucket-card a:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.faith-card {
    background: 
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.6)),
        url('/assets/images/lashey-worship.jpg');
    background-size: cover;
    background-position: center;
}
.law-card {
    background: 
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.6)),
        url('/assets/images/interview-wendy-cover.jpeg');
    background-size: cover;
    background-position: center;
}
.love-card {
    background: 
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.6)),
        url('/assets/images/lashey4.jpeg');
    background-size: cover;
    background-position: center;
}

.about-writer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 80px;
    padding: 0 20px;
    background-color: var(--color-accent-muted);
    width: 100%;
    padding: 90px 90px;
}
.about-writer img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit:cover;
    object-position: top center;
}
.writer-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}
.writer-bio {
    font-size: 16px;
    color: var(--color-gray-dark);
    max-width: 800px;
    line-height: 28px;
    margin-bottom: 25px;
}

.more-stories {
    padding: 90px 0px;
}
.more-stories .section-title {
    margin-bottom: 20px;
    margin-top: 20px;
}  

.newsletter {
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 30px;
}
.section-icon {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}
.newsletter h1 {
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    width: fit-content;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-form input {
    padding: 20px 40px;
    border: none;
    border-radius: 30px;
    background-color: var(--color-gray-lighter);
    font-size: 14px;
    width: 500px;
}
.newsletter button {
    margin-top: 20px;
}
input:focus,
input:active,
input:focus-visible,
input:focus-within {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-primary);
}

footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 80px 20px;
    font-size: 14px;
    margin-top: 40px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 40px;
    margin-bottom: 30px;
    margin-top: 60px;
}
footer ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    margin-top: 30px;
}
footer ul li {
    font-size: 16px;
}

footer hr {
    border: 0.5px solid var(--color-white);
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    margin-top: 50px;
}
.copyright {
    font-weight: 400;
    margin-top: 20px;
}


/* ABOUT PAGE STYLES */

.about-lashey {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-top:60px;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    padding: 20px 30px;
}
.about-lashey p {
    max-width: 800px;
    line-height: 28px;
    margin-bottom: 20px;
}
.img-separator {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 5px 0px 20px 0px;
}
.img-separator img {
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 500px;
    border-radius: 20px;
    object-fit: cover;
    object-position: top center;
}

/* BLOG PAGE STYLES */

.blog-navigation {
margin-top: 90px;
margin-bottom: 20px;
padding: 0px 15px;
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1.5rem 0;
    gap: 1rem;
}

.dropdown-container {
    flex: 1;
    max-width: 250px;
}

.category-dropdown {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.search-container {
    flex: 2;
    display: flex;
    justify-content: flex-end;
}

.search-bar {
    width: 100%;
    max-width: 300px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* Article Page Template Style */
.article-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    padding: 20px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.article-cover-img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    object-position: center 40%;
    background-repeat: no-repeat;
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 40px;

}

.article-content-box {
    line-height: 34px;
}

.article-content {
    text-align: left;
    width: 100%;
}

.article-content img {
    max-width: 95%;
    margin: 20px 0px;
    border-radius: 20px;
}

strong {
    color: var(--color-primary);
}

.article-container h1 {
    color: var(--color-primary);
}

/* Article image captions */
.article-content figure {
  margin: 30px 0;
  text-align: center;
}

.article-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}

.article-content figcaption {
  font-size: 14px;
  color: var(--color-gray-text);
  font-style: italic;
  margin-top: 10px;
  line-height: 1.5;
}
.article-content h6 {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: bold;
    margin-top: 10px;
}


/* Pagination */
/* Pagination */
.pagination-wrapper {
    margin-top: 70px;
    margin-bottom: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

.pagination-btn {
    display: inline-block;
    padding: 0.5em 1.2em;
    border-radius: 0.5em;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.pagination-btn-num {
    display: inline-block;
    padding: 10px 10px;
    color: #888;
    text-decoration: none;
    transition: 0.2s;
}

.pagination-btn:hover:not(.current):not(.disabled) {
    background: var(--color-primary-light);
}

.pagination-btn-num:hover:not(.current) {
    color: var(--color-primary);
}

.pagination-btn-num.current {
    color: var(--color-primary);
    font-weight: 600;
    cursor: default;
}

.pagination-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.pagination-ellipsis {
    display: inline-block;
    padding: 0.5em 0.8em;
    color: #888;
    font-size: 1.1em;
}

/* No results message */
.no-results {
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray-text);
    font-size: 18px;
}

.no-results p {
    margin: 0;
}

    /* CONNECT WITH ME PAGE */

    .contact-cards {
        margin-top: 80px;
    }

    .contact-cta {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.5s;
    cursor: pointer;
    margin-top: 15px;
}
.contact-cta:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
    cursor: pointer;
}
.social-icons img.reduce {
    width: 27px;
    height: 27px;
}

/* COMMENT SECTION */
.comments-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    width: 100%;
}

.comment-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    font-family: inherit;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    font-family: inherit;
    font-size: var(--text-base);
    border: 1px solid var(--color-gray-medium);
    border-radius: 8px;
    padding: 14px 18px;
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
    transition: box-shadow 0.2s;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    font-size: var(--text-lg);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-primary);
}

#comment-status {
    margin-top: 8px;
    font-size: var(--text-sm);
    color: var(--color-primary);
    min-height: 20px;
    text-align: center;
}


/* --- Individual Comment --- */
.comment {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease;
  width: 500px;
}

.comment-form button {
    background-color: var(--color-primary);
    color: white;
}

.comment:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.comment strong {
  font-weight: 600;
  color: #222;
  margin-right: 0.5rem;
}

.comment time {
  font-size: 0.8rem;
  color: #777;
  margin-left: 0.3rem;
}

.comment p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

@media screen and (max-width: 650px) {
    .hero h1 {
        font-size: var(--text-2xl);
        line-height: 40px;
    }
    .post-info {
        gap: 30px;
    }
    .cover-image {
        width: 100%;
        height: 350px;
    }
    .post-info {
        width: 100%;
        height: auto;
    }
    .post-info h2 {
        max-width: 100%;
    }
    .excerpt-and-link p {
        max-width: 100%;   
    }
}

.section-top {
    margin-top: 60px;
}
.margin-bottom {
    margin-top: 30px;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
  position: relative;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* Mobile menu close button (X) */
.mobile-menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 103;
  width: 50px;
  height: 50px;
}

.close-x {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 3px;
  top: 50%;
  left: 50%;
}

.close-x:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-x:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* MOBILE RESPONSIVE STYLES */
@media screen and (max-width: 900px) {
  /* Header Mobile */
  .site-header {
    z-index: 101;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-close {
    display: block;
  }

    .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Modern browsers */
    min-height: -webkit-fill-available; /* iOS Safari fallback */
    background-color: var(--color-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

  .site-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    height: 100%;
    justify-content: center;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item a {
    display: block;
    padding: 20px 0;
    font-size: 18px;
    text-align: center;
  }

  /* Footer Mobile - Hide nav links */
  footer .footer-section.links {
    display: none;
  }

  footer hr {
    display: none;
  }

  footer {
    padding: 40px 20px;
    text-align: center;
  }

  .writer-bio {
    width: 100%;
}

.more-stories.section-title {
    margin-bottom: -30px;
}

.newsletter {
    margin-top: 0px;
}

.newsletter-form input {
    width: 100%;
}

.section-title {
    font-size: 30px;
    padding: 0px 10px;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

.comment {
  width: 100%;
}

.container {
  width: 100%;
  padding: 0px 20px;
}

  /* ... rest of your mobile styles remain the same ... */
}