/* ==========================================================================
   ARTE SULLE VOSTRE MANI - BEAUTY SALON & NAIL STUDIO (ANNA - TORINO)
   Fully Responsive Pastel Pink & Calligraphy Script Site Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
  --bg-pastel-pink: #FDF0F4;       /* Softest Pastel Silk Pink */
  --bg-pastel-rose: #F8D7E3;       /* Warm Pearl Rose */
  --bg-pastel-card: #FFFFFF;       /* Clean White Card */
  
  --text-main: #2B1B26;            /* Deep Velvet Charcoal / Plum */
  --text-muted: #6B4E63;           /* Soft Muted Berry */
  --text-dim: #9E7D96;             /* Delicate Pearl Text */
  
  --accent-burgundy: #8B2243;      /* Official Romantic Burgundy (From Flyer) */
  --accent-pink-soft: #F48FB1;     /* Sweet Pastel Pink */
  
  --border-light: rgba(139, 34, 67, 0.14);
  --border-hover: rgba(139, 34, 67, 0.35);
  
  --gradient-burgundy: linear-gradient(135deg, #8B2243 0%, #A82E55 100%);
  --shadow-sm: 0 4px 15px rgba(139, 34, 67, 0.05);
  --shadow-card: 0 10px 30px rgba(107, 78, 99, 0.07);
  --shadow-glow: 0 10px 25px rgba(139, 34, 67, 0.18);

  /* Typography */
  --font-script: 'Alex Brush', cursive;
  --font-serif: 'Italiana', 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  
  /* Layout */
  --container-max: 1200px;
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 28px;
  --border-radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. BASE RESET & MOBILE OVERFLOW GUARD
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-pastel-pink);
  color: var(--text-main);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-pastel-pink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(248, 215, 227, 0.4);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-pink-soft);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-burgundy);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   3. CLEAN BRAND HEADER (MENU ROW MORE DETACHED FROM TOP)
   -------------------------------------------------------------------------- */
.clean-brand-header {
  padding: 1.75rem 0.75rem 1rem 0.75rem;
  text-align: center;
  background-color: var(--bg-pastel-pink);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.top-brand-logo-script {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 400;
  color: var(--accent-burgundy);
  line-height: 1.1;
  display: inline-block;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
  max-width: 100%;
  word-wrap: break-word;
}

/* Special Large Calligraphy Script for Anna */
.script-name-anna {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 9vw, 6rem);
  font-weight: 400;
  color: var(--accent-burgundy);
  line-height: 0.9;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.2rem;
  letter-spacing: 0.5px;
}

.top-brand-subtitle {
  font-size: clamp(0.72rem, 2.3vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
  max-width: 100%;
}

.sub-line-1 {
  display: block;
  max-width: 100%;
  margin-bottom: 0.25rem;
}

.sub-line-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  max-width: 100%;
  margin-bottom: 0.25rem;
}

.sub-line-2 > span {
  white-space: nowrap;
}

/* Clean Inline Nav Menu */
.clean-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.85rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(139, 34, 67, 0.16);
  margin-top: 0.5rem;
  width: 100%;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-burgundy);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-burgundy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Typography Classes */
.font-script {
  font-family: var(--font-script);
}

.font-serif {
  font-family: var(--font-serif);
}

.burgundy-text {
  color: var(--accent-burgundy);
}

.pink-gradient-text {
  color: var(--accent-burgundy);
  display: inline-block;
}

/* Section Shared Headers */
.section {
  padding: 1.35rem 0;
  position: relative;
  width: 100%;
}

#about.section {
  padding: 1.5rem 0 1rem 0;
}

#stats.section {
  padding: 0.75rem 0 1.25rem 0;
}

#lavori.section {
  padding: 1.25rem 0 1.35rem 0;
}

#pricelist.section {
  padding: 1.25rem 0 1.25rem 0;
}

#reviews.section {
  padding: 1.25rem 0 1.25rem 0;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 0.85rem auto;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-burgundy);
  margin-bottom: 0.35rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* HIGH-DESIGN UNIFIED WHATSAPP BUTTON */
