/* ============================================================
   PAGES.CSS — Shared styles for About, Products, Gallery, Contact
   ============================================================ */

/* ---- Active nav link ---- */
.active-link { color: #00AEEF !important; }
.active-link::after { width: 100% !important; }

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 180px 6% 4rem; /* Consistent with home hero for alignment */
  background: var(--deep-navy);
  margin-top: 0;
  border-bottom: 1px solid var(--glass-border);
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.orb-a { width: 500px; height: 500px; background: radial-gradient(circle,#00AEEF,transparent 70%); top: -150px; left: -80px; animation: float 12s ease-in-out infinite; }
.orb-b { width: 350px; height: 350px; background: radial-gradient(circle,#2D3092,transparent 70%); bottom: -80px; right: -60px; animation: float 8s ease-in-out infinite reverse; }
.page-hero-content { position: relative; z-index: 10; max-width: 700px; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0.5rem 0 1.2rem;
  color: var(--accent-navy);
}
.page-hero-title em { font-style: italic; color: var(--primary); }
.page-hero-content > p { font-size: 0.95rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-navy);
  background: rgba(0, 174, 239, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 174, 239, 0.2);
}
.trust-pill i { color: var(--primary); }

.page-hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 5;
}
.page-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 174, 239, 0.15);
  border: 1px solid var(--glass-border);
}
.page-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-overlay-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 174, 239, 0.3);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.1);
}
.badge-num { font-size: 1.4rem; font-weight: 800; color: var(--accent-navy); line-height: 1; }
.badge-txt { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 0.2rem; }

