/*
Theme Name: Eni HR
Theme URI: https://www.eni.hr/
Author: MJUZA
Author URI: https://www.mjuza.hr/
Description: Moderna WordPress tema za službenu stranicu pjevačice Eni Jurišić.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: eni-hr
*/

:root {
  --ink: #101214;
  --graphite: #24282c;
  --paper: #f6f2e8;
  --chalk: #fffdf7;
  --sand: #d8bd76;
  --sun: #f15a3b;
  --blue: #0e82bd;
  --line: rgba(16, 18, 20, 0.16);
  --white-line: rgba(255, 255, 255, 0.28);
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.eni-site {
  min-height: 100vh;
  overflow: hidden;
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  color: var(--chalk);
  display: grid;
  align-items: end;
  padding: 112px 0 92px;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 52% 30%;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 10, 0.74) 0%, rgba(7, 9, 10, 0.32) 46%, rgba(7, 9, 10, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 9, 10, 0.74) 0%, rgba(7, 9, 10, 0.04) 48%, rgba(7, 9, 10, 0.42) 100%);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
}

.logo-link {
  display: inline-flex;
  width: 190px;
  min-width: 156px;
}

.logo-link img {
  width: 100%;
  height: auto;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--white-line);
  background: rgba(12, 14, 16, 0.3);
  backdrop-filter: blur(18px);
}

.primary-menu a,
.menu-toggle {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.primary-menu a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--white-line);
  background: rgba(12, 14, 16, 0.34);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.kicker {
  margin: 0 0 16px;
  color: var(--sand);
  font-size: 0.88rem;
  font-weight: 800;
}

.kicker.dark {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 5.7rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 22px;
  font-size: 3.2rem;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1.12;
}

.hero-lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--sun);
  color: white;
}

.button.secondary {
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.dark-button,
.form-button {
  background: var(--ink);
  color: white;
}

.hero-ribbon {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  width: min(760px, calc(100% - 40px));
  border: 1px solid var(--white-line);
  background: rgba(10, 12, 14, 0.4);
  backdrop-filter: blur(18px);
}

.hero-ribbon span {
  min-height: 58px;
  padding: 16px;
  border-right: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-ribbon span:last-child {
  border-right: 0;
}

.release-section,
.bio-section,
.booking-section {
  padding: 108px 0;
  background: var(--paper);
}

.release-grid,
.bio-grid,
.booking-grid,
.listen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.release-copy p,
.section-heading p,
.feature-track p,
.track-card p,
.bio-copy p,
.booking-copy p,
.visual-band p {
  color: rgba(16, 18, 20, 0.74);
  font-size: 1rem;
  line-height: 1.75;
}

.release-copy > p {
  max-width: 560px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.platform-link,
.artist-platform,
.footer-links a {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.38);
  font-weight: 800;
}

.platform-link:hover,
.artist-platform:hover {
  border-color: var(--sun);
  background: var(--chalk);
}

.video-panel,
.wide-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(16, 18, 20, 0.12);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 20px 52px rgba(16, 18, 20, 0.22);
}

.video-panel iframe,
.wide-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.music-section {
  padding: 112px 0;
  background: var(--chalk);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.feature-track {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 189, 118, 0.28), rgba(241, 90, 59, 0.12));
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.track-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.track-card-body {
  padding: 20px;
}

.track-card-body span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--sun);
  font-size: 0.84rem;
  font-weight: 900;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.track-card a:hover img,
.compact-video:hover img {
  transform: scale(1.03);
}

