/* Tessuti Page Styles */

/* Hero Section - Full Width Image */
.hero-tessuti {
  margin-top: var(--header-height);
  padding: 0;
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-tessuti::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(213, 229, 229, 0.95), rgba(213, 229, 229, 0.7) 50%, transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 5% 3rem 5%;
  display: flex;
  align-items: flex-end;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  text-align: center;
}

/* Intro Text Section */
.intro-section {
  background-color: #d5e5e5;
  padding: 6rem 5%;
}

.intro-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-container p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Split Content Section - Lino */
.lino-section {
  background-color: #c4a5a5;
  padding: 0;
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: stretch;
}

.lino-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  gap: 0;
}

.lino-image-container {
  position: relative;
  overflow: hidden;
}

.lino-image {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--header-height));
  object-fit: cover;
}

.lino-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
}

.lino-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #333;
}

.lino-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  color: #333;
}

/* Split Content Section - Misto */
.misto-section {
  background-color: #d5e5e5;
  padding: 0;
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: stretch;
}

.misto-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  gap: 0;
}

.misto-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
  order: 1;
}

.misto-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #333;
}

.misto-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  color: #333;
}

.misto-image-container {
  position: relative;
  overflow: hidden;
  order: 2;
}

.misto-image {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--header-height));
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    margin-top: 60px;
    height: 41vh;
    min-height: 380px;
  }

  .hero::before {
    height: 60%;
  }

  .hero-container {
    padding: 0 1.5rem 2rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0;
  }

  .intro-section {
    padding: 3rem 1.5rem;
  }

  .intro-container p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .lino-section,
  .misto-section {
    height: auto;
  }

  .lino-container,
  .misto-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lino-image-container,
  .misto-image-container {
    height: 60vh;
    min-height: 400px;
    order: 1;
  }

  .lino-image,
  .misto-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lino-content,
  .misto-content {
    order: 2;
    padding: 3rem 1.5rem;
  }

  .lino-content h2,
  .misto-content h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
  }

  .lino-content p,
  .misto-content p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
