/* 口田福官网样式 - 大气高端风格 */

/* 变量定义 */
:root {
    --primary-color: #2d5a3d;
    --primary-dark: #1e3d29;
    --primary-light: #4a7c5c;
    --gold: #c9a96e;
    --gold-light: #e3cc99;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --bg-cream: #faf8f3;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', 'Microsoft YaHei', serif;
    color: var(--black);
    line-height: 1.8;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* Hero Banner */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-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;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 20px;
    margin-bottom: 10px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    letter-spacing: 15px;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-desc {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    background: var(--gold);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    border: 2px solid var(--gold);
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollDown 2s infinite;
}

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

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(15px); }
}

/* 特色区域 */
.features {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

/* 产品展示区域 */
.products {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
    margin-top: 25px;
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* 关于我们区域 */
.about {
    padding: 120px 0;
    background: var(--bg-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-lead {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 2;
}

.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* 品牌故事区域 */
.story {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.section-header.light .section-title::after {
    background: var(--gold);
}

.story-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.timeline-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.timeline-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.timeline-text h4 {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 15px;
}

.timeline-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* 联系我们区域 */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-cream);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 32px;
}

.contact-text h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 16px;
    color: var(--gray);
}

.contact-form {
    background: var(--bg-cream);
    padding: 50px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* 底部区域 */
.footer {
    padding: 80px 0 30px;
    background: var(--black);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 16px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-slogan {
    color: var(--gold) !important;
    font-size: 14px !important;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--gold);
}

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

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid,
    .products-grid,
    .story-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 56px;
        letter-spacing: 10px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 8px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .products-grid,
    .story-timeline {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-btn {
        padding: 12px 30px;
    }
}

