/*
Theme Name: Doména na prodej
Author: Codex
Description: Jednoduchá responzivní jednostránková šablona pro nabídku domény k prodeji.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: domena-na-prodej
*/

:root {
  --ink: #132722;
  --muted: #5c6d67;
  --cream: #f7f3e8;
  --paper: #fffdf7;
  --accent: #df5e3e;
  --accent-dark: #b94228;
  --lime: #dcefb8;
  --line: rgba(19, 39, 34, 0.14);
  --shadow: 0 24px 70px rgba(29, 53, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 16%, rgba(220, 239, 184, 0.72), transparent 30rem),
    radial-gradient(circle at 94% 78%, rgba(223, 94, 62, 0.10), transparent 28rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(19, 39, 34, 0.08);
  border-radius: 50%;
  content: "";
  position: absolute;
  right: -8rem;
  top: -9rem;
}

.site-header,
.hero,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 28px;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link {
  border-bottom: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(44px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  min-height: calc(100vh - 174px);
  padding-block: clamp(44px, 8vh, 92px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.13em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(223, 94, 62, 0.13);
  content: "";
  height: 8px;
  width: 8px;
}

.domain-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 9vw, 7.7rem);
  font-weight: 500;
  letter-spacing: -0.072em;
  line-height: 0.88;
  margin: 0;
  overflow-wrap: anywhere;
}

.domain-name .dot {
  color: var(--accent);
}

.description {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  margin: 30px 0 0;
  max-width: 36rem;
}

.contact-card {
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 48px);
  position: relative;
}

.contact-card::after {
  border: 1px solid rgba(19, 39, 34, 0.14);
  border-radius: 28px;
  content: "";
  inset: 10px -10px -10px 10px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.price-label,
.contact-label {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  color: var(--accent-dark);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.25vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-top: 6px;
  white-space: nowrap;
}

.divider {
  background: var(--line);
  border: 0;
  height: 1px;
  margin: 30px 0;
}

.contact-intro {
  font-size: 1rem;
  margin: 0 0 21px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  align-items: center;
  background: var(--ink);
  border-radius: 14px;
  color: #fff;
  display: flex;
  gap: 14px;
  min-height: 58px;
  padding: 12px 17px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.contact-item:focus-visible,
.header-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(223, 94, 62, 0.4);
  outline-offset: 4px;
}

.contact-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.contact-icon svg {
  height: 18px;
  width: 18px;
}

.contact-value {
  font-size: 0.96rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.76rem;
  justify-content: space-between;
  padding-block: 24px 30px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 44px 72px;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .contact-card {
    max-width: 34rem;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .header-link {
    font-size: 0.82rem;
  }

  .domain-name {
    font-size: clamp(3.1rem, 18vw, 5.2rem);
  }

  .contact-card::after {
    inset: 7px -7px -7px 7px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-item {
    transition: none;
  }
}

