/* ===========================================
   玛拉诺水晶灯主题 - 完整样式表
   版本: 2.0 | 基于豪华设计稿提取
=========================================== */

/* ===========================================
   1. CSS变量定义（现代化配色方案）
=========================================== */
:root {
    /* 主色调 - 奢华金色系 */
    --primary: #D4AF37; /* 奢华金色 */
    --primary-light: #E8C96A;
    --primary-dark: #B8941F;
    --primary-gradient: linear-gradient(135deg, #D4AF37 0%, #F7EF8A 100%);
    
    /* 辅助色 - 深色背景 */
    --secondary: #1A1A2E; /* 深蓝黑 */
    --secondary-light: #2A2A3E;
    --secondary-gradient: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    
    /* 点缀色 */
    --accent: #C9A96E; /* 浅金色 */
    
    /* 中性色 */
    --light: #F8F5F0; /* 米白 */
    --dark: #121212; /* 纯黑 */
    --gray: #8A8A8A;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    
    /* 功能色 */
    --success: #38a169;
    --warning: #d69e2e;
    --error: #e53e3e;
    
    /* 阴影和效果 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.3);
    --shadow-gold-hover: 0 15px 35px rgba(212, 175, 55, 0.4);
    
    /* 过渡动画 */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 边框圆角 */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50px;
    
    /* 字体 */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* ===========================================
   2. 基础样式重置
=========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================================
   3. 排版样式
=========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

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

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

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

/* ===========================================
   4. 布局工具类
=========================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.8;
}

/* ===========================================
   5. 按钮样式
=========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--secondary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 16px;
}

.btn-sm {
    padding: 12px 28px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* ===========================================
   6. 头部导航栏
=========================================== */
.malano-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.malano-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    color: var(--primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-action-icon {
    position: relative;
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
}

.nav-action-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 5px;
}

/* ===========================================
   7. 英雄区域 (Hero) - 优化居中版
=========================================== */
.malano-hero {
    position: relative;
    height: 100vh; /* 关键：使用视窗高度 */
    min-height: 800px; /* 关键：设置最小高度，防止内容过少时区域太小 */
    display: flex; /* 关键：启用Flexbox */
    flex-direction: column; /* 关键：子元素纵向排列 */
    align-items: center; /* 关键：水平居中 */
    justify-content: center; /* 关键：垂直居中 */
    text-align: center; /* 让内部文本也居中 */
    color: var(--white);
    overflow: hidden;
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.malano-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.malano-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.6) 100%);
    z-index: 1;
}

.malano-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 关键：确保背景图覆盖整个区域且不变形 */
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    max-width: 900px; /* 关键：限制内容最大宽度，防止在大屏幕上过宽 */
    width: 100%; /* 关键：使其宽度适应父容器 */
    padding: 0 30px; /* 关键：增加左右内边距，在小屏幕上提供呼吸空间 */
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 10px 25px;
    border-radius: var(--radius-full);
    border-left: 3px solid var(--primary);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.2);
    z-index: -1;
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 700px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 25px;
    justify-content: center; /* 确保按钮组本身也居中 */
    flex-wrap: wrap; /* 小屏幕上允许按钮换行 */
}

/* ===========================================
   8. 空间展示区域
=========================================== */
.space-showcase {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.space-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(150px, -150px);
}

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

.space-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.space-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.space-img {
    height: 450px;
    overflow: hidden;
    position: relative;
}

.space-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.space-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
    color: var(--white);
    transform: translateY(100px);
    transition: var(--transition);
    opacity: 0;
}

.space-card:hover .space-overlay {
    transform: translateY(0);
    opacity: 1;
}

.space-content {
    padding: 40px;
}

.space-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.space-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
}

.space-content p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ===========================================
   9. 工艺亮点区域
=========================================== */
.craftsmanship {
    background: var(--secondary-gradient);
    color: var(--white);
    position: relative;
}

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

.craftsmanship .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.craft-card {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.craft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.craft-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.craft-card:hover::before {
    opacity: 1;
}

.craft-icon {
    font-size: 56px;
    margin-bottom: 30px;
    color: var(--primary);
    transition: var(--transition);
}

.craft-card:hover .craft-icon {
    transform: scale(1.1) rotate(5deg);
}

.craft-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.craft-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ===========================================
   10. 产品展示区域
=========================================== */
.products {
    background-color: var(--gray-light);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

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

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

.product-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateX(50px);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    transform: translateX(0);
    opacity: 1;
}

.product-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--secondary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-content {
    padding: 30px;
    position: relative;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-category {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-rating {
    color: var(--primary);
    margin-bottom: 20px;
}

/* ===========================================
   11. 客户评价区域
=========================================== */
.reviews {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(-150px, 150px);
}

.review-slider {
    display: flex;
    gap: 40px;
    padding: 20px 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    position: relative;
}

.review-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 420px;
    padding: 50px 40px;
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.review-quote {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 30px;
    opacity: 0.3;
}

.review-text {
    color: var(--gray);
    font-size: 18px;
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.review-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* ===========================================
   12. 联系我们区域
=========================================== */
.contact {
    background: var(--secondary-gradient);
    color: var(--white);
}

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

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.contact-info {
    padding: 40px 0;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--secondary);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
    background: var(--gray-light);
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===========================================
   13. 页脚区域
=========================================== */
.malano-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

.malano-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
    color: var(--white);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary);
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 20px;
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px) rotate(10deg);
}

.newsletter-form {
    margin-top: 30px;
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================================
   14. 动画效果
=========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   15. 响应式设计 (移动端优化)
=========================================== */

/* 大桌面设备 (大于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 平板设备 (768px - 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    
    /* 导航菜单响应式 */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        gap: 30px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero区域调整 */
    .hero-title {
        font-size: 3.2rem;
    }
    
    /* 网格布局调整 */
    .space-grid,
    .craft-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 页脚布局调整 */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* 平板竖屏/大手机 (576px - 767px) */
@media (max-width: 767px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-content {
        padding: 0 20px; /* 在手机上减少左右内边距 */
    }
    
    .hero-title {
        font-size: 2.8rem; /* 确保标题变小后依然居中协调 */
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column; /* 手机上将按钮垂直堆叠 */
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .review-card {
        flex: 0 0 320px;
    }
}

/* 手机设备 (小于576px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 8px 20px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        gap: 30px;
    }
    
    .review-card {
        flex: 0 0 280px;
        padding: 30px 20px;
    }
}

/* 小手机设备 (小于400px) */
@media (max-width: 399px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .craft-card {
        padding: 30px 20px;
    }
    
    .space-img {
        height: 300px;
    }
}

/* ===========================================
   16. 实用工具类
=========================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

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

.align-center {
    align-items: center;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* ===========================================
   17. 打印样式
=========================================== */
@media print {
    .malano-header,
    .hero-btns,
    .product-actions,
    .slider-controls,
    .footer-social,
    .newsletter-form {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}