/* =============================================================================
   FONTS
   ============================================================================= */
:root {
  --color-primary: #f13b05;
  --color-accent: #00fcd3;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-blue: #00b6dd;
  --color-bg-light: #f8f8f8;
}
@font-face {
    font-family: 'Libre Caslon Condensed';
    src: url('./fonts/librecaslon/LibreCaslonCondensed-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Caslon Condensed';
    src: url('./fonts/librecaslon/LibreCaslonCondensed-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Caslon Condensed';
    src: url('./fonts/librecaslon/LibreCaslonCondensed-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Libre Caslon Condensed';
    src: url('./fonts/librecaslon/LibreCaslonCondensed-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}
@font-face {
  font-family: 'Magiona Display';
  src: url('./fonts/magiona/Magionadisplay-L3D4g.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Adorage';
  src: url('./fonts/adorage/Adorage.woff2') format('woff2'),
       url('./fonts/adorage/Adorage.woff') format('woff');
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Adorage';
  src: url('./fonts/adorage/Adorage Italic.woff2') format('woff2'),
       url('./fonts/adorage/Adorage Italic.woff') format('woff');
  font-style: italic;
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Navue';
  src: url('./fonts/navue/Navue.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Adore';
  src: url('./fonts/adore/Adore.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TheSeasons';
  src: url('./fonts/fontspring/TheSeasonsRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheSeasons';
  src: url('./fonts/fontspring/TheSeasonsItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'TheSeasons';
  src: url('./fonts/fontspring/TheSeasonsBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheSeasons';
  src: url('./fonts/fontspring/TheSeasonsBoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'TheSeasons';
  src: url('./fonts/fontspring/TheSeasonsLight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheSeasons';
  src: url('./fonts/fontspring/TheSeasonsLightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,700&display=swap');

/* =============================================================================
   RESET & BASE STYLES
   ============================================================================= */
html {
  scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* =============================================================================
   INTRO OVERLAY
   ============================================================================= */

#intro-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    font-family: 'Satoshi', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9vw;
    font-weight: bold;
    z-index: 999;
    transition: opacity 1s ease;
}

#intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Mobile Intro */
@media (max-width: 768px) {
    #intro-overlay {
        font-size: 15vw;
    }
}

@media (max-width: 480px) {
    #intro-overlay {
        font-size: 18vw;
    }
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: var(--color-primary);
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* Hero Theme Colors */
.hero .top-nav span,
.hero .contacts-link,
.hero .valeria {
    color: var(--color-white);
}

.hero .top-nav span:hover {
    color: var(--color-accent);
}

/* Alternative Theme */
.hero.alt-theme {
    background-color: #dbd5c9;
}

.hero.alt-theme .top-nav span,
.hero.alt-theme .contacts-link,
.hero.alt-theme .valeria {
    color:var(--color-white);
}

.hero.alt-theme .ferlini {
    color: var(--color-primary);
}

.hero.alt-theme .top-nav span:hover {
    color: var(--color-primary);
}

.hero.alt-theme .contacts-link::after,
.hero.alt-theme .top-nav span::after {
    background-color: var(--color-white);
}

/* =============================================================================
   BACKGROUND ELEMENTS
   ============================================================================= */

.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.line {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.line-left {
    left: 18%;
    top: -15%;
    transform: rotate(90deg);
}

.line-right {
    right: 25%;
}

.circle {
    position: absolute;
    width: 1200px;
    height: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: 1;
}

/*.circle-left {
    top: -200px;
    left: -400px;
}*/
.circle-left {
    top: 47px;
    left: -85px;
    width: 900px;
    height: 900px;
}

/*.circle-right {
    top: -200px;
    right: -400px;
}*/
.circle-right {
    top: -230px;
    right: -81px;
    width: 500px;
    height: 500px;
}

/* Mobile Background Elements */
@media (max-width: 768px) {
    .dot-pattern {
        background-size: 20px 20px;
    }

    .line {
        display: none;
    }

    .circle {
        width: 800px;
        height: 800px;
    }

    .circle-left {
        top: -300px;
        left: -300px;
    }

    .circle-right {
        top: 320px;
        right: -100px;
    }

}

@media (max-width: 480px) {
    .circle {
        width: 600px;
        height: 600px;
    }

    .circle-left {
        top: -200px;
        left: -200px;
    }

    .circle-right {
        top: 320px;
        right: -100px;
    }
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */

.top-nav {
    position: fixed;
    top: 0px;
    left: 0;
    right: 14px;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: -5px;
      mix-blend-mode: difference;

    z-index: 15;
}

.top-nav span {
    display: inline-block;
    transition: letter-spacing 0.4s ease;
    color: var(--color-white);
    cursor: pointer;
}

.top-nav span:hover {
    letter-spacing: 20px;
}

/* Navigation Underline Effects */
.hero .top-nav span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.hero.alt-theme .top-nav span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.top-nav span:hover::after {
    transform: scaleX(1);
}

/* Mobile Frame Navigation */


/* =============================================================================
   CONTACT LINK
   ============================================================================= */

.contacts-link {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-style: oblique;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: -5px;
    z-index: 5;
    color: var(--color-white);
    display: inline-block;
}

.contacts-link::after {
    content: "";
    display: block;
    height: 2px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineLoop 1s ease-in-out infinite alternate;
}

/* Mobile Contact Link */
@media (max-width: 768px) {
    .contacts-link {
        position: absolute;
        bottom: 20px;
        right: 20px;
        letter-spacing: -1px;
        z-index: 10;
        padding: 10px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

}


/* =============================================================================
   VF LOGO
   ============================================================================= */

.vf-svg {
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 60px;
    height: 60px;
    z-index: 5;
          mix-blend-mode: difference;

 animation: float-vf 2s ease-in-out infinite;
}

.vf-svg img {
    width: 100%;
    height: auto;
}

/* Mobile VF Logo */
@media (max-width: 768px) {
    .vf-svg {
    display: none;
    }
}

/* =============================================================================
   HERO CONTENT
   ============================================================================= */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.fashion-image {
    width: 300px;
    object-fit: cover;
    border-radius: 4px;
    top: 35px;
    z-index: 0;
    position: relative;
    left: -15px;
}

/* Mobile Hero Content */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
        max-width: calc(100vw - 40px);
    }
    .top-nav{
      font-size: 40px;
      gap:40px;
    }
    .fashion-image{
      width: 240px;
      left: 0;
      top:0;
    }

}


/* =============================================================================
   TITLES
   ============================================================================= */

.valeria,
.ferlini {
    position: absolute;
  font-family: 'TheSeasons', serif;

    font-weight: 400;
    font-size: 9vw;
    letter-spacing: 0px;
    pointer-events: none;
}

.valeria {
    top: 80px;
    left: -400px;
    z-index: 999;
}

.ferlini {
    bottom: 165px;
    right: -305px;
    color: var(--color-white);
}
/* Mobile Titles */

/* =============================================================================
SECONDA SEZIONE
============================================================================= */
.valeria-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    align-items: stretch;
    gap: 25px;
    padding: 40px 120px;
    background-color: #f8f8f8;
    text-align: center;
    font-family: 'TheSeasons', serif;
}

.valeria-links .top-row,
.valeria-links .middle-row,
.valeria-links .bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.valeria-links a {
  text-decoration: none;
  font-size: 6vw;
  font-weight: 600;;
  color: var(--color-black);
  transition: all 0.3s ease;
}
a:hover {
  filter: blur(1px) brightness(130%);
  animation: vibra 0.5s infinite alternate;
}
.valeria-links a:hover {
  filter: blur(1px) brightness(130%);
  animation: vibra 0.5s infinite alternate;
}
.valeria-links .small a{
    font-size: 3vw!important;
}
.valeria-links a span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}
.small {
    font-size: 3vw!important;
}

/* Speciali */
.red-bold {
  font-weight: 700;
  color: var(--color-primary)!important;
  position: relative;
}

.underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.bold-blue {
  color: var(--color-blue);
  font-weight: 700;
}

.italic {
  font-style: italic;
}

/*==============================================================================
   APE ICON
   ============================================================================= */

/* Wrapper che si muove */
.ape-wrapper {
  display: inline-block;
  position: relative;
}

.ape-wrapper.animate {
  animation: ape-drive-loop 4s ease-in-out forwards;
}

/* L’ape trema sempre */
.ape-icon {
  width: 50px;
  animation: ape-shake 0.1s infinite;
  cursor: pointer;
}
.trail {
    position: absolute;
    top: 69%;
    left: -5px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.4) 0%, transparent 80%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.ape-wrapper.animate .trail {
  opacity: 21;
  animation: smoke-puff 1s ease-out infinite;
}

/* Nuova animazione più randomica */
@keyframes smoke-puff {
  0% {
    transform: translateY(-50%) scale(0.5) translateX(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-60%) scale(0.7) translateX(-5px);
    opacity: 0.6;
  }
  60% {
    transform: translateY(-75%) scale(1) translateX(5px);
    opacity: 0.4;
  }
  100% {
    transform: translateY(-90%) scale(1.2) translateX(0);
    opacity: 0;
  }
}
/* Tremolio */
@keyframes ape-shake {
  0% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-1px) rotate(1deg); }
  50% { transform: translateY(1px) rotate(-1deg); }
  75% { transform: translateY(-1px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Movimento wrapper */
@keyframes ape-drive-loop {
  0%   { transform: translateX(0) rotate(0deg); opacity: 1; }
  40%  { transform: translateX(100vw) rotate(5deg); opacity: 1; }
  45%  { transform: translateX(110vw) rotate(5deg); opacity: 0; }
  55%  { transform: translateX(-100vw) rotate(-5deg); opacity: 0; }
  60%  { transform: translateX(-50vw) rotate(-5deg); opacity: 1; }
  100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}
@keyframes vibra {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1px, 1px); }
  50%  { transform: translate(1px, -1px); }
  75%  { transform: translate(-1px, -1px); }
  100% { transform: translate(1px, 1px); }
}
/*====================================================================
   PROFILE ICON
   ============================================================================= */
.profile-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  transform: translateY(3px);
  transition: transform 0.3s ease;
}

.profile-icon:hover {
  transform: translateY(3px) scale(3.15);
}

.divider {
  width: 110px;
  height: 2px;
  background: var(--color-blue);
  display: inline-block;
  margin: 0 10px;
}
.ape-malandra {
  font-size: 2.5rem;
  font-weight: 700;
font-family: 'Satoshi', sans-serif;
    letter-spacing: -5px;
    color: var(--color-primary)!important;
  position: relative;
}
/* Responsive */
@media (max-width: 768px) {
  .valeria-links {
    padding: 30px 10px;
  }

  .valeria-links .top-row,
  .valeria-links .middle-row,
  .valeria-links .bottom-row {
    flex-direction: column;
    gap: 20px;
  }

  .divider {
    width: 20px;
  }

  .valeria-links a {
    font-size: 3rem;
    transition: all 0.2s ease-in-out;
}
}
/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@keyframes float-vf {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
@keyframes underlineLoop {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* =============================================================================
   CAPSULE SECTION
   ============================================================================= */
.capsule-section {
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 600px;
}

.left-column {
  flex: 1;
  width: 50%;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.main-img {
  max-width: 60%;
  height: auto;
  transform: scale(1.1);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.main-img.visible {
  transform: scale(1);
  opacity: 1;
}

.right-column {
  flex: 1;
  width: 50%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* <-- Allinea tutto a destra */
}
.two .right-column {
    align-items: flex-start; /* <-- Allinea tutto a destra */

}
.text-block h2,
.text-block p {
  opacity: 0;
  transform: translateY(40px);
}
.text-block {
  padding: 60px;
  margin-top: 80px;
  margin-bottom: 40px;
  width: 45%;
  text-align: left; /* <-- Testo a destra */
  transform: translateY(40px);
}
.two .left-column{
    background-color: var(--color-primary);
}


.text-block h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    font-weight: bold;
    letter-spacing: -3px;
    color: #000;
    margin: 0 0 30px 0;
    line-height: 1.1;
}
.text-block p {
    font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.scopri {
  color: #666;
  font-size: 18px;
  margin-top: 10px;
    font-family: 'Satoshi', sans-serif!important;

    text-decoration: underline;
}

.detail-img-container {
  width: 100%;
  margin-top: auto;
}

.detail-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
img.detail-img {
    margin-bottom: -5px;
    width: 100%;
}
/* Animazioni on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
  .capsule-section {
    flex-direction: column;
    height: auto;
  }
  
  .left-column,
  .right-column {
    width: 100%;
  }
  
  .text-block h2 {
    font-size: 36px;
  }
  
  .text-block p {
    font-size: 16px;
  }
}

.statement-section {
  background-color: #090909;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
.statement-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
}

.statement-text {
  color: white;
  font-size: 5rem;
  font-weight: 400;
  font-family: 'Libre Caslon Display', serif;
  margin-bottom: -20px;
}

.newsletter-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  padding: 16px 24px;
  font-size: 1.2rem;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: white;
  color: black;
  max-width: 400px;
}

.choose-better {
  font-family: 'Satoshi', sans-serif;
  font-size: 7rem;
  color: var(--color-primary);
  letter-spacing: -6px;
  font-weight: bold;
}
.underline-animation {
  height: 5px;
  width: 0;
  background-color: var(--color-primary);
  margin-top: 10px;
  transition: width 1s ease-out;
}

.underline-animation.reveal {
  width: 100%;
}
.riga-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 3rem;
  justify-content: center;
  align-items: center;
}


.riga-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.font-alt {
  font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 7rem;
    letter-spacing: -6px;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    color: var(--color-black);
}

.font-serif {
  font-family: 'Satoshi', sans-serif;
  font-style: italic;
  color:var(--color-black);
  font-size: 4.6rem;
      letter-spacing: -6px;

}

.font-bold {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 5rem;
    color:var(--color-black);
  letter-spacing: -5px;
}

.font-red {
    color: #f93201;
  font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 13rem;
        letter-spacing: -6px;

}

.font-blue {
  font-family: 'Satoshi', sans-serif;
  letter-spacing: -5px;
  font-weight: 900;
  color: var(--color-blue);
  font-size: 5rem;
  display: block;
}

.riga-testi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  margin-top: 10px;
}

/* TEST */
.glitch-text {
  font-size: 2.6rem;
  font-family: 'Libre Caslon Display', serif;
  color: #000;
  position: relative;
  animation: glitch-animation 2s infinite;
  white-space: nowrap;
}
.glitch-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}
.glitch-text::before,
.glitch-text::after {
  content: 'Primavera/Estate 25';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  color: #000;
  z-index: -1;
}

.glitch-text::before {
  color: #00ffea;
  clip-path: inset(0 0 50% 0);
  transform: translate(-2px, -2px);
  animation: glitch-top 2s infinite;
}

.glitch-text::after {
  color: #ff007c;
  clip-path: inset(50% 0 0 0);
  transform: translate(2px, 2px);
  animation: glitch-bottom 2s infinite;
}

@keyframes glitch-animation {
  0% {
    transform: none;
  }
  20% {
    transform: skew(0.5deg);
  }
  40% {
    transform: skew(-0.5deg) translateX(-1px);
  }
  60% {
    transform: translateX(1px);
  }
  80% {
    transform: skew(0.3deg);
  }
  100% {
    transform: none;
  }
}

@keyframes glitch-top {
  0%, 100% {
    clip-path: inset(0 0 50% 0);
    transform: translate(-2px, -2px);
  }
  50% {
    clip-path: inset(10% 0 40% 0);
    transform: translate(2px, 0);
  }
}

@keyframes glitch-bottom {
  0%, 100% {
    clip-path: inset(50% 0 0 0);
    transform: translate(2px, 2px);
  }
  50% {
    clip-path: inset(60% 0 0 0);
    transform: translate(-2px, 1px);
  }
}
@keyframes glitchBlur {
  0% {
    transform: translate(0, 0);
    filter: blur(1px);
    opacity: 1;
  }
  20% {
    transform: translate(-1px, 0.5px);
    filter: blur(1px);
    opacity: 0.9;
  }
  40% {
    transform: translate(1px, -0.5px);
    filter: blur(2px);
    opacity: 0.8;
  }
  60% {
    transform: translate(-0.5px, 1px);
    filter: blur(1.5px);
    opacity: 0.85;
  }
  80% {
    transform: translate(0.5px, -1px);
    filter: blur(0.5px);
    opacity: 0.95;
  }
  100% {
    transform: translate(0, 0);
    filter: blur(0px);
    opacity: 1;
  }
}

.blur-glitch {
  display: inline-block;
  animation: glitchBlur 0.3s infinite ease-in-out;
  will-change: transform, filter, opacity;
}

@media (max-width: 768px) {

  .valeria,
  .ferlini {
      font-size: 20vw;
      letter-spacing: 2px;
  }
  .valeria {
    top: -46%;
    left: -13%;
}
.ferlini {
  bottom: -39%;
  right: -10%;
}
 
}

@media (max-width: 480px) {

  .valeria,
  .ferlini {
      font-size: 20vw;
      letter-spacing: 2px;
  }
  .valeria {
    top: -155px;
    left: 0;
}

.ferlini {
  bottom: -126px;
  right: 11px;
}
}

@media screen and (max-width:768px) {
  
  .main-img {
    max-width: 80%!important;
    padding-bottom: 40px;
    padding-top: 40px;
  }
  .text-block {
   margin-top:20px;
    margin-bottom: 20px;
    width: auto;
 
}
.detail-img {
  display: none;
}
.capsule-section.two {
  flex-direction: column-reverse !important;
}
.statement-content {
  padding-top: 100px;
}
.statement-text {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 20px;
}
.choose-better {
 
  font-size: 4rem;

}
.choose-better-container {
  text-align: center;
  margin: 0 auto;
}
}
/* ===========
ABOUT 
=========*/

.vf-fixed {
  position: fixed;
  top: calc(80px + 50vh);
  left: 40.75vw;
  transform: translate(-50%, -50%);
  font-size: 10vw;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 0.8;
  pointer-events: none;
  font-family: 'Satoshi', sans-serif;
  text-align: center;
  letter-spacing: -1vw;
  user-select: none;
  z-index:1;
}

.about-hero {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  margin-top: 80px; /* altezza menu */
}

.about-hero-img {
  flex: 1.1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: #e5e2dd;
  overflow: hidden;
  margin-top: -80px;
}
.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 24px;
  display: block;
}

.about-hero-text {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px 00px 90px;
  margin-top: -13vw;
  color: #111;
}

.about-hero-text h1 {
  font-family: 'TheSeasons', serif;
  font-size: 7vw;
  font-weight: 400;
  margin: 0 0 1vw 0;
  letter-spacing: -2px;
}

.about-hero-text h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 2vw;
  font-weight: 400;
  margin: 0 0 2vw 0;
  color: #222;
  letter-spacing: -1px;
}

.about-hero-text p {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.2vw;
  color: #444;
  max-width: 500px;
  line-height: 1.6;
}
/* Allinea la colonna dei testi sotto la hero */
.about-content {
  margin-top: -25vw;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.about-content .text-block {
  padding: 17px;
  margin-top: 80px;
  margin-bottom: 40px;
  width: 71%;
  text-align: left;
  transform: translateY(40px);
}
.about-section {
  /* Larghezza massima uguale a .about-hero-text */
  max-width: 700px;
  width: 100%;
  /* Sposta la colonna a destra del VF */
  margin-left: calc(40.75vw + 80px); /* 40.75vw = posizione VF, 80px = spazio extra */
  padding: 0 60px 0 0;
  box-sizing: border-box;
}
.thats-life-section {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.thats-life-wrapper {
  position: relative;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #f8f6f2;
}
.thats-life-title {
    position: relative;
    z-index: 2;
    font-family: 'Libre Caslon Display', serif;
    font-size: 23vw;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    color: #000;
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
    width: 100vw;
    background: linear-gradient(to bottom, #f8f6f200 60%, #f13b05 40%);
}
.thats-life-title p.visible {
  opacity: 1;
  transform: translateX(0);
}
.thats-life-red {
  z-index: 2;
  width: 100vw;
  min-height: 50vh;
  background: #f13b05;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  position: relative;
}
.thats-life-title p {
  opacity: 0;
  transform: translateX(100vw);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 1.2s cubic-bezier(.77,0,.18,1);
  margin: 0;
  font-size: 26vw;
  margin-left: -70px;
}
.thats-life-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40vw;
  max-width: 400px;
  pointer-events: none;
}

.thats-life-label span {
  font-family: 'Satoshi', sans-serif;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: right;
  letter-spacing: 1px;
  pointer-events: auto;
}

.thats-life-label-left {
  left: 0;
  align-items: flex-end;
  text-align: right;
  padding-right: 30px;
}

.thats-life-label-right {
  right: 0;
  align-items: flex-start;
  text-align: left;
  padding-left: 30px;
}

.thats-life-label-right span {
  text-align: left;
}

.thats-life-underline {
  height: 3px;
  background: #fff;
  width: 100%;
  border-radius: 2px;
  position: relative;
}

.thats-life-label-left .thats-life-underline {
  margin-left: 300%;
  width: 115%;
  position: absolute;
  left: -72vw;
  top: -70px;
}
.thats-life-label-left span {
  margin-top: -25%;
  margin-right: -14%;
  font-size: 1.5rem;
}
.thats-life-label-right .thats-life-underline {
  margin-right: auto;
  margin-left: 0;
  width: 105%;
  position: absolute;
  left: -19vw;
  top: 172px;
}
.thats-life-label-right span {
  text-align: left;
  margin-top: 134px;
  margin-left: -21px;
  font-size: 1.5rem;
} 
@media (max-width: 700px) {
  .thats-life-title {
    font-size: 18vw;
  }
}



.thats-life-gif {
  max-width: 600px;
  max-height: 600px;
  width: 60vw;
  z-index: 2;
  height: auto;
  object-fit: contain;
}
.vf-static {
  position: absolute !important;
  top: auto !important;
  left: 40.75vw !important;
  bottom: 0;
  transform: translate(-50%, 0) !important;
}
@media (max-width: 700px) {
  .thats-life-title {
    font-size: 15vw;
  }
  .thats-life-gif {
    max-width: 90vw;
    max-height: 60vw;
  }
  .thats-life-red {
    padding: 30px 0;
  }
}
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }
  .about-section {
    margin-left: 0;
    padding: 0 20px;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    min-height: auto;
  }
  .about-hero-img {
    min-height: 40vh;
    border-radius: 0;
  }
  .about-hero-text {
    padding: 40px 20px;
  }
  .about-hero-text h1 {
    font-size: 12vw;
  }
  .about-hero-text h2 {
    font-size: 5vw;
  }
  .about-hero-text p {
    font-size: 3.5vw;
  }
}

/* ===== 
ULTIMA CAPSULE
*/
.scattered-products {
  padding-bottom: 600px; /* quanto serve per dare aria prima della values-section */
}
body.capsule{
  background-color: #0a0a0a;
}
.capsule-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  letter-spacing: -6px;
  font-size: 5rem;
  color: var(--color-primary);
  transition:
    transform 0.6s ease,
    font-size 0.6s ease,
    top 0.6s ease,
    left 0.6s ease;
  transform-origin: center center;
}

.capsule-title.shrink-rotate {
  font-size: 2.1rem;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.capsule-title.move-top-left {
  top: 200px;
  left: 50px;
  transform: translate(0, 0) rotate(-90deg);
}
.product {
  position: absolute;
  width: calc(100% - 160px); /* padding laterale totale: 80px per lato */
  max-width: 1000px;         /* meno largo */
  left: 50%;
  transform: translateX(-50%) translateY(60px); /* <--- inizialmente più in basso */
  display: flex;
  align-items: center;
  gap: 250px;
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.product.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* <--- si muove verso l'alto */
}

.product.left,
.product.right {
  /* Niente left/right qui */
  flex-direction: row;
}

.product.right {
  flex-direction: row-reverse;
}
.product .image-wrapper {
  width: 400px;
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
  cursor: none; /* nasconde il cursore normale */
}

.product .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product .hover-text {
  position: absolute;
  pointer-events: none;
  width: 120px;
  height: 120px;
  background: var(--color-primary);
  color: white;
  font-weight: bold;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.product .image-wrapper:hover .hover-text {
  opacity: 1;
}

.product .info {
  max-width: 250px;
  color: #fff;
}

.product .name {
  font-family: 'Satoshi', sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 24px;
}

.product .desc {
  font-size: 15px;
  line-height: 1.5;
}

.product .link {
  margin-top: 12px;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
}

.icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.product-number {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-primary);
  z-index: 5;
  pointer-events: none;
}
.instagram-icon {
  margin-top: 40px;
  width: 100%;
  text-align: center;
}

.instagram-icon img {
  width: 40px;
  height: 40px;
  filter: invert(1); /* Se il file non è già bianco */
  transition: transform 0.3s ease;
}

.instagram-icon img:hover {
  transform: scale(1.2);
}
.image-wrapper {
  position: relative;
}
section.valeria-links.values-section a{
  font-size: 5rem;
}section.valeria-links.values-section {
  font-size: 5rem;
  z-index: 9;
}