/* Imperial Collection - Elegant & Magnificent Styling */

/* Custom Variables */
:root {
  --imperial-gold: #d4af37;
  --imperial-gold-dark: #b8860b;
  --imperial-gold-light: #f5e7a3;
  --imperial-black: #1a1a1a;
  --imperial-white: #ffffff;
  --imperial-cream: #f9f5eb;
  --imperial-gray: #333333;
  --imperial-gradient: linear-gradient(135deg, var(--imperial-gold), var(--imperial-gold-dark));
  --imperial-shadow: 0 10px 30px rgba(184, 134, 11, 0.2);
  --imperial-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --imperial-border-radius: 8px;
}

/* Hero Section Enhancement */
.collection-hero.imperium-bg {
  height: 70vh;
  min-height: 600px;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.collection-hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0)), 
              linear-gradient(135deg, rgba(212, 175, 55, 0), rgba(184, 134, 11, 0));
}

.collection-hero-content {
  animation: fadeInUp 1.2s ease-out forwards;
}

.collection-hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.collection-hero-content h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--imperial-gradient);
}

.collection-hero-content p {
  font-size: 1.4rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Collection Overview Enhancement */
.collection-overview {
  padding: 7rem 0;
  background-color: var(--imperial-cream);
  position: relative;
  overflow: hidden;
}

.collection-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.overview-grid {
  position: relative;
  z-index: 1;
  gap: 6rem;
}

.overview-header {
  margin-bottom: 3rem;
  position: relative;
}

.overview-header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--imperial-gradient);
}

.overview-header i {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(184, 134, 11, 0.25));
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.15);
}

.overview-header h2 {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

.overview-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}

.overview-content h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--imperial-gradient);
}

.overview-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2.5rem;
}

.collection-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--imperial-border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--imperial-transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--imperial-shadow);
}

.feature i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--imperial-gold-dark);
}

.feature span {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.overview-image {
  border-radius: var(--imperial-border-radius);
  overflow: hidden;
  box-shadow: var(--imperial-shadow);
  position: relative;
  transition: var(--imperial-transition);
}

.overview-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-radius: var(--imperial-border-radius);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.overview-image:hover {
  transform: scale(1.02);
}

/* Featured Products Enhancement */
.featured-products {
  padding: 7rem 0;
  background-color: white;
  position: relative;
}

.featured-header {
  margin-bottom: 3rem;
  position: relative;
}

.featured-header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--imperial-gradient);
}

.featured-header i {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(184, 134, 11, 0.25));
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.15);
}

.featured-header h2 {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

.product-table-container {
  border-radius: var(--imperial-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.product-table th {
  background: linear-gradient(135deg, var(--imperial-black), #333);
  color: white;
  padding: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-table th:first-child {
  border-top-left-radius: var(--imperial-border-radius);
}

.product-table th:last-child {
  border-top-right-radius: var(--imperial-border-radius);
}

.product-table td {
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
  border-bottom: 1px solid #eee;
  transition: var(--imperial-transition);
}

.product-table tbody tr:last-child td {
  border-bottom: none;
}

.product-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--imperial-border-radius);
}

.product-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--imperial-border-radius);
}

.product-table tbody tr {
  transition: var(--imperial-transition);
}

.product-table tbody tr:hover {
  background-color: rgba(212, 175, 55, 0.08);
}

.product-table tbody tr:hover td {
  color: var(--imperial-gold-dark);
}

.product-icon {
  text-align: center;
}

.product-icon img {
  width: 50px;
  height: 50px;
  transition: var(--imperial-transition);
}

.product-table tbody tr:hover .product-icon img {
  transform: scale(1.2);
}

.see-more-container {
  margin-top: 3rem;
  text-align: center;
}

.see-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--imperial-gradient);
  color: white;
  font-size: 1.2rem;
  transition: var(--imperial-transition);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.2);
}

.see-more-link:hover {
  transform: translateY(-5px) rotate(45deg);
  box-shadow: 0 10px 25px rgba(184, 134, 11, 0.3);
  color: white;
}

/* Product Showcase Enhancement */
.product-showcase {
  padding: 7rem 0;
  background-color: var(--imperial-cream);
  position: relative;
}

.showcase-grid {
  gap: 3rem;
}

.showcase-item {
  border-radius: var(--imperial-border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--imperial-transition);
  position: relative;
}

.showcase-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: var(--imperial-border-radius);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: var(--imperial-transition);
}

.showcase-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--imperial-shadow);
}

.showcase-item:hover::before {
  opacity: 1;
}

.showcase-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.showcase-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: var(--imperial-transition);
}

.showcase-item:hover .showcase-image::after {
  opacity: 1;
}

