/* General Body Styles */
body {
    font-family: 'Lato', sans-serif;
    color: #2C2C2C; /* Dark grey text */
    background-color: #FFFFFF; /* White background */
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: black;
    padding: 20px 0;
    margin: 0;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

header nav ul li {
    position: relative;
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
}

/* Header Content Styles */
#header-content {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.header-image-container {
    width: 100%;
}

.header-image-container img {
    width: 100%;
    height: auto;
    display: block;
}


/* General Container for 80% Width */
.container-80 {
    width: 80%;
    margin: 0 auto;
}

/* General Container for 90% Width */
.container-90 {
    width: 90%;
    margin: 0 auto;
}

/* Where To Purchase Section */
#where-to-purchase {
    text-align: center;
    padding: 50px 20px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
}

#where-to-purchase h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #CD7F32; /* Bronze color */
}

.purchase-options {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.third-section {
    flex: 1;
    text-align: center;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.third-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #CD7F32; /* Bronze color */
}

.third-section p {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #2C2C2C; /* Dark grey text */
}

.center-image {
    max-width: 100%;
    height: auto;
    max-height: auto; /* Slightly larger image */
}

.purchase-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #555555; /* Dark grey background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.purchase-button:hover {
    background-color: #777777; /* Lighter grey on hover */
}

/* Gallery Section */
#gallery {
    padding: 50px 20px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
    text-align: left; /* Left-align the text */
}

#gallery h2 {
    font-size: 2.5rem; /* Make the h2 larger */
    color: #CD7F32; /* Bronze color for the heading */
    margin-bottom: 20px;
    text-align: left; /* Left-align the heading */
}

#gallery p {
    font-size: 1.25rem; /* Larger font size for the paragraph */
    line-height: 1.6;
    margin-bottom: 40px;
    color: #2C2C2C; /* Dark grey text */
    text-align: left; /* Left-align the paragraph */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates three equal columns */
    gap: 40px; /* Space between grid items */
}

.gallery-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #FFFFFF; /* White background */
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    height: 100%; /* Ensures all items have the same height */
}

.gallery-item img {
    width: 100%;
    height: 400px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
    border-radius: 5px;
}

.gallery-item h3, .gallery-item p {
    font-size: 1.2rem;
    color: #2C2C2C; /* Dark grey text */
    margin-top: 5px;
    text-align: left; /* Left-align the text */
}

.shop-button {
    padding: 10px 20px;
    margin-top: auto;
    background-color: #555555; /* Dark grey background */
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.shop-button:hover {
    background-color: #777777; /* Lighter grey on hover */
}

/* Contact Form Styles */
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
}

#contact h2, #contact p, #contact form {
    width: 50%;
    margin-bottom: 20px;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact label {
    margin-top: 10px;
    color: #2C2C2C; /* Dark grey text */
}

#contact input, #contact textarea {
    padding: 8px;
    margin-top: 5px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
    border: 1px solid #555555; /* Dark grey border */
    border-radius: 5px;
}

#contact button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #555555; /* Dark grey background */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#contact button:hover {
    background-color: #777777; /* Lighter grey on hover */
}

/* Why Buy Steel Fire Section Styles */
#why-buy-steel-fire {
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
    padding: 50px 20px;
}

.why-buy-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#why-buy-steel-fire h2 {
    font-size: 2rem; /* Match the font size of headings */
    margin-bottom: 20px;
    color: #CD7F32; /* Bronze color for the heading */
}

#why-buy-steel-fire p {
    font-size: 1.25rem; /* Match the font size of paragraph text */
    line-height: 1.6;
    margin-bottom: 20px;
    color: #2C2C2C; /* Dark grey text */
}

/* FAQ Section */
#faq {
    padding: 50px 20px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
}

#faq h2 {
    font-size: 2.5rem; /* Larger font size for the heading */
    color: #CD7F32; /* Bronze color for the heading */
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    text-align: left;
    background-color: #555555; /* Dark grey background */
    color: white;
    border: none;
    cursor: pointer;
    outline: none;
    margin-bottom: 5px;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #777777; /* Lighter grey on hover */
}

