* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

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

/* Navbar - Fixed for bilingual */
.navbar {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.navbar h1 {
    font-size: 1.3rem;
    margin: 0;
}

.navbar h1 a {
    color: white;
    text-decoration: none;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s;
    text-align: center;
    line-height: 1.3;
    display: block;
    min-width: 80px;
}

.navbar a:hover {
    background: rgba(255,255,255,0.1);
}

.navbar a.active {
    background: #3498db;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Home page grid */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.home-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.home-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Section styles */
.section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

/* Day Tabs */
.day-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 80px;
    padding: 1rem 0.5rem;
    background: #e0e0e0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.2s;
    color: #666;
}

.tab-btn:hover {
    background: #d0d0d0;
}

.tab-btn.active {
    background: #3498db;
    color: white;
    font-weight: bold;
}

.day-content {
    min-height: 400px;
}

.day-title {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    font-size: 1.5rem;
}

/* Schedule */
.task-item {
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #e74c3c;
}

.task-time {
    font-weight: bold;
    color: #e74c3c;
    font-size: 0.9rem;
}

.task-content {
    margin-top: 0.3rem;
}

.task-content .zh {
    font-size: 1.05rem;
}

.task-content .en {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Rules */
.rule-item {
    padding: 1rem;
    margin: 0.8rem 0;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.rule-item .zh {
    font-size: 1.1rem;
    font-weight: 500;
}

.rule-item .en {
    color: #666;
    margin-top: 0.3rem;
}

/* Notes */
.note-card {
    background: #e7f3ff;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.note-card h3 {
    color: #1976D2;
    margin-bottom: 0.5rem;
}

.note-card .photo {
    margin: 1rem 0;
}

.note-card .photo img {
    max-width: 100%;
    border-radius: 4px;
}

.note-content {
    margin-top: 0.5rem;
}

.note-content .zh {
    font-size: 1.05rem;
}

.note-content .en {
    color: #555;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* Recipes */
.recipe-card {
    background: #f3e5f5;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
}

.recipe-card h3 {
    color: #7b1fa2;
    margin-bottom: 0.5rem;
}

.recipe-card .youtube-link {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin: 0.5rem 0;
}

.recipe-card .youtube-link:hover {
    background: #cc0000;
}

.recipe-section {
    margin-top: 1rem;
}

.recipe-section h4 {
    color: #555;
    margin-bottom: 0.5rem;
}

.recipe-section ul, .recipe-section ol {
    margin-left: 1.5rem;
}

.recipe-section li {
    margin: 0.3rem 0;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .navbar h1 {
        font-size: 1.1rem;
    }

    .navbar a {
        min-width: 65px;
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 1.5rem;
    }

    .home-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tab-btn {
        min-width: 60px;
        font-size: 0.85rem;
        padding: 0.8rem 0.3rem;
    }
}
