/* Template Elena Valente - Volta Pagina */
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Outfit:wght@100..900&display=swap');

:root {
  --ev-sage: #a9bcb7;
  --ev-sage-light: #dfe9e5;
  --ev-forest: #53624e;
  --ev-forest-dark: #374236;
  --ev-cream: #f5f4eb;
  --ev-paper: #fffdf7;
  --ev-ink: #1d1d1b;
  --ev-muted: #65716b;
  --ev-white: #ffffff;
  --ev-border: rgba(83, 98, 78, .18);
  --ev-shadow: 0 26px 70px rgba(29, 29, 27, .13);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--ev-ink);
  background: var(--ev-paper);
  overflow-x: hidden;
}

a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ev-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  background: rgba(255, 253, 247, .92);
  border-bottom: 1px solid var(--ev-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  color: var(--ev-ink);
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ev-white);
  background: var(--ev-forest);
  font-size: .82rem;
  letter-spacing: .08em;
}

.nav-link {
  color: var(--ev-muted);
  font-weight: 650;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--ev-forest-dark);
}

.btn-ev {
  --bs-btn-bg: var(--ev-forest);
  --bs-btn-border-color: var(--ev-forest);
  --bs-btn-color: var(--ev-white);
  --bs-btn-hover-bg: var(--ev-forest-dark);
  --bs-btn-hover-border-color: var(--ev-forest-dark);
  --bs-btn-hover-color: var(--ev-white);
  border-radius: 999px;
  font-weight: 800;
  padding: .82rem 1.35rem;
  box-shadow: 0 18px 42px rgba(83, 98, 78, .22);
}

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

.btn-outline-ev {
  --bs-btn-color: var(--ev-forest-dark);
  --bs-btn-border-color: rgba(83, 98, 78, .35);
  --bs-btn-hover-bg: var(--ev-forest);
  --bs-btn-hover-border-color: var(--ev-forest);
  --bs-btn-hover-color: var(--ev-white);
  border-radius: 999px;
  font-weight: 800;
  padding: .82rem 1.35rem;
  background: rgba(255, 255, 255, .58);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(169, 188, 183, .55), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(83, 98, 78, .14), transparent 30%),
    linear-gradient(135deg, var(--ev-cream) 0%, var(--ev-sage-light) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .4;
}

.hero-title {
  max-width: 850px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: .9;
  font-weight: 900;
}

.hero-title span {
  color: var(--ev-forest);
}

