/* ============================================================
   ELARKX SOLUTION — Professional Construction & Technology
   Main Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Primary Palette */
  --color-primary: #0a0e1a;
  --color-primary-light: #1a1f2e;
  --color-secondary: #c9a84c;
  --color-secondary-light: #e0c468;
  --color-secondary-dark: #a8892e;

  /* Neutrals */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6fa;
  --color-bg-dark: #0a0e1a;
  --color-text: #1a1a2e;
  --color-text-light: #6b7280;
  --color-text-on-dark: #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-border: #e5e7eb;
  --color-border-dark: #2a2f3e;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.3);
  --gradient-gold: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  --gradient-dark: linear-gradient(135deg, var(--color-primary), #151b30);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--color-secondary);
  transform: translateY(-50%);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.navbar .logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.navbar .logo span { color: var(--color-secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--gradient-gold);
  color: var(--color-primary) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
              linear-gradient(135deg, rgba(10,14,26,0.95) 0%, rgba(26,31,46,0.9) 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 15s infinite;
}

.hero-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 40%; left: 30%; animation-delay: 3s; width: 6px; height: 6px; }
.hero-particles span:nth-child(3) { top: 60%; left: 70%; animation-delay: 6s; }
.hero-particles span:nth-child(4) { top: 30%; left: 85%; animation-delay: 2s; width: 3px; height: 3px; }
.hero-particles span:nth-child(5) { top: 70%; left: 20%; animation-delay: 8s; }
.hero-particles span:nth-child(6) { top: 80%; left: 50%; animation-delay: 4s; width: 5px; height: 5px; }
.hero-particles span:nth-child(7) { top: 15%; left: 55%; animation-delay: 1s; }
.hero-particles span:nth-child(8) { top: 55%; left: 90%; animation-delay: 7s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.3; }
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-content { max-width: 750px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-on-dark);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-primary);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline-light:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stats .stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-family: var(--font-heading);
}

.hero-stats .stat p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --- Sections Common --- */
section { position: relative; }

.section-header {
  margin-bottom: 4rem;
}

/* --- Services --- */
.services {
  padding: var(--section-padding);
  background: var(--color-bg);
}

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

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-card .icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  transition: var(--transition);
}

.service-card:hover .icon {
  background: var(--gradient-gold);
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.service-card .learn-more .arrow { transition: var(--transition); }
.service-card:hover .learn-more .arrow { transform: translateX(4px); }

/* --- Dark Section (used for portfolio/team) --- */
.section-dark {
  background: var(--color-primary);
  color: #fff;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: var(--color-text-on-dark); }

/* --- Portfolio --- */
.portfolio {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio-filters button {
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  background: var(--color-bg);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text-light);
}

.portfolio-filters button:hover,
.portfolio-filters button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-primary-light);
}

.portfolio-item .portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); }

.portfolio-item .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-item .portfolio-overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.portfolio-item .portfolio-overlay p {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Placeholder Image Generator */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-muted);
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.placeholder-img::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201,168,76,0.05), transparent, rgba(201,168,76,0.05), transparent);
  animation: rotate-bg 10s linear infinite;
}

@keyframes rotate-bg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.placeholder-img .img-label {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* --- Testimonials --- */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.testimonial-card .stars {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card .author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.testimonial-card .author h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-card .author p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-on-dark);
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-brand h3 span { color: var(--color-secondary); }

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 0.8rem; }

.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-social { margin-top: 1.2rem; }

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-right: 8px;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover { color: var(--color-secondary); }

/* --- Team Page --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--color-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card .team-photo {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.team-card .team-info {
  padding: 24px;
  text-align: center;
}

.team-card .team-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card .team-info .role {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.team-card .team-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- Products Page --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-image {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}

.product-card .product-body {
  padding: 28px;
}

.product-card .product-body .product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.product-card .product-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.product-card .product-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.product-card .product-body .product-features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-card .product-body .product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.product-card .product-body .product-features li::before {
  content: '✓';
  color: var(--color-secondary);
  font-weight: 700;
}

/* --- Contact Page --- */
.contact-section {
  padding: var(--section-padding);
  padding-top: 140px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--color-secondary);
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Contact Form */
.contact-form {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 4px;
}

.form-group.error .form-error { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--color-text-light);
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  padding: 140px 0 80px;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.page-header .page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.page-header p {
  color: var(--color-text-on-dark);
  font-size: 1.1rem;
  max-width: 550px;
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 32px; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    padding: 100px 40px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.1rem; }

  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats .stat h3 { font-size: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .products-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
}

/* --- SEO & Accessibility Additions --- */
.skip-link { position: absolute; top: -100px; left: 0; z-index: 10000; padding: 12px 24px; background: var(--color-secondary); color: var(--color-primary); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: top 0.3s; }
.skip-link:focus { top: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--color-text-muted); }
.breadcrumbs a { color: var(--color-text-on-dark); opacity: 0.7; text-decoration: none; transition: var(--transition); }
.breadcrumbs a:hover { opacity: 1; color: var(--color-secondary); }
.breadcrumbs .separator { opacity: 0.4; }
.breadcrumbs .current { color: var(--color-secondary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
@media print { .navbar, .mobile-toggle, .cta-section, .footer-social, .nav-cta, .btn { display: none !important; } .hero { min-height: auto; padding: 60px 0; background: #fff !important; color: #000 !important; } .hero h1, .hero p { color: #000 !important; } .page-header { padding: 40px 0; background: #f5f5f5 !important; } .page-header h1 { color: #000 !important; } .page-header p { color: #333 !important; } a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; } section { padding: 30px 0 !important; } .section-dark { background: #f5f5f5 !important; color: #000 !important; } .section-dark .section-title { color: #000 !important; } .section-dark .section-subtitle { color: #555 !important; } }
img[loading=lazy] { background: var(--color-bg-alt); }
.schema-container { display: none; 
/* Image adjustments for logo, team, products */
.logo-img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-alt);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero {
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}
}

