/* Home page specific styles */

/* Hero Section */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(26, 26, 26, 0.5) 50%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url('/images/PrinterVerseLogo.jpg');
  background-size: cover, 80%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: white;
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.2) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );
  background-size:
    100px 100px,
    150px 150px,
    75px 75px;
  animation: twinkle 4s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 3rem;
  margin: 0 2rem;
  backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
  letter-spacing: 2px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(45deg, #ffffff, #e0e0e0);
  color: #000000;
  padding: 1.2rem 3rem;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
  background: linear-gradient(45deg, #f0f0f0, #d0d0d0);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Browse Section */
.browse-section {
  padding: 3rem 0;
  background: #000000;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.browse-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(white, rgba(255, 255, 255, 0.15) 2px, transparent 40px),
    radial-gradient(white, rgba(255, 255, 255, 0.1) 1px, transparent 30px),
    radial-gradient(white, rgba(255, 255, 255, 0.07) 2px, transparent 40px),
    radial-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.07) 2px,
      transparent 30px
    );
  background-size:
    550px 550px,
    350px 350px,
    250px 250px,
    150px 150px;
  background-position:
    0 0,
    40px 60px,
    130px 270px,
    70px 100px;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.browse-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: 1px;
}

.shop-all-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.shop-all-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Collections Section */
.collections-section {
  padding: 4rem 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.collections-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(white, rgba(255, 255, 255, 0.15) 2px, transparent 40px),
    radial-gradient(white, rgba(255, 255, 255, 0.1) 1px, transparent 30px),
    radial-gradient(white, rgba(255, 255, 255, 0.07) 2px, transparent 40px),
    radial-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.07) 2px,
      transparent 30px
    );
  background-size:
    550px 550px,
    350px 350px,
    250px 250px,
    150px 150px;
  background-position:
    20px 20px,
    60px 80px,
    150px 290px,
    90px 120px;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.collections-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.collection-card {
  background: linear-gradient(145deg, #1a1a1a, #000000);
  border-radius: 15px;
  overflow: hidden;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.collection-image {
  height: 280px;
  overflow: hidden;
  background: linear-gradient(45deg, #000000, #1a1a1a);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collection-card:hover .collection-image::after {
  opacity: 1;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  background: transparent;
}

.collection-card:hover .collection-image img {
  transform: scale(1.05);
}

.collection-info {
  padding: 2rem;
  background: linear-gradient(180deg, #1a1a1a, #000000);
}

.collection-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: 1px;
}

.collection-info p {
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.collection-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.collection-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Home page socials section */
.socials-section {
  padding: 4rem 0;
  background: #000000;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.socials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(white, rgba(255, 255, 255, 0.15) 2px, transparent 40px),
    radial-gradient(white, rgba(255, 255, 255, 0.1) 1px, transparent 30px),
    radial-gradient(white, rgba(255, 255, 255, 0.07) 2px, transparent 40px),
    radial-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.07) 2px,
      transparent 30px
    );
  background-size:
    550px 550px,
    350px 350px,
    250px 250px,
    150px 150px;
  background-position:
    40px 40px,
    80px 100px,
    170px 310px,
    110px 140px;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.socials-section h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(145deg, #ffffff, #e0e0e0);
  color: #000000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Home page responsive design */
@media (max-width: 1024px) {
  .hero {
    padding: 6rem 0;
    min-height: 80vh;
  }

  .hero-content {
    margin: 0 1.5rem;
    padding: 2.5rem;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .collections-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
    min-height: 70vh;
    background-size: cover, 100%;
  }

  .hero-content {
    margin: 0 1rem;
    padding: 2rem;
    margin-top: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .collections-section {
    padding: 3rem 0;
  }

  .collections-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .collection-card {
    margin: 0 0.5rem;
  }

  .collection-image {
    height: 220px;
  }

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

  .product-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .social-links {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    padding: 1rem 2rem;
    width: 80%;
    max-width: 300px;
    text-align: center;
  }

  .socials-section h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
    min-height: 60vh;
  }

  .hero-content {
    margin: 0 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }

  .collections-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .collection-image {
    height: 180px;
  }

  .social-link {
    width: 90%;
    padding: 0.9rem 1.5rem;
  }

  .socials-section h2 {
    font-size: 1.8rem;
  }
}
