/* Electric Valve UK - Brand Stylesheet */
/* Matching Actuation Valve & Control brand: navy, orange, white */

:root {
  --navy: #1a2744;
  --navy-dark: #0f1a2e;
  --navy-light: #243554;
  --orange: #e8792b;
  --orange-hover: #d06820;
  --white: #ffffff;
  --light-grey: #f5f6f8;
  --mid-grey: #e0e3e8;
  --text-dark: #2c3e50;
  --text-light: #6c7a89;
  --success: #27ae60;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== HEADER / NAVIGATION ===== */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

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

.top-bar a {
  color: var(--orange);
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar .phone {
  font-weight: 600;
}

header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.logo-text {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--orange);
}

nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  background: var(--navy-light);
  color: var(--orange);
}

nav .btn-quote {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 5px;
  font-weight: 600;
  margin-left: 10px;
}

nav .btn-quote:hover {
  background: var(--orange-hover);
  color: var(--white);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(232,121,43,0.08) 100%);
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 span {
  color: var(--orange);
}

.hero .subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
}

.hero-stat .label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232,121,43,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

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

/* ===== SECTIONS ===== */
section {
  padding: 70px 0;
}

.section-light {
  background: var(--light-grey);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--navy);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header h2 span {
  color: var(--orange);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--mid-grey);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 60px;
}

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

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

.product-card-body p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 20px;
}

.product-card-body .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(232,121,43,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--orange);
}

.section-dark .feature-icon {
  background: rgba(232,121,43,0.2);
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.section-dark .feature-item p {
  color: rgba(255,255,255,0.7);
}

/* ===== APPLICATIONS GRID ===== */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.application-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--orange);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.application-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.application-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.application-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.two-col-text h2 span {
  color: var(--orange);
}

.two-col-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 16px;
}

.two-col-text ul {
  list-style: none;
  margin: 20px 0;
}

.two-col-text ul li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
}

.two-col-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.two-col-image {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 80px;
}

/* ===== SPECS TABLE ===== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.specs-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--mid-grey);
  font-size: 15px;
}

.specs-table tr:nth-child(even) {
  background: var(--light-grey);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}

.cta-banner .btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--mid-grey);
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  outline: none;
}

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

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
}

.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 25px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background: rgba(232,121,43,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.contact-detail a {
  color: var(--orange);
  text-decoration: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--light-grey);
  padding: 15px 0;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--orange);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-light);
  margin: 0 8px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 50px 0;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header h1 span {
  color: var(--orange);
}

.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 650px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 50px 0;
}

.content-section h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.content-section h2 span {
  color: var(--orange);
}

.content-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 30px;
  margin-bottom: 12px;
}

.content-section p {
  color: var(--text-light);
  margin-bottom: 15px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--orange);
}

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--orange);
  text-decoration: none;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid var(--mid-grey);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
}

.trust-item .icon {
  color: var(--orange);
  font-size: 22px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .product-grid,
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-stats {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    border-top: 1px solid var(--navy-light);
  }

  .product-grid,
  .applications-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .page-header h1 {
    font-size: 30px;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }
}
