/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: #ffffff;
    background: linear-gradient(180deg, #3B2F2F, #1F1A17);
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(31, 26, 23, 0.85);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 20px;
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #E5E7EB;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
    color: #2563EB;
}

/* CTA Button */
.cta-btn {
    background: #2563EB;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #1e40af;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(59, 47, 47, 0.6);
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 600px;
    margin-left: 10%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Image Blocks */
.image-block {
    position: relative;  /* ⭐ 必须加 */
    overflow: hidden;
}

.image-block {
    position: relative;
}

.image-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        transparent
    );
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
/* Footer */
footer {
    background: #1F1A17;
    color: #E5E7EB;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

footer h4 {
    margin-bottom: 20px;
}

footer a {
    color: #E5E7EB;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

footer a:hover {
    color: #2563EB;
}

/* Responsive */
@media(max-width: 992px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #1F1A17;
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }
}
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

p {
    color: #E5E7EB;
}

li {
    color: #E5E7EB;
}
img {
max-width: 100%;
height: auto;
display: block;
}