@charset "utf-8";

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

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* ── Wrapper ── */
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Nagłówek ── */
.site-header {
    width: 980px;
    display: flex;
    height: 89px;
}

.header-logo {
    width: 273px;
    height: 89px;
    background: url(../images/images2_02_01.jpg) no-repeat left top;
    flex-shrink: 0;
}

.header-mid {
    flex: 1;
    background: url(../images/bg6.jpg) repeat-x center;
}

.header-date {
    width: 360px;
    background: url(../images/bg6.jpg) repeat-x center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    line-height: 20px;
    text-align: right;
}

/* ── Główny układ ── */
.main-layout {
    width: 980px;
    display: flex;
    align-items: flex-start;
}

/* ── Siatka przycisków ── */
.buttons-grid {
    display: grid;
    grid-template-columns: 208px 207px 208px 207px;
}

/* ── Przyciski graficzne z efektem hover ── */
.btn {
    display: block;
    line-height: 0;
    overflow: hidden;
}

.btn img {
    display: block;
    transition: transform 0.18s ease,
                filter 0.18s ease,
                box-shadow 0.18s ease;
}

.btn:hover img {
    transform: scale(1.07);
    filter: brightness(1.13) saturate(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
    position: relative;
    z-index: 10;
}

/* ── Wiersz wyszukiwarki Google ── */
.google-row {
    grid-column: span 4;
    height: 109px;
    display: flex;
    align-items: center;
    padding-left: 6px;
    gap: 10px;
}

.google-row form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-row img {
    flex-shrink: 0;
}

.google-row input[type="text"] {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 460px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.google-row input[type="text"]:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.google-row input[type="submit"] {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    padding: 5px 14px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.google-row input[type="submit"]:hover {
    background: #e0e0e0;
}

/* ── Komórka kursów walut (rowspan 2) ── */
.kursy-cell {
    grid-column: 1;
    grid-row: 6 / 8;
    padding-top: 18px;
    font-weight: bold;
}

.footer-links {
    margin-top: 10px;
    font-weight: normal;
    padding-left: 4px;
    line-height: 20px;
}

/* ── Prawa kolumna (pogoda) ── */
.right-column {
    width: 150px;
    flex-shrink: 0;
    padding-top: 12px;
}

/* ── Linki globalne ── */
a:link,
a:visited {
    color: #666;
    text-decoration: none;
}

a:hover {
    color: #09f;
}

a:active {
    color: #666;
}