/* Hero accent per page */
.about-hero   { background: linear-gradient(135deg, #ffffff 60%, #f4f9ff); }
.products-hero{ background: linear-gradient(135deg, #ffffff 60%, #f4f9ff); }
.gallery-hero { background: linear-gradient(135deg, #ffffff 60%, #f4f9ff); }
.contact-hero { background: linear-gradient(135deg, #ffffff 60%, #f4f9ff); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 8rem 6%;
}
.mv-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 174, 239, 0.1); }
.mv-icon {
  width: 60px; height: 60px;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #00AEEF;
  margin: 0 auto 1.5rem;
}
.mv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.mv-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* Timeline */
.timeline-section { padding: 8rem 6%; }
.section-title-wrap { margin-bottom: 3rem; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,174,239,0.4), transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-right: 55%;
  position: relative;
}
.tl-right { padding-right: 0; padding-left: 55%; justify-content: flex-end; }
.tl-dot {
  position: absolute;
  left: 50%; top: 1rem;
  width: 14px; height: 14px;
  background: #00AEEF;
  border-radius: 50%;
  border: 3px solid var(--deep-navy);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.4);
  transform: translateX(-50%);
  z-index: 1;
}
.tl-card {
  background: #f8fbff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
}
.tl-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00AEEF;
  margin-bottom: 0.5rem;
}
.tl-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.tl-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Certifications */
.cert-section { 
  padding: 8rem 6%; 
  background: var(--bg-dark-sec); 
  color: var(--text-light);
}
.cert-section .section-title { color: var(--text-light); }
.cert-section .cert-card { background: rgba(255,255,255,0.03); border-color: rgba(0,174,239,0.2); }
.cert-section .cert-card p { color: var(--text-muted-light); }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cert-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.cert-card:hover { border-color: rgba(0,174,239,0.4); transform: translateY(-4px); }
.cert-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.cert-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.cert-card p  { font-size: 0.82rem; color: var(--text-muted); }

/* About CTA */
.about-cta {
  padding: 8rem 6%;
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.about-cta p { color: var(--text-muted-light); }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.prod-page-section { padding: 8rem 6%; }
.prod-filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.pfbtn {
  padding: 0.55rem 1.4rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.pfbtn.active, .pfbtn:hover {
  background: linear-gradient(135deg, #00AEEF, #2D3092);
  color: white;
  border-color: transparent;
}
.prod-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pcat-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.pcat-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0,0,0,0.4); border-color: rgba(0,174,239,0.3); }
.pcat-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--mid-navy);
  display: flex; align-items: center; justify-content: center;
}
.pcat-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.pcat-card:hover .pcat-img img { transform: scale(1.06); }
.pcat-badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  background: linear-gradient(135deg, #00AEEF, #2D3092);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.pcat-body { padding: 1.5rem; }
.pcat-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pcat-body > p { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.spec-table tr { border-bottom: 1px solid var(--glass-border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.45rem 0; color: var(--text-muted); }
.spec-table td:last-child { text-align: right; color: var(--white); }

/* Comparison Table */
.compare-section { 
  padding: 8rem 6%; 
  background: var(--bg-dark-sec); 
  color: var(--text-light);
}
.compare-section .section-title { color: var(--text-light); }
.compare-table td { color: var(--text-muted-light); }
.compare-table td:first-child { color: var(--text-light); }
.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table th {
  background: rgba(0,174,239,0.05);
  color: var(--accent-navy);
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--glass-border);
}
.compare-table td {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
}
.compare-table td:first-child { color: var(--white); font-weight: 500; }
.compare-table td.highlight { color: #5fd4ff; font-weight: 700; }
.compare-table tr:hover td { background: rgba(0,174,239,0.03); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page-section { padding: 8rem 6%; }
.gal-filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gfbtn {
  padding: 0.55rem 1.4rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.gfbtn.active, .gfbtn:hover {
  background: linear-gradient(135deg, #00AEEF, #2D3092);
  color: white;
  border-color: transparent;
}
/* Masonry grid */
.gal-grid {
  columns: 3;
  column-gap: 1.2rem;
}
.gal-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.gal-item img { width:100%; display:block; transition: transform 0.5s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item.tall img { height: 380px; object-fit: cover; }
.gal-item.wide { column-span: all; }
.gal-item.wide img { height: 320px; object-fit: cover; }
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span { font-size: 0.88rem; font-weight: 700; color: var(--accent-navy); }
.gal-overlay small { font-size: 0.75rem; color: var(--primary); margin-top: 0.2rem; }

/* Lightbox */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.2rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}
.lb-caption { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1rem; }
.lb-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lb-close:hover { background: rgba(0,174,239,0.3); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards-section { padding: 8rem 6% 0; }
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cinfo-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.3s ease;
}
.cinfo-card:hover { border-color: rgba(0,174,239,0.35); transform: translateY(-4px); }
.cinfo-icon {
  width: 48px; height: 48px;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #00AEEF;
  margin-bottom: 0.8rem;
}
.cinfo-card h4 { 
  font-size: 1rem; 
  font-weight: 800; 
  margin-bottom: 0.5rem; 
  color: var(--accent-navy);
}
.cinfo-card strong { color: var(--accent-navy); font-weight: 800; }

.cinfo-card a { 
  font-size: 0.95rem; 
  color: var(--primary); 
  text-decoration: none; 
  font-weight: 700;
  transition: color 0.3s ease;
}
.cinfo-card a:hover { color: var(--accent-navy); text-decoration: underline; }
.cinfo-card span { font-size: 0.85rem; color: var(--text-dark); opacity: 0.8; }
.cinfo-card p { font-size: 0.85rem; color: var(--text-dark); line-height: 1.5; }


.contact-main-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 8rem 6%;
  align-items: start;
}
.contact-form.full .form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.map-embed {
  margin: 1.5rem 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 300px;
}
.map-embed iframe { width:100%; height:100%; border:none; }
.biz-hours {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
}
.biz-hours h4 { font-size: 0.88rem; font-weight: 700; color: #00AEEF; margin-bottom: 0.8rem; display:flex; gap:0.5rem; align-items:center; }
.bh-row { display:flex; justify-content:space-between; font-size:0.83rem; padding: 0.4rem 0; border-bottom: 1px solid var(--glass-border); }
.bh-row:last-child { border-bottom:none; }
.bh-row span:last-child { color: #5fd4ff; }

/* FAQ */
.faq-section { 
  padding: 8rem 6%; 
  background: var(--bg-dark); 
  color: var(--text-light);
}
.faq-section .section-title { color: var(--text-light); }
.faq-q { color: var(--text-light); }
.faq-a { color: var(--text-muted-light); }
.faq-item { background: rgba(255,255,255,0.03); border-color: rgba(0, 174, 239, 0.15); }

.faq-grid { max-width: 860px; margin: 0 auto; display:flex; flex-direction:column; gap:1rem; }

.faq-item {
  border: 1px solid rgba(0, 174, 239, 0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open { border-color: rgba(0,174,239,0.4); }
.faq-q {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 1.2rem 1.5rem;
  cursor:pointer;
  font-size: 0.92rem;
  font-weight: 600;
}
.faq-q i { color: #00AEEF; transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display:none; padding: 0 1.5rem 1.2rem; font-size: 0.85rem; color: var(--text-muted-light); line-height:1.7; }

.faq-item.open .faq-a { display:block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-mv { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { columns: 2; }
}
@media (max-width: 768px) {
  .page-hero { min-height: auto; padding: 6rem 5% 3rem; }
  .about-mv { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .prod-catalog-grid { grid-template-columns: 1fr; }
  .contact-main-section { grid-template-columns: 1fr; gap:3rem; }
  .contact-info-cards { grid-template-columns: 1fr 1fr; }
  .gal-grid { columns: 1; }
  .timeline { padding: 0; }
  .tl-item, .tl-right { padding: 0; flex-direction: column; }
  .timeline::before { display: none; }
  .tl-dot { position: static; transform: none; margin-left: 0; margin-bottom: 0.5rem; }
}
