@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --gold:   #c9a84c;
      --gold2:  #e8cb7a;
      --dark:   #0a0c0f;
      --dark2:  #111418;
      --dark3:  #181c22;
      --light:  #f5f0e8;
      --gray:   #8a9099;
      --white:  #ffffff;
      --font:   'Montserrat', serif;
      --sans:   'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--dark);
      color: var(--light);
      font-family: var(--font);
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── Utilities ─────────────────────────────────────────── */
    .gold { color: var(--gold); }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
    .section-label {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 16px;
    }
    .section-title {
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
    }

    /* ── NAV ───────────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 20px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background 0.4s, padding 0.4s;
	  background: rgba(10, 12, 15, 0.60);
    }
    nav.scrolled {
      background: rgba(10, 12, 15, 0.95);
      backdrop-filter: blur(13px);
      padding: 14px 40px;
      border-bottom: 1px solid rgba(201,168,76,0.15);
    }
    .nav-logo {
      font-family: var(--sans);
      font-size: 22px;
      font-weight: 600;
      letter-spacing: 6px;
      color: var(--gold);
      text-decoration: none;
    }
    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }
    .nav-links a {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--light);
      text-decoration: none;
      opacity: 0.8;
      transition: opacity 0.2s, color 0.2s;
    }
    .nav-links a:hover { opacity: 1; color: var(--gold); }
    .nav-cta {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--dark);
      background: var(--gold);
      padding: 10px 24px;
      text-decoration: none;
      transition: background 0.2s;
    }
    .nav-cta:hover { background: var(--gold2); }
	.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 101;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animazione Hamburger -> 'X' */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}	





    /* ── HERO ──────────────────────────────────────────────── */
    #hero {
      height: 100vh;
      min-height: 700px;
      position: relative;
      display: flex;
      align-items: flex-end;
      padding-bottom: 100px;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center 40%;
      #filter: brightness(0.55);
      #transform: scale(1.04);
      #transition: transform 8s ease;
    }
    #hero:hover .hero-bg { transform: scale(1); }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 780px;
    }
    .hero-pre {
      font-family: var(--sans);
      font-size: 16px;
      letter-spacing: 5px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 14px;
	  font-weight: 700;	
    }
    .hero-pre::before {
      content: '';
      display: inline-block;
      width: 40px;
      height: 1px;
      background: var(--gold);
    }
    .hero-title {
      font-size: clamp(3rem, 7vw, 6rem);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -1px;
      margin-bottom: 28px;
    }
    .hero-title em {
      font-style: italic;
      color: var(--gold);
    }
    .hero-subtitle {
      font-size: 20px;
      font-weight: 300;
      color: rgba(245,240,232,1);
      max-width: 480px;
      margin-bottom: 44px;
      line-height: 28px;
    }
    .hero-btns {
      display: flex;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--dark);
      background: var(--gold);
      padding: 16px 36px;
      text-decoration: none;
      transition: background 0.2s, transform 0.2s;
    }
    .btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
    .btn-ghost {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--light);
      border: 1px solid rgba(245,240,232,0.8);
      padding: 16px 36px;
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
    .hero-scroll {
      position: absolute;
      bottom: 32px;
      right: 48px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      font-family: var(--sans);
      font-size: 10px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(245,240,232,0.5);
      writing-mode: vertical-rl;
    }
    .hero-scroll::after {
      content: '';
      width: 1px;
      height: 60px;
      background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
    }

    /* ── INTRO STRIP ───────────────────────────────────────── */
    .intro-strip {
      background: var(--dark2);
      border-top: 1px solid rgba(201,168,76,0.2);
      border-bottom: 1px solid rgba(201,168,76,0.2);
      padding: 32px 0;
    }
    .intro-strip .container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
    .strip-item {
      padding: 0 32px;
      border-right: 1px solid rgba(201,168,76,0.15);
      text-align: center;
    }
    .strip-item:last-child { border-right: none; }
    .strip-item .num {
      font-size: 2.4rem;
      font-weight: 300;
      color: var(--gold);
      line-height: 1;
    }
    .strip-item .unit {
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 2px;
      color: var(--gray);
      text-transform: uppercase;
      margin-top: 4px;
    }

    /* ── ABOUT ─────────────────────────────────────────────── */
    #about {
      padding: 120px 0;
      display: grid;
      /* trick: text left, image right */
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .about-text p {
      font-size: 1.1rem;
      color: rgba(245,240,232,0.75);
      margin-bottom: 20px;
    }
    .about-img {
      position: relative;
    }
    .about-img img {
      width: 100%;
      height: 520px;
      object-fit: cover;
      display: block;
    }
    .about-img::before {
      content: '';
      position: absolute;
      inset: -16px -16px auto auto;
      width: 60%;
      height: 60%;
      border-top: 2px solid var(--gold);
      border-right: 2px solid var(--gold);
      z-index: 1;
    }
    .about-img::after {
      content: '';
      position: absolute;
      inset: auto auto -16px -16px;
      width: 60%;
      height: 60%;
      border-bottom: 2px solid var(--gold);
      border-left: 2px solid var(--gold);
    }

    /* ── GALLERY ───────────────────────────────────────────── */
    #gallery { padding: 80px 0 120px; }
    .gallery-header {
      text-align: center;
      margin-bottom: 60px;
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: 280px 280px;
      gap: 10px;
    }
    .gallery-grid .g1 { grid-column: 1 / 3; grid-row: 1; }
    .gallery-grid .g2 { grid-column: 3; grid-row: 1; }
    .gallery-grid .g3 { grid-column: 4; grid-row: 1; }
    .gallery-grid .g4 { grid-column: 1; grid-row: 2; }
    .gallery-grid .g5 { grid-column: 2; grid-row: 2; }
    .gallery-grid .g6 { grid-column: 3 / 5; grid-row: 2; }
    .gallery-grid .g7 { grid-column: 1 grid-row: 3; }
    .gallery-grid .g8 { grid-column: 2; grid-row: 3; }
    .gallery-grid .g9 { grid-column: 3; grid-row: 3; }
    .gallery-grid .g10 { grid-column: 4; grid-row: 3; }
    .gallery-grid .g11 { grid-column: 1/3; grid-row: 4; }
    .gallery-grid .g12 { grid-column: 2; grid-row: 4; }
    .gallery-grid .g13 { grid-column: 3 / 4; grid-row: 4; }
    .gallery-grid .g15 { grid-column: 1; grid-row: 5; }
 	.gallery-grid .g16 { grid-column: 2; grid-row: 5; }
 	.gallery-grid .g17 { grid-column: 3/5; grid-row: 5; }

     .gallery-item {
      overflow: hidden;
      position: relative;
      cursor: pointer;
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease, filter 0.4s;
      filter: brightness(0.85);
    }
    .gallery-item:hover img {
      transform: scale(1.06);
      filter: brightness(1);
    }
    .gallery-item .overlay {
      position: absolute;
      inset: 0;
      background: rgba(201,168,76,0);
      transition: background 0.4s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .gallery-item:hover .overlay { background: rgba(201,168,76,0.08); }
    .gallery-more {
      text-align: center;
      margin-top: 40px;
    }

    /* ── LIGHTBOX ──────────────────────────────────────────── */
    #lightbox {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(10,12,15,0.95);
      z-index: 999;
      align-items: center;
      justify-content: center;
    }
    #lightbox.open { display: flex; }
    #lightbox img {
      max-width: 90vw;
      max-height: 85vh;
      object-fit: contain;
    }
    #lightbox .lb-close {
      position: absolute;
      top: 24px; right: 32px;
      font-size: 32px;
      color: var(--gold);
      cursor: pointer;
      background: none;
      border: none;
      line-height: 1;
    }
    #lightbox .lb-prev,
    #lightbox .lb-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 48px;
      color: rgba(201,168,76,0.7);
      cursor: pointer;
      background: none;
      border: none;
      line-height: 1;
      padding: 0 20px;
      transition: color 0.2s;
    }
    #lightbox .lb-prev:hover,
    #lightbox .lb-next:hover { color: var(--gold); }
    #lightbox .lb-prev { left: 0; }
    #lightbox .lb-next { right: 0; }

    /* ── SPECS ─────────────────────────────────────────────── */
    #specs {
      padding: 120px 0;
      background: var(--dark2);
    }
    .specs-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
      margin-top: 60px;
    }
    .specs-table {
      border-collapse: collapse;
      width: 100%;
    }
    .specs-table tr {
      border-bottom: 1px solid rgba(201,168,76,0.12);
    }
    .specs-table td {
      padding: 16px 0;
      font-size: 1rem;
    }
    .specs-table td:first-child {
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gray);
      width: 45%;
    }
    .specs-table td:last-child {
      font-size: 1.05rem;
      font-weight: 400;
      color: var(--light);
    }
    .specs-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }
    .spec-feature {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .spec-feature .icon {
      width: 60px;
      height: 60px;
      flex-shrink: 0;
      border: 1px solid rgba(201,168,76,0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold);
      font-size: 22px;
      margin-top: 2px;
    }
    .spec-feature .text {
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 1px;
      color: rgba(245,240,232,0.7);
      line-height: 1.5;
      text-transform: uppercase;
    }

    /* ── PRICING ───────────────────────────────────────────── */
    #pricing { padding: 120px 0; }
    .pricing-header { text-align: center; margin-bottom: 70px; }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .price-card {
      border: 1px solid rgba(201,168,76,0.2);
      padding: 48px 36px;
      position: relative;
      transition: border-color 0.3s, transform 0.3s;
      background: var(--dark2);
    }
    .price-card:hover {
      border-color: var(--gold);
      transform: translateY(-6px);
    }
    .price-card.featured {
      border-color: var(--gold);
      background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, var(--dark2) 100%);
    }
    .price-card.featured::before {
      content: 'BEST-SELLING';
      position: absolute;
      top: -1px; left: 50%;
      transform: translateX(-50%);
      background: var(--gold);
      color: var(--dark);
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 3px;
      padding: 5px 16px;
    }
    .price-name {
      font-family: var(--sans);
      font-size: 15px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
	  font-weight: 700;
    }
    .price-amount {
      font-size: 3.2rem;
      font-weight: 300;
      line-height: 1;
      margin-bottom: 6px;
    }
    .price-period {
      font-family: var(--sans);
      font-size: 14px;
      color: var(--gray);
      margin-bottom: 32px;
    }
    .price-divider {
      height: 1px;
      background: rgba(201,168,76,0.15);
      margin-bottom: 32px;
    }
    .price-includes {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 13px;
      margin-bottom: 40px;
    }
    .price-includes li {
      font-family: var(--sans);
      font-size: 16px;
      letter-spacing: 0.5px;
      color: rgba(245,240,232,0.7);
      display: flex;
      align-items: center;
      gap: 13px;
    }
    .price-includes li::before {
      content: '✦';
      color: var(--gold);
      font-size: 8px;
      flex-shrink: 0;
    }
    .price-note {
      text-align: center;
      font-family: var(--sans);
      font-size: 13px;
      color: var(--gray);
      margin-top: 48px;
    }
    .price-note a { color: var(--gold); text-decoration: none; }

    /* ── CONTACT ───────────────────────────────────────────── */
    #contact {
      padding: 120px 0;
      background: var(--dark2);
      position: relative;
      overflow: hidden;
    }
    #contact::before {
      content: 'TYT';
      position: absolute;
      right: -60px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 28vw;
      font-weight: 300;
      color: rgba(201,168,76,0.03);
      pointer-events: none;
      line-height: 1;
      font-family: var(--font);
    }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 100px;
      align-items: start;
    }
    .contact-info p {
      font-size: 1.1rem;
      color: rgba(245,240,232,0.7);
      margin-bottom: 48px;
    }
    .contact-detail {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .contact-detail .item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .contact-detail .label {
      font-family: var(--sans);
      font-size: 10px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--gold);
    }
    .contact-detail .value {
      font-size: 1.1rem;
      color: var(--light);
    }
    .contact-detail .value a { color: var(--light); text-decoration: none; }
    .contact-detail .value a:hover { color: var(--gold); }
    /* form */
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .form-group label {
      font-family: var(--sans);
      font-size: 10px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--gray);
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(201,168,76,0.2);
      color: var(--light);
      font-family: var(--font);
      font-size: 1rem;
      padding: 14px 18px;
      outline: none;
      transition: border-color 0.2s;
      -webkit-appearance: none;
      border-radius: 0;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--gold);
      background: rgba(201,168,76,0.04);
    }
    .form-group select option { background: var(--dark2); }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .form-submit {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--dark);
      background: var(--gold);
      border: none;
      padding: 18px 40px;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      align-self: flex-start;
    }
    .form-submit:hover { background: var(--gold2); transform: translateY(-2px); }
    .form-success {
      display: none;
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 1px;
      color: var(--gold);
      padding: 16px 0;
    }

    /* ── FOOTER ────────────────────────────────────────────── */
    footer {
      background: var(--dark);
      border-top: 1px solid rgba(201,168,76,0.15);
      padding: 48px 0 32px;
    }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }
    .footer-logo {
      font-family: var(--sans);
      font-size: 24px;
      font-weight: 600;
      letter-spacing: 8px;
      color: var(--gold);
    }
    .footer-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .footer-links a {
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gray);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--gold); }
    .footer-copy {
      font-family: var(--sans);
      font-size: 13px;
      color: var(--gray);
      text-align: center;
      margin-top: 32px;
      letter-spacing: 1px;
    }

