/* Pale Black Gold Theme */
:root {
    --gold-light: #f3e5ab;
    --gold: #d4af37;
    --gold-dark: #aa8a2e;
    --black-pale: #1a1a1a;
    --black-deep: #0a0a0a;
    --text-gray: #a0a0a0;
    --text-light: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black-deep);
    color: var(--text-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black-deep);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--black-deep);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://tse-mm.bing.com/th?q=威尼斯企业总部') center/cover no-referrer;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--text-gray);
    animation: fadeInUp 1.2s ease;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* Home - Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-img img {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

.stat-item h4 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

/* Home - News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--black-pale);
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: 0.3s;
}

.news-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.news-date {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.news-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Home - Latest Online */
.online-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.online-item {
    text-align: center;
    background-color: var(--black-pale);
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.online-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 1px solid var(--gold);
}

.online-item h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.online-item p {
    font-size: 10px;
    color: var(--text-gray);
}

/* Home - Dynamics */
.dynamics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.dynamic-item {
    background-color: var(--black-pale);
    padding: 15px;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
}

.dynamic-item p {
    font-size: 13px;
    margin-bottom: 5px;
}

.dynamic-item span {
    font-size: 10px;
    color: var(--text-gray);
}

/* Products Page */
.filter-bar {
    background-color: var(--black-pale);
    padding: 30px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.filter-group select, .filter-group input {
    width: 100%;
    background-color: var(--black-deep);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    padding: 10px;
    outline: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--black-pale);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* About Page */
.history-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.history-year {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
    min-width: 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-img {
    aspect-ratio: 3/4;
    background-color: #222;
    margin-bottom: 20px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
}

.team-card:hover img {
    filter: grayscale(0%);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background-color: var(--black-pale);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    padding: 15px;
    margin-bottom: 20px;
    outline: none;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item h4 {
    margin-bottom: 10px;
}

.info-item p {
    font-size: 14px;
    color: var(--text-gray);
}

#map {
    height: 300px;
    background-color: #222;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Footer */
footer {
    background-color: var(--black-deep);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    font-size: 12px;
    color: var(--text-gray);
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--black-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid, .product-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .online-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .dynamics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .intro-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .filter-bar {
        grid-template-columns: 1fr;
    }
}
