/* =========================================
   SIN WEE CHUAN - Spray & Painting Service
   Responsive Stylesheet
   ========================================= */

/* ---------- CSS Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand colors derived from logo */
  --navy-900: #0b1e3f;
  --navy-800: #1e3a8a;
  --navy-700: #1e40af;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --silver-500: #94a3b8;
  --silver-300: #cbd5e1;
  --silver-100: #f1f5f9;
  --silver-50: #f8fafc;
  --black: #0f172a;
  --white: #ffffff;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--silver-100);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--blue-500);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy-800);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--blue-500) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--blue-500) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(148, 163, 184, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffff 0%, var(--silver-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--silver-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* ---------- Section Base ---------- */
section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- Company Profile ---------- */
.profile {
  background: var(--silver-50);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.profile-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.profile-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.profile-image img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.profile-image-placeholder {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-content .section-eyebrow,
.profile-content .section-title {
  text-align: left;
}

.profile-content .section-title {
  margin-bottom: 24px;
}

.profile-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Commitment list */
.commitment-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 32px;
  margin-bottom: 16px;
}

.commitment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.commitment-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--silver-300);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  transition: all 0.25s ease;
}

.commitment-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.commitment-list li:hover {
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Our Service ---------- */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--silver-100);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.service-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px dashed var(--silver-100);
  line-height: 1.5;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: '▸';
  color: var(--blue-500);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Why Choose Us ---------- */
.why-us {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(148, 163, 184, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us .section-eyebrow {
  color: var(--silver-300);
}

.why-us .section-title {
  color: var(--white);
}

.why-us .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.why-card {
  flex: 0 0 calc(25% - 18px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--silver-300), var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

/* ---------- Industries We Serve ---------- */
.industries {
  background: var(--silver-50);
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.industry-card {
  flex: 0 0 calc(25% - 18px);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--silver-100);
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-card:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-900);
}

.industry-card:hover .industry-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.industry-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--silver-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  transition: all 0.3s ease;
}

.industry-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.industry-card:hover h3 {
  color: var(--white);
}

.industry-card p {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.industry-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Contact CTA ---------- */
.cta {
  background: var(--white);
  text-align: center;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3), transparent 50%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact info blocks inside CTA */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  text-align: left;
}

.contact-block {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  backdrop-filter: blur(8px);
}

.contact-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--silver-300);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.contact-block p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: none;
}

.contact-block a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: text-decoration-color 0.2s ease;
}

.contact-block a:hover {
  text-decoration-color: var(--white);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--silver-300);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
  background: var(--white);
  padding: 6px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    gap: 16px;
  }
  .why-card {
    flex: 0 0 calc(33.333% - 11px);
  }
  .industry-card {
    flex: 0 0 calc(33.333% - 11px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--silver-100);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--silver-100);
  }

  .nav-menu a {
    display: block;
    padding: 18px 24px;
    width: 100%;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-cta {
    margin: 16px 24px;
    border-radius: var(--radius-sm);
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 70px 0;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-content .section-eyebrow,
  .profile-content .section-title {
    text-align: center;
  }

  .profile-content {
    text-align: center;
  }

  .commitment-list {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    flex: 0 0 calc(50% - 8px);
  }

  .industry-card {
    flex: 0 0 calc(50% - 8px);
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav-wrapper {
    height: 70px;
  }

  .logo img {
    height: 48px;
  }

  .logo-text strong {
    font-size: 16px;
  }

  .logo-text span {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 110px 20px 70px;
  }
}

@media (max-width: 480px) {
  .industry-card {
    flex: 0 0 100%;
  }

  .commitment-list li {
    width: 100%;
    justify-content: center;
  }

  .cta-box {
    padding: 48px 24px;
  }
}