.play-mark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 58px;
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(16, 18, 20, 0.78);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.compact-video-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.compact-video {
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.compact-video span,
.compact-video strong {
  padding: 0 12px;
}

.compact-video span {
  color: var(--sun);
  font-size: 0.8rem;
  font-weight: 900;
}

.compact-video strong {
  font-size: 1rem;
}

.listen-section {
  padding: 74px 0;
  background: var(--ink);
  color: white;
}

.listen-section h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.artist-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.artist-platform {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.artist-platform:hover {
  color: var(--ink);
}

.bio-images {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: end;
}

.bio-images img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.bio-images img:first-child {
  height: 440px;
}

.milestone-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.milestone-list p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.press-gallery {
  padding: 94px 0;
  background: var(--chalk);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.gallery-grid h2 {
  margin-bottom: 0;
  font-size: 2.4rem;
}

.gallery-grid img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.visual-band {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: end;
  color: white;
  isolation: isolate;
  padding: 60px max(20px, calc((100vw - 1180px) / 2));
}

.visual-band::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(7, 9, 10, 0.72), rgba(7, 9, 10, 0.06) 62%);
}

.visual-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.visual-band div {
  max-width: 780px;
}

.visual-band h2 {
  margin-bottom: 0;
}

.visual-band p {
  color: var(--sand);
}

.booking-copy {
  align-self: start;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines a {
  width: fit-content;
  border-bottom: 2px solid var(--sun);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.booking-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--chalk);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: rgba(16, 18, 20, 0.68);
  font-size: 0.9rem;
  font-weight: 900;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(16, 18, 20, 0.2);
  border-radius: 6px;
  padding: 12px;
  background: white;
  color: var(--ink);
  outline: none;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 130, 189, 0.15);
}

.form-button {
  width: fit-content;
  min-width: 150px;
}

.form-note {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  padding: 40px 0;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  gap: 28px;
  align-items: center;
}

.site-footer img {
  width: 220px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.content-page {
  min-height: 100vh;
  padding: 110px 0;
}

.simple-page {
  max-width: 820px;
  margin: 0 auto;
}

.simple-page h1 {
  color: var(--ink);
  font-size: 3.2rem;
}

.simple-page p,
.simple-page li {
  color: rgba(16, 18, 20, 0.74);
  font-size: 1rem;
  line-height: 1.75;
}

.smartlink-page {
  min-height: 100vh;
  padding: 28px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(241, 90, 59, 0.2), transparent 34%),
    linear-gradient(145deg, #101214 0%, #1b2329 45%, #725236 100%);
}

.smartlink-card {
  width: min(520px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.smartlink-hero {
  position: relative;
  height: 360px;
  isolation: isolate;
}

.smartlink-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 30%;
}

.smartlink-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(16, 18, 20, 0.76), rgba(16, 18, 20, 0.04) 54%),
    linear-gradient(90deg, rgba(16, 18, 20, 0.26), transparent);
}

.smartlink-logo {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  width: 210px;
}

.smartlink-logo img {
  width: 100%;
  height: auto;
}