.btn-whatsapp-design {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  background: var(--accent-burgundy);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(139, 34, 67, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.btn-whatsapp-design:hover {
  background: #6E1A34;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(139, 34, 67, 0.36);
  border-color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   4. CHI SIAMO (ABOUT ANNA)
   -------------------------------------------------------------------------- */
.about-text {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. I NUMERI DEL SALONE (CLOSELY SPACED WITH ELASTIC POP-UP ANIMATION)
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.stat-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0.2rem;
  text-align: center;
  box-shadow: none;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.6) translateY(30px);
  will-change: transform, opacity;
}

.stat-card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.stat-card:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: none;
  border-color: transparent;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 400;
  color: var(--accent-burgundy);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   6. SHOWROOM / LAVORI DEI LAVORI (PURE PHOTO CAROUSEL)
   -------------------------------------------------------------------------- */
.showroom-horizontal-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.15rem 0.85rem 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.showroom-card {
  flex: 0 0 250px;
  max-width: 270px;
  scroll-snap-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.showroom-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-burgundy);
  box-shadow: var(--shadow-glow);
}

.showroom-img-wrapper {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: var(--bg-pastel-rose);
  position: relative;
}

.showroom-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.showroom-card:hover .showroom-img-wrapper img {
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   7. LISTINO PREZZI UFFICIALE (RESPONSIVE SCROLL CAROUSEL)
   -------------------------------------------------------------------------- */
.pricelist-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.carousel-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--accent-burgundy);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--accent-burgundy);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.carousel-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(139, 34, 67, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dots .dot.active {
  background: var(--accent-burgundy);
  width: 18px;
  border-radius: 12px;
}

.pricelist-horizontal-scroll {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.15rem 0.65rem 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.pricelist-card {
  flex: 0 0 300px;
  max-width: 320px;
  scroll-snap-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  position: relative;
}

.pricelist-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-burgundy);
  box-shadow: var(--shadow-glow);
}

.card-category-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
  border-bottom: 2px solid rgba(139, 34, 67, 0.12);
}

.card-category-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-burgundy);
}

.pricelist-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0;
}

.price-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.84rem;
}

.item-name {
  color: var(--text-main);
  font-weight: 500;
  flex-shrink: 1;
}

.item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(139, 34, 67, 0.3);
  margin: 0 0.35rem;
  transform: translateY(-3px);
  opacity: 0.6;
}

.item-price {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-burgundy);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. RECENSIONI CLIENTI (REVIEWS GRID)
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.95rem;
  width: 100%;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-burgundy);
  box-shadow: var(--shadow-glow);
}

.review-quote {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
  line-height: 1.48;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-pastel-rose);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.review-author-info h6 {
  color: var(--text-main);
  font-size: 0.85rem;
}

.review-author-info p {
  color: var(--text-dim);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   9. FOOTER & SOCIAL BUTTONS
   -------------------------------------------------------------------------- */
.footer {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--border-light);
  padding: 1.35rem 0 1rem 0;
  text-align: center;
  width: 100%;
}

.footer-centered-brand {
  max-width: 600px;
  margin: 0 auto 0.75rem auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.35rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.social-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.25);
}

.social-wa:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links-row a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-links-row a:hover {
  color: var(--accent-burgundy);
}

/* --------------------------------------------------------------------------
   10. FLOATING SCROLL-TO-TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-burgundy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 34, 67, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-normal);
  z-index: 1500;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.back-to-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: #6E1A34;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 34, 67, 0.4);
}

/* --------------------------------------------------------------------------
   11. ADVANCED MOBILE RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .clean-brand-header {
    padding: 1.4rem 0.5rem 0.85rem 0.5rem;
  }

  .top-brand-logo-script {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 0.25rem;
  }

  .script-name-anna {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

  .top-brand-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    margin-bottom: 1.1rem;
  }

  .sub-line-1,
  .sub-line-2 {
    white-space: normal;
  }

  .clean-nav-menu {
    gap: 1.1rem;
    padding-top: 0.85rem;
  }

  .nav-link {
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    padding: 0.1rem 0;
  }

  .section {
    padding: 1.1rem 0;
  }

  #about.section {
    padding: 1.25rem 0 0.85rem 0;
  }

  #stats.section {
    padding: 0.65rem 0 1.1rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 280px;
  }

  .stat-card {
    padding: 0.35rem 0;
  }

  .section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }

  .btn-whatsapp-design {
    width: 100%;
  }

  .showroom-card {
    flex: 0 0 78vw;
    min-width: 240px;
    max-width: 280px;
  }

  .showroom-img-wrapper {
    height: 330px;
  }

  .pricelist-card {
    flex: 0 0 85vw;
    min-width: 260px;
    max-width: 310px;
    padding: 1rem 0.95rem;
  }

  .item-name {
    font-size: 0.8rem;
  }

  .item-price {
    font-size: 0.94rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-links-row {
    gap: 0.85rem;
  }
}

@media (max-width: 380px) {
  .top-brand-logo-script {
    font-size: 2rem;
  }

  .top-brand-subtitle {
    font-size: 0.65rem;
  }

  .nav-link {
    font-size: 0.7rem;
  }
}
