:root {
  --accent: #e91e63;
  --ink: #121212;
  --muted: #6c7077;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --line: #e6e4df;
  --shadow-soft: 0 12px 40px rgba(17, 17, 17, 0.08);
  --shadow-strong: 0 18px 50px rgba(17, 17, 17, 0.16);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --max: 1200px;
}

@font-face {
  font-family: "Droid Sans Mono";
  src: url("../fonts/droid-sans-mono.regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BaleMono";
  src: url("../fonts/BaleMono-Thin.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

* {
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Droid Sans Mono", "Courier New", monospace;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0.1px;
  line-height: 1.6;
}

h1,
h2,
h3,
.logo,
.section-title {
  font-family: "BaleMono", "Droid Sans Mono", monospace;
  letter-spacing: 0.6px;
}

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}

header,
.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

header.scrolled,
.site-header.scrolled {
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.98);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: lowercase;
  letter-spacing: 0.2px;
  font-weight: 500;
  white-space: nowrap;
}

.logo span {
  color: inherit;
}

.logo::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff url("../img/LogoPNG/Logo_IlumeraVF-01.png") center / 80% no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  letter-spacing: 0.1px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.btn,
.cta {
  box-shadow: 0 10px 26px rgba(233, 30, 99, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:hover,
.cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 32px rgba(233, 30, 99, 0.32);
}

.hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(145deg, #1b1b1b, #0e0e0e 60%);
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/LogoPNG/Logo_IlumeraVF-03.png") right 10% center / 220px no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero h1 {
  font-weight: 300;
  letter-spacing: 0.4px;
  text-wrap: balance;
}

.hero p {
  opacity: 0.9;
}

.hero-placeholder {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(2px);
}

.hero-placeholder::after {
  content: "";
  position: absolute;
  inset: 16px;
  background: url("../img/LogoPNG/Logo_IlumeraVF-02.png") center / 140px no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

section {
  padding: 88px 0;
}

#about .about-box,
form,
.page,
.controls {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section-subtitle {
  color: var(--muted);
  text-align: center;
}

.section-title {
  text-align: center;
}

.about-box {
  text-align: left;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
}

.card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-link:focus-visible {
  outline: 2px solid rgba(233, 30, 99, 0.45);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.card-cta {
  margin-top: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: var(--accent);
}

.card-media {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #f1f1ef;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image-placeholder {
  background-color: #f1f1ef;
  background-size: 120px;
  background-position: center;
  background-repeat: no-repeat;
}

.card:nth-child(1) .card-image-placeholder {
  background-image: url("../img/LogoPNG/Logo_IlumeraVF-04.png");
}

.card:nth-child(2) .card-image-placeholder {
  background-image: url("../img/LogoPNG/Logo_IlumeraVF-05.png");
}

.card:nth-child(3) .card-image-placeholder {
  background-image: url("../img/LogoPNG/Logo_IlumeraVF-06.png");
}

.card:nth-child(4) .card-image-placeholder {
  background-image: url("../img/LogoPNG/Logo_IlumeraVF-07.png");
}

.card-image-placeholder::after {
  content: "Placeholder";
  font-size: 0.7rem;
  letter-spacing: 0.2rem;
  color: rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
}

.card-body {
  text-align: left;
}

.catalog-page {
  padding-bottom: 40px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
  letter-spacing: 0.08rem;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.page-hero {
  padding: 70px 0 40px;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(145deg, #1a1a1a, #0c0c0c 60%);
  color: #f5f4f2;
  text-align: center;
}

.page-hero .container {
  max-width: 900px;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 12px;
  font-weight: 300;
  text-wrap: balance;
}

.page-hero p {
  color: rgba(245, 244, 242, 0.8);
  margin-bottom: 20px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(245, 244, 242, 0.6);
}

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

.catalog-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
  color: var(--muted);
}

.catalog-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.catalog-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.catalog-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.catalog-item figcaption {
  padding: 14px 16px 18px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.catalog-nav {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.catalog-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.catalog-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

input,
textarea {
  background: #fff;
  border: 1px solid #dcd8d1;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.16);
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

footer {
  background: #0f0f0f;
  color: #d3d3d3;
  text-align: center;
  padding: 28px 16px;
}

.preview {
  background: linear-gradient(150deg, #f7f7f5, #ecebe6);
}

.controls .row {
  justify-content: center;
}

.swatch {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swatch:hover {
  transform: translateY(-2px);
}

.chip {
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  section {
    padding: 72px 0;
  }

  .logo::before {
    width: 32px;
    height: 32px;
  }

  .hero::after {
    background-position: center 86%;
  }

  .hero-media {
    border-radius: 16px;
  }

  .nav-wrap {
    justify-content: center;
  }

  nav ul {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-placeholder::after {
    background-size: 110px;
  }

  .card {
    max-width: 100%;
  }

  .catalog-gallery {
    grid-template-columns: 1fr;
  }
}