.smartlink-content {
  display: grid;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.smartlink-content h1 {
  margin-bottom: 0;
  font-size: 2.55rem;
  line-height: 1;
}

.smartlink-lead {
  max-width: 380px;
  margin: 0 auto;
  color: rgba(16, 18, 20, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.smartlink-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--ink);
}

.smartlink-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.smartlink-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(16, 18, 20, 0.14);
  border-radius: 8px;
  padding: 14px 16px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.smartlink-button:hover {
  transform: translateY(-1px);
  border-color: var(--sun);
}

.smartlink-button.youtube {
  min-height: 62px;
  background: #ff0033;
  color: white;
  font-size: 1.06rem;
}

.smartlink-button.subtle {
  background: rgba(255, 255, 255, 0.52);
}

.brand-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.brand-spotify {
  background: #1db954;
}

.brand-spotify::before,
.brand-spotify::after {
  position: absolute;
  left: 7px;
  width: 14px;
  height: 7px;
  border-top: 2px solid #07130a;
  border-radius: 50%;
  content: "";
}

.brand-spotify::before {
  top: 8px;
}

.brand-spotify::after {
  top: 13px;
  width: 11px;
}

.brand-apple {
  background: #fa2d48;
}

.brand-apple::before {
  content: "♪";
  font-size: 1.15rem;
}

.brand-deezer {
  overflow: hidden;
  background: #111;
}

.brand-deezer::before {
  width: 18px;
  height: 16px;
  background:
    linear-gradient(#ff0092 0 0) 0 10px / 4px 6px,
    linear-gradient(#ffcd00 0 0) 5px 6px / 4px 10px,
    linear-gradient(#00c7f2 0 0) 10px 3px / 4px 13px,
    linear-gradient(#8f2cff 0 0) 15px 0 / 4px 16px;
  background-repeat: no-repeat;
  content: "";
}

.brand-youtube,
.brand-youtube-music {
  background: #ff0033;
}

.brand-youtube::before,
.brand-youtube-music::before {
  content: "▶";
  font-size: 0.9rem;
  transform: translateX(1px);
}

.brand-tidal {
  background: #050505;
  border-radius: 7px;
}

.brand-tidal::before {
  width: 15px;
  height: 15px;
  background:
    linear-gradient(45deg, white 50%, transparent 50%) 0 0 / 7px 7px,
    linear-gradient(45deg, white 50%, transparent 50%) 8px 0 / 7px 7px,
    linear-gradient(45deg, white 50%, transparent 50%) 4px 8px / 7px 7px;
  background-repeat: no-repeat;
  transform: rotate(45deg);
  content: "";
}

.brand-amazon {
  background: #00a8e1;
}

.brand-amazon::before {
  content: "a";
  font-size: 1.05rem;
}

.brand-instagram {
  background: linear-gradient(135deg, #feda75, #d62976 45%, #4f5bd5);
}

.brand-instagram::before {
  width: 13px;
  height: 13px;
  border: 2px solid white;
  border-radius: 5px;
  content: "";
}

.brand-tiktok {
  background: #050505;
}

.brand-tiktok::before {
  color: #25f4ee;
  content: "♪";
  font-size: 1.1rem;
  text-shadow: 2px 1px 0 #fe2c55;
}

.brand-facebook {
  background: #1877f2;
}

.brand-facebook::before {
  content: "f";
  font-size: 1.2rem;
}

.brand-web {
  background: var(--ink);
}

.brand-web::before {
  content: "www";
  font-size: 0.54rem;
}

.smartlink-group {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.smartlink-group h2,
.smartlink-booking h2 {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
}

.smartlink-links {
  display: grid;
  gap: 10px;
}

.smartlink-booking {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.smartlink-booking p {
  margin: 0;
  color: rgba(16, 18, 20, 0.72);
  line-height: 1.55;
}

.smartlink-booking a {
  width: fit-content;
  border-bottom: 2px solid var(--sun);
  font-weight: 900;
}

.smartlink-note {
  margin: 0;
  color: rgba(16, 18, 20, 0.46);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .hero {
    min-height: 88svh;
    padding-bottom: 156px;
  }

  .hero-image {
    object-position: 52% 34%;
  }

  .site-header {
    align-items: flex-start;
  }

  .primary-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-content {
    width: min(680px, calc(100% - 40px));
  }

  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-ribbon {
    left: 20px;
    right: 20px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .hero-ribbon span {
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .hero-ribbon span:last-child {
    border-bottom: 0;
  }

  .release-grid,
  .bio-grid,
  .booking-grid,
  .listen-grid,
  .feature-track,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .compact-video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bio-grid {
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 90svh;
    padding: 120px 0 194px;
  }

  .hero-image {
    object-position: 54% 42%;
  }

  .site-header {
    gap: 14px;
    padding: 18px 14px;
  }

  .logo-link {
    width: 138px;
    min-width: 118px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-menu {
    position: absolute;
    top: 72px;
    right: 14px;
    display: none;
    width: min(250px, calc(100vw - 28px));
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .primary-menu.is-open {
    display: grid;
  }

  .primary-menu a {
    width: 100%;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.08rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-ribbon {
    left: 14px;
    right: 14px;
    bottom: 16px;
  }

  .release-section,
  .music-section,
  .bio-section,
  .booking-section {
    padding: 72px 0;
  }

  .platform-grid,
  .artist-platforms,
  .field-row,
  .compact-video-row {
    grid-template-columns: 1fr;
  }

  .feature-track {
    padding: 18px;
  }

  .bio-images {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bio-images img,
  .bio-images img:first-child {
    height: 320px;
  }

  .gallery-grid img {
    height: 430px;
  }

  .visual-band {
    min-height: 500px;
    padding: 44px 14px;
  }

  .booking-form {
    padding: 16px;
  }

  .site-footer img {
    width: 180px;
  }

  .smartlink-page {
    padding: 0;
  }

  .smartlink-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .smartlink-hero {
    height: 330px;
  }

  .smartlink-content {
    padding: 22px 16px 28px;
  }

  .smartlink-content h1 {
    font-size: 2.12rem;
  }
}
