/* --------------------------------------------------------------------------
   Homepage Intro
   -------------------------------------------------------------------------- */
   
   /* --------------------------------------------------------------------------
   Body / Content Wrapper Background
   -------------------------------------------------------------------------- */
body {
  background: url('../images/background_2.png') center center / cover no-repeat fixed;
}

/* If you want the semi-transparent overlay on just the content area, 
   update your #content-wrapper instead: */
#content-wrapper {
    /* first layer: background image */
    background: 
        url('../images/background_2.png') center center / cover no-repeat,
        /* second layer: dark overlay */
        rgba(0,0,0,0.5);

    /* existing styles */
    width: 80vw;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 6px;
    color: #f0ece2;
}

.home-intro {
    text-align: center;
    margin-bottom: 40px;
}
.home-intro h1 {
    font-size: 3em;
    font-weight: 700;
    color: #ffd069;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 0.5em;
}
.home-intro p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #e0d6c3;
}

/* --------------------------------------------------------------------------
   Section Headings
   -------------------------------------------------------------------------- */
section.articles h2,
section.guides h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #d79b4b;
    display: inline-block;
    padding-bottom: 4px;
    color: #f0e6cf;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.articles ul,
.guides ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.articles ul li,
.guides ul li {
    background: rgba(30,20,10,0.7);
    padding: 15px 20px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.articles ul li:hover,
.guides ul li:hover {
    background: rgba(255, 200, 50, 0.2);
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
.articles ul li a,
.guides ul li a {
    color: #d8ae5c;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.articles ul li a:hover,
.guides ul li a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .home-intro h1 { font-size: 2em; }
    .home-intro p { font-size: 1em; }
    .articles ul,
    .guides ul {
        flex-direction: column;
        align-items: center;
    }
}
