/* ===================================
   GASKPRO SDN BHD — Website Styles
   Clean · Light · Industrial-Fresh
   =================================== */

:root {
  --green: #3ab54a;
  --green-light: #e8f7ea;
  --green-mid: #c2eac8;
  --green-dark: #1e7a2b;
  --dark: #1a1a1a;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #fafafa;
  --bg-white: #ffffff;
  --bg-alt: #f4f7f4;
  --border: #e5e7eb;
  --border-green: rgba(58, 181, 74, 0.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid var(--border-green);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; font-weight: 300; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-sub { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(58,181,74,0.35); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58,181,74,0.4); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-light); }
.btn-full { width: 100%; justify-content: center; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,250,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.nav-logo img { height: 84px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  color: var(--text-muted); padding: 7px 14px; border-radius: 7px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--dark); background: var(--bg-alt); }
.nav-cta { background: var(--green) !important; color: #fff !important; padding: 8px 20px !important; font-family: var(--font-body); font-weight: 600; box-shadow: 0 2px 10px rgba(58,181,74,0.3); }
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; flex-direction: column; padding: 16px 24px 20px; border-top: 1px solid var(--border); gap: 4px; background: var(--bg-white); }
.mobile-menu.open { display: flex; }
.mobile-link { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--border); transition: color var(--transition); }
.mobile-link:hover { color: var(--green); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 68px; overflow: hidden; background: var(--dark); }
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('assets/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.85; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,15,5,0.85) 0%, rgba(10,30,10,0.65) 60%, rgba(5,15,5,0.78) 100%);
  pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 80px; max-width: 800px; }
.hero-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--green-mid); background: rgba(58,181,74,0.15);
  border: 1px solid rgba(58,181,74,0.35); padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px; animation: fadeSlideUp 0.55s ease both;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 24px; animation: fadeSlideUp 0.55s 0.1s ease both;
}
.hero-accent { color: var(--green); position: relative; display: inline-block; }
.hero-accent::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--green), var(--green-mid));
  border-radius: 2px; transform: scaleX(0); transform-origin: left;
  animation: expandWidth 0.7s 0.65s ease forwards;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.72); font-weight: 300;
  max-width: 580px; line-height: 1.7; margin-bottom: 36px;
  animation: fadeSlideUp 0.55s 0.2s ease both;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; animation: fadeSlideUp 0.55s 0.3s ease both; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.07); }
.hero-actions .btn-ghost:hover { border-color: var(--green); color: #fff; background: rgba(58,181,74,0.2); }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.4; z-index: 2;
}
.hero-scroll-hint span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.7); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: scrollPulse 2s ease-in-out infinite; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; }
.about-card-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.about-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.about-card:hover { border-color: var(--border-green); box-shadow: var(--shadow-md); transform: translateX(4px); }
.about-card-icon {
  font-size: 1.3rem; flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); border-radius: 10px;
}
.about-card strong { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px; }
.about-card p { font-size: 0.855rem; color: var(--text-muted); line-height: 1.55; font-weight: 300; }
.about-quote-card {
  background: var(--green-light);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.about-quote-card::before { display: none; }
.quote-mark { display: none; }
.about-quote-card p { font-size: 1.2rem; line-height: 1.8; color: var(--dark); font-weight: 400; margin-bottom: 0; }
.about-card-icon svg { color: var(--green-dark); }
.about-address {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem;
  color: var(--text-muted); padding: 14px 18px; background: var(--bg-white);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.about-address svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.product-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--green), var(--green-mid));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.product-card:hover { border-color: var(--border-green); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card:hover::after { transform: scaleX(1); }
.product-icon {
  font-size: 1.6rem; margin-bottom: 14px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); border-radius: 10px;
}
.product-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.product-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; font-weight: 300; }

