/* ==========================================================================
   Aerion Trading Company - Industrial Machine Tools & Engineering Stylesheet
   ========================================================================== */

:root {
  --graphite-black: #20252b;
  --deep-charcoal: #15191d;
  --industrial-orange: #e8752a;
  --orange-hover: #d2641e;
  --steel-gray: #69727a;
  --steel-border: #3a424a;
  --light-steel: #e9eef1;
  --off-white: #f7f5f0;
  --pure-white: #ffffff;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--graphite-black);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Common Section Titles */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--industrial-orange);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.section-tag::before, .section-tag::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--industrial-orange);
  vertical-align: middle;
  margin: 0 8px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--deep-charcoal);
  font-weight: 800;
}

.section-subtitle {
  color: var(--steel-gray);
  max-width: 650px;
  margin: 15px auto 0;
  font-size: 1.05rem;
}

.text-light h2, .text-light .section-title {
  color: var(--pure-white);
}

.text-light p, .text-light .section-subtitle {
  color: #adb5bd;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border-radius: 2px;
}

.btn-primary {
  background-color: var(--industrial-orange);
  color: var(--pure-white);
  border-color: var(--industrial-orange);
}

.btn-primary:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--pure-white);
  border-color: #adb5bd;
}

.btn-outline:hover {
  border-color: var(--industrial-orange);
  color: var(--industrial-orange);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--deep-charcoal);
  border-color: var(--steel-border);
}

.btn-outline-dark:hover {
  background-color: var(--deep-charcoal);
  color: var(--pure-white);
  border-color: var(--deep-charcoal);
}

/* Header & Sticky Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--deep-charcoal);
  border-bottom: 2px solid var(--steel-border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pure-white);
  letter-spacing: 1.5px;
  line-height: 1;
}

.brand-logo .logo-main span {
  color: var(--industrial-orange);
}

.brand-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #adb5bd;
  letter-spacing: 2px;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--light-steel);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--industrial-orange);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--pure-white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 5px;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--pure-white);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  background-color: var(--graphite-black);
  background-image: 
    linear-gradient(rgba(21, 25, 29, 0.94), rgba(21, 25, 29, 0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(232, 117, 42, 0.04) 40px, rgba(232, 117, 42, 0.04) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(232, 117, 42, 0.04) 40px, rgba(232, 117, 42, 0.04) 41px);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--industrial-orange);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(232, 117, 42, 0.15);
  border: 1px solid var(--industrial-orange);
  color: var(--industrial-orange);
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero-title {
  font-size: 3.8rem;
  color: var(--pure-white);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero-title span {
  color: var(--industrial-orange);
}

.hero-description {
  font-size: 1.15rem;
  color: #c0c7ce;
  margin-bottom: 35px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Schematic Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blueprint-card {
  width: 100%;
  max-width: 440px;
  background: var(--deep-charcoal);
  border: 1px solid var(--steel-border);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-dark);
}

.blueprint-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--industrial-orange);
  border-left: 3px solid var(--industrial-orange);
}

.blueprint-card::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 12px;
  height: 12px;
  border-bottom: 3px solid var(--industrial-orange);
  border-right: 3px solid var(--industrial-orange);
}

.schematic-box {
  border: 1px dashed var(--steel-border);
  padding: 25px 20px;
  background: rgba(32, 37, 43, 0.7);
}

.schematic-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(105, 114, 122, 0.2);
}

.schematic-line:last-child {
  border-bottom: none;
}

.schematic-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #adb5bd;
  text-transform: uppercase;
}

.schematic-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--industrial-orange);
  font-weight: 700;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2.2rem;
  color: var(--deep-charcoal);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--steel-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight-box {
  background: var(--light-steel);
  border-left: 4px solid var(--industrial-orange);
  padding: 25px 20px;
  transition: var(--transition);
}

.highlight-box:hover {
  background: var(--pure-white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.highlight-box h4 {
  font-size: 1.35rem;
  color: var(--deep-charcoal);
  margin-bottom: 8px;
}

.highlight-box p {
  font-size: 0.9rem;
  color: var(--steel-gray);
  line-height: 1.5;
  margin: 0;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: #f1f4f6;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--pure-white);
  border: 1px solid #d9e1e6;
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--industrial-orange);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #cbd5dc;
}

.service-card:hover::after {
  width: 100%;
}

.service-icon-wrap {
  width: 65px;
  height: 65px;
  background-color: rgba(232, 117, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 2px;
}

.service-icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: var(--industrial-orange);
}

.service-card h3 {
  font-size: 1.55rem;
  color: var(--deep-charcoal);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--steel-gray);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (min-width: 993px) {
  .services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: 50%;
    width: 100%;
  }
  .services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3;
    margin-left: 50%;
    width: 100%;
  }
}

/* Why Choose Us Section */
.why-section {
  padding: 100px 0;
  background-color: var(--deep-charcoal);
  color: var(--pure-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  background: var(--graphite-black);
  border: 1px solid var(--steel-border);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--industrial-orange);
  transform: translateY(-5px);
}

