/* Fotokeramika Perković — clean stylesheet */

:root {
  --plum: #2b0628;
  --plum-dark: #1f021d;
  --plum-card: #3a1737;
  --cream: #f4f0e8;
  --cream-2: #ebe4d8;
  --gold: #d2b45f;
  --gold-light: #e0c878;
  --text-muted: #766f70;
  --line: rgba(43, 6, 40, 0.14);
  --max: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.lightbox-open { overflow: hidden; }

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

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

button,
input,
textarea { font: inherit; }

.container {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  color: #fff;
  background: var(--plum);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.site-header .logo img {
  width: 29px;
  height: 35px;
  object-fit: contain;
}

.footer .logo img {
  width: 29px;
  height: 35px;
  object-fit: contain;
}

.logo b,
.logo small {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
}

.logo b {
  font-size: 19px;
  line-height: 1;
  letter-spacing: 1.4px;
}

.logo small {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.menu a {
  position: relative;
  padding: 25px 0;
  color: #d9cbd6;
  font-size: 14px;
  font-weight: 700;
}

.menu a:hover,
.menu a.active { color: #fff; }

.menu a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 1px;
  background: var(--gold);
}

#menu-toggle,
.menu-btn { display: none; }

/* Shared typography */

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.section { padding: 92px 0; }

/* Buttons and links */

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  color: var(--plum);
  background: var(--gold-light);
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.btn-gold::after {
  content: "→";
  font-size: 15px;
}

.text-link {
  padding-bottom: 6px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 700;
}

/* Home — hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 606px;
  color: #fff;
  background-color: var(--plum);
  background-image:
    radial-gradient(
      ellipse 850px 620px at 108% 72%,
      rgba(93, 24, 89, 0.34),
      transparent 68%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 606px;
  align-items: center;
}

.hero-copy { padding: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-dynamic-title {
  max-width: 650px;
  margin: 22px 0;
  font-size: clamp(38px, 4.8vw, 66px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -2.8px;
}

.hero-dynamic-title span,
.hero-dynamic-title em,
.hero-dynamic-title small {
  display: inline-block;
  animation: hero-text-in 0.7s ease-out both;
}

.hero-dynamic-title em {
  color: var(--gold-light);
  font-style: italic;
  animation-delay: 0.08s;
}

.hero-dynamic-title small {
  display: block;
  max-width: 590px;
  margin-top: 14px;
  color: #f2eaf0;
  font-family: inherit;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.35px;
  animation-delay: 0.16s;
}

@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}

.checks {
  display: flex;
  gap: 26px;
  margin-top: 30px;
  color: #bdaeb9;
  font-size: 11px;
}

.checks span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold);
}

.hero-art {
  position: relative;
  display: flex;
  min-height: 606px;
  align-items: center;
  justify-content: center;
  transform: translateX(12px);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(210, 180, 95, 0.48);
  border-radius: 50%;
}

.hero-art::before {
  width: 410px;
  height: 410px;
  transform: translateY(-18px);
}

.hero-art::after {
  width: 370px;
  height: 370px;
  border-color: rgba(210, 180, 95, 0.18);
  transform: translateY(-18px);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 380px;
  object-fit: contain;
  transform: translateY(-18px);
}

.hero-orb,
.hero-orb2,
.hero-orb3,
.hero-disc {
  position: absolute;
  border-radius: 50%;
}

.hero-orb {
  width: 650px;
  height: 650px;
  top: -300px;
  left: calc(50% - 225px);
  z-index: 0;
  background: rgba(109, 25, 104, 0.38);
}

.hero-orb2 {
  width: 180px;
  height: 180px;
  bottom: -10px;
  left: 120px;
  background: rgba(107, 26, 101, 0.34);
}

.hero-orb3 {
  width: 118px;
  height: 118px;
  top: 112px;
  left: 385px;
  z-index: 0;
  background: rgba(109, 25, 104, 0.32);
}

.hero-disc {
  width: 340px;
  height: 400px;
  z-index: 1;
  background: rgba(48, 0, 47, 0.55);
}

.experience {
  position: absolute;
  right: 0;
  bottom: 115px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  color: var(--plum);
  background: #f8f4ec;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.experience i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-style: normal;
}

.experience small {
  display: block;
  color: #91888d;
  font-size: 8px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.experience strong {
  display: block;
  margin-top: 2px;
  font: 400 16px Georgia, serif;
}

/* Home — about */

.about { background: var(--cream); }

.about-wide { display: block; }

.about-wide > .label {
  display: block;
  margin-bottom: 24px;
}

.about-copy-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: none;
  color: #756f71;
  font-size: 14px;
}

.about-dynamic h2 {
  grid-column: 1 / -1;
  max-width: 1050px;
  margin: 0 0 20px;
  color: var(--plum);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -3px;
}

.about-dynamic h2 em {
  color: var(--gold);
  font-style: italic;
}

.about-dynamic p {
  margin: 0;
  max-width: 900px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
}

.about-dynamic .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

/* Home — products */

.products { background: var(--cream-2); }

.section-top {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 35px;
}

.section-top h2 {
  margin: 16px 0 0;
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2.4px;
}

.section-top p {
  max-width: 330px;
  margin: 0 0 8px;
  color: #837b7d;
  font-size: 12px;
}

.product-grid,
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  overflow: hidden;
  background: #fff;
}

.product-image {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: var(--plum);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-meta {
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.product-meta strong {
  font: 400 19px Georgia, serif;
}

.product-meta span {
  color: #888083;
  font-size: 9px;
  text-transform: uppercase;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(43, 6, 40, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

/* Product image lightbox */

.lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #f5e9d0;
  background: rgba(43, 24, 43, 0.88);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.2s ease;
  pointer-events: none;
}

.product-card:hover .zoom-hint,
.lightbox-trigger:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 20, 0.92);
}

.lightbox img {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 4;
  width: 44px;
  height: 44px;
  color: #f5e9d0;
  background: rgba(43, 24, 43, 0.7);
  border: 1px solid rgba(245, 233, 208, 0.35);
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 3;
  color: #f5e9d0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  transform: translateX(-50%);
}

/* Home — pricing */

.pricing {
  color: #fff;
  background: var(--plum);
}

.pricing .label { color: var(--gold-light); }

.pricing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.pricing-head > div:first-child { flex: 1; }

.downloads {
  display: flex;
  gap: 8px;
}

.download {
  padding: 11px 15px;
  color: var(--gold-light);
  border: 1px solid rgba(210, 180, 95, 0.55);
  font-size: 10px;
  font-weight: 700;
}

.pricing-machine-note {
  margin: 14px 0 0;
  color: #a99aa6;
  font-size: 10px;
}

.pricing-machine-note a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-card {
  padding: 24px;
  background: var(--plum-card);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.price-card h3 {
  margin: 0 0 15px;
  color: #e2c87d;
  font-size: 22px;
  font-weight: 400;
}

.price-card table {
  width: 100%;
  border-collapse: collapse;
}

.price-card th,
.price-card td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 10px;
  text-align: left;
}

.price-card th {
  color: #988b95;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-card th:nth-child(2),
.price-card th:nth-child(3),
.price-card td:nth-child(2),
.price-card td:nth-child(3) {
  text-align: right;
}

.price-card th:nth-child(3) {
  max-width: 145px;
  padding-left: 12px;
}

.price-card td:first-child {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.price-card td:nth-child(2),
.price-card td:nth-child(3) {
  padding-right: 18px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

/* Home — location and contact */

.location { background: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 75px;
  align-items: center;
}

.location h2 {
  margin: 17px 0 30px;
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
}

.loc-item {
  display: flex;
  gap: 14px;
  margin: 18px 0;
}

.loc-icon,
.contact-row .circle {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.loc-icon {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--gold);
  border: 1px solid var(--line);
}

.loc-item b {
  display: block;
  font-size: 12px;
}

.loc-item span {
  display: block;
  margin-top: 2px;
  color: #857e80;
  font-size: 11px;
}

.map {
  height: 335px;
  background: #ddd;
  border: 1px solid #ddd5ca;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  color: #fff;
  background: var(--plum);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 110px;
  align-items: center;
}

.contact h2 {
  margin: 18px 0;
  font-size: 57px;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -2px;
}

.contact-list {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row {
  display: grid;
  grid-template-columns: 35px 70px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row .circle {
  width: 28px;
  height: 28px;
  color: var(--gold-light);
  border: 1px solid rgba(210, 180, 95, 0.6);
  font-size: 11px;
}

.contact-row small {
  color: #93838f;
  font-size: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: 12px;
}

.contact-row > span {
  color: var(--gold-light);
  text-align: right;
}

/* Footer */

.footer {
  padding: 20px 0;
  color: #a99aa6;
  background: var(--plum-dark);
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.footer .logo b,
.footer .logo small { color: var(--gold-light); }

.footer-center {
  font-size: 11px;
  text-align: center;
}

.footer-right { text-align: right; }

.top-link {
  margin-left: 18px;
  font-size: 10px;
}

/* Inner pages */

.page-shell {
  min-height: calc(100vh - 68px);
  background: var(--cream);
}

.page-hero {
  padding: 90px 0;
  color: #fff;
  background: var(--plum);
}

.page-hero h1 {
  margin: 18px 0;
  font-size: 72px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -3px;
}

.page-hero h1 em {
  color: var(--gold-light);
}

.page-hero p {
  max-width: 600px;
  color: #cbbfc7;
  font-size: 14px;
}

.page-section { padding: 85px 0; }

.formats-grid { gap: 16px; }

.format-card {
  color: #fff;
  background: var(--plum);
}

.format-card .product-image { height: 330px; }

.format-card .product-meta {
  color: var(--plum);
  background: #fff;
}

.simple-table {
  width: 100%;
  color: #fff;
  background: var(--plum-card);
  border-collapse: collapse;
}

.simple-table th,
.simple-table td {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11px;
  text-align: left;
}

.simple-table th {
  color: #9c8d99;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.simple-table th:last-child,
.simple-table td:last-child {
  text-align: right;
}

.simple-table td:last-child {
  color: var(--gold-light);
  font-weight: 700;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.form {
  padding: 35px;
  background: #fff;
}

.form label {
  display: block;
  margin-bottom: 17px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.form button { border: 0; }

.location-page-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.dark-card {
  padding: 32px;
  color: #fff;
  background: var(--plum);
}

.dark-card h2 {
  margin: 12px 0 28px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.dark-card p {
  color: #cbbfc7;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 900px) {
  .container { width: min(calc(100% - 34px), var(--max)); }

  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
  }

  .menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
  }

  .menu {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 18px;
    background: var(--plum);
  }

  .menu a {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
  }

  .menu a.active::after { bottom: 5px; }

  #menu-toggle:checked ~ .menu { display: flex; }

  .hero,
  .hero-grid { min-height: auto; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 45px 0 55px;
  }

  .hero-art {
    min-height: 430px;
    transform: none;
  }

  .hero-art::before {
    width: 330px;
    height: 330px;
    transform: none;
  }

  .hero-art::after {
    width: 295px;
    height: 295px;
    transform: none;
  }

  .hero-portrait {
    width: 270px;
    height: 326px;
    transform: none;
  }

  .hero-orb {
    width: 300px;
    height: 300px;
    top: 35px;
    right: 5px;
    left: auto;
  }

  .hero-orb2 {
    width: 145px;
    height: 145px;
    right: 185px;
    bottom: 0;
    left: auto;
  }

  .hero-orb3 {
    width: 82px;
    height: 82px;
    top: 92px;
    right: 20px;
    left: auto;
  }

  .hero-disc {
    width: 245px;
    height: 300px;
  }

  .experience {
    right: 0;
    bottom: 60px;
  }

  .about-copy-full {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-dynamic h2 {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -2px;
  }

  .about-dynamic p {
    font-size: 16px;
  }

  .section-top,
  .pricing-head {
    grid-template-columns: 1fr;
    display: grid;
    gap: 25px;
  }

  .product-grid,
  .formats-grid,
  .price-grid,
  .location-grid,
  .contact-grid,
  .contact-page-grid,
  .location-page-grid {
    grid-template-columns: 1fr;
  }

  .product-image,
  .format-card .product-image { height: 300px; }

  .contact-row {
    grid-template-columns: 32px 55px 1fr 15px;
  }

  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-row > .logo { display: none; }

  .footer-center,
  .footer-right { text-align: center; }

  .top-link { margin-left: 10px; }

  .page-hero { padding: 70px 0; }

  .page-hero h1 {
    font-size: 64px;
  }
}

@media (max-width: 760px) {
  .hero-dynamic-title {
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -1.8px;
  }

  .hero-dynamic-title small {
    font-size: 17px;
    line-height: 1.25;
  }
}

@media (max-width: 700px) {
  .about-copy-full { grid-template-columns: 1fr; }
  .lightbox { padding: 20px; }

  .lightbox img {
    max-width: 94vw;
    max-height: 82vh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .zoom-hint {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }

  .site-header .logo img {
    width: 29px;
    height: 35px;
  }

  .logo b { font-size: 16px; }
  .logo small { font-size: 9px; }

  .hero-grid { padding-top: 30px; }

  .hero-art { min-height: 360px; }

  .hero-art::before {
    width: 290px;
    height: 290px;
  }

  .hero-art::after {
    width: 255px;
    height: 255px;
  }

  .hero-portrait {
    width: 235px;
    height: 284px;
  }

  .hero-orb {
    width: 260px;
    height: 260px;
    top: 35px;
    right: -5px;
  }

  .hero-orb2 {
    width: 125px;
    height: 125px;
    right: 150px;
  }

  .hero-orb3 {
    width: 68px;
    height: 68px;
    top: 78px;
    right: 12px;
  }

  .hero-disc {
    width: 215px;
    height: 260px;
  }

  .hero-dynamic-title { font-size: 50px; }

  .experience {
    right: 0;
    bottom: 35px;
  }

  .checks {
    flex-direction: column;
    gap: 8px;
  }

  .section { padding: 70px 0; }

  .section-top h2,
  .pricing h2,
  .contact h2,
  .about h2,
  .location h2 {
    font-size: 47px;
  }

  .product-grid,
  .formats-grid { grid-template-columns: 1fr; }

  .price-card th,
  .price-card td { font-size: 9px; }

  .price-card th { font-size: 7px; }
  .price-card th:nth-child(3) { max-width: 120px; }

  .price-card td:first-child { font-size: 13px; }

  .price-card td:nth-child(2),
  .price-card td:nth-child(3) { font-size: 13px; }

  .pricing-machine-note { font-size: 9px; }

  .page-hero h1 { font-size: 59px; }

  .dark-card h2 { font-size: 43px; }
}