.showcase-image img {
  transition: var(--imperial-transition);
}

.showcase-item:hover .showcase-image img {
  transform: scale(1.1);
}

.showcase-info {
  padding: 2rem;
  background-color: white;
  position: relative;
  z-index: 1;
}

.showcase-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
}

.showcase-info h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--imperial-gradient);
}

.showcase-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

/* Related Collections Enhancement */
.related-collections {
  padding: 7rem 0;
  background-color: white;
  position: relative;
}

.related-header {
  margin-bottom: 3rem;
  position: relative;
}

.related-header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--imperial-gradient);
}

.related-header i {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(184, 134, 11, 0.25));
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.15);
}

.related-header h2 {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

.related-grid {
  gap: 3rem;
}

.related-card {
  border-radius: var(--imperial-border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--imperial-transition);
  position: relative;
  padding: 3rem 2rem;
  border: 1px solid #f0f0f0;
}

.related-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--imperial-shadow);
  border-color: rgba(212, 175, 55, 0.2);
}

.related-icon {
  margin-bottom: 2rem;
}

.related-icon i {
  font-size: 3rem;
  color: var(--imperial-gold-dark);
  transition: var(--imperial-transition);
}

.related-card:hover .related-icon i {
  transform: scale(1.2);
}

.related-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
}

.related-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

.related-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--imperial-gold-dark);
  letter-spacing: 0.05em;
  transition: var(--imperial-transition);
}

.related-link i {
  margin-left: 8px;
  transition: var(--imperial-transition);
}

.related-card:hover .related-link {
  color: var(--imperial-gold);
}

.related-card:hover .related-link i {
  transform: translateX(10px);
}

/* CTA Section Enhancement */
.collection-cta {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1a1a1a, #333);
  position: relative;
  overflow: hidden;
}

.collection-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 2.828 17.272 15.556l-1.414-1.414L28 2v2.828l15.8 15.8-1.414 1.414L30 9.626l-8.485 8.484-1.414-1.414L28 8.828V6L15.856 18.142l1.414 1.414L30 6.828 42.728 19.556l1.414-1.414L32 6v2.828L27.8 28.686l-1.414 1.414L30 26.342l3.615 3.757 1.414-1.414L30 24.172v-2.828l8.485 8.485-1.414 1.414L30 23.515l-10.8 10.8-1.414-1.414L30 20.172v-2.828l-8.485 8.485 1.414 1.414L30 20.172l8.485 8.485 1.414-1.414L30 17.343v-2.828l3.8 3.8 1.414-1.414L30 12.686l-4.8 4.8-1.414-1.414L30 10.343v-2.828l-4.8 4.8 1.414 1.414L30 10.344l4.8 4.8 1.414-1.414L30 7.515v-2.83l-9.9 9.9 1.414 1.414L30 6.814l8.485 8.485 1.414-1.414L30 4.172V1.343L40.9 12.244l-1.414 1.414L30 4.172l-8.485 8.485-1.414-1.414L30 1.344V-1.48l-11.8 11.8 1.414 1.414L30 1.342l10.8 10.8 1.414-1.414L30-1.343v-2.83L41.8-2.57l-1.414 1.415L30-11.343l-8.485 8.485-1.414-1.414L30-14.456v-2.83L18.186-5.8l1.414 1.413L30-14.457l10.8 10.8 1.414-1.415L30-17.286v-2.83L43.728-6.688l1.414-1.414L30-23.116l-15.142 15.142-1.414-1.414L30-26.346'/%3E%3C/svg%3E");
  opacity: 0.1;
  pointer-events: none;
}

.collection-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  color: white;
}

.cta-content h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--imperial-gradient);
}

.cta-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-content .cta-button {
  background: var(--imperial-gradient);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: var(--imperial-transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.cta-content .cta-button i {
  margin-right: 12px;
  font-size: 1.3rem;
}

.cta-content .cta-button:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: transparent;
  border-color: var(--imperial-gold);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .collection-hero-content h1 {
    font-size: 4rem;
  }

  .collection-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .collection-hero-content h1 {
    font-size: 3.5rem;
  }

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

  .collection-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .collection-hero {
    min-height: 500px;
  }

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

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

  .overview-header i, .featured-header i, .related-header i {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .overview-header h2, .featured-header h2, .related-header h2 {
    font-size: 2rem;
  }

  .overview-content h3 {
    font-size: 1.8rem;
  }

  .collection-features {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cta-content .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .collection-hero {
    min-height: 400px;
  }

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

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

  .overview-header h2, .featured-header h2, .related-header h2 {
    font-size: 1.8rem;
  }

  .overview-content h3 {
    font-size: 1.6rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}
