/* ---- Dark theme shared styles ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #242325;
    color: #e0ddd5;
    font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.container {
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #e0ddd5;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 em { color: #d4a76a; }

h3 {
    font-family: 'Merriweather', Georgia, serif;
    color: #e0ddd5;
    margin-bottom: 16px;
}

hr {
    width: 60px;
    border: none;
    border-top: 3px solid #d4a76a;
    margin: 0 auto 36px;
}

/* ---- Navigation cards ---- */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-items: center;
    width: 100%;
    margin-bottom: 32px;
}

.nav-card {
    display: inline-block;
    background: #333236;
    color: #e0ddd5;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 18px 36px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
    border: 1px solid #4a4950;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212,167,106,0.15), 0 2px 6px rgba(0,0,0,0.2);
    color: #d4a76a;
    background: #3e3d43;
}

/* ---- Weather section ---- */
.weather-card {
    width: 100%;
    display: flex;
    justify-content: center;
}
.weather-card .weather-inner {
    background: #d4c5a9;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15);
    border: 1px solid #4a4950;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.weather-card .weather-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3a3530;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.weather-card .weather-content {
    width: 100%;
    text-align: center;
}
.weather-card .weather-content table,
.weather-card .weather-content td,
.weather-card .weather-content tr {
    text-align: left;
}