.hero-lead {
  max-width: 700px;
  color: var(--ev-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.72;
}

.eyebrow {
  color: var(--ev-forest);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.book-showcase {
  position: relative;
  padding: clamp(1rem, 4vw, 2.2rem);
  border-radius: 2.4rem;
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: var(--ev-shadow);
}

.book-showcase::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -18px;
  height: 40px;
  border-radius: 999px;
  background: rgba(29, 29, 27, .18);
  filter: blur(20px);
  z-index: -1;
}

.book-showcase img {
  display: block;
  max-height: 680px;
  margin-inline: auto;
  border-radius: 1.6rem;
}

.section-padding {
  padding: 105px 0;
}

.section-title {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: .96;
  font-weight: 900;
}

.section-text {
  color: var(--ev-muted);
  font-size: 1.12rem;
  line-height: 1.86;
}

.quote-section {
  padding: 40px 0 100px;
  background: var(--ev-paper);
}

.quote-card {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2.3rem;
  background:
    linear-gradient(135deg, rgba(83, 98, 78, .94), rgba(55, 66, 54, .96)),
    url("https://elenavalente.it/uploads/1471969900.webp") center/cover;
  color: var(--ev-white);
  box-shadow: var(--ev-shadow);
}

.quote-card i {
  font-size: 3.4rem;
  color: var(--ev-sage);
}

.quote-card blockquote {
  margin: 1rem 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.quote-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.feature-card {
  height: 100%;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  border: 1px solid var(--ev-border);
  border-radius: 2rem;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 46px rgba(29, 29, 27, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(83, 98, 78, .36);
  box-shadow: 0 26px 60px rgba(29, 29, 27, .12);
}

.feature-card h3 {
  margin: 1.25rem 0 .8rem;
  font-weight: 850;
}

.feature-card p {
  color: var(--ev-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.icon-badge {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  background: var(--ev-sage-light);
  color: var(--ev-forest);
  font-size: 1.7rem;
}

.event-section {
  background: linear-gradient(180deg, rgba(223, 233, 229, .62), rgba(245, 244, 235, .62));
}

.buy-section {
  background: var(--ev-paper);
}

.purchase-card {
  height: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem;
  border: 1px solid var(--ev-border);
  border-radius: 1.2rem;
  background: var(--ev-white);
  box-shadow: 0 12px 28px rgba(29, 29, 27, .07);
  transition: transform .22s ease, box-shadow .22s ease;
}

.purchase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(29, 29, 27, .12);
}

.purchase-card img {
  max-height: 82px;
  width: auto;
  object-fit: contain;
}

.site-footer {
  padding: 60px 0;
  color: rgba(255, 255, 255, .76);
  background: var(--ev-ink);
}

.site-footer h2 {
  color: var(--ev-white);
  font-weight: 850;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-lg-end;
  gap: .8rem 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-weight: 700;
}

.footer-menu a:hover {
  color: var(--ev-white);
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ev-white);
  background: var(--ev-forest);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(29, 29, 27, .22);
}

.back-top:hover {
  color: var(--ev-white);
  background: var(--ev-forest-dark);
  transform: translateY(-3px);
}

@media (max-width: 991.98px) {
  .ev-navbar {
    background: rgba(255, 253, 247, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
    padding-top: 8rem !important;
  }

  .book-showcase img {
    max-height: 560px;
  }

  .section-padding {
    padding: 76px 0;
  }

  .quote-section {
    padding-bottom: 76px;
  }
}

@media (max-width: 575.98px) {

  .quote-card {
    border-radius: 1.6rem;
  }

  .footer-menu {
    justify-content: flex-start;
  }
}


/* Monopagina SEO - sezioni integrate */

section {
  scroll-margin-top: 88px;
}

.info-card {
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 2rem;
  border: 1px solid var(--ev-border);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 46px rgba(29, 29, 27, .07);
}

.info-card h3 {
  font-weight: 850;
}

.info-card p,
.info-card li {
  color: var(--ev-muted);
  line-height: 1.78;
}

.event-meta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ev-forest);
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(169, 188, 183, .36), transparent 28%),
    linear-gradient(180deg, var(--ev-paper), var(--ev-cream));
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: 2rem;
  border: 1px solid var(--ev-border);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 46px rgba(29, 29, 27, .07);
}

.contact-tile .icon-badge {
  flex: 0 0 auto;
}

.contact-tile-content {
  min-width: 0;
}

.contact-tile-content h3 {
  margin: 0 0 .35rem;
}

.contact-tile a {
  color: var(--ev-forest-dark);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.event-detail-page {
  background: var(--ev-paper);
}

.event-hero {
  padding-top: clamp(132px, 17vw, 182px);
  background:
    radial-gradient(circle at 10% 20%, rgba(169, 188, 183, .42), transparent 28%),
    linear-gradient(135deg, var(--ev-cream), var(--ev-paper));
}

.event-title {
  max-width: 800px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 900;
}

.event-title span {
  color: var(--ev-forest);
}

.event-details {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 2rem;
}

.event-date {
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .85rem;
  border-radius: 1.35rem;
  color: var(--ev-white);
  background: var(--ev-forest);
  text-transform: uppercase;
  font-weight: 800;
}

.event-date strong {
  font-size: 2.8rem;
  line-height: 1;
}

.event-info {
  padding: .85rem 0;
  color: var(--ev-muted);
  font-size: 1.08rem;
  font-weight: 650;
}

.event-info p {
  margin: 0 0 .35rem;
}

.event-info i {
  margin-right: .4rem;
  color: var(--ev-forest);
}

.event-cover {
  width: 100%;
  border-radius: 2rem;
  box-shadow: var(--ev-shadow);
}

.event-quote {
  padding-top: 80px;
}

.event-quote .quote-card blockquote {
  max-width: 820px;
}

.video-section {
  background: var(--ev-cream);
}

.event-video {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--ev-shadow);
}

.event-video img {
  width: 100%;
  display: block;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ev-white);
  background: var(--ev-forest);
  font-size: 2.5rem;
  transform: translate(-50%, -50%);
}

.event-gallery {
  background: var(--ev-paper);
}

.gallery-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--ev-white);
  box-shadow: 0 14px 38px rgba(29, 29, 27, .09);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.contact-form {
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 2.2rem;
  border: 1px solid var(--ev-border);
  background: var(--ev-white);
  box-shadow: var(--ev-shadow);
}

.form-control,
.form-select {
  min-height: 54px;
  border-radius: 1rem;
  border-color: rgba(83, 98, 78, .22);
  background-color: var(--ev-paper);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ev-forest);
  box-shadow: 0 0 0 .25rem rgba(83, 98, 78, .12);
}

textarea.form-control {
  min-height: 150px;
}

.navbar .nav-link.active {
  color: var(--ev-forest-dark);
  font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 575.98px) {
  .event-details {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    gap: .6rem;
  }

  .gallery-card img {
    height: 245px;
  }
}
