/* ---------------- GLOBAL RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.5;
}
.main-heading {
  text-align: center;
  font-family: 'Anton', sans-serif; /* matches bold theme */
  font-size: 2.5rem;
  background-color: #222; /* dark background */
  color: #fff; /* white text */
  padding: 20px;
  margin: 0 auto 20px auto;
  max-width: 100%;
  line-height: 1.3;
  border-radius: 8px; /* optional: soft rounded edges */
  letter-spacing: 1px;
}
/* ---------------- HEADER ---------------- */
header {
    text-align: center;
    padding: 20px 10px;
}

header h1 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* ---------------- TOP BAR ---------------- */
.top-bar {
    background-color: #1c1c1c;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* Distributor text */
.top-bar .distributor {
    color: #a6e22e;
    font-weight: bold;
}

/* CLICK HERE button */
.top-bar .click {
    color: #fff;
    background-color: #0078d7;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    margin-right: auto;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.top-bar .click:hover {
    background-color: #005fa3;
}

/* Phone button */
.top-bar .phone {
    color: #fff;
    background-color: #a6e22e;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.top-bar .phone:hover {
    background-color: #1e7e34;
}

/* ---------------- BANNER ---------------- */
.banner-container {
    position: relative;
    width: 100%;
    text-align: left;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.logo-overlay {
    position: absolute;
    top: 40px;
    left: 60px;
    width: 300px;
    max-width: 90%;
    z-index: 2;
}

.install-note {
    position: absolute;
    bottom: 20px;
    left: 60px;
    background-color: #1c1c1c;
    color: #a6e22e;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* ---------------- DIVIDER ---------------- */
.divider {
    height: 30px;
    background-color: #fff;
    border-top: 5px solid #ccc;
    margin-top: 20px;
}

/* ---------------- LENGTHS SECTION ---------------- */
.lengths {
    padding: 0;
    margin: 0;
    background-color: #f8f8f8;
}

.lengths img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* ---------------- REAL LIFE APPLICATIONS ---------------- */
.applications {
    margin: 60px auto;
    padding: 50px 25px;
    max-width: 1400px;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.applications h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.applications p {
    font-size: 17px;
    color: #555;
    margin-bottom: 40px;
}

/* Image grid */
.app-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Image boxes */
.app-img-box {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    cursor: pointer;
}

.app-img-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
    image-rendering: high-quality;
}

/* Hover effects */
.app-img-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.app-img-box:hover img {
    transform: scale(1.08);
}

/* ---------------- LIGHTBOX ---------------- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
}

/* Lightbox image */
.lightbox-img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.close:hover {
    color: #bbb;
}

/* Navigation arrows */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 35px;
    transition: 0.3s ease;
    user-select: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Position arrows */
.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* ---------------- FOOTER ---------------- */
.footer {
    background-color: #1c1c1c;
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9rem;
    border-top: 3px solid #a6e22e;
}

.footer p {
    margin: 0;
    letter-spacing: 0.5px;
}


/* ---------------- LARGE TABLETS & SMALL LAPTOPS ---------------- */
@media screen and (max-width: 1024px) {

    /* Banner adjustments */
    .logo-overlay {
        width: 220px;
        top: 25px;
        left: 30px;
    }

    .install-note {
        left: 30px;
        font-size: 0.95rem;
        padding: 8px 16px;
    }

    /* Applications section */
    .app-images {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .app-img-box img {
        height: 320px;
    }

    /* Lightbox image for mid-sized screens */
    .lightbox-img {
        max-width: 92%;
        max-height: 75%;
    }
}

/* ---------------- TABLETS ---------------- */
@media screen and (max-width: 768px) {

    /* Header adjustments */
    header h1 {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    /* Top bar buttons stack better */
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .top-bar .click,
    .top-bar .phone {
        margin: 5px 0;
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    /* Logo smaller */
    .logo-overlay {
        width: 180px;
        top: 20px;
        left: 20px;
    }

    /* Install note */
    .install-note {
        left: 20px;
        bottom: 15px;
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    /* Applications section */
    .applications {
        padding: 35px 20px;
    }

    .applications h2 {
        font-size: 26px;
    }

    .applications p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .app-img-box img {
        height: 260px;
    }

    /* Lightbox for tablets */
    .lightbox-img {
        max-width: 95%;
        max-height: 70%;
    }

    .prev,
    .next {
        font-size: 28px;
        padding: 10px;
    }

    .close {
        font-size: 32px;
        top: 10px;
        right: 20px;
    }
}

/* ---------------- MOBILE DEVICES ---------------- */
@media screen and (max-width: 480px) {

    /* Header adjustments */
    header h1 {
        font-size: 1.1rem;
        padding: 0 8px;
    }

    /* Top bar buttons */
    .top-bar {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .top-bar .click,
    .top-bar .phone {
        width: 90%;
        font-size: 0.85rem;
        padding: 10px;
    }

    /* Banner logo and note */
    .logo-overlay {
        width: 140px;
        top: 15px;
        left: 15px;
    }

    .install-note {
        left: 15px;
        bottom: 10px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    /* Applications section */
    .applications {
        padding: 25px 15px;
    }

    .applications h2 {
        font-size: 22px;
    }

    .applications p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .app-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .app-img-box img {
        height: auto;
        max-height: 220px;
    }

    /* Lightbox for mobile */
    .lightbox-img {
        max-width: 95%;
        max-height: 65%;
    }

    .prev,
    .next {
        font-size: 24px;
        padding: 8px;
    }

    .close {
        font-size: 28px;
        top: 8px;
        right: 15px;
    }
}

