/* ============================================================
   glass.css — Dedicated stylesheet for acp-structural-glazing.html
   Matches Galaxy Graphics & LED design system (newgal.css)
   Font      : Montserrat (inherited from newgal.css)
   Brand     : #7a1bb9 / #830083 / #97019c (purple)
   Accent    : #ffb300 / #ffd24d (gold)
   ============================================================ 

/* ── CSS VARIABLES ── *
:root {
  --brand-dark:   #59005c;
  --brand-mid:    #7a1bb9;
  --brand-light:  #97019c;
  --brand-pale:   #f8f0ff;
  --accent-gold:  #ffb300;
  --accent-light: #ffd24d;
  --text-dark:    #222222;
  --text-mid:     #444444;
  --text-muted:   #666666;
  --text-light:   #f2e9f7;
  --bg-white:     #ffffff;
  --bg-light:     #faf8ff;
  --bg-grey:      #f5f5f5;
  --border:       #e8ddf5;
  --shadow-sm:    0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md:    0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg:    0 20px 50px rgba(0, 0, 0, 0.14);
  --radius:       8px;
  --radius-lg:    18px;
}



/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg {
  transform: scale(1.04);
}

/* Dark gradient overlay — matches .slide::after in newgal.css */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.32));
}

/* Hero content — mirrors .hero-content positioning in newgal.css */
.hero-content {
  position: relative;
  z-index: 2;
  left: 8%;
  bottom: 0;
  padding: 0 0 14% 0;
  max-width: 700px;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
  display: block;
  width: fit-content;
}

/* Matches .hero-content h1 in newgal.css */
.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

/* Purple underline — matches .hero-content h1::after */
.hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--brand-dark);
  margin-top: 14px;
  border-radius: 3px;
}

.hero-title span {
  color: #d9b3ff;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 28px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

/* glass.css-ல் இதை சேர்க்கவும் */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.whatsapp-btn,
.phone-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}

.whatsapp-btn {
  background: #25d366;
}

.phone-btn {
  background: #7a1bb9;
}

.whatsapp-btn:hover,
.phone-btn:hover {
  transform: scale(1.1);
}
/* CTA button — matches .hero-btn in newgal.css */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s, transform 0.3s;
}

.hero-cta:hover {
  background: var(--brand-mid);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    align-items: flex-end;
  }
  .hero-content {
    left: 20px;
    right: 20px;
    position: relative;
    z-index: 10 !important;
    padding-bottom: 18%;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
}


/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 40px;
}


/* ============================================================
   SHARED SECTION LABELS & TITLES
   (layered on top of newgal.css .section-title which is
   scoped to .why-section; we add glass-page-specific rules)
   ============================================================ */

/* Section eyebrow label */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
  display: block;
}

/* Page-level section headings — matches newgal.css .about-text h2 style */
.gl-section-title {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.gl-section-title span {
  color: var(--brand-light);
  font-weight: 600;
}

.gl-section-title.light {
  color: #fff;
}

.gl-section-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 50px;
}

.gl-section-subtitle.light {
  color: rgba(242, 233, 247, 0.85);
}


/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
  padding: 90px 20px;
  background: var(--bg-white);
}

.intro-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 60px;
  align-items: center;
}

/* Mirrors .acp-content style */
.intro-text h2 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.intro-text h2 span {
  color: var(--brand-dark);
}

.intro-text p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

/* Right image — mirrors .acp-image */
.intro-image {
  position: relative;
  max-width: 520px;
  width: 100%;
}

.intro-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Decorative offset bg — mirrors .acp-image .image-bg */
.intro-image .image-bg {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--brand-dark);
  z-index: 1;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .intro-container {
    grid-template-columns: 100%;
    gap: 40px;
  }
  .intro-image {
    max-width: 100%;
  }
  .intro-image img {
    height: 280px;
  }
}


/* ============================================================
   SERVICES SECTION  (dark purple bg — like .Commercial-content)
   ============================================================ */
.services-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--brand-dark), #3b0040);
  position: relative;
  overflow: hidden;
}

/* Subtle glow blob */
.services-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 1, 156, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.services-inner {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* 3-col grid — mirrors .expertise-grid */
.services-grid {
  display: grid;
  grid-template-columns: 33.33% 33.33% 33.33%;
  gap: 24px;
}

/* Card — mirrors .expertise-card */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 233, 247, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  background: rgba(151, 1, 156, 0.18);
  border-color: rgba(242, 233, 247, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Icon box */
.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: rgba(242, 233, 247, 0.75);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 50% 50%; }
  }


@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-section { padding: 60px 20px; }
}


/* ============================================================
   COVERAGE SECTION
   ============================================================ */
.coverage-section {
  padding: 90px 20px;
  background: var(--bg-light);
}

.coverage-inner {
  max-width: 1200px;
  margin: auto;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.coverage-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

.coverage-text p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}

/* City tags — brand style */
.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.city-tag {
  background: var(--brand-dark);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  transition: background 0.2s;
}

.city-tag:hover {
  background: var(--brand-mid);
}

@media (max-width: 900px) {
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .coverage-image img { height: 260px; }
}


/* ============================================================
   DESIGN OPTIONS & FINISHES SECTION
   ============================================================ */
.design-section {
  padding: 90px 20px;
  background: var(--bg-white);
}

.design-inner {
  max-width: 1200px;
  margin: auto;
}

.design-intro {
  max-width: 700px;
  margin-bottom: 50px;
}