.parallax-container {
            position: relative;
            height: 1200px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

       .parallax-bg-1, .parallax-bg-2 {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 120%; /* Più alta del container per permettere lo scorrimento */
            background-size: cover;
            background-position: center center;
        }
		.details { display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px; text-align:center; margin-top:40px; }
		.details li { list-style:none; }
		.details li b { display:block; color:var(--gold); font-size:22px; }

    /* ── RESPONSIVE ────────────────────────────────────────── */
    @media (max-width: 900px) {
		
	.nav-toggle { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    padding-top:120px;
    align-items: center;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0a0c0f !important; /* Sfondo scuro solido coprente */
    gap: 20px;
    opacity: 0;
    visibility: hidden; /* Evita che intercepti i clic quando è chiuso */
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100; /* Lo porta sopra qualsiasi elemento della pagina */
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Forzare la visibilità e il colore dei link nel menu mobile */
  .nav-links li {
    display: block !important;
  }

  .nav-links a {
    font-size: 20px !important;
    color: #f5f0e8;
    opacity: 1 !important;
  }
	.nav-links a.selected { color:var(--gold);  }	
		
		
  /* Nasconde il pulsante CTA per fare spazio nella navbar mobile */
  .nav-cta {
    display: none; 
  }
		
	  .intro-strip .container { grid-template-columns: 1fr 1fr; row-gap:20px; }
      .strip-item:nth-child(2) { border-right: none; }
      .about-grid,
      .specs-grid,
      .contact-grid { grid-template-columns: 1fr; gap: 48px; }
      .pricing-grid { grid-template-columns: 1fr; }
      .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
      }
      .gallery-grid .g1,
      .gallery-grid .g6 { grid-column: 1 / 3; }
      .gallery-grid .g2,
      .gallery-grid .g3,
      .gallery-grid .g4,
	  .gallery-grid .g7,
	  .gallery-grid .g8,
	  .gallery-grid .g9,
	  .gallery-grid .g10,
	  .gallery-grid .g11,
	  .gallery-grid .g12,
	  .gallery-grid .g13,
	  .gallery-grid .g14,
	  .gallery-grid .g15,
	  .gallery-grid .g16,
	  .gallery-grid .g17,
      .gallery-grid .g5 { grid-column: auto; grid-row: auto; }
	  .about-img img { width: 100%; height: auto; }
   	  .about-img::before { border:0; }
      .about-img::after { border:0; }
	  #gallery { padding: 0 0 120px; }
	  .spec-feature { grid-template-columns: 1fr; display:block; line-height:14px;}
	  .spec-feature .text { text-align:center; font-size:14px; }
	  .spec-feature .icon { margin-bottom:10px; }
	  .hero-overlay { background: #0000008c; }
	  .hero-bg { background-image: url('images/slide2.jpg'); }
	  .parallax-container { height:300px; }
	  .details { display:grid; grid-template-columns:1fr; gap:40px; text-align:center; margin-top:40px; }
     
	}
    @media (max-width: 600px) {
	   
      .container { padding: 0 20px; }
      .hero-content { max-width: 100%; }
      .form-row { grid-template-columns: 1fr; }
      .footer-inner { flex-direction: column; align-items: flex-start; }
      .intro-strip .container { grid-template-columns: 1fr 1fr; }
	  .footer-links { display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
	  .parallax-container { height:300px; }
      .details { display:grid; grid-template-columns:1fr; gap:40px; text-align:center; margin-top:40px; }
    }