/*
Theme Name: BlankSlate Child
Theme URI: https://ireneviti.it
Author: BlankSlate / Dott.ssa Irene Viti
Author URI: https://ireneviti.it
Description: Tema personalizzato professionale per studio di psicoterapia.
Version: 1.0.0
Text Domain: blankslate
*/

/* PALETTE ESTRATTA ESCLUSIVAMENTE DALLA MOODBOARD */
:root {
  --text-main: #3B2B38;       /* Prugna scuro/melanzana profondo del titolo MOODBOARD */
  --text-muted: #645561;      /* Testo secondario */
  
  --mint: #AAD4CA;            /* Mint Green AAD4CA */
  --mint-soft: #EDF6F4;       /* Menta chiarissimo per sfondi/sezioni */
  --rose: #E7B9A9;            /* Pale Dogwood E7B9A9 */
  --rose-hover: #DDA694;      /* Rosa cipria più intenso al tocco */
  --dun: #C8B8A8;             /* Dun C8B8A8 */
  
  --bg-sand: #F7F3EE;         /* Il colore crema chiaro di fondo della cartolina */
  --card-bg: #FFFFFF;         /* Bianco caldo card */
  --border-delicate: rgba(200, 184, 168, 0.45);
  
  --shadow-soft: 0 8px 24px rgba(59, 43, 56, 0.06);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 243, 238, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-delicate);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose-hover);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--rose-hover);
}

.nav-links .btn-nav {
  padding: 8px 20px;
  background-color: var(--rose);
  color: var(--text-main);
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.nav-links .btn-nav:hover {
  background-color: var(--rose-hover);
}

/* HERO TESTATA */
.hero {
  background-color: var(--text-main);
  color: #FFFFFF;
  padding: 85px 0;
}

.hero-container {
  max-width: 820px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-meta {
  font-size: 1.15rem;
  color: #F7EFE9;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--rose);
  color: var(--text-main);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 4px 14px rgba(231, 185, 169, 0.4);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--rose-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* INTRO GRID CITAZIONE E FOTO PRIMO PIANO */
.intro-section {
  padding: 80px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.intro-card-text {
  background-color: var(--card-bg);
  padding: 44px;
  border-radius: 20px;
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--rose-hover);
  margin-bottom: 12px;
}

.intro-card-text blockquote {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}

.intro-subquote {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.image-wrapper {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--card-bg);
}

.image-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-delicate);
  text-align: left;
}

.image-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.image-badge span {
  font-size: 0.78rem;
  color: var(--rose-hover);
  font-weight: 600;
}

/* SEZIONE CHI SONO (AFFIANCATA CON CARD CONTENITIVA) */
.section {
  padding: 75px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--text-main);
  margin-top: 6px;
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: center;
  background-color: var(--card-bg);
  padding: 44px;
  border-radius: 24px;
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-soft);
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.image-badge-studio {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-delicate);
}

.image-badge-studio strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.image-badge-studio span {
  font-size: 0.78rem;
  color: var(--rose-hover);
  font-weight: 600;
}

.about-text.prose p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.about-text.prose p:last-child {
  margin-bottom: 0;
}

/* A CHI MI RIVOLGO */
.audience-section {
  background-color: var(--mint-soft);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 35px;
}

.audience-card {
  background-color: var(--card-bg);
  padding: 34px;
  border-radius: 20px;
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  font-size: 1.6rem;
  color: var(--rose-hover);
  margin-bottom: 12px;
}

.audience-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* APPROCCIO */
.content-container {
  max-width: 820px;
}

.method-card {
  background-color: var(--card-bg);
  padding: 44px;
  border-radius: 20px;
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-soft);
}

.prose p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 22px;
  text-align: justify;
}

/* SEZIONE ARTICOLI & SLIDER SCREEN */
.articles-section {
  background-color: var(--bg-sand);
}

.slider-wrapper {
  position: relative;
  max-width: 820px;
  margin: 30px auto 10px;
  display: flex;
  align-items: center;
}

.slider-window {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  background-color: var(--card-bg);
  border: 1px solid var(--border-delicate);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.article-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 45px 50px;
}

.slide-tag {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--mint);
  background-color: var(--text-main);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.article-slide h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.35;
}

.article-slide p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.slide-link {
  display: inline-block;
  color: var(--rose-hover);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.slide-link:hover {
  transform: translateX(5px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-delicate);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background-color: var(--rose);
}

.prev-btn {
  left: -22px;
}

.next-btn {
  right: -22px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--dun);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--text-main);
  transform: scale(1.3);
}

/* SEDI STUDI */
.locations-section {
  background-color: var(--mint-soft);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.location-card {
  background-color: var(--card-bg);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-delicate);
}

.loc-icon {
  color: var(--rose);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.location-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.location-card .address {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.location-card .desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  background-color: var(--text-main);
  color: #FFFFFF;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-info h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.footer-info p {
  color: #E8DFE6;
  font-size: 0.98rem;
}

.footer-info .order-info {
  margin-top: 14px;
  color: var(--mint);
  font-weight: 500;
}

.footer-contacts h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-contacts p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #E8DFE6;
}

.footer-contacts a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contacts a:hover {
  color: var(--rose);
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--dun);
  padding-top: 25px;
}

/* RESPONSIVE TABLET E SMARTPHONE */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 30px;
  }
  .about-image-wrapper {
    max-width: 320px;
  }
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .intro-grid, .locations-grid, .audience-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-slide {
    padding: 30px 20px;
  }
  .slider-btn {
    display: none;
  }
  .image-badge, .image-badge-studio {
    position: static;
    margin-top: 15px;
    display: inline-block;
  }
}