:root {
    --bg-color: #fafafa;
    --text-color: #1a1a2e;
    --accent-color: #00599d;
    --header-bg: #ffffff;
    --nav-hover: #adc5e7;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Nav */
.main-header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.lang-switch {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-weight: 500;
    font-size: 1rem;
    color: #94a3b8;
}

.lang-switch a {
    text-decoration: none;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.lang-switch a.active {
    color: var(--accent-color);
    font-weight: 700;
}

.lang-switch a:hover {
    color: var(--accent-color);
}


.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.logo p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: var(--nav-hover);
    color: var(--accent-color);
}

/* Main Content */
.content-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

/* Articles and text */
.content-container p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

/* Clocks Section Integration (Bottom Widget Style) */
.clocks-wrapper {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 2rem;
    color: #f8fafc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.clocks-wrapper h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.clocks-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.clock-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clock-card .city-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.canvas-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 0.8rem;
}

.digital-time {
    font-size: 1.2rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sun-status {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.8);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

/* Footer */
.main-footer {
    background-color: var(--header-bg);
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: 0.95rem;
}
