﻿/* ==========================================================================
   LUSHWATER Global Common Styles (common.css)
   ========================================================================== */

:root {
    --primary-blue: #3ea8ff;
    --hover-blue: #2c95ec;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-hover: rgba(255, 255, 255, 0.95);
}

/* ================= 1. Global Reset & Security Protection ================= */
img, video { 
    -webkit-user-drag: none; 
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none; 
    -webkit-touch-callout: none; 
}

/* ================= 2. Sticky Top Navigation Bar ================= */
nav {
    background: rgba(255, 255, 255, 0.95); 
    padding: 12px 60px; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky; 
    top: 0; 
    z-index: 2000;
}

.logo { 
    font-size: 20px; 
    font-weight: 800; 
    color: var(--primary-blue); 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.nav-logo-icon { 
    height: 35px; 
    width: auto; 
}

.mobile-menu-btn { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 26px; 
    color: var(--primary-blue); 
    cursor: pointer; 
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 35px; 
}

.nav-links a { 
    text-decoration: none; 
    color: #555; 
    font-size: 15px; 
    font-weight: 500; 
    transition: color 0.3s; 
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--primary-blue); 
}

/* ================= 3. Navigation Dropdowns ================= */
.dropdown { 
    position: relative; 
    padding: 20px 0; 
}

.dropdown > a:not(.nav-direct-link)::after { 
    content: '\f107'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    margin-left: 6px; 
    font-size: 0.85em; 
    transition: transform 0.3s ease; 
    display: inline-block; 
}

.dropdown:hover > a:not(.nav-direct-link)::after { 
    transform: rotate(180deg); 
    color: var(--primary-blue); 
}

.dropdown-content { 
    visibility: hidden; 
    opacity: 0; 
    position: absolute; 
    top: 100%; 
    left: -20px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(15px); 
    min-width: 220px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
    border-radius: 12px; 
    border: 1px solid rgba(62, 168, 255, 0.2); 
    padding: 10px 0; 
    transform: translateY(15px); 
    transition: all 0.3s; 
    z-index: 2000; 
}

.dropdown:hover .dropdown-content { 
    visibility: visible; 
    opacity: 1; 
    transform: translateY(-10px); 
}

.dropdown-category { 
    padding: 12px 25px 4px; 
    font-size: 12px; 
    font-weight: 800; 
    color: var(--primary-blue); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    cursor: default; 
    opacity: 0.9; 
}

.dropdown-content a { 
    color: #555; 
    padding: 8px 25px; 
    text-decoration: none; 
    display: block; 
    font-size: 14px; 
    transition: all 0.3s ease; 
}

.dropdown-content a:hover { 
    background: rgba(62, 168, 255, 0.08); 
    color: var(--primary-blue); 
    padding-left: 32px; 
}

.dropdown-content .all-products-link { 
    font-weight: 800; 
    color: var(--primary-blue); 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    margin-bottom: 5px; 
    padding-top: 12px; 
    padding-bottom: 12px; 
}

/* ================= 4. Language Selector Dropdown ================= */
.nav-links a.nav-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
    position: relative;
}
.nav-links a.nav-direct-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85em;
    transition: transform 0.3s ease;
    display: inline-block;
}
.nav-links a.nav-direct-link:hover::after {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.lang-switch {
    background: rgba(62, 168, 255, 0.1); 
    padding: 8px 16px; 
    border-radius: 50px; 
    color: var(--primary-blue) !important; 
    font-weight: bold !important; 
    border: 1px solid rgba(62, 168, 255, 0.3);
    display: flex; 
    align-items: center; 
    gap: 6px; 
    transition: all 0.3s ease; 
    cursor: pointer;
}

.lang-switch:hover { 
    background: var(--primary-blue); 
    color: #fff !important; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(62,168,255,0.3); 
}

.lang-dropdown > a::after { 
    display: none; 
}

/* ================= 5. Page Header & Highlights ================= */
.page-header { 
    text-align: center; 
    padding: 70px 20px 40px; 
    color: white; 
}

.page-header h1 { 
    font-size: 2.8rem; 
    font-weight: 900; 
    margin: 0 0 15px 0; 
    letter-spacing: 1px; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.5); 
}

.page-header p { 
    font-size: 1.25rem; 
    color: #ddd; 
    margin: 0 auto; 
    font-weight: 500; 
    max-width: 700px; 
    line-height: 1.5;
}

.highlight-blue { 
    color: var(--primary-blue); 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); 
}

/* ================= 6. Mobile Navigation Responsive Styles ================= */
@media (max-width: 768px) {
    nav { 
        padding: 15px 20px; 
        background: rgba(255, 255, 255, 0.85); 
        backdrop-filter: blur(10px); 
    }
    
    .mobile-menu-btn { 
        display: block; 
    }

    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: rgba(255, 255, 255, 0.98); 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        flex-direction: column; 
        padding: 0; 
        gap: 0; 
    }

    .nav-links.active { 
        display: flex; 
    }

    .nav-links > a, .dropdown > a { 
        display: block; 
        width: 100%; 
        padding: 15px 20px; 
        box-sizing: border-box; 
        text-align: left; 
        font-size: 16px; 
        border-bottom: 1px solid #f0f0f0; 
    }

    .dropdown { 
        width: 100%; 
        padding: 0; 
    }

    .dropdown-content { 
        position: static; 
        width: 100%; 
        box-shadow: none; 
        border-radius: 0; 
        border: none; 
        background: rgba(62, 168, 255, 0.05); 
        padding: 0; 
        transform: none; 
        display: none; 
    }

    .dropdown:hover .dropdown-content { 
        display: block; 
        transform: none; 
    }

    "
.nav-links a.nav-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
    position: relative;
}
.nav-links a.nav-direct-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85em;
    transition: transform 0.3s ease;
    display: inline-block;
}
.nav-links a.nav-direct-link:hover::after {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

".lang-switch { 
        display: inline-flex; 
        justify-content: center; 
        margin: 10px 20px; 
        width: auto; 
        text-align: center; 
    }
}
