:root {
  --primary-color: #ccb686;
  --background-color: #040404;
  --text-color: #ffffff;
  --highlight-color: #a92222;
  --titoli: "minion-pro", serif;
  --testo: 'basic-sans', sans-serif;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background-color: #040404;
  color: #fff;
  font-family: var(--testo);
}

.wp-block-cover.alignfull {
  width: 100vw; position: relative; margin-left: -50vw; left: 50%;
}
.has-normal-font-size {
    font-size: 21px !important;
}
p {
    line-height: 1.8;
    font-weight: 300;
    font-size: 21px;
}
a {
  color: #ccb686;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
}
a:hover, a:focus {
  color: #ccb686;
 text-shadow: 0 0 8px #ccb686, 0 0 16px #ccb686;
}
.section-full {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.slogan-section {
  height: 70svh;
}
.section-full img,
.section-full video {
  max-width: 500px;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  opacity: 0;
  transition: all 1.5s ease-in-out;
  transform: scale(1.05)translateY(20px);
}

.section-full.in-page img,
.section-full.in-page video {
  opacity: 1;
  transform: scale(1)translateY(0);
}

.section-full.wine {
  position: relative;
  background-image: url("/wp-content/uploads/2025/12/altera-campi-taurasini-1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.download-circle {
 position: absolute !important;
  right: 50%;
  transform: translate(50%, 0);
  bottom: 5%;
}
.icon-circle {
  background-color: #ccb686;
  padding: 12px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 0 8px #ccb686, 0 0 16px #ccb686;
  transition: all 0.3s ease-in-out;
}
.icon-circle svg {
  color: #040404 !important;
}
.texture {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('/wp-content/uploads/2025/09/texture_altera.webp');
  background-repeat: repeat;
  opacity: 0.2;
  pointer-events: none;
}
.texture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 0;
  background: radial-gradient(ellipse at center, transparent 0%, #040404 100%);
  opacity: 1;
}
.section-full.wine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 0;
  background: radial-gradient(ellipse at center, transparent 60%, #040404 100%);
  opacity: 1;
}
.section-full.wine > * {
  position: relative;
  z-index: 1;
}
.slogan {
  margin: 50px 0;
  font-size: 1.5rem;
  font-style: italic; 
  max-width: 49.24%;
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
  color: #ddd;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
}
  .slogan-section h2 {
    font-style: italic;
    font-weight: 300;
    font-size: 3rem;
  }
.cta-scroll {
  color: #fff;
  text-decoration: none;
  margin-top: 100px;
}
.header-navbar img {
  max-width: 150px;
  height: auto;
  opacity: 0;
}
.vigneti img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.slogan-cursor {
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.slogan-highlight {
  white-space: nowrap;
  color: #ccb686;
  text-shadow: 0 0 8px #ccb686, 0 0 16px #ccb686;
  font-weight: bold;
  animation: slogan-glow 1s ease-in-out;
}

@keyframes slogan-glow {
  0% { text-shadow: 0 0 0px #ccb686, 0 0 0px #ccb686; }
  50% { text-shadow: 0 0 8px #ccb686, 0 0 16px #ccb686; }
  100% { text-shadow: 0 0 0px #ccb686, 0 0 0px #ccb686; }
}
.section-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-img img {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1.2s ease-out;
}

.animation {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1.2s ease-out;
}
.section-img.in-page img {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.section-img.in-page img:nth-child(1) {
  transition-delay: 0.2s;
}
.section-img.in-page img:nth-child(2) {
  transition-delay: 0.4s;
}
.section-text.in-page .animation {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.section-text.in-page .animation:nth-child(1) {
  transition-delay: 0.2s;
}
.section-text.in-page .animation:nth-child(2) {
  transition-delay: 0.4s;
}
.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  border-top: #393939 solid 1px;
}
.copyright p {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}

  .download-circle:hover .icon-circle{
    transform: scale(1.1) !important;
    background-color: #a92222 !important;
    box-shadow: 0 0 12px #a92222, 0 0 24px #a92222 !important;
  }

  .icon-circle:hover svg{
    fill:#fff;
  }
.final_slogan  p{
  font-family: var(--titoli);
  font-size: 55px;
  font-weight: 300;
  color: var(--primary-color);
  margin: 40px 20px;
}

/* Section Label Styling */
.section-label {
  min-height: auto;
  padding: 40px 20px;
  min-height: 50svh;
}

.label-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.label-item {
  flex: 1;
  aspect-ratio: 9/16;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.label-item img,
.label-item video {
  object-fit: cover;
  object-position: center;
  display: block;
}

.label-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(4, 4, 4, 0.6) 85%, #040404 100%);
  z-index: 1;
}
/* MEDIA QUERIES RESPONSIVE */

/* Mobile: fino a 600px */
@media (max-width: 600px) {
  .section-full {
    height: auto;
    min-height: 100svh;
    padding: 30px 0;
  }
  .section-full img,
  .section-full video {
    max-width: 90vw;
    max-height: 60vh;
    object-fit: contain;
  }
  .section-full video {
    margin-top: 100px;
  }
  .label-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .slogan-section {
    padding: 0 15px;
  }
  .slogan {
    font-size: 1.3rem;
    max-width: 98vw;
    padding: 0 8px;
    margin: 30px 0;
    text-align: left;
  }
  .header-navbar img {
    max-width: 100px;
  }
  .vigneto {
    min-height:50vh !important
  }
  .section-img {
    flex-direction: column;
    gap: 15px;
    padding: 0;
    height: auto;
    min-height: 100vh;
  }
  .section-img img {
    height: auto;
    max-width: 90vw;
    max-height: 45vh;
  }
  .copyright {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }
  .icon-circle svg{
    width: 24px !important;
    height: 24px !important;
    fill:#000000;
  }
  .final_slogan p {
    font-size: 24px;
    margin: 20px 10px;
  }
  .texture::after {
    background:
      radial-gradient(ellipse at center, transparent 60%, #040404 100%),
      linear-gradient(to top, #040404 0%, transparent 20%),
      linear-gradient(to bottom, #040404 0%, transparent 20%);
      opacity: 1;
  }
  .wp-block-quote > *,.wp-block-quote {
    margin: 15px 0;
  }
  .wp-block-spacer {
    max-height: 100px !important;
  }
}

/* Tablet: da 601px a 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  .section-full {
    height: auto;
    min-height: 80svh;
    padding: 40px 0;
  }
  .section-full img,
  .section-full video {
    max-width: 70vw;
    max-height: 70vh;
    object-fit: contain;
  }
  .slogan {
    font-size: 1.3rem;
    max-width: 80vw;
    padding: 0 16px;
    margin: 40px 0;
  }
  .header-navbar img {
    max-width: 120px;
  }
  .final_slogan p {
    font-size: 38px;
    margin: 30px 15px;
  }
}

/* Desktop: da 1025px in su */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section-full {
    height: 100svh;
    padding: 0;
  }
  .slogan-section {
  height: 80svh;
  }
  .section-full img,
  .section-full video {
    max-width: 500px;
    max-height: 60vh;
    object-fit: contain;
  }
  .slogan {
    font-size: 1.5rem;
    max-width: 70%;
    padding: 0 20px;
    margin: 50px 0;
    font-size: 1.2rem;
  }
  .header-navbar img {
    max-width: 150px;
  }
  body,.has-normal-font-size {
    font-size: 16px !important;
  }
  .has-huge-font-size {
    font-size: 21px !important;
  }
    .final_slogan p {
    font-size: 40px;
  }
}
