/*
Theme Name: ICKX
Theme URI: https://ickx.com
Author: ICKX
Description: Minimal artist portfolio theme for ICKX
Version: 1.0
*/

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:  #000000;
  --color-fg:  #ffffff;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter:    18px;
  --logo-top:  32px;
}

html, body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  /* Fix iOS Safari overscroll */
  overflow-x: hidden;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Site Wrapper ──────────────────────────────────────────── */
.site-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Use padding-left/right only, not top – logo spacing handled separately */
  padding: 0 var(--gutter) var(--gutter);
}

/* ─── Content column: matches image width ───────────────────── */
.site-column {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

/* ─── Header / Logo ─────────────────────────────────────────── */
.site-header {
  width: 100%;
  /* More top spacing, matching Designvorlage */
  padding-top: var(--logo-top);
  padding-bottom: 11px; /* ~10% less than before (was 12px) */
}

.site-logo {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.75;
}

.site-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* ─── Slider / Hero block ────────────────────────────────────── */
.hero-block {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slider track */
.hero-slides {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Each slide */
.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-slide video {
  object-fit: cover;
}

/* Photo credit */
.hero-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg);
  opacity: 0.7;
}


/* Invisible prev/next click zones */
.hero-prev,
.hero-next {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  cursor: pointer;
  z-index: 5;
}

.hero-prev { left: 0; }
.hero-next { right: 0; }
/* Slider dots */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 0;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #444;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.hero-dot.active {
  background: #fff;
}

/* Hide dots if only one slide */
.hero-dots:has(.hero-dot:only-child) {
  display: none;
}

/* ─── Main Content (below slider) ───────────────────────────── */
.site-main {
  width: 100%;
}

.content-block {
  padding: 40px 0;
}

.content-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.content-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #cccccc;
}

/* ─── Footer / Social Icons ──────────────────────────────────── */
.site-footer {
  width: 100%;
  padding: 29px 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #ffffff;
  /* Full white, no opacity reduction */
  opacity: 1;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.65;
}

.social-icon svg,
.social-icon img {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  object-fit: contain;
  /* Force white on uploaded PNGs if they use CSS filter */
  filter: brightness(0) invert(1);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 720px) {
  :root {
    --gutter:   24px;
    --logo-top: 40px;
  }
}
