/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Wrapper */
#wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
        ". title ."
        ". header ."
        ". hero ."
        "footer footer footer";
    position: relative;
}

#wrapper > * {
    position: relative;
}

#wrapper::before,
#wrapper::after {
    content: "";
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1 / 2, 3 / 4;
    background-color: rgba(180, 180, 180, 0.3); /* Light grey for outer columns */
}


/* BurnIt Title */
#burnit-title {
    grid-row: 1 / 2;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: #ba1c21;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    grid-area: title;
    z-index: 1;
    background-color: rgba(180, 0, 0, 0.5);
}


#wrapper > .title-left { /* temporary */
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: rgba(180, 0, 0, 0.3); /* Semi-transparent red */
}

#wrapper > .title-right { /* temporary */
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    background-color: rgba(180, 0, 0, 0.3); /* Semi-transparent red */
}


#burnit-title img {
    width: 50px;
    height: auto;
}

/* Header */
header {
    grid-row: 2 / 3;
    background-color: #424242;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-area: header;
    z-index: 1;
}


#wrapper > .header-left { /* temporary */
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background-color: rgba(66, 66, 66, 0.5); /* Semi-transparent grey */
}

#wrapper > .header-right { /* temporary */
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    background-color: rgba(66, 66, 66, 0.5); /* Semi-transparent grey */
}

header::after { /* temporary */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(66, 66, 66, 0.7); /* Semi-transparent grey */
    z-index: 2;
    pointer-events: none;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul.left {
    justify-content: flex-start;
}

header nav ul.right {
    justify-content: flex-end;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #ba1c21;
}

/* Main Section */
main {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    grid-area: hero;
    position: relative;
    z-index: 1;
}


#wrapper > .main-left { /* temporary */
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background-color: rgba(163, 189, 163, 0.5); /* Semi-transparent green */
}

#wrapper > .main-right { /* temporary */
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    background-color: rgba(163, 189, 163, 0.5); /* Semi-transparent green */
}

/* Hero Background */
#hero-background {
    grid-row: 3 / 4;
    grid-column: 1 / -1;
    background: url("body_gradient.png") no-repeat center center;
    background-size: cover;
    z-index: -1;
    position: relative;
}

#hero {
    display: flex;
    gap: 20px;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#hero::after { /* temporary */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Semi-transparent green */
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    flex: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.8;
}

#hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

#learn-more-btn {
    padding: 15px 30px;
    background-color: #000000;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#learn-more-btn:hover {
    background-color: #202020;
}

/* Hero Images Section */
.hero-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hero-images img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Full-Width Content */
#full-width-content {
    grid-row: 4 / 5;
    width: 100%;
    padding: 0;
    margin: 20px 0;
}

#full-width-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* Footer */
footer {
    grid-area: footer;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
    padding: 0px;
    text-align: center;
    position: relative;
}

footer::before { /* temporary */
    content: "";
    grid-column: 2 / 3;
    background-color: rgba(255, 255, 0, 0.3); /* Semi-transparent yellow */
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Footer Banner Image */
#footer-banner {
    grid-column: 1 / -1;
    width: 100%;
    height: 700px;
    z-index: 1;
}

#wrapper > .footer-left { /* temporary */
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    background-color: rgba(255, 255, 0, 0.7); /* Semi-transparent yellow */
    z-index: 2;
}

#wrapper > .footer-right { /* temporary */
    grid-column: 3 / 4;
    grid-row: 4 / 5;
    background-color: rgba(255, 255, 0, 0.7); /* Semi-transparent yellow */
    z-index: 2;
}