.design-intro p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.8;
  margin-top: 14px;
}

/* 4-col finishes grid */
.finishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Card — mirrors .expertise-card */
.finish-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finish-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.finish-img {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  height: 170px;
}

.finish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.finish-card:hover .finish-img img {
  transform: scale(1.06);
}

.finish-label {
  padding: 18px 18px 20px;
}

.finish-label h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.finish-label h4 span {
  color: var(--brand-light);
}

.finish-label p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .finishes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .finishes-grid { grid-template-columns: 1fr; }
  .design-section { padding: 60px 20px; }
}


/* ============================================================
   SYSTEM TYPES SECTION
   ============================================================ */
.systems-section {
  padding: 90px 20px;
  background: var(--bg-light);
}

.systems-inner {
  max-width: 1200px;
  margin: auto;
}

.systems-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Each row — branded left border */
.system-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-mid);
  border-radius: var(--radius);
  padding: 30px 36px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
  transition: box-shadow 0.25s, transform 0.25s;
}

.system-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.system-item:nth-child(2) { border-left-color: var(--accent-gold); }
.system-item:nth-child(3) { border-left-color: var(--brand-light); }

.system-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.system-name span {
  color: var(--brand-light);
}

.system-desc {
  font-size: 14.5px;
  color: #555;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .system-item {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 12px;
  }
  .systems-section { padding: 60px 20px; }
}


/* ============================================================
   OUR GLAZING PROCESS SECTION
   Matches .our-process / .process-wrapper / .circle
   in newgal.css exactly
   ============================================================ */
.process-section {
  padding: 80px 20px;
  background: var(--bg-light);
  text-align: center;
}

.process-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.process-intro .gl-section-title { text-align: center; }

.process-intro .section-label { justify-content: center; display: flex; }

.process-intro p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 14px;
}

/* Step wrapper — flex row like .process-wrapper */
.process-steps {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Individual step — matches .process-step */
.process-step {
  width: 185px;
  text-align: center;
  animation: glFadeUp 0.8s ease forwards;
  opacity: 0;
}

.process-step:nth-child(odd)  { animation-delay: 0.1s; }
.process-step:nth-child(even) { animation-delay: 0.3s; }
.process-step:nth-child(3)    { animation-delay: 0.5s; }
.process-step:nth-child(5)    { animation-delay: 0.7s; }

/* Number circle — matches .circle */
.step-num {
  width: 70px;
  height: 70px;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  margin: 0 auto 15px;
  animation: glPulse 2s infinite;
}

/* Connector line between steps — matches .line */
.step-line {
  width: 80px;
  height: 2px;
  background: #cdbdff;
  margin-top: 35px;
  flex-shrink: 0;
}

.step-title {
  font-size: 13px;
  font-weight: 700;
  color: #2d1a5a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 8px;
}

.step-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  padding: 0 8px;
}

/* Pulse animation — matches @keyframes pulse in newgal.css */
@keyframes glPulse {
  0%   { box-shadow: 0 0 0 0 rgba(146, 1, 151, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(106, 61, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 61, 240, 0); }
}

/* Fade-up animation — matches @keyframes fadeUp in newgal.css */
@keyframes glFadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 992px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  .step-line {
    width: 2px;
    height: 40px;
    margin: 10px auto;
  }
  .process-step { width: 260px; }
}


/* ============================================================
   WHY US SECTION
   ============================================================ */
.whyus-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--brand-dark), #440044);
}

.whyus-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: center;
}

.whyus-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  opacity: 0.9;
  box-shadow: var(--shadow-lg);
}

.whyus-content .gl-section-subtitle {
  margin-bottom: 32px;
}

/* Checklist — custom bullet using brand colour */
.whyus-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whyus-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: rgba(242, 233, 247, 0.88);
  line-height: 1.7;
}

/* Tick circle — matches brand style */
.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg {
  width: 13px;
  height: 13px;
  stroke: var(--brand-dark);
  stroke-width: 3;
  fill: none;
}

@media (max-width: 900px) {
  .whyus-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .whyus-image img { height: 280px; }
  .whyus-section { padding: 60px 20px; }
}


/* ============================================================
   CTA BANNER  (contact section)
   Mirrors .Commercial-content gradient style
   ============================================================ */
.cta-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark));
  text-align: center;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(242, 233, 247, 0.85);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary — matches .footer-btn / .hero-btn */
.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--accent-gold);
  color: #4b006e;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin: 6px 8px;
  transition: background 0.3s, transform 0.3s;
}

.cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Outline variant */
.cta-btn.outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.cta-btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cta-banner h2 { font-size: 26px; }
  .cta-banner { padding: 60px 20px; }
}


/* ============================================================
   SCROLL REVEAL  — mirrors .reveal / .reveal.active
   ============================================================ */
.gl-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gl-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.gl-delay-1 { transition-delay: 0.12s; }
.gl-delay-2 { transition-delay: 0.26s; }
.gl-delay-3 { transition-delay: 0.40s; }
.gl-delay-4 { transition-delay: 0.54s; }
.gl-delay-5 { transition-delay: 0.68s; }


/* ============================================================
   GLOBAL RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 768px) {
  .gl-section-title  { font-size: 26px; }
  .gl-section-subtitle { font-size: 14px; margin-bottom: 36px; }
  .section-divider   { margin: 0 20px; }
}

@media (max-width: 480px) {
  .intro-section,
  .coverage-section,
  .design-section,
  .systems-section,
  .process-section,
  .whyus-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
