/* ===== VARIJABLE ===== */
:root {
  --dark: #0b0908;
  --dark-soft: #171310;
  --dark-card: #1e1815;
  --border: #322a24;
  --text: #f2ebe0;
  --text-muted: #a89c8c;
  --gold: #d4af37;
  --gold-soft: #a98a2e;
  --fire-1: #ffb84d;
  --fire-2: #ff7a30;
  --fire-3: #c62828;
  --radius: 10px;
  --font-head: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.fire-text {
  background: linear-gradient(90deg, var(--fire-1), var(--fire-2) 55%, var(--fire-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow, .eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

/* ===== DUGMAD ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(90deg, var(--fire-2), var(--fire-3));
  color: #fff8ef;
  box-shadow: 0 8px 24px rgba(255, 122, 48, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 122, 48, 0.35); }
.btn-outline {
  background: transparent;
  border-color: var(--gold-soft);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.08); border-color: var(--gold); }
.btn-large { padding: 15px 36px; font-size: 1rem; }
.btn-nav { margin-left: auto; margin-right: 8px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 9, 8, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-crest { width: 26px; height: auto; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand-accent { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 24px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--fire-2), var(--gold));
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 122, 48, 0.16), rgba(198, 40, 40, 0.05) 55%, transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero-crest {
  width: 54px;
  height: auto;
  margin: 0 auto 24px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 22px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== O NAMA ===== */
.about {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark-soft);
}
.about-inner {
  max-width: 720px;
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center;
}
.about-inner .section-eyebrow { text-align: center; }
.about-text {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ===== USLUGE ===== */
.services { padding: 90px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire-2);
  background: rgba(255, 122, 48, 0.1);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--text);
}
.service-desc { color: var(--text-muted); margin: 0 0 18px; }
.service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--fire-2), var(--gold));
}

/* ===== PROCES ===== */
.process {
  padding: 90px 0;
  background: var(--dark-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 10px;
}
.process-step {
  padding: 6px 4px;
}
.process-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-soft);
  margin-bottom: 14px;
}
.process-step h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--text);
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ===== PORTFOLIO ===== */
.portfolio { padding: 90px 0; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 10px;
}
.portfolio-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.portfolio-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }

.browser-mock {
  display: block;
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
}
.browser-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4a4038;
}
.browser-url {
  display: block;
  margin: 0 14px 12px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.browser-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 200px;
  text-align: center;
  padding: 20px;
}
.browser-mock--fit .browser-preview {
  background: radial-gradient(circle at 30% 20%, #2a3a1f, #14150f 70%);
}
.browser-mock--scent .browser-preview {
  background: radial-gradient(circle at 30% 20%, #2c2620, #0f0d0a 70%);
}
.pf-logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #c9e86b;
}
.pf-sub {
  font-size: 0.82rem;
  color: #9fae7a;
  letter-spacing: 0.03em;
}
.pf-logo--scent {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #e9d8a6;
  letter-spacing: 0.14em;
}
.pf-sub--scent { color: #b8a888; }

.portfolio-info { padding: 24px 26px 28px; }
.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 10px;
}
.portfolio-info h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--text);
}
.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 16px;
}
.portfolio-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--fire-2);
  transition: color 0.2s ease;
}
.portfolio-link:hover { color: var(--fire-1); }

/* ===== KONTAKT ===== */
.contact {
  padding: 90px 0 100px;
  background: var(--dark-soft);
  border-top: 1px solid var(--border);
  text-align: center;
}
.contact-inner { max-width: 640px; }
.contact-inner .section-eyebrow { text-align: center; }
.contact-sub {
  color: var(--text-muted);
  margin: 0 0 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.contact-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-value {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  transition: color 0.2s ease;
}
.contact-value:hover { color: var(--gold); }
.contact-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.75;
}

/* ===== FOOTER ===== */
.footer {
  padding: 46px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.brand--footer { justify-content: center; }
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 6px 0;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin: 10px 0 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--dark-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    margin-left: 0;
  }
  .main-nav.is-open { max-height: 320px; }
  .main-nav .nav-link { padding: 10px 0; width: 100%; }
  .btn-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .process-grid { grid-template-columns: 1fr; }
}
