/* ==========================================================================
   Sri Vinayaka Industry — About Page Styles
   ========================================================================== */

.about-hero {
  position: relative;
  background: url("../images/inner banner.jpg") center center / cover no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero .section-head { margin-bottom: 0; }
.about-hero .section-head h1 { color: #fff; margin-bottom: 0.8rem; }
@media (max-width: 768px) {
  .about-hero { min-height: 220px; }
}

.contact-breadcrumb {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.contact-breadcrumb a { color: rgba(255,255,255,0.7); }
.contact-breadcrumb a:hover { color: var(--accent); }
.contact-breadcrumb span:last-child { color: var(--accent); }

/* ---------- About Story (editorial split intro) ---------- */
.about-story-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .about-story-split { grid-template-columns: 1fr; }
}
.about-story-photo { position: relative; }
.about-story-photo img {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
  object-fit: cover;
}
.about-story-badge {
  position: absolute;
  right: -16px;
  bottom: -16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md);
}
.about-story-badge .num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-story-badge .lbl { font-size: 0.78rem; margin-top: 4px; line-height: 1.3; opacity: 0.9; }
@media (max-width: 500px) {
  .about-story-badge { right: 10px; bottom: -14px; padding: 0.75rem 1rem; }
}

.about-story-numlist {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.5rem 0;
}
.about-story-numitem {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}
.about-story-numitem .num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.about-story-mini-stats {
  display: flex;
  gap: clamp(1.2rem, 4vw, 2.2rem);
  flex-wrap: wrap;
}
.about-story-mini-stats div { display: flex; flex-direction: column; }
.about-story-mini-stats strong { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.about-story-mini-stats span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Mission & Vision ---------- */
.mission-vision-band { padding-block: 50px; }
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
@media (max-width: 768px) {
  .mission-vision-grid { grid-template-columns: 1fr; }
}
.mission-card {
  position: relative;
  background-color: rgba(180,21,18,0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23b41512' stroke-width='1.4' opacity='0.12'%3E%3Ccircle cx='30' cy='30' r='14'/%3E%3Cpath d='M30 16c6 4 10 9 10 14s-4 10-10 14'/%3E%3Cpath d='M90 80c-10 0-18 6-22 16M90 80c-10 3-16 10-18 20M90 80c-6 6-9 14-8 22M90 80c2 8 8 14 16 16'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mission-card-media {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.mission-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mission-card h3 { margin-bottom: 0.6rem; }
.mission-card p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; text-align: center; }

.mission-card-icon {
  text-align: center;
  border-top: 3px solid var(--secondary);
}
.mission-card-icon-badge {
  width: 72px; height: 72px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: rgba(180,21,18,0.08);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.mission-card-icon-badge svg { width: 32px; height: 32px; }
.mission-card-icon:hover .mission-card-icon-badge { background: var(--secondary); color: #fff; transform: scale(1.08); }
.mission-card-icon h3 { font-size: 1.3rem; }
.mission-card-icon p { font-size: 0.95rem; text-align: center; }

/* ---------- Product Gallery (always-visible captions) ---------- */
.about-gallery-section { margin-top: 50px; }
.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
@media (max-width: 900px) {
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-gallery { grid-template-columns: 1fr; }
}
.about-gallery-item {
  position: relative;
  width: 396px;
  height: 416px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
@media (max-width: 900px) {
  .about-gallery-item { width: 100%; height: auto; aspect-ratio: 396/416; }
}
.about-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.about-gallery-item:hover img { transform: scale(1.05); }
.about-gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.about-gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.4rem 1.2rem;
  color: #fff;
}
.about-gallery-caption h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.about-gallery-caption p { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin: 0; }
