/* ----------------------------------------------------
   RESET
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f2f5f7;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
}

/* ----------------------------------------------------
   HEADERS
---------------------------------------------------- */
h1 {
    font-size: 2rem;
    margin: 40px 0;
    color: #003a60;
    text-align: center;
}

h2 {
    color: #003a60;
    text-align: center;
    margin: 12px 0 24px;
}

/* ----------------------------------------------------
   NAVBAR - DESKTOP
---------------------------------------------------- */
.topnavLarge {
    background: #005387;
    padding: 12px 20px;
}

.bpv-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.bpv-button {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s;
}

    .bpv-button:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.largeScreenNav select {
    padding: 6px 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
}

/* ----------------------------------------------------
   NAVBAR - MOBILE
---------------------------------------------------- */
.topnav {
    display: none;
    flex-direction: column;
    background: #005387;
    padding: 12px;
}

    .topnav a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
    }

        .topnav a:hover {
            background: rgba(255,255,255,0.2);
        }

    .topnav .icon {
        font-size: 26px;
        align-self: flex-end;
        color: #fff;
    }

/* ----------------------------------------------------
   FIRST PAGE CONTENT
---------------------------------------------------- */
.bpv-firstpage-content {
    flex: 1;
    padding: 20px;
    text-align: center;
}

/* ----------------------------------------------------
   PRODUCTS PAGE LAYOUT
---------------------------------------------------- */
.productsPage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.productPage {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .productPage:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
    }

    .productPage img {
        width: 100%;
        height: 180px;
        object-fit: contain;
        background-color: #f2f5f7; /* matches page bg, adds neutral padding */
    }

    /*.productPage h2 {
        padding: 16px 12px;
        font-size: 1.25rem;
        color: #003a60;
        flex-grow: 1;
    }*/

    .productPage h2 {
        padding: 3px 6px;
        font-size: 1.25rem;
        color: #003a60;
        flex-grow: 1;
    }


/* ----------------------------------------------------
   PRODUCT PAGE LAYOUT
---------------------------------------------------- */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .product:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
    }

    .product img {
        width: 100%;
        height: 180px;
        object-fit: contain;
        background-color: #f2f5f7; /* matches page bg, adds neutral padding */
    }

    .product h2 {
        padding: 16px 12px;
        font-size: 1.25rem;
        color: #003a60;
        flex-grow: 1;
    }
/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: max-content;
    height: max-content;
    background: black;
    z-index: 9999;
}

    .fullscreen img {
        max-width: 100%;
        max-height: 100%;
        display: block;
        margin: auto;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: auto;
}


.modal-content {
    width: 100%;
    height: 110%;
    overflow: auto;
    background-color: white;
}

    .modal-content img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        align-content: center;
    }


.close {
    color: black;
    font-size: 200%;
    font-style: normal;
    font-weight: 900;
}

    .close:hover,
    .close:focus {
        color: red;
        text-decoration: none;
        cursor: pointer;
    }

video {
    width: 90%;
    height: 30%;
}



/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
    margin-top: auto;
    bottom: 3%;
    display: table-row;
    font-size: 0.9rem;
    width: 100%;
    height: 5%;
    text-align: center;
}

/* Visitor counter */
#visitor-counter {
    margin-top: 10px;
}

/* ----------------------------------------------------
   RESPONSIVE RULES
---------------------------------------------------- */
@media (max-width: 768px) {
    .topnavLarge {
        display: none;
    }

    .topnav {
        display: flex;
    }
}

@media (min-width: 769px) {
    .topnav {
        display: none;
    }
}
