/*
Theme Name: Hoppel
Theme URI: https://hoppel.pl
Author: Hoppel
Author URI: https://hoppel.pl
Description: Nowoczesna wizytówka firmowa HOPPEL.PL. Czerń, szarość i fiolet. Jednostronicowy szablon z własnym logo, tłem i ikonami kontaktowymi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoppel
Tags: one-page, custom-colors, custom-logo, dark
*/

:root {
  --bg: #050508;
  --bg-soft: #0d0d12;
  --card: #121218;
  --card-border: #2a2238;
  --text: #e8e4ef;
  --muted: #9a93a8;
  --purple: #b57aff;
  --purple-deep: #7c3aed;
  --purple-glow: rgba(181, 122, 255, 0.35);
  --gray: #6b6578;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #d4b3ff;
}

.site-wrap {
  position: relative;
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,8,0.55) 0%, rgba(5,5,8,0.82) 55%, #050508 100%),
    url("assets/images/hero-bg.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: url("assets/images/city-bg.jpg") center bottom/cover no-repeat;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  opacity: 0.35;
  z-index: -1;
}

.logo-wrap {
  margin-bottom: 18px;
}

.logo-img {
  width: min(720px, 92vw);
  height: auto;
  filter: drop-shadow(0 0 28px var(--purple-glow));
}

.tagline {
  font-family: "Cinzel", serif;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 36px;
}

.tagline span {
  color: var(--purple);
}

.hero-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn img,
.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  box-shadow: 0 8px 28px rgba(109, 40, 217, 0.35);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--card-border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.section {
  padding: 72px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-head img,
.icon {
  width: 28px;
  height: 28px;
}

.section-head h2 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
}

.card {
  background: linear-gradient(180deg, rgba(18,18,24,0.92), rgba(10,10,14,0.92));
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 8px 4px;
}

.contact-item .icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(181, 122, 255, 0.08);
  border: 1px solid rgba(181, 122, 255, 0.18);
  display: grid;
  place-items: center;
}

.contact-item .icon-box img {
  width: 22px;
  height: 22px;
}

.contact-item small {
  display: block;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item strong {
  font-weight: 600;
  font-size: 15px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.service {
  text-align: center;
  padding: 22px 12px;
  border-right: 1px solid var(--card-border);
}

.service:last-child {
  border-right: none;
}

.service img {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
}

.service h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer span {
  color: var(--purple);
}

@media (max-width: 860px) {
  .contact-grid,
  .services {
    grid-template-columns: 1fr 1fr;
  }
  .service {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
}

@media (max-width: 560px) {
  .contact-grid,
  .services {
    grid-template-columns: 1fr;
  }
  .tagline {
    letter-spacing: 0.18em;
    font-size: 11px;
  }
  .section {
    padding: 48px 18px;
  }
}