.faq-answer {
    display: none;
    padding: 10px;
    font-size: 1rem;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
    border-left: 3px solid #555555; /* Dark grey border */
    margin-bottom: 10px;
}

/* About Section Styles */
#about {
    padding: 50px 20px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    margin: auto;
}

.text, .image {
    flex: 1;
}

.text {
    padding-right: 20px;
}

.image img {
    width: 100%;
    height: auto;
}

.text h2 {
    font-size: 2.5rem;
    color: #CD7F32; /* Bronze color */
    margin-bottom: 20px;
}

.text p {
    font-size: 1.25rem;
    color: #2C2C2C; /* Dark grey text */
    line-height: 1.6;
}

/* How It Works Section */
#how-it-works {
    text-align: left;
    padding: 50px 20px;
    background-color: #FFFFFF; /* White background */
    color: #2C2C2C; /* Dark grey text */
    margin-bottom: 20px;
    width: 75%; /* Contain within 75% of the screen */
    margin: 0 auto; /* Center the section horizontally */
}

#how-it-works h2 {
    font-size: 2rem;
    color: #CD7F32; /* Bronze color for the heading */
    margin-bottom: 20px;
}

#how-it-works p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Iframe Container */
.iframe-container {
    width: 90%; /* Contain within 90% of the screen */
    margin: 0 auto; /* Center the container horizontally */
}

.iframe-container iframe {
    width: 100%; /* Full width within the container */
    height: 1500px;
    border: none;
}

/* Footer Styles */
footer {
    background-color: #555555; /* Dark grey background */
    text-align: center;
    padding: 10px;
    width: 100%;
    color: white;
}

/* Wholesale Section */
#wholesale h1, #wholesale h2 {
    text-align: center;
    color: #CD7F32; /* Bronze color */
}

#wholesale p, #wholesale form, .state-list {
    text-align: left;
    margin-bottom: 20px;
}

/* Container for 70% Width */
.container-70 {
    width: 70%;
    margin: 0 auto;
}

#wholesale form label {
    display: block;
    margin-top: 10px;
}

#wholesale form input, #wholesale form button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
}

#wholesale form button {
    background-color: #2C2C2C; /* Dark grey background */
    color: #FFFFFF; /* White text */
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#wholesale form button:hover {
    background-color: #555555;
}

.state-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #2C2C2C; /* Dark grey background */
    color: #FFFFFF; /* White text */
    border: none;
    cursor: pointer;
    text-align: left;
    margin-top: 10px;
}

.state-button:hover {
    background-color: #555555;
}

.state-retailers {
    display: none;
    margin-left: 20px;
    margin-top: 10px;
}

.state-retailers ul {
    list-style: none;
    padding: 0;
}

.state-retailers li {
    margin-bottom: 10px;
}

.state-retailers a.retailer-link {
    color: #CD7F32; /* Bronze color */
    text-decoration: underline;
    font-weight: bold;
}

.state-retailers a.retailer-link:hover {
    text-decoration: none;
}


/* Mobile responsiveness */
@media (max-width: 1024px) {
    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header nav ul li a {
        font-size: 1.2rem;
    }

    .half-section h2 {
        font-size: 1.5rem;
    }

    .purchase-button {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    #header-content {
        height: 100px; /* Adjusted height for larger mobile screens */
    }
}

@media (max-width: 768px) {
    #header-content {
        background-size: cover;
        height: 100px; /* Adjusted height for medium mobile screens */
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    #contact h2, #contact p, #contact form {
        width: 100%;
    }

    .container {
        flex-direction: column;
    }

    .text {
        padding-right: 0;
    }

    .text h2, .text p {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #header-content {
        background-size: cover;
        height: 100px; /* Adjusted height for smaller mobile screens */
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    header nav ul li a {
        font-size: 1rem;
    }

    .third-section {
        margin: 10px 0;
    }

    .half-section h2 {
        font-size: 1.2rem;
    }

    .purchase-button {
        font-size: 0.9rem;
    }

    .text h2, .text p {
        font-size: 1.2rem;
    }
}
