/*
Theme Name: 雷赞教育官方主题
Theme URI: https://leizan-edu.com
Author: 雷赞教育
Description: 雷赞教育官方网站 - 少儿英语、思维数学、中高考提分、对外汉语
Version: 1.0
License: GPL v2
Text Domain: leizan-edu
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    color: #333;
    background: #fff;
    line-height: 1.7;
}
.container {
    width: 1200px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 15px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}

:root {
    --blue: #2563eb;
    --red: #ef4444;
    --orange: #f97316;
    --green: #10b981;
    --gray: #f8fafc;
    --dark: #1e293b;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
    text-align: center;
}
.btn-blue {
    background: var(--blue);
    color: #fff;
}
.btn:hover {
    opacity: 0.9;
}

.section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 30px;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-title p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* 头部 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 999;
    padding: 18px 0;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--blue);
}
.nav ul {
    display: flex;
    gap: 35px;
}
.nav a {
    font-weight: 500;
    color: #334155;
}
.nav a:hover {
    color: var(--blue);
}

/*  banner */
.banner {
    height: 550px;
    background: linear-gradient(to right, #1e40af, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    margin-top: 80px;
}
.banner h1 {
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.3;
}
.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.banner-content {
    max-width: 600px;
}

/* 课程 */
.course-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.course-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.course-item:hover {
    transform: translateY(-5px);
}
.course-item h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: var(--dark);
}
.course-item p {
    font-size: 14px;
    color: #64748b;
}

.c1 { border-top: 4px solid var(--blue); }
.c2 { border-top: 4px solid var(--red); }
.c3 { border-top: 4px solid var(--orange); }
.c4 { border-top: 4px solid var(--green); }

/* 预约 */
.booking {
    background: var(--gray);
}
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
}
button.btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* 底部 */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 20px;
}
.footer-wrap {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}
.footer h3 {
    margin-bottom: 20px;
    font-size: 18px;
}
.footer li {
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

@media (max-width:768px) {
    .nav { display: none; }
    .course-list { grid-template-columns: repeat(2,1fr); }
    .footer-wrap { grid-template-columns: 1fr 1fr; }
    .banner { height: auto; padding: 80px 0; }
    .banner h1 { font-size: 28px; }
}