/* ==========================================================================
   1. Universal Resets & Typography
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #171918;
    color: #ffffff;
    font-family: "Libertinus Math", serif, system-ui;
}


/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
.logo {
    background-color: #171918;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
}

.nav-links {
    background: #333333;
    text-align: center;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    margin: 15px;
    position: relative;
}

.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-links ul li a:hover {
    color: #cccccc;
}

nav .fa-solid {
    display: none;
}

/* ==========================================================================
   3. Banners & Buttons
   ========================================================================== */
.banner {
    width: 100%;
    min-height: 70vh;
    background: url('../websitepics/banner2.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.inner-banner {
    width: 100%;
    min-height: 30vh;
    background-size: cover;
    position: relative;
}

.text-block {
    width: 80%;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.text-block h1 {
    font-size: 60px;
}

.text-block p {
    font-size: 16px;
}

.btn-primary {
    color: #ffffff;
    display: inline-block;
    text-decoration: none;
    border: 2px solid #ffffff;
    padding: 12px 40px;
    font-size: 15px;
    background: transparent;
    position: relative;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    border-color: transparent;
    background-color: #ffffff;
    color: #000000;
}

/* ==========================================================================
   4. Grid System & Container Layouts
   ========================================================================== */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    color: #ffffff;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    padding: 15px;
}

.col-1  { width: 8.33%; }
.col-2  { width: 16.66%; }
.col-3  { width: 25%; }
.col-4  { width: 33.33%; }
.col-5  { width: 41.66%; }
.col-6  { width: 50%; }
.col-7  { width: 58.33%; }
.col-8  { width: 66.66%; }
.col-9  { width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.66%; }
.col-12 { width: 100%; }

/* ==========================================================================
   5. General Utility & Content Classes
   ========================================================================== */
.featured {
    font-size: 40px;
    color: #ffffff;
    text-align: center;
    padding: 60px 0 40px 0;
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.about {
    font-size: 20px;
}

.p40 {
    padding: 40px 0;
}

/* ==========================================================================
   6. Form Controls
   ========================================================================== */
form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    height: 180px;
    resize: vertical;
}

input[type=submit] {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

input[type=submit]:hover {
    background-color: #ffffff;
    color: #000000;
}

.form-status {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #cccccc;
}

/* ==========================================================================
   7. Services Feature Section
   (the duplicate .service-container / .service-reverse / .service-divider /
   mobile blocks that sat at the bottom of the file are merged in here, using
   the values that were actually being applied)
   ========================================================================== */
.service-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 60px 0;
    padding: 0 40px;
    max-width: 1200px;
}

.service-reverse {
    flex-direction: row-reverse;
}

.service-divider {
    border: 0;
    height: 1px;
    background: #333333;
    margin: 40px auto;
    width: 80%;
}

.service-text {
    flex: 1;
}

.service-text h1 {
    font-size: 2.4rem;
    color: #ffffff;
    margin-bottom: 25px;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 35px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   8. Blog & Products Pages
   ========================================================================== */
.blog-post {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 40px;
}

.blog-post h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.blog-post p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.product-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #333333;
    border-radius: 8px;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================================================
   9. Footer & Copyright
   ========================================================================== */
footer {
    background: #333333;
    padding: 30px 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer ul li {
    list-style: none;
}

.copyright {
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    padding: 5px 0;
}

/* ==========================================================================
   10. Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

@media (max-width: 768px) {
    .fa-bars {
        position: absolute;
        left: 10px;
        top: 37px;
        font-size: 22px;
    }

    .text-block h1 {
        font-size: 36px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 0;
        left: -150px;
        background: #343a40;
        height: 100vh;
        width: 150px;
        text-align: left;
        z-index: 2;
        transition: 0.25s;
    }

    nav .fa-solid {
        display: block;
        color: #ffffff;
        padding: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .service-container,
    .service-reverse {
        flex-direction: column-reverse;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    [class*="col-"] {
        width: 100%;
    }
}
