/* ELEGANCE - 高端服装品牌官网 */

/* 全局样式 */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #c8a97e;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #888888;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

/* 品牌故事按钮特殊样式 */
.story-btn {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.story-btn:hover {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

/* 移动端品牌故事按钮样式 - 增强优先级 */
@media (max-width: 768px) {
    .brand-story .btn-outline.story-btn {
        border: 1px solid var(--secondary-color) !important;
        color: var(--secondary-color) !important;
        padding: 10px 25px;
        font-size: 13px;
        background-color: transparent !important;
    }
    
    .brand-story .btn-outline.story-btn:hover,
    .brand-story .btn-outline.story-btn:active {
        border-color: var(--accent-color) !important;
        color: var(--accent-color) !important;
        background-color: transparent !important;
        transform: translateY(-2px) !important;
    }
}

.btn-outline:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .btn-outline {
        border: 1px solid var(--primary-color) !important;
        color: var(--primary-color) !important;
        padding: 10px 25px;
        font-size: 13px;
        transition: all 0.3s ease !important;
    }
    
    .btn-outline:hover,
    .btn-outline:active,
    .btn-outline:focus {
        border-color: var(--accent-color) !important;
        color: var(--accent-color) !important;
        background-color: transparent !important;
        transform: translateY(-2px) !important;
    }
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-accent:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    transition: var(--transition);
}

.header.scrolled .logo a {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.header.scrolled .nav-link {
    color: var(--primary-color);
}

.nav-link:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background-color: var(--primary-color);
}

/* 英雄区域 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--secondary-color);
    width: 80%;
    max-width: 800px;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-description {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 页面头部 */
.page-header {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    font-size: 48px;
    text-align: center;
}

/* 关于我们 */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-description {
    margin-bottom: 30px;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-title {
    font-size: 36px;
}

.products-grid {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 40px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.products-grid::-webkit-scrollbar {
    height: 8px;
}

.products-grid::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}

.products-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    margin: 0 40px;
}

.product-item {
    width: 30%;
    min-width: 280px;
    scroll-snap-align: start;
    flex: 0 0 auto;
    margin: 0 1.66%;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .products-grid {
        gap: 15px;
        padding: 20px 20px 20px 10px;
        margin: 0;
        scroll-padding: 0 20px 0 10px;
        justify-content: flex-start;
    }
    
    .product-item {
        width: 80%;
        min-width: 200px;
        margin: 0 10px 0 0;
    }

    .products-grid::-webkit-scrollbar-track {
        margin: 0 20px 0 10px;
    }
}

.product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--secondary-color);
    transform: translateY(100%);
    transition: var(--transition);
}

.product-item:hover .product-overlay {
    transform: translateY(0);
}

.product-title {
    font-size: 20px;
    margin-bottom: 5px;
}

.product-category {
    font-size: 14px;
    color: var(--accent-color);
}

/* 品牌故事 */
.brand-story {
    padding: 120px 0;
    position: relative;
    background: url('https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
}

.brand-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.story-text {
    flex: 1;
    padding: 60px;
    color: var(--secondary-color);
}

.story-image {
    flex: 1.5;  /* 加宽图片区域 */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.story-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.story-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.story-subtitle {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.story-title {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.story-description {
    margin-bottom: 30px;
    color: var(--secondary-color);
    line-height: 1.8;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .story-content {
        gap: 40px;
    }
    
    .story-text {
        padding: 40px;
    }
    
    .story-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .brand-story {
        padding: 80px 0;
    }
    
    .story-content {
        flex-direction: column;
    }
    
    .story-text {
        padding: 30px;
    }
    
    .story-image {
        margin-top: 40px;
        width: 100%;
    }
}

/* 新闻区域 */
.news {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-title {
    font-size: 36px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.news-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 页脚区域 */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: var(--medium-gray);
    font-size: 14px;
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--accent-color);
}

.footer-form {
    display: flex;
    margin-top: 20px;
}

.footer-form input {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.footer-form button {
    padding: 10px 15px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.footer-form button:hover {
    background-color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        color: var(--primary-color);
    }
    
    .hamburger {
        display: block;
        z-index: 1000;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}