﻿/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Font Style */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Container for layout */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Header */
header {
    background-color: #030303;
    color: #fff;
    padding: 5px 0;
    border-bottom: 2px solid #ff6347;
}

    header .logo {
        height: 50px;
    }

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

    .desktop-nav ul li {
        margin: 0;
    }

        .desktop-nav ul li a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
        }

            .desktop-nav ul li a:hover {
                text-decoration: underline;
            }

/* Menu Toggle Icon (Hamburger Menu) */
.menu-toggle {
    display: none;
    cursor: pointer;
}

    .menu-toggle img {
        width: 30px;
        height: 30px;
    }

/* Mobile Menu (Slide-out Menu) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    transition: width 0.3s ease;
    z-index: 1000;
    overflow-x: hidden;
    padding-top: 60px;
}

    .mobile-menu-overlay.active {
        width: 250px;
    }

    .mobile-menu-overlay nav ul {
        list-style: none;
        padding: 0;
    }

        .mobile-menu-overlay nav ul li {
            margin: 20px 0;
            padding-left: 20px;
        }

            .mobile-menu-overlay nav ul li a {
                color: #fff;
                text-decoration: none;
                font-size: 1.25rem;
                display: block;
            }

.gray-line {
    border: none;
    border-top: 1px solid #d3d3d3;
    margin: 20px 0;
}


.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: #999;
    line-height: 14px;
}

    .breadcrumb a {
        text-decoration: none;
        color: #666;
        transition: color 0.3s ease;
    }

        .breadcrumb a:hover {
            color: #000; /* 鼠标悬停时的颜色 */
        }

    .breadcrumb .separator {
        margin: 0 5px; /* 分隔符的间距 */
        color: #aaa; /* 分隔符颜色 */
    }

    .breadcrumb .current {
        color: #aaa; /* 当前页面颜色 */
    }

.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: white;
    text-align: center;
}

    .share-btn.facebook {
        background-color: #3b5998;
        text-decoration: none;
    }

    .share-btn.twitter {
        background-color: #000;
        text-decoration: none;
    }

    .share-btn.email {
        padding: 0px 12px;
        background-color: #0097db;
        font-size: 20px;
        text-decoration: none;
    }

    .share-btn.pinterest {
        background-color: #E60023; /* Pinterest signature red */
        padding: 5px 15px;
        font-weight: bold;
        border: 2px solid #E60023;
        color: white;
        transition: all 0.3s ease;
        text-decoration: none;
    }

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

    .language-dropdown .dropdown-toggle {
        background-color: transparent;
        color: white;
        border: 1px solid white;
        border-radius: 5px;
        padding: 5px 15px;
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 500;
        text-align: center;
    }

        .language-dropdown .dropdown-toggle:hover {
            background-color: #ff6347;
            color: white;
        }

    .language-dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #030303;
        border: 1px solid #ff6347;
        border-radius: 5px;
        list-style: none;
        padding: 10px 0;
        z-index: 1000;
        width: 100px;
    }

        .language-dropdown .dropdown-menu li {
            text-align: center;
        }

            .language-dropdown .dropdown-menu li a {
                display: block;
                color: white;
                text-decoration: none;
                padding: 5px 10px;
            }

                .language-dropdown .dropdown-menu li a:hover {
                    background-color: #ff6347;
                }

    /* Show dropdown menu on hover for desktop */
    .language-dropdown:hover .dropdown-menu {
        display: block;
    }

/* Media Queries for Mobile */
@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-lang {
        display: none;
    }

    .language-dropdown {
        margin: 20px 0;
        padding-left: 20px;
    }

        .language-dropdown .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left:20px;
            background-color: #030303;
            border: 1px solid #ff6347;
            border-radius: 5px;
            list-style: none;
            padding: 10px 0;
            z-index: 1000;
            width: 100px;
        }

    .language-dropdown .dropdown-toggle {
        font-size: 1rem;
    }
}
