/* ============================================
   Studio Massaggi Torino - Main Stylesheet
   Colors: Gold #C9A24D | Carbon #2A2A2A
   ============================================ */

/* --- CSS Variables --- */
:root {
  --gold: #C9A24D;
  --gold-light: #E8D5A3;
  --gold-dark: #A8832E;
  --carbon: #2A2A2A;
  --carbon-light: #3A3A3A;
  --carbon-dark: #1A1A1A;
  --cream: #F5F0EB;
  --white: #FAFAF8;
  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-light: #D4D4D4;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--carbon-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 300;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background-color: var(--carbon);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--gold);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-body);
}

.section-dark .section-header p {
  color: var(--text-light);
}

.text-gold {
  color: var(--gold);
}

/* --- Button --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--carbon-dark);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--carbon-dark);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  padding: 0.8rem 0;
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover {
  color: var(--gold);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.2rem 0.4rem;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--gold);
}

.lang-switch a::after {
  display: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 2rem;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero .gold-line {
  margin: 1.5rem auto;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  letter-spacing: 0.5px;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.9);
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text .gold-line {
  margin: 1.2rem 0;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  margin-top: 1.5rem;
}

/* --- Services Section --- */
.services-category {
  margin-bottom: 3.5rem;
}

.services-category:last-child {
  margin-bottom: 0;
}

.services-category h3 {
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.section-dark .services-category h3 {
  color: var(--gold-light);
}

.services-list {
  max-width: 700px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-name {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-light);
}

.service-detail {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.service-dots {
  flex: 1;
  margin: 0 1rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  min-width: 30px;
  align-self: center;
  margin-bottom: 4px;
}

.service-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold);
  white-space: nowrap;
}

/* Special Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.package-card {
  border: 1px solid rgba(201, 162, 77, 0.2);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.package-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.package-card h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.package-card .package-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.package-card .package-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info .gold-line {
  margin: 1rem 0 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--gold);
}

.contact-detail p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-detail a {
  color: var(--gold);
}

.contact-detail a:hover {
  color: var(--gold-dark);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: #25D366;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  background: #1da851;
  color: white;
}

.whatsapp-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Contact Form */
.contact-form h3 {
  margin-bottom: 1.5rem;
}

.contact-form .gold-line {
  margin: 1rem 0 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  border: 1px solid #ddd;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--gold);
  text-decoration: underline;
}

.form-privacy input[type="checkbox"] {
  margin-right: 0.5rem;
  width: auto;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 400;
}

.form-status.success {
  color: #25D366;
}

.form-status.error {
  color: #e74c3c;
}

/* --- Footer --- */
.footer {
  background: var(--carbon-dark);
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 300px;
}

.footer-links h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  margin-left: 1.5rem;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* --- Cookie Consent --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.97);
  color: var(--text-light);
  padding: 1.2rem 2rem;
  z-index: 9999;
  display: none;
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner p {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--gold);
  color: var(--carbon-dark);
}

.cookie-accept:hover {
  background: var(--gold-dark);
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
}

.cookie-reject:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image img {
    height: 350px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .lang-switch {
    margin-left: 0;
    margin-top: 2rem;
    padding-left: 0;
    border-left: none;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-logo {
    width: 90px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 0;
    margin: 0 0.5rem;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  .service-item {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .service-dots {
    display: none;
  }

  .service-price {
    margin-left: auto;
  }
}