.why-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel-border);
  background: rgba(255, 255, 255, 0.02);
}

.why-icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: var(--industrial-orange);
}

.why-card h3 {
  font-size: 1.4rem;
  color: var(--pure-white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.92rem;
  color: #a0aab2;
  line-height: 1.6;
}

/* Industrial Banner */
.industrial-banner {
  background: linear-gradient(135deg, var(--graphite-black) 0%, #2f3740 100%);
  padding: 70px 0;
  border-top: 2px solid var(--steel-border);
  border-bottom: 2px solid var(--steel-border);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.banner-text h2 {
  font-size: 2.3rem;
  color: var(--pure-white);
  margin-bottom: 10px;
}

.banner-text p {
  color: #bac4cb;
  font-size: 1.05rem;
  max-width: 650px;
}

.banner-action {
  flex-shrink: 0;
}

/* Forms & Address Column */
.enquiry-section {
  padding: 100px 0;
  background-color: var(--light-steel);
}

.form-address-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: flex-start;
}

.form-container-box {
  background: var(--pure-white);
  border: 1px solid #d4dce2;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-container-box h3 {
  font-size: 2rem;
  color: var(--deep-charcoal);
  margin-bottom: 8px;
}

.form-container-box p {
  color: var(--steel-gray);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--graphite-black);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--graphite-black);
  border: 1px solid #cbd5dc;
  border-radius: 2px;
  outline: none;
  background-color: #fafbfc;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--industrial-orange);
  background-color: var(--pure-white);
  box-shadow: 0 0 0 3px rgba(232, 117, 42, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: #d93838;
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}

.form-group.has-error .error-message {
  display: block;
}

.form-group.has-error .form-control {
  border-color: #d93838;
}

.form-alert {
  padding: 15px;
  border-radius: 2px;
  margin-bottom: 20px;
  display: none;
  font-size: 0.95rem;
}

.form-alert.success {
  background-color: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
  display: block;
}

/* Info Cards */
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--pure-white);
  border: 1px solid #d4dce2;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--industrial-orange);
  box-shadow: var(--shadow);
}

.info-icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--graphite-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}

.info-icon-box svg {
  width: 24px;
  height: 24px;
  fill: var(--industrial-orange);
}

.info-details h4 {
  font-size: 1.25rem;
  color: var(--deep-charcoal);
  margin-bottom: 6px;
}

.info-details p, .info-details address {
  font-style: normal;
  color: var(--steel-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.info-details a {
  color: var(--graphite-black);
  font-weight: 600;
}

.info-details a:hover {
  color: var(--industrial-orange);
}

/* Page Banner */
.page-banner {
  background-color: var(--deep-charcoal);
  border-bottom: 3px solid var(--industrial-orange);
  padding: 70px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 3.2rem;
  color: var(--pure-white);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  color: #adb5bd;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Pages */
.legal-content-section {
  padding: 80px 0;
  background-color: var(--pure-white);
}

.legal-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.legal-section-block {
  margin-bottom: 40px;
}

.legal-section-block h2 {
  font-size: 1.8rem;
  color: var(--deep-charcoal);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--light-steel);
  padding-bottom: 8px;
}

.legal-section-block p {
  color: var(--steel-gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 15px;
}

.legal-section-block ul {
  list-style: square;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--steel-gray);
}

.legal-section-block ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: var(--deep-charcoal);
  color: #adb5bd;
  padding-top: 70px;
  border-top: 4px solid var(--graphite-black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid #2a3138;
}

.footer-col h3 {
  font-size: 1.4rem;
  color: var(--pure-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--industrial-orange);
}

.footer-col p {
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--industrial-orange);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact-list strong {
  color: var(--pure-white);
  min-width: 75px;
}

.footer-bottom {
  padding: 25px 0;
  background-color: #0f1215;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #7b858e;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #7b858e;
}

.footer-legal-links a:hover {
  color: var(--industrial-orange);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .blueprint-card {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
    margin-left: 0;
    width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-address-grid {
    grid-template-columns: 1fr;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--deep-charcoal);
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    transition: var(--transition);
    border-top: 1px solid var(--steel-border);
  }

  .nav-menu.open {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-container-box {
    padding: 25px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}