/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  --primary: #0A2342; /* Dark industrial blue */
  --secondary: #175676; /* Accent blue */
  --accent: #E0E0E0; /* Silver/Steel */
  --text-dark: #222222;
  --text-gray: #555555;
  --bg-light: #F8F9FA;
  --bg-dark: #121212;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ==========================================================================
   Layout / Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo img {
  height: 45px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-container {
  position: relative;
}

.search-icon {
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
}

.search-box {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  padding: 0.5rem;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  display: none;
  opacity: 0;
  transition: var(--transition);
  margin-top: 10px;
}

.search-box.active {
  display: block;
  opacity: 1;
}

.search-box input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  outline: none;
}

.whatsapp-btn {
  background-color: #25D366;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    text-align: center;
    padding: 0.5rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-actions {
    display: none;
  }
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: #114159;
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 1rem;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .btn-outline { margin-left: 0; margin-top: 1rem; display: block; width: fit-content; }
}

/* ==========================================================================
   Value Proposition Bar
   ========================================================================== */
.value-prop {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.value-prop span {
  display: inline-block;
  margin: 0 1rem;
}

.value-prop span::after {
  content: "·";
  margin-left: 2rem;
  color: var(--secondary);
}

.value-prop span:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .value-prop span {
    display: block;
    margin: 0.5rem 0;
  }
  .value-prop span::after {
    display: none;
  }
}

/* ==========================================================================
   Cards Section (Products/Categories)
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-img {
  height: 220px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-list {
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-list li {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.card-link {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
}

.card-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   Page Headers (Internal Pages)
   ========================================================================== */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.page-header p {
  color: var(--accent);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.content-block {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.content-block p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.content-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.content-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.content-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.8rem;
  top: 0.2rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--secondary);
}

.cta-content p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(23,86,118,0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-text {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--accent);
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--accent);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--accent);
  font-size: 0.85rem;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary);
}

/* Mobile Typography Adjustments */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 400px;
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}
