/* ============================================================
   THEVID CERAMICA — Inner Pages Shared CSS
   ============================================================ */

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  padding: 5rem 0 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(59,130,246,0.06) 0%, transparent 70%),
    linear-gradient(to right, rgba(59,130,246,0.03), transparent);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.2rem;
  max-width: 700px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: #9CA3AF;
  max-width: 600px;
  line-height: 1.8;
}

/* ── Contact Grid ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* ── Contact Cards ───────────────────────────────────────────── */
.contact-card, .form-card, .social-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.info-items { display: flex; flex-direction: column; gap: 1.5rem; }

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #06B6D4;
  margin-bottom: 0.3rem;
}

.info-value {
  display: block;
  font-size: 0.95rem;
  color: #D1D5DB;
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}
a.info-value:hover { color: #3B82F6; }

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #9CA3AF;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}
.social-btn:hover {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
  color: #3B82F6;
}

/* ── Map ─────────────────────────────────────────────────────── */
.map-wrap {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.map-header h3 { font-size: 1.1rem; font-family: 'Inter', sans-serif; }

.map-embed iframe { display: block; filter: invert(90%) hue-rotate(180deg) saturate(0.8); }

/* ── Select Styling ──────────────────────────────────────────── */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select.form-control option { background: #1F2937; color: #fff; }

/* ── About Company Page ──────────────────────────────────────── */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

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

.highlight-card {
  padding: 1.5rem;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 14px;
  text-align: center;
}
.highlight-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-card small { font-size: 0.78rem; color: #9CA3AF; display: block; margin-top: 0.3rem; }

/* ── Collection Page Grid ────────────────────────────────────── */
.collection-hero-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.coll-cat-card {
  display: block;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.coll-cat-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.coll-cat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.coll-cat-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.coll-cat-card p { font-size: 0.84rem; }

/* ── Product Detail Page ─────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-visual {
  position: sticky;
  top: 100px;
}

.product-img-main {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  margin-bottom: 1rem;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.product-specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.product-specs-table td {
  padding: 0.85rem 0;
  font-size: 0.9rem;
}
.product-specs-table td:first-child {
  color: #9CA3AF;
  font-weight: 500;
  width: 45%;
}
.product-specs-table td:last-child { color: #F8FAFC; font-weight: 600; }

.product-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ── Technical Details Table ─────────────────────────────────── */
.tech-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.07);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tech-table th {
  padding: 1rem 1.5rem;
  background: rgba(59,130,246,0.08);
  color: #06B6D4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.tech-table td {
  padding: 1rem 1.5rem;
  color: #D1D5DB;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}

.tech-table tr:last-child td { border-bottom: none; }
.tech-table tr:hover td { background: rgba(255,255,255,0.02); }
.tech-table td:first-child { font-weight: 600; color: #F8FAFC; }

/* ── Global Network Map Visual ───────────────────────────────── */
.export-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.region-card {
  padding: 1.75rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.region-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-3px);
}
.region-flag { font-size: 2rem; margin-bottom: 0.75rem; }
.region-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.region-countries { font-size: 0.82rem; color: #9CA3AF; line-height: 1.7; }

/* ── Quality Process ─────────────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, #3B82F6, #06B6D4, transparent);
}

.process-step {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 1.8rem;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  border-radius: 50%;
  border: 2px solid #0A0A0A;
}

.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #06B6D4;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.process-step h3 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.88rem; }

/* ── E-Catalogue ─────────────────────────────────────────────── */
.catalogue-download-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.06));
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.catalogue-icon { font-size: 4rem; margin-bottom: 1.5rem; }

/* ── Packing Details ─────────────────────────────────────────── */
.packing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.packing-card {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
}

.packing-size {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
}

.packing-details { display: flex; flex-direction: column; gap: 0.5rem; }
.packing-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem;
}
.packing-row span:first-child { color: #9CA3AF; }
.packing-row span:last-child { color: #F8FAFC; font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-page-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { position: static; }
  .export-regions { grid-template-columns: repeat(2, 1fr); }
  .collection-hero-cats { grid-template-columns: repeat(2, 1fr); }
  .packing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-hero { padding: 3rem 0 3rem; }
  .about-highlights { grid-template-columns: repeat(2, 1fr); }
  .export-regions { grid-template-columns: 1fr; }
  .collection-hero-cats { grid-template-columns: 1fr; }
  .packing-grid { grid-template-columns: 1fr; }
}
