/*
Theme Name: Artist Black Pink Child
Theme URI: https://example.com/artist-child
Description: Tema child per artista - palette nero, rosa, bianco. Design moderno, minimale ed elegante.
Author: Marco
Version: 1.0.0
Template: twentytwentyfour
Text Domain: artist-child
*/

/* === DESIGN TOKENS === */
:root {
  --color-bg: #ffffff;
  --color-ink: #0a0a0a;
  --color-pink: #ff7ac7;
  --color-pink-soft: #ff7ac7;
  --color-pink-deep: #ff7ac7;
  --color-muted: #f6f6f6;
  --color-border: #ebebeb;

  --font-display: "Pacifico", cursive;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --shadow-soft: 0 10px 40px -12px rgba(10, 10, 10, 0.18);
  --shadow-pink: 0 14px 40px -10px rgba(255, 61, 139, 0.45);
  --transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* === RESET / BASE === */
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
  }
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-ink);
  font-family: var(--font-body) !important;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--transition);
  border-bottom: none !important;
}
a:hover {
  color: var(--color-pink-deep);
}

::selection {
  background: var(--color-pink);
  color: #fff;
}

header.site-header.navbar.navbar-expand-lg.bg-white.sticky-top {
  background: #000000 !important;
}

.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #ff69b4 !important;
  text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
  color: #ff69b4 !important;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header nav a {
  margin-left: 24px;
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-header nav a:hover {
  color: var(--color-pink);
}

/* === HERO === */
.artist-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 20% 10%,
      var(--color-pink-soft) 0%,
      transparent 55%
    ),
    radial-gradient(ellipse at 80% 90%, #ffe9f1 0%, transparent 55%),
    var(--color-bg);
  overflow: hidden;
}
.artist-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.artist-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 1;
  pointer-events: none;
}
.artist-hero .hero-content {
  position: relative;
  z-index: 2;
}
.artist-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-ink) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}
.artist-hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.artist-hero h1 .accent {
  color: var(--color-pink);
}
.artist-hero p.lede {
  max-width: 620px;
  margin: 24px auto 36px;
  font-size: 1.15rem;
  color: #444;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}
.btn-primary {
  background: var(--color-ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pink);
}
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-ink);
}
.btn-outline:hover {
  background: var(--color-ink);
  color: #fff;
}

/* === GALLERY === */
.artist-gallery {
  padding: 100px 32px;
  background: var(--color-bg);
}
.artist-gallery .section-title {
  text-align: center;
  margin-bottom: 60px;
}
.artist-gallery .section-title span {
  display: block;
  color: var(--color-pink);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-muted);
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85), transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  transition: opacity var(--transition);
}
.gallery-item:hover .overlay {
  opacity: 1;
}
.gallery-item .overlay h3 {
  color: #fff;
  font-size: 1.4rem;
}
.gallery-item .overlay .tag {
  color: var(--color-pink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* === ABOUT === */
.artist-about {
  padding: 120px 32px;
  background: var(--color-ink);
  color: #fff;
}
.artist-about .wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.artist-about h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}
.artist-about h2 em {
  color: var(--color-pink);
}
.artist-about p {
  color: #c9c9c9;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.artist-about .btn {
  margin-top: 24px;
}
.artist-about .portrait {
  border-radius: calc(var(--radius) * 1.5);
  background: linear-gradient(
    135deg,
    var(--color-pink),
    var(--color-pink-deep)
  );
  box-shadow: 0 40px 80px rgba(255, 61, 139, 0.4);
  overflow: hidden;
  transition: transform 0.6s ease;
}
.artist-about .portrait:hover {
  transform: scale(1.02);
}
.artist-about .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .artist-about .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .artist-about .portrait {
    max-width: 300px;
  }
}

/* === CTA === */
.artist-cta {
  padding: 100px 32px;
  text-align: center;
  background: var(--color-pink-soft);
}

/* === PROJECTS SECTION === */
.artist-projects {
  padding: 100px 32px;
  background: var(--color-bg);
}
.artist-projects .wrap {
  max-width: 1280px;
  margin: 0 auto;
}
.artist-projects .section-title {
  text-align: center;
  margin-bottom: 60px;
}
.artist-projects .section-title span {
  display: block;
  color: var(--color-pink);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.artist-projects .section-title h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.project-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--color-pink);
  box-shadow: 0 10px 40px rgba(255, 61, 139, 0.2);
  background: #fff;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 61, 139, 0.3);
}
.project-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-muted);
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-item:hover .project-image img {
  transform: scale(1.08);
}
.project-item .project-info {
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.project-item .project-info h3 {
  color: var(--color-ink);
  font-size: 1.2rem;
  margin: 0;
}
.project-item .project-info h3 a {
  color: var(--color-ink);
  border: none;
  transition: color var(--transition);
}
.project-item .project-info h3 a:hover {
  color: var(--color-pink);
}
.project-item .project-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.artist-cta h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.artist-cta p {
  max-width: 540px;
  margin: 16px auto 32px;
}

/* === FOOTER === */
.site-footer {
  background: var(--color-ink);
  color: #aaa;
  padding: 60px 32px 40px;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a {
  color: #fff;
  border-color: var(--color-pink);
}
.site-footer .socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}
.site-footer .socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 50%;
  border-bottom: 1px solid #333;
  transition: all var(--transition);
}
.site-footer .socials a:hover {
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: #fff;
  transform: translateY(-3px);
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.artist-hero > * {
  animation: fadeUp 0.9s ease both;
}
.artist-hero .eyebrow {
  animation-delay: 0.1s;
}
.artist-hero h1 {
  animation-delay: 0.25s;
  font-family: var(--font-display) !important;
}
.artist-hero p.lede {
  animation-delay: 0.4s;
}
.artist-hero .actions {
  animation-delay: 0.55s;
}

.artist-video {
  padding: 60px 20px;
  text-align: center;
}

.artist-video .video-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

.artist-video .wrap {
  max-width: 900px;
  margin: 0 auto;
}

.artist-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 12px;
}

.artist-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.about-content p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-page .row {
    flex-direction: column;
  }
  .about-page img {
    border-radius: var(--radius) var(--radius) 0 0 !important;
    height: 300px !important;
  }
  .about-page .col-md-7 {
    border-radius: 0 0 var(--radius) var(--radius) !important;
  }
}

.portfolio-page {
  min-height: calc(100vh - 200px);
}

.portfolio-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  text-decoration: none;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card-overlay h3 {
  color: #fff;
  font-family: "Pacifico", cursive;
  font-size: 1.4rem;
  text-align: center;
  padding: 0 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
  .portfolio-card-overlay h3 {
    font-size: 1rem;
  }
}

.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  margin-top: 50px;
  margin-bottom: 50px;
}

p.has-text-align-center.has-medium-font-size {
  margin-top: 50px;
}

/* FULL HEIGHT */
.contact-page {
  min-height: 100vh;
}

/* TITOLO */
.contact-title {
  font-size: 4rem;
}

/* SUBTITLE */
.contact-subtitle {
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contact-icon {
  font-size: 2rem;
  color: #000;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  color: #ff4da6;
  transform: translateY(-5px) scale(1.1);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: #ff4da6;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #ff4da6;
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-p {
  color: #000;
}

.btn-hidden {
  display: none;
}
