/* Stili base dal sito principale */
:root {
  --primary: #0691A9;         /* Teal blue */
  --secondary: #D89D36;       /* Golden orange */
  --light: #F9F7F4;          /* Cream white */
  --dark: #1A1A1A;           /* Deep black */
  --text: #333333;           /* Main text */
  --text-light: #FFFFFF;      /* White text */
  --accent: #F5E9D4;         /* Light gold */
  --overlay: rgba(0,0,0,0.6); /* Dark overlay */
  --transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.8;
  background-color: var(--light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

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

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(216, 157, 54, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(216, 157, 54, 0.4);
  background-color: #e6a933;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  text-align: center;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 1rem auto 0;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  background-color: rgba(249, 247, 244, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 60px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
  z-index: 1100;
  transition: var(--transition);
}

.nav-toggle:hover {
  color: var(--secondary);
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: auto;
  margin-right: 20px;
}

.language-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border-radius: 50px;
  transition: var(--transition);
}

.language-btn:hover {
  background-color: rgba(6, 145, 169, 0.1);
}

.language-btn i {
  font-size: 0.8rem;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px 0;
  min-width: 150px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  padding: 8px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-option:hover {
  background-color: rgba(216, 157, 54, 0.1);
  color: var(--secondary);
}

.language-flag {
  width: 20px;
  height: auto;
  border-radius: 3px;
}

/* Navigation */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: var(--light);
  z-index: 1000;
  transition: var(--transition);
  padding: 5rem 3rem;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
  right: 0;
}

.side-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.side-close:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

.nav-menu {
  list-style: none;
  margin-top: 3rem;
}

.nav-menu li {
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
}

.nav-menu a {
  display: block;
  font-size: 1.3rem;
  color: var(--dark);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-menu a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: translateX(-100%);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary);
  transform: translateX(15px);
}

.nav-menu a:hover:before {
  transform: translateX(0);
}

/* Hero Section */
.price-hero {
  height: 50vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(6, 145, 169, 0.7), rgba(216, 157, 54, 0.4)), url('/assets/img/spa-bg.jpg') center/cover no-repeat;
  margin-top: 80px;
}

.price-hero-content {
  text-align: center;
  color: var(--text-light);
}

.price-hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.price-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* Price List Styles */
.price-container {
  padding: 6rem 0;
}

.price-category {
  margin-bottom: 4rem;
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.price-category:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.category-header {
  text-align: center;
  margin-bottom: 2.5rem;
  cursor: default;
}

.category-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.category-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--secondary);
  transition: var(--transition);
}

.category-header:hover .category-title:after {
  width: 80px;
}

.category-subtitle {
  color: var(--secondary);
  font-style: italic;
  font-size: 1.1rem;
}

.price-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.price-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.price-item-header:hover {
  background-color: rgba(245, 233, 212, 0.3);
}

.treatment-info {
  flex: 1;
  padding-right: 2rem;
}

.treatment-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.treatment-name i {
  color: var(--secondary);
  transition: var(--transition);
}

.treatment-duration {
  display: inline-block;
  background-color: var(--accent);
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.treatment-price {
  min-width: 120px;
  text-align: right;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.treatment-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 5px;
}

.price-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  padding: 0 1.5rem;
}

.price-item.active .price-item-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.treatment-description {
  color: var(--text);
  line-height: 1.7;
  padding-top: 1rem;
  border-top: 1px dashed rgba(216, 157, 54, 0.3);
}

/* Icon animation for active state */
.price-item.active .treatment-name i {
  transform: rotate(90deg);
}

/* Simple items (no description) */
.simple-item {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.simple-item:hover {
  background-color: rgba(245, 233, 212, 0.3);
}

.simple-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.simple-name i {
  color: var(--secondary);
}

.simple-price {
  font-weight: 600;
  color: var(--secondary);
}

/* CTA Section */
.price-cta {
  text-align: center;
  padding: 4rem 0;
  background-color: var(--accent);
  margin-top: 3rem;
  border-radius: 10px;
}

.price-cta .btn {
  margin: 0 10px;
}

.price-cta .btn:nth-child(2) {
  background-color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-img {
  height: 60px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-light);
  font-weight: 700;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.footer-contact-icon {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-top: 3px;
}

.footer-contact-text h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text-light);
}

.footer-contact-text p, 
.footer-contact-text a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-contact-text a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background-color: #e6a933;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .price-hero-title {
    font-size: 2.8rem;
  }
  
  .price-hero-subtitle {
    font-size: 1.3rem;
  }
  
  .price-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .treatment-price {
    text-align: left;
    align-items: flex-start;
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed rgba(216, 157, 54, 0.3);
  }
  
  .price-item-content {
    padding: 0 1rem;
  }
  
  .price-item.active .price-item-content {
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 768px) {
  .price-hero {
    min-height: 400px;
    margin-top: 70px;
  }
  
  .price-hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .category-title {
    font-size: 1.8rem;
  }
  
  .price-cta .btn {
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }

  /* Mobile Language Selector */
  .mobile-language-selector {
    display: block;
    margin-top: 2rem;
    width: 100%;
  }

  .mobile-language-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 500;
  }

  .mobile-language-btn i {
    transition: var(--transition);
  }

  .mobile-language-selector.active .mobile-language-btn i {
    transform: rotate(180deg);
  }

  .mobile-language-options {
    display: none;
    margin-top: 10px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .mobile-language-selector.active .mobile-language-options {
    display: block;
  }

  .mobile-language-option {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .mobile-language-option:last-child {
    border-bottom: none;
  }

  .mobile-language-option:hover {
    background-color: var(--accent);
    color: var(--primary);
  }

  /* Hide desktop language selector on mobile */
  .language-selector {
    display: none;
  }
}

@media (min-width: 769px) {
  /* Nascondi il selettore lingua mobile su desktop */
  .mobile-language-selector {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .price-hero-title {
    font-size: 2rem;
  }
  
  .price-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}