/* Services */
.services-layout {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-white); box-shadow: var(--shadow-md);
}
.service-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 28px 26px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.service-item:nth-child(3n) { border-right: none; }
.service-item:nth-last-child(-n+3) { border-bottom: none; }
.service-item:hover { background: var(--bg-alt); }
.service-icon-wrap {
  font-size: 1.4rem; flex-shrink: 0; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); border-radius: 10px;
}
.service-text h3 { font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.service-text p { font-size: 0.81rem; color: var(--text-muted); line-height: 1.55; font-weight: 300; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-left { position: sticky; top: 88px; }
.contact-intro { font-size: 1rem; color: var(--text-muted); font-weight: 300; line-height: 1.7; margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.contact-info-item svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }
.contact-info-item a { color: var(--green); font-weight: 500; }
.contact-info-item a:hover { color: var(--green-dark); }
.contact-form {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group textarea {
  font-family: var(--font-body); font-size: 0.92rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 11px 14px; outline: none;
  transition: all var(--transition); resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); background: var(--bg-white); box-shadow: 0 0 0 3px rgba(58,181,74,0.12); }

/* Footer */
.footer { background: var(--dark); padding: 56px 0 32px; }
.footer-inner { display: flex; flex-direction: column; gap: 36px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 10px; background: #fff; border-radius: 8px; padding: 5px 10px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.4); padding: 6px 12px; border-radius: 6px;
  transition: all var(--transition);
}
.footer-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.footer-copy { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.28); line-height: 1.6; }
.footer-copy a { color: var(--green); font-weight: 500; transition: color var(--transition); }
.footer-copy a:hover { color: var(--green-mid); }

/* Animations */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandWidth {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-layout { grid-template-columns: 1fr 1fr; }
  .service-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .service-item:nth-child(2n) { border-right: none; }
  .service-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-item:nth-last-child(-n+2) { border-bottom: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-stats { gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .service-item { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .service-item:last-child { border-bottom: none !important; }
  .contact-form { padding: 28px 22px; }
  .hero-scroll-hint { display: none; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ===== HERO IMAGE STRIP ===== */
.hero-image-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  max-height: 420px;
}
.hero-image-strip img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.4s ease;
}
.hero-image-strip:hover img {
  filter: brightness(1);
}
.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.72) 0%, transparent 100%);
  padding: 28px 32px 20px;
  align-items: flex-end;
}
.hero-image-overlay span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  margin-right: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hero-image-overlay span:first-child {
  color: #fff;
  background: rgba(58,181,74,0.6);
  border-color: rgba(58,181,74,0.5);
}

@media (max-width: 640px) {
  .hero-image-strip img { height: 220px; }
  .hero-image-overlay { padding: 16px 16px 12px; flex-wrap: wrap; gap: 6px; }
  .hero-image-overlay span { font-size: 0.62rem; padding: 4px 10px; margin-right: 0; }
}

/* ===== FLASH MESSAGES ===== */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-success {
  background: var(--green-light);
  border: 1px solid var(--border-green);
  color: var(--green-dark);
}
.flash-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.flash-error a {
  color: #991b1b;
  text-decoration: underline;
  font-weight: 600;
}

/* ===== LUCIDE LINE ICONS ===== */
/* Default icon size */
[data-lucide], i[data-lucide] {
  display: inline-block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* About card icons */
.about-card-icon [data-lucide],
.about-card-icon i {
  width: 22px;
  height: 22px;
  color: var(--green-dark);
}
.about-card-icon {
  color: var(--green-dark);
}

/* Product icons */
.product-icon [data-lucide],
.product-icon i {
  width: 26px;
  height: 26px;
  color: var(--green-dark);
}
.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: inherit;
}

/* Service icons */
.service-icon-wrap [data-lucide],
.service-icon-wrap i {
  width: 22px;
  height: 22px;
  color: var(--green-dark);
}

/* Contact info icons */
.contact-info-item [data-lucide],
.contact-info-item i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* Address icon */
.about-address [data-lucide],
.about-address i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* Flash icons */
.flash [data-lucide],
.flash i {
  flex-shrink: 0;
}

/* Larger logo in footer */
.footer-brand img { height: 48px; width: auto; margin-bottom: 10px; }

/* Bigger nav — adjust hero padding */
.hero { padding-top: 100px; }
