﻿/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7f6;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(to bottom, white, #007BFF);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .header h1 {
        font-family: 'Arial', sans-serif;
        font-weight: 900;
        font-size: 3.5rem;
        text-transform: capitalize;
        color: #FFFFFF;
        letter-spacing: 1.5px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 10px;
    }


.logo-img {
    display: block;
    margin-left: auto;
    margin-right: auto; 
    max-width: 20%;
    height: auto;
    object-fit: contain;
}

.product-group {
    background-color: #f8f8f8;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    font-weight: bold;
}

    .product-group:hover {
        background-color: #ddd;
    }


.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding-top: 17px;
}

.product-box {
    background-color: #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 220px;
    height: 265px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

    .product-box div {
        margin-bottom: 10px;
    }

    .product-box strong {
        font-size: 16px;
        margin-bottom: 10px;
    }

.out-of-stock {
    color: red;
    font-weight: bold;
    font-size: 14px;
}

.discount {
    color: green;
    font-weight: bold;
    font-size: 14px;
}

/* Footer */
.footer {
    background: linear-gradient(to top, white, #007BFF);
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    bottom: 0;
}

.product-group-title {
    width: 100%;
    padding: 15px;
    font-size: 1.4em;
    text-align: left;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.button-container {
    /*display: flex;
    flex-direction: column;*/
    gap: 20px;
    /*max-width: 950px;*/
    width: 100%;
    text-align: center;
    padding: 0 20px;
    display: inline-block;
    padding-bottom: 20px;
}

.large-button {
    margin: 5px;
    padding: 30px;
    font-size: 22px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 20%;
    box-sizing: border-box;
    float: left;
}

    .large-button:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }


    .large-button:focus {
        outline: none;
        border: 2px solid #0056b3;
    }

.branch-details {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 18px;
    color: #333;
}

.branch-details {
    font-size: 20px;
    color: #007bff;
}

    .branch-details span {
        display: block; 
        font-size: 16px;
        color: #333;
        margin-top: 8px; 
    }

    
    .branch-details:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border-color: #007bff;
    }

@media (max-width: 540px) {
    .button-container {
        width: 90%;
    }

    .large-button {
        font-size: 18px;
        padding: 25px;
        width: 100%;
    }
    .branch-details {
        width: 90%;
        padding: 15px;
    }

    .branch-details {
        font-size: 18px; 
    }

    .header h1 {
        font-family: 'Arial', sans-serif;
        font-weight: 900;
        font-size: 1rem;
        text-transform: capitalize;
        color: #FFFFFF;
        letter-spacing: 1.5px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 10px;
    }

}


@media screen and (min-width: 540px) and (max-width: 780px) {
    

    .large-button {
        font-size: 18px;
        padding: 25px;
        width: 100%;
    }

   
    .header h1 {
        font-family: 'Arial', sans-serif;
        font-weight: 900;
        font-size: 1.5rem;
        text-transform: capitalize;
        color: #FFFFFF;
        letter-spacing: 1.5px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 10px;
    }
}

