﻿/* Reset some default styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-image: url('../image/admin.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Header Styles */
header {
    color: #FFF8DC;
    padding: 40px 10px;
    text-align: center;
    position: relative;
    height: 100px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.logo {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 120px;
    height: 120px;
    transition: transform 0.3s ease-in-out;
}

    .logo:hover {
        transform: scale(1.1) rotate(5deg);
    }

nav ul {
    list-style-type: none;
    text-align: center;
}

    nav ul li {
        display: inline-block;
        margin-right: 20px;
        position: relative;
    }

        nav ul li a {
            text-decoration: none;
            color: #fff;
            font-weight: bold;
            transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
            display: block;
            padding: 10px;
            position: relative;
            overflow: hidden;
        }

            nav ul li a::before, nav ul li a::after {
                content: "";
                position: absolute;
                width: 100%;
                height: 2px;
                background-color: #ffd700;
                transition: transform 0.3s ease-in-out;
            }

            nav ul li a::before {
                top: 0;
                left: 0;
                transform: scaleX(0);
                transform-origin: top left;
            }

            nav ul li a::after {
                bottom: 0;
                right: 0;
                transform: scaleX(0);
                transform-origin: bottom right;
            }

            nav ul li a:hover::before {
                transform: scaleX(1);
                transform-origin: top right;
            }

            nav ul li a:hover::after {
                transform: scaleX(1);
                transform-origin: bottom left;
            }

            nav ul li a:hover {
                color: #DCDCDC; /* Change text color on hover */
                background-color: rgba(255, 255, 255, 0.1); /* Add a slight background color on hover */
            }

/* Product Section Styles */
.product-section {
    padding: 20px 0;
    text-align: center;
    
}

.centered-heading {
    text-align: center;
    font-family: Arial, serif;
    font-size: 2em;
    color: #8B4513;
    margin: 20px 0;
}

.photocontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    
}

.product {
    background-color: #fff;
    width: 300px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .product img {
        width: 100%;
        height: contain;
        border-radius: 5px;
    }

.product-info {
    padding: 10px 0;
}

    .product-info h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .product-info p {
        margin: 5px 0;
    }

        .product-info p:first-child {
            font-weight: bold;
        }

        .product-info p:last-child {
            font-style: italic;
        }

/* Footer Styles */
footer {
    position: page;
    bottom: 0;
    width: 100%;
    background-color: #778899;
    color: #FFF8DC;
    padding: 20px 0;
    text-align: center;
}

    footer ul {
        list-style-type: none;
    }

        footer ul li {
            display: inline-block;
            margin-right: 10px;
            color: #000000; /* Change the color to black */
        }

            footer ul li a {
                text-decoration: none;
                color: #FFF8DC; /* Change the link color to black */
                font-weight: bold;
            }

                footer ul li a:hover {
                    color: #00FF7F;
                }

/* Responsive Styles */
@media screen and (max-width: 768px) {
    nav ul {
        text-align: center;
    }

        nav ul li {
            display: block;
            margin: 10px 0;
        }

    .dropdown {
        display: block;
        text-align: center;
    }

    nav ul li:hover .dropdown {
        display: none;
    }
}
