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

html, body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: url(Images/bgfig.png) no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: transparent;
}

.header .logo {
    flex: 0 0 auto;
}

.header img {
    width: 200px;
    height: auto;
}

.header .search-bar {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header .search-bar input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    width: 250px;
}

.header nav {
    flex: 0 0 auto;
    display: flex; /* Show navigation by default on desktop */
}

.header nav a {
    margin: 0 10px;
    text-decoration: none;
    color: black;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    position: relative;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.header nav a:hover {
    color: white;
    background-color: black;
    border-radius: 5px;
    padding: 5px 15px;
}

.logo video {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px;
}

.search-bar input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 400px;
}

.search-bar {
    flex-grow: 1;
    margin: 0 20px;
}

nav#desktop-menu a {
    margin: 0 10px;
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

nav#desktop-menu a:hover {
    color: white;
    background-color: black;
    border-radius: 5px;
}

/* Burger Menu */
.burger-menu {
    font-size: 30px;
    cursor: pointer;
    display: none; /* Hidden by default */
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Mobile Menu */
#mobile-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #000;
    padding: 10px;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#mobile-menu a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #FFF;
    text-align: center;
    transition: background-color 0.3s;
}

#mobile-menu a:hover {
    background-color: #f0f0f0;
}

/* Product Collection */
.product-collection {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product {
    width: 300px;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}

.product p {
    margin: 10px 0;
    font-size: 16px;
    color: #ddd;
}

.product:hover {
    transform: scale(1.05);
}

/* Collections Section */
.collections {
    text-align: center;
    margin: 40px 0;
}

.collections h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.more-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.more-link:hover {
    background-color: #444;
}

footer {
    background-color: transparent;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

footer p {
    color: #555;
    font-family: 'Abhaya Libre', serif;
}

footer .social-icons a {
    display: inline-block;
}

footer .social-icons img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
}

/* Media Queries for Mobile and Tablet */
@media only screen and (max-width: 1024px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar input {
        width: 80%;
    }

    nav#desktop-menu {
        display: none; /* Hide desktop nav on tablet and mobile */
    }

    .burger-menu {
        display: block; /* Show burger menu on tablet and mobile */
    }

    #mobile-menu {
        display: none; /* Initially hidden */
    }

    .search-bar {
        width: 100%;
        margin-left: auto;
    }

    .logo video {
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.3);
        padding: 10px;
        width: 30%;
    }

    .product {
        width: 300px;
        background-color: #333;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        transition: transform 0.3s ease;
    }
}

@media only screen and (min-width: 1025px) {
    .burger-menu {
        display: none; /* Hide burger menu on desktop */
    }

    nav#desktop-menu {
        display: flex; /* Show desktop navigation */
    }
}
