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

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    /* Add background image to the body */
    background-image: url('images/page_header_background.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure content is readable on top of the background */
    background-attachment: fixed; /* Optional: Keeps the background fixed during scrolling */
}

.logo img {
    width: 80px;
    height: auto;
}

/* Header and Navigation */
header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    /* Transparent Background */
    background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.lang-switcher button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-switcher button.active {
    background-color: #007bff;
    color: #fff;
}

.lang-switcher button:hover {
    background-color: #ddd;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 4rem 2rem;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Sections (General Styling) */
section {
    padding: 4rem 2rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Products Section (Example) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: center;
}

.product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
     .nav-links a{
         display: block;
         width: 100%;
     }

    .lang-switcher {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }

    .logo img {
        width: 40px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
    section {
        padding: 2rem 1rem;
    }
}