/* Eloki Engineering Limited - Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --eloki-blue: #0065B3;
  --eloki-navy: #003366;
  --eloki-orange: #FF9900;
  --eloki-light-blue: #4A9FD4;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--eloki-navy);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--eloki-navy);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--eloki-orange);
}

.contact-info {
  display: flex;
  gap: 1.5rem;
}

/* Header */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--eloki-blue);
  font-weight: 500;
  margin: 0;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

nav a {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--eloki-navy);
}

nav a:hover {
  background-color: rgba(0, 101, 179, 0.1);
  color: var(--eloki-blue);
}

nav a.active {
  background-color: var(--eloki-blue);
  color: white;
}

.whatsapp-btn {
  background-color: var(--eloki-orange);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.whatsapp-btn:hover {
  background-color: #e68a00;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s;
}

.hero-slide.active {
  opacity: 1;
  z-index: 10;
}

.hero-slide:not(.active) {
  opacity: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.7), transparent);
}

.hero-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 600px;
  color: white;
}

.hero-text h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-text p {
  font-size: 1.25rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background-color: var(--eloki-orange);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #e68a00;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: white;
  color: var(--eloki-navy);
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-nav:hover {
  background: rgba(255,255,255,0.4);
}

.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.75rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: var(--eloki-orange);
  width: 32px;
  border-radius: 6px;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  color: var(--eloki-blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.core-values {
  margin-bottom: 2rem;
}

.value-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.value-icon {
  color: var(--eloki-orange);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.value-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.875rem;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
}

.stat-card.blue { background-color: rgba(0, 101, 179, 0.1); }
.stat-card.orange { background-color: rgba(255, 153, 0, 0.1); }
.stat-card.navy { background-color: rgba(0, 51, 102, 0.1); }

.stat-card h3 {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--gray-600);
  margin: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.learn-more {
  color: var(--eloki-blue);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.learn-more:hover {
  color: var(--eloki-orange);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 51, 102, 0.8), transparent);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: white;
}

.product-info span {
  color: var(--eloki-orange);
  font-size: 0.75rem;
  font-weight: 600;
}

.product-info h4 {
  color: white;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--eloki-navy);
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-green {
  background-color: #16a34a;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.btn-green:hover {
  background-color: #15803d;
}

/* Footer */
footer {
  background-color: var(--eloki-navy);
  color: white;
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 48px;
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.footer-logo h3 {
  color: white;
  font-size: 1.125rem;
}

.footer-logo p {
  color: var(--eloki-blue);
  font-size: 0.75rem;
}

.footer-section p {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--eloki-orange);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  color: #d1d5db;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section ul a:hover {
  color: var(--eloki-orange);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #d1d5db;
  font-size: 0.875rem;
}

.footer-contact svg {
  color: var(--eloki-blue);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom a {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-bottom a:hover {
  color: var(--eloki-orange);
}

/* Page Banner */
.page-banner {
  background-color: var(--eloki-navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: var(--eloki-blue);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  transform: translate(50%, -50%);
}

.page-banner .container {
  position: relative;
  z-index: 10;
}

.page-banner .section-label {
  color: var(--eloki-orange);
}

.page-banner h1 {
  color: white;
  font-size: 3rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.page-banner p {
  color: #d1d5db;
  font-size: 1.125rem;
  max-width: 600px;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--eloki-navy);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--eloki-blue);
  box-shadow: 0 0 0 3px rgba(0, 101, 179, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background-color: var(--eloki-blue);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: var(--eloki-navy);
}

/* Contact Cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.contact-icon {
  padding: 1rem;
  border-radius: 50%;
}

.contact-icon.blue { background-color: rgba(0, 101, 179, 0.1); color: var(--eloki-blue); }
.contact-icon.orange { background-color: rgba(255, 153, 0, 0.1); color: var(--eloki-orange); }

.contact-card h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p,
.contact-card a {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* WhatsApp Box */
.whatsapp-box {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.whatsapp-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.whatsapp-icon {
  background-color: #16a34a;
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
}

.whatsapp-header h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.whatsapp-header p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
}

.btn-whatsapp {
  width: 100%;
  background-color: #16a34a;
  color: white;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: #15803d;
}

/* Utility Classes */
.bg-gray { background-color: var(--gray-50); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-content { flex-wrap: wrap; }
  nav ul { display: none; }
  .hero-text h2 { font-size: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-info { display: none; }
}
