/*
Theme Name: 紅茶大苑 Hero
Theme URI: https://taiwanteas.com
Author: 紅茶大苑
Description: 使用文青泡茶底圖的極簡佈景主題，上方含 Logo 與主選單，適合品牌形象與加盟網站。
Version: 1.0
Text Domain: hongcha-dayuan-hero
*/

:root {
    --hc-main: #0A2A42;
    --hc-accent: #C4A06A;
    --hc-bg: #F7F5F1;
    --hc-text: #222222;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
    color: var(--hc-text);
    background: var(--hc-bg);
    line-height: 1.6;
}

a {
    color: var(--hc-main);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hero header */

.hero-wrap {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0.92), rgba(247,245,241,0.98));
}

.hero-inner {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.2rem 1rem 2.2rem;
}

/* Top bar */

.hero-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    height: 64px;
    width: auto;
}

.site-title-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hc-main);
}

/* Nav */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.4rem;
    font-size: 0.9rem;
}

.main-navigation a {
    color: #444;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--hc-main);
}

/* Hero text */

.hero-text {
    margin-top: 4.2rem;
    max-width: 520px;
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hc-accent);
    margin-bottom: 0.4rem;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    margin: 0 0 0.8rem;
    color: var(--hc-main);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--hc-main);
    background: var(--hc-main);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-btn:hover {
    background: #fff;
    color: var(--hc-main);
}

/* Layout */

.site-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

/* Simple cards */

.card {
    background: #fff;
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    margin-bottom: 1.1rem;
}

.card h2, .card h3 {
    margin-top: 0;
    color: var(--hc-main);
}

/* Footer */

.site-footer {
    background: #0A1723;
    color: #D6DFEA;
    padding: 1.3rem 1rem 1.8rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        row-gap: 0.6rem;
    }
    .hero-text {
        margin-top: 2.4rem;
    }
}

@media (max-width: 600px) {
    .hero-wrap {
        min-height: 360px;
    }
    .hero-title {
        font-size: 1.7rem;
    }
}
