/* 
   Fresher Essentials - Catalogue Page Specific Stylesheet
   Integrates seamlessly with the base index.css configurations.
*/

/* --- Catalogue Hero --- */
.catalogue-hero {
  position: relative;
  padding: 180px 0 100px 0;
  background-color: var(--bg-warm-ivory);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.catalogue-hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
}

.catalogue-title {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
}

.catalogue-subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Product Catalogue Section --- */
.product-section {
  position: relative;
  padding: 120px 0;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.product-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.12;
}

.mango-bg {
  background: radial-gradient(circle at 30% 50%, var(--bg-mango-gold) 0%, transparent 60%);
}

.guava-bg {
  background: radial-gradient(circle at 70% 50%, var(--bg-botanical-green) 0%, transparent 60%);
}

.pomegranate-bg {
  background: radial-gradient(circle at 30% 50%, var(--bg-pomegranate) 0%, transparent 60%);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  position: relative;
  z-index: 3;
}

.product-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-visual-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalogue-bottle {
  height: 480px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.07));
  transition: var(--transition-smooth);
}

.decor-slice {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

.slice-mango {
  width: 170px;
  bottom: 8%;
  left: -5%;
  animation: floatSlice 10s ease-in-out infinite alternate;
}

.slice-guava {
  width: 150px;
  top: 10%;
  right: -5%;
  animation: floatSlice 12s ease-in-out infinite alternate-reverse;
}

.slice-pom {
  width: 130px;
  bottom: 12%;
  right: -5%;
  animation: floatSlice 11s ease-in-out infinite alternate;
}

@keyframes floatSlice {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(10deg); }
}

/* Hover effects */
.product-visual-container:hover .catalogue-bottle {
  transform: scale(1.04) translateY(-10px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
}

.product-visual-container:hover .decor-slice {
  transform: scale(1.08) rotate(-5deg);
}

.product-info-column {
  max-width: 540px;
}

.product-name {
  font-size: 4rem;
  font-weight: 300;
  color: var(--text-charcoal);
  margin-bottom: 1rem;
}

.product-desc-large {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--bg-forest-green);
  margin-bottom: 1.5rem;
}

.product-desc-normal {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.product-details {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-row {
  display: flex;
  align-items: center;
}

.detail-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-charcoal);
  width: 180px;
}

.detail-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-options .badge {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-light);
  color: var(--text-charcoal);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 1.15rem;
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}

/* --- Specification Cards Section --- */
.specs-section {
  padding: 120px 0;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.spec-card {
  background-color: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.spec-card:hover {
  transform: translateY(-8px);
  border-color: var(--bg-forest-green);
  box-shadow: 0 15px 30px rgba(47, 107, 79, 0.04);
}

.card-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(47, 107, 79, 0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.spec-card:hover .card-num {
  color: var(--bg-forest-green);
}

.spec-card-title {
  font-size: 1.6rem;
  color: var(--text-charcoal);
  margin-bottom: 1rem;
}

.spec-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* --- Comparison Section --- */
.comparison-section {
  padding: 120px 0;
  background-color: var(--bg-warm-ivory);
  border-bottom: 1px solid var(--border-light);
}

.table-container {
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--bg-warm-ivory);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background-color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-charcoal);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table td {
  padding: 1.75rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

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

.table-row-hover {
  cursor: pointer;
  transition: var(--transition-fast);
}

.table-row-hover:hover td {
  background-color: rgba(246, 241, 233, 0.4);
  color: var(--text-charcoal);
}

.flavour-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-charcoal) !important;
}

.flavour-cell strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
}

.flavour-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-mango { background-color: var(--bg-mango-gold); }
.dot-guava { background-color: var(--bg-forest-green); }
.dot-pom { background-color: #CE5B1D; }


/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .catalogue-title { font-size: 4rem; }
  .product-grid { gap: 3rem; }
  .product-name { font-size: 3rem; }
  .product-visual-container { height: 420px; }
  .catalogue-bottle { height: 380px; }
  
  .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .catalogue-hero { padding: 140px 0 80px 0; }
  .catalogue-title { font-size: 3rem; }
  .catalogue-subtitle { font-size: 1.15rem; }
  
  .product-grid { grid-template-columns: 1fr; text-align: center; }
  .alt-row .product-grid {
    display: flex;
    flex-direction: column-reverse;
  }
  .product-visual-container { margin: 0 auto; height: 380px; }
  .catalogue-bottle { height: 320px; }
  
  .product-details { align-items: center; }
  .detail-row { flex-direction: column; gap: 0.5rem; align-items: center; }
  .detail-label { width: auto; text-align: center; }
  .detail-options { justify-content: center; }
  
  .specs-grid { grid-template-columns: 1fr; }
  .spec-card { padding: 2.5rem 1.5rem; }
  
  .table-container { overflow-x: auto; border-radius: 12px; }
  .comparison-table th, .comparison-table td { padding: 1.25rem 1.5rem; }
}

@media (max-width: 480px) {
  .catalogue-title { font-size: 2.5rem; }
  .product-name { font-size: 2.4rem; }
}
