/* GS Industries — Main Stylesheet */
:root {
  --primary: #0C3C61;
  --primary-dark: #142340;
  --accent: #EBB40E;
  --accent-dark: #c99a0a;
  --text: #333333;
  --text-muted: #666666;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 24px rgba(12,60,97,0.10);
  --radius: 6px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); font-size: 16px; line-height: 1.7; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.site-header.scrolled { background: var(--primary-dark); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.site-logo img { height: 52px; width: auto; }
.site-logo span { color: var(--white); font-size: 22px; font-weight: 700; }

nav.main-nav ul { display: flex; gap: 8px; align-items: center; }
nav.main-nav a {
  color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius);
  transition: var(--transition);
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--accent); background: rgba(235,180,14,0.1);
}
.nav-cta {
  background: var(--accent) !important; color: var(--primary-dark) !important;
  font-weight: 600 !important; padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,35,64,0.88) 0%, rgba(12,60,97,0.72) 100%); }
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  padding-top: 72px; width: 100%;
}
.hero-badge {
  display: inline-block;
  background: var(--accent); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  max-width: 560px; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(235,180,14,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: none; }
.hero-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* ─── Stats ──────────────────────────────────────────── */
.stats-section {
  background: var(--accent); padding: 0;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: 32px 20px;
  border-right: 1px solid rgba(12,60,97,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 42px; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.stat-symbol { font-size: 28px; font-weight: 700; color: var(--primary-dark); }
.stat-label { font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ─── Sections ───────────────────────────────────────── */
.section { padding: 90px 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--primary-dark); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 700;
  color: var(--primary-dark); line-height: 1.2; margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 600px; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ─── About ──────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: var(--primary-dark);
  border-radius: 8px; padding: 20px 24px; text-align: center;
  box-shadow: var(--shadow);
}
.about-img-badge .badge-num { font-size: 36px; font-weight: 800; line-height: 1; }
.about-img-badge .badge-text { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.about-text .section-title { margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; }
.about-list { margin: 24px 0 32px; }
.about-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; color: var(--text-muted); font-size: 15px;
}
.about-list li::before {
  content: ''; display: block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
}

/* ─── Services ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: 8px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(12,60,97,0.16); }
.service-card-img { position: relative; height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.service-card-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.service-card ul { margin-bottom: 20px; }
.service-card ul li { font-size: 14px; color: var(--text-muted); padding: 4px 0; padding-left: 16px; position: relative; }
.service-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px;
  transition: var(--transition);
}
.service-link:hover { color: var(--accent); gap: 10px; }

/* ─── Why Choose Us ──────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 36px 28px; text-align: center;
  transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.why-icon {
  width: 64px; height: 64px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}
.why-card h3 { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ─── Portfolio ──────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.portfolio-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 1;
  cursor: pointer;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(12,60,97,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { color: var(--white); font-size: 32px; }

/* ─── CTA ────────────────────────────────────────────── */
.cta-section {
  background: var(--primary);
  background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,0.75); }
.cta-phone { display: flex; align-items: center; gap: 16px; }
.cta-phone .phone-icon {
  width: 56px; height: 56px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.cta-phone a { color: var(--white); font-size: 26px; font-weight: 700; }
.cta-phone span { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ─── Contact Info ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.contact-card {
  background: var(--white); border-radius: 8px; padding: 36px 28px;
  box-shadow: var(--shadow); text-align: center; transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-icon {
  width: 64px; height: 64px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px;
}
.contact-card h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.contact-card a:hover { color: var(--primary); }
.map-embed { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: none; display: block; }

/* ─── Page Banner ────────────────────────────────────── */
.page-banner {
  background: var(--primary-dark); padding: 120px 0 60px;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('/wp-content/uploads/2025/05/GS-Banner-1.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 42px; font-weight: 700; color: var(--white); }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.breadcrumb a { color: var(--accent); font-size: 14px; }
.breadcrumb span { color: rgba(255,255,255,0.5); font-size: 14px; }

/* ─── About Page ─────────────────────────────────────── */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mission-card { background: var(--white); border-radius: 8px; padding: 32px 24px; box-shadow: var(--shadow); }
.mission-card .icon { font-size: 36px; margin-bottom: 16px; }
.mission-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.mission-card p { color: var(--text-muted); font-size: 15px; }

/* ─── Service Detail Page ────────────────────────────── */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.service-detail img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.service-detail-content h2 { font-size: 32px; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; }
.service-detail-content p { color: var(--text-muted); margin-bottom: 20px; }
.feature-list { margin: 24px 0 32px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: var(--accent);
  color: var(--primary-dark); border-radius: 50%;
  font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-main {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin: 16px 0 20px; max-width: 280px; }
.footer-logo { height: 44px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; background: rgba(255,255,255,0.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.social-link:hover { background: var(--accent); }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; }
.footer-contact li span:first-child { color: var(--accent); font-size: 16px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  max-width: 1200px; margin: 0 auto;
}

/* ─── Animations ─────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(12,60,97,0.15); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav.main-nav {
    position: absolute; top: 72px; left: 0; width: 100%;
    background: var(--primary-dark); padding: 16px 0;
    display: none; flex-direction: column;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav ul { flex-direction: column; padding: 0 24px; gap: 4px; }
  .about-grid, .service-detail { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .about-img-badge { right: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 32px; }
  .stat-number { font-size: 32px; }
}
