/* 糖心vlog 品牌官网样式表 */
:root {
    --primary-color: #ff6b81;
    --secondary-color: #f39c12;
    --text-color: #333;
    --bg-color: #fff;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
    --border-color: #ddd;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

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

header {
    background: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s;
}

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

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
}

.search-box button {
    padding: 5px 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.banner {
    background: url('/assets/images/banner.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content {
    max-width: 600px;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

.card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
    background: #000;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover img {
    transform: scale(1.05);
    opacity: 0.7;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    display: none;
    pointer-events: none;
}

.video-card:hover .play-btn {
    display: block;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.faq-item h3 {
    cursor: pointer;
    color: var(--secondary-color);
}

.testimonial-item {
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-qrcode {
    display: flex;
    gap: 20px;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

@media (max-width: 768px) {
    header .container, .footer-content {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 20px;
    }
    .banner h1 {
        font-size: 2rem;
    }
}
