/* ============================================================
   Christine Cosmetics – Black & Gold Design System
   ============================================================ */

:root {
  --bg:           #0b0b0f;
  --surface:      #12121a;
  --surface2:     #161622;
  --gold:         #d4af37;
  --gold-light:   #f1d889;
  --text:         #f2f2f2;
  --muted:        #b9b9c3;
  --border:       rgba(242, 242, 242, 0.12);
  --border-gold:  rgba(212, 175, 55, 0.35);
  --radius:       18px;
  --radius-lg:    26px;
  --shadow:       0 18px 50px rgba(0, 0, 0, 0.5);
  --container:    1160px;
  --nav-h:        68px;
  --transition:   0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.75rem; }
h1, h2, h3, h4 {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  margin: 0;
  text-wrap: balance;
}
button { cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── Skip link ── */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 9999;
  padding: 10px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  transform: translateY(-200%); transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Container ── */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ── Eyebrow ── */
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px;
  border-radius: 14px; border: 1px solid var(--border);
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.04em;
  background: rgba(18, 18, 26, 0.9); color: rgba(242, 242, 242, 0.92);
  cursor: pointer; white-space: nowrap;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-gold {
  border-color: rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0b0b0f;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}
.btn-gold:hover {
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-ghost {
  background: rgba(18, 18, 26, 0.55);
  border-color: rgba(242, 242, 242, 0.18);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--border-gold); background: rgba(22, 22, 34, 0.75); }

.btn-sm { padding: 9px 14px; border-radius: 12px; font-size: 0.84rem; }
.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(11, 11, 15, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 20px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-dot {
  width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.14);
}
.brand-name {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-weight: 600; font-size: 1.1rem; color: var(--text);
  letter-spacing: 0.01em;
}

/* Desktop nav */
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  padding: 9px 12px; border-radius: 11px; font-size: 0.93rem;
  color: rgba(242, 242, 242, 0.88);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--gold); background: rgba(212, 175, 55, 0.08); }
.nav-link:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.5); outline-offset: 2px; }

/* Hamburger */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  border: 1px solid var(--border); background: rgba(18, 18, 26, 0.8);
  color: var(--gold);
}
.nav-toggle:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.55); outline-offset: 2px; }
.hamburger-icon {
  display: block; position: relative; width: 18px; height: 12px;
}
.hamburger-icon::before, .hamburger-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--gold); border-radius: 999px;
}
.hamburger-icon::before { top: 0; box-shadow: 0 5px 0 var(--gold); }
.hamburger-icon::after  { bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative; width: 100%; min-height: 100vh; overflow: hidden;
}

/* Swiper */
.hero-swiper { position: absolute; inset: 0; z-index: 0; }
.hero-swiper .swiper-wrapper { height: 100vh; }
.hero-swiper .swiper-slide {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
}
.hero-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.82) saturate(0.9);
  transition: transform 8s ease;
}
.hero-swiper .swiper-slide-active img { transform: scale(1.06); }
.swiper-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,15,0.22) 0%, rgba(11,11,15,0.55) 100%);
}

.hero-swiper .swiper-pagination-bullet { background: rgba(242,242,242,0.5); }
.hero-swiper .swiper-pagination-bullet-active { background: var(--gold); }

/* Hero copy overlay */
.hero-copy {
  position: absolute; z-index: 10;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(580px, calc(100% - 48px));
  padding: 40px 36px;
  background: rgba(11, 11, 15, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 4px;
  text-align: center;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08; color: var(--text); font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  margin-bottom: 0;
}
.hero-lead {
  margin: 16px 0 0; font-size: 1rem; line-height: 1.65;
  color: rgba(242,242,242,0.88);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-ctas {
  margin-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }

.section-head.center { text-align: center; margin-bottom: 56px; }
.section-head.center h2 { margin-top: 8px; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--text); }
.section-lead { margin: 12px auto 0; max-width: 500px; color: var(--muted); }

/* Categories */
.kategoriak-section { background: var(--surface); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius);
  background: rgba(22, 22, 34, 0.75);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.45);
  background: rgba(26, 26, 38, 0.9);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.cat-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.cat-card-top {
  display: flex; align-items: center; justify-content: space-between;
}
.cat-icon {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.12); color: var(--gold);
  font-size: 1.1rem;
}
.cat-arrow { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
.cat-card h3 { font-size: 1.05rem; color: var(--text); }
.cat-card p  { margin: 0; font-size: 0.9rem; color: var(--muted); }

.cat-card-cta {
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(212,175,55,0.1), rgba(22,22,34,0.75));
  border-color: rgba(212,175,55,0.28);
}

/* Rólunk */
.rolunk-section {
  background: linear-gradient(180deg,
    rgba(11,11,15,1) 0%,
    rgba(18,18,26,0.5) 100%);
}
.rolunk-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 64px; align-items: center;
}
.rolunk-copy .section-head { margin-bottom: 0; }
.rolunk-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--text); margin-bottom: 20px; }
.rolunk-text {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(242,242,242,0.88); margin-bottom: 28px;
}
.inline-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.feature-panel {
  display: flex; flex-direction: column; gap: 0;
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(18,18,26,0.7);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow);
}
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(242,242,242,0.07);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.12); color: var(--gold); font-size: 1.1rem;
}
.feature-title {
  display: block; font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 1rem; color: var(--text); margin-bottom: 4px;
}
.feature-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Kapcsolat */
.kapcsolat-section {
  background: var(--surface);
  border-top: 1px solid rgba(212,175,55,0.12);
}
.kapcsolat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(22,22,34,0.75); border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.4);
  background: rgba(26,26,38,0.88);
}
.contact-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.22);
  color: var(--gold); font-size: 1.05rem;
}
.contact-meta { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
}
.contact-value { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.maps-btn { margin-top: 8px; align-self: flex-start; }

.map-panel {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: var(--shadow); min-height: 400px;
}
.map-panel iframe {
  width: 100%; height: 100%; min-height: 400px; border: 0;
  display: block;
  filter: grayscale(1) contrast(1.1) brightness(0.72);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(11,11,15,0.92);
  border-top: 1px solid rgba(212,175,55,0.18);
  padding: 52px 0 20px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(242,242,242,0.07);
}
.footer-brand-col {
  display: flex; flex-direction: column; gap: 6px;
}
.footer-name {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 1.15rem; font-weight: 600; color: var(--text);
}
.footer-tagline { font-size: 0.88rem; color: var(--muted); }
.footer-fb { font-size: 0.88rem; color: var(--gold); margin-top: 4px; }
.footer-fb:hover { text-decoration: underline; }

.footer-nav, .footer-contact-col {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-nav-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 4px;
}
.footer-nav a, .footer-contact-col a, .footer-contact-col span {
  font-size: 0.9rem; color: rgba(242,242,242,0.8);
}
.footer-nav a:hover, .footer-contact-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 20px; text-align: center;
  font-size: 0.82rem; color: var(--muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .rolunk-grid { grid-template-columns: 1fr; gap: 40px; }
  .kapcsolat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 499;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px; background: rgba(18,18,26,0.97);
    border-bottom: 1px solid rgba(212,175,55,0.18);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 13px 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px 22px; }
  .hero-copy h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* Scroll margin so sections aren't hidden under sticky nav */
#kategoriak, #rolunk, #kapcsolat { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cat-card, .contact-card { transition: none; }
  .hero-swiper .swiper-slide-active img { transform: none; }
}
