/*
Theme Name: Strefa Dofin
Theme URI: https://strefadofin.pl/
Author: Strefa Dofin
Author URI: https://strefadofin.pl/
Description: Motyw WordPress dla serwisu Strefa Dofin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strefadofin
*/

:root {
  --sdf-color-text: #1c2430;
  --sdf-color-muted: #64748b;
  --sdf-color-background: #ffffff;
  --sdf-color-surface: #f6f8fb;
  --sdf-color-primary: #0f766e;
  --sdf-color-primary-dark: #115e59;
  --sdf-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sdf-color-background);
  color: var(--sdf-color-text);
  font-family: var(--sdf-font-body);
  line-height: 1.6;
}

a {
  color: var(--sdf-color-primary);
}

a:hover,
a:focus {
  color: var(--sdf-color-primary-dark);
}

img {
  height: auto;
  max-width: 100%;
}

.site {
  min-height: 100vh;
}

.site-header,
.site-main,
.site-footer {
  margin-inline: auto;
  max-width: 1120px;
  padding: 24px;
}

.site-header {
  border-bottom: 1px solid #e2e8f0;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-description {
  margin: 6px 0 0;
  color: var(--sdf-color-muted);
}

.post,
.page {
  margin-block: 32px;
}

.entry-title {
  margin-block: 0 12px;
  line-height: 1.2;
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
  color: var(--sdf-color-primary);
}

.entry-meta,
.site-footer {
  color: var(--sdf-color-muted);
  font-size: 0.95rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sdf-front-page {
  background: #ffffff;
}

.sdf-home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sdf-home-main {
  margin-inline: auto;
  max-width: 1120px;
  padding: 48px 24px;
}

.sdf-hero {
  display: grid;
  min-height: 460px;
  align-items: center;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(37, 99, 235, 0.08)),
    var(--sdf-color-surface);
  padding: clamp(32px, 6vw, 72px);
}

.sdf-hero-content {
  max-width: 720px;
}

.sdf-eyebrow {
  margin: 0 0 14px;
  color: var(--sdf-color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sdf-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.sdf-hero p:not(.sdf-eyebrow) {
  margin: 24px 0 0;
  max-width: 620px;
  color: #334155;
  font-size: 1.12rem;
}

.sdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 30px;
  border-radius: 6px;
  background: var(--sdf-color-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
}

.sdf-button:hover,
.sdf-button:focus {
  background: var(--sdf-color-primary-dark);
  color: #ffffff;
}

.sdf-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.sdf-check {
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.sdf-check span {
  color: var(--sdf-color-primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.sdf-check h2 {
  margin: 8px 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.sdf-check p {
  margin: 0;
  color: var(--sdf-color-muted);
}

@media (max-width: 760px) {
  .sdf-home-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sdf-home-main {
    padding-top: 28px;
  }

  .sdf-checks {
    grid-template-columns: 1fr;
  }
}
