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

:root {
    --pearl-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --rose-gold: #D4AF8F;
    --charcoal: #2C2C2C;
    --transition: all 0.3s ease;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--charcoal);
    background-color: var(--pearl-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--rose-gold);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

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

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--rose-gold);
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.slide-content {
    position: relative;
    text-align: center;
    color: white;
    background-color: rgba(44, 44, 44, 0.6);
    padding: 40px 60px;
    border-radius: 2px;
    max-width: 700px;
    backdrop-filter: blur(5px);
}

.slide-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 400;
}

.slide-content p {
    font-size: 20px;
    letter-spacing: 2px;
}

.section-title {
    text-align: center;
    margin: 80px 0 40px;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--charcoal);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.collection-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.collection-item:hover .collection-img {
    transform: scale(1.05);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 25px;
}

.collection-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 500;
}

.collection-info p {
    font-size: 14px;
    opacity: 0.9;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0 60px;
}

.category-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid var(--rose-gold);
    color: var(--charcoal);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    font-family: inherit;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--rose-gold);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.gallery-item {
    height: 350px;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.style-intro {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--charcoal);
}

.style-section {
    margin-bottom: 80px;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.style-card {
    background-color: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.style-card:hover {
    transform: translateY(-5px);
}

.style-card-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.style-card-content {
    padding: 25px;
}

.style-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.style-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.inspiration-item {
    height: 300px;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

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

.inspiration-item:hover .inspiration-img {
    transform: scale(1.05);
}

footer {
    background-color: var(--charcoal);
    color: var(--pearl-white);
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    font-size: 16px;
    letter-spacing: 1px;
}

.page-content {
    margin-top: 100px;
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slide-content {
        padding: 30px 40px;
    }

    .collections-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
        margin: 60px 0 30px;
    }

    .category-nav {
        margin: 30px 0 40px;
    }

    .style-intro {
        font-size: 16px;
        margin: 30px auto 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .collection-item {
        height: 300px;
    }

    .gallery-item {
        height: 250px;
    }
}