/* ===== Travel Tips & Essentials - Private Styles ===== */
/* Used only on travel_tips.html; depends on main.css variables */

.tips-page {
    background: var(--light-bg-alt);
}

.tips-section {
    padding: 80px 0;
}

.tips-section-alt {
    padding: 80px 0;
    background: var(--white);
}

.tips-section .section-title,
.tips-section-alt .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.tips-section .section-title span,
.tips-section-alt .section-title span {
    color: var(--red);
}

/* ===== PAGE HERO OVERRIDE ===== */
.page-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)),
                url('/static/skin/images/lvxing.jpg') center/cover no-repeat;
    height: 300px;
}

.page-hero h1 {
    font-size: 56px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.content-block h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.content-block p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.content-block ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

/* ===== KEY FACTS CARD ===== */
.key-facts-card {
    background: var(--dark);
    color: var(--light-bg-alt);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.key-facts-card h3 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 24px;
}

.fact-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

.fact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fact-label {
    font-weight: 600;
    color: var(--red);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.fact-value {
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* ===== SEASON CARDS ===== */
.season-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.season-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.season-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.season-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.season-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.season-card .temp {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.season-card h4 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--dark);
}

.season-card p,
.season-card li {
    font-size: 14px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.season-card ul {
    margin-left: 20px;
}

/* ===== GRID CARDS ===== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tip-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-card-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.tip-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.tip-card p {
    font-size: 15px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

/* ===== APP CARDS ===== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.app-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.app-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark);
}

.app-card p {
    font-size: 15px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

/* ===== LANGUAGE CARDS ===== */
.phrase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.phrase-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--red);
}

.phrase-english {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.phrase-chinese {
    font-size: 24px;
    color: var(--red);
    margin-bottom: 8px;
}

.phrase-pinyin {
    font-size: 14px;
    color: var(--gray-500);
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

/* ===== DO'S AND DON'TS ===== */
.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dos-column,
.donts-column {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.dos-column {
    border-top: 4px solid var(--green);
}

.donts-column {
    border-top: 4px solid #ef4444;
}

.dos-column h3 {
    color: var(--green);
    font-size: 24px;
    margin-bottom: 20px;
}

.donts-column h3 {
    color: #ef4444;
    font-size: 24px;
    margin-bottom: 20px;
}

.dos-column li,
.donts-column li {
    margin-bottom: 15px;
    line-height: 1.7;
    list-style: none;
    padding-left: 30px;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.dos-column li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
    font-size: 20px;
}

.donts-column li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
    font-size: 20px;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    transition: background 0.3s;
    font-family: 'Inter', sans-serif;
    gap: 16px;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s;
    color: var(--red);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
}

.faq-answer p {
    line-height: 1.8;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

/* ===== CTA BUTTONS OVERRIDE ===== */
.cta-section .btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-section .btn-primary {
    background: var(--red);
    color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
}

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

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1279px) {
    .season-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cards,
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tips-section,
    .tips-section-alt {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .tips-section .section-title,
    .tips-section-alt .section-title {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .two-column,
    .dos-donts {
        grid-template-columns: 1fr;
    }

    .season-grid,
    .grid-cards,
    .app-grid,
    .phrase-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 24px;
    }

    .faq-answer,
    .faq-item.active .faq-answer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cta-section .btn {
        width: 100%;
    }
}
