@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Roboto+Mono:wght@300;400;500;700&display=swap');

/* MODERN BRUTALIST & HEAVY INDUSTRIAL STEEL DESIGN SYSTEM */
:root {
  --iron-black: #111827;
  --steel-charcoal: #1F2937;
  --concrete-grey: #9CA3AF;
  --steel-plate-highlight: #F3F4F6;
  --rust-red: #B91C1C;
  --rust-glow: rgba(185, 28, 28, 0.4);
  --steel-shine: rgba(243, 244, 246, 0.08);
  --industrial-border: #374151;
  --grid-size: 16px;
  --transition-speed: 0.3s;
}

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

body {
  background-color: var(--iron-black);
  color: var(--concrete-grey);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--iron-black);
  border-left: 2px solid var(--industrial-border);
}
::-webkit-scrollbar-thumb {
  background: var(--steel-charcoal);
  border: 3px solid var(--iron-black);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--rust-red);
}

/* UTILITY CLASSES & INDUSTRIAL DECORATIONS */
a, button, select, input, textarea {
  cursor: pointer !important;
}

.mono {
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--steel-plate-highlight);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

p {
  font-weight: 400;
  color: var(--concrete-grey);
}

/* Heavy Steel Plates */
.steel-plate {
  background: linear-gradient(135deg, var(--steel-charcoal) 0%, #1a232f 100%);
  border: 4px solid #4B5563;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), 4px 4px 0px rgba(0, 0, 0, 0.8);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.steel-plate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.01) 10px,
    rgba(255, 255, 255, 0.01) 20px
  );
  pointer-events: none;
}

/* Rivets representation in corners */
.riveted::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.rivet {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 3px 3px, #9CA3AF, #374151 70%, #111827);
  border: 1px solid #111827;
  border-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  z-index: 5;
}
.r-tl { top: 10px; left: 10px; }
.r-tr { top: 10px; right: 10px; }
.r-bl { bottom: 10px; left: 10px; }
.r-br { bottom: 10px; right: 10px; }

/* Sandblasted Concrete Block */
.concrete-block {
  background-color: #2D3748;
  background-image: radial-gradient(#202938 1px, transparent 0);
  background-size: 8px 8px;
  border: 6px solid #4B5563;
  border-style: double;
  padding: 40px;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.4), 0 10px 20px rgba(0,0,0,0.5);
}

.concrete-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rust-red);
}

/* INDUSTRIAL HEADER */
header {
  border-bottom: 4px solid var(--rust-red);
  background: var(--iron-black);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo a {
  text-decoration: none;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -1px;
  color: var(--steel-plate-highlight);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span.rust-text {
  color: var(--rust-red);
  text-shadow: 0 0 10px var(--rust-glow);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--concrete-grey);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  padding: 8px 16px;
  border: 1px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--rust-red);
  border: 1px solid var(--rust-red);
  background: rgba(185, 28, 28, 0.05);
}

/* HERO SECTION */
.hero {
  height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid var(--industrial-border);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(120%) brightness(35%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17,24,39,0.3) 0%, rgba(17,24,39,0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--rust-red);
  color: var(--steel-plate-highlight);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* INDUSTRIAL BUTTONS */
.btn {
  display: inline-block;
  background: transparent;
  color: var(--steel-plate-highlight);
  border: 2px solid var(--steel-plate-highlight);
  padding: 14px 28px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-speed) ease;
  box-shadow: 4px 4px 0px var(--industrial-border);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  color: var(--steel-plate-highlight);
  background: var(--rust-red);
  border-color: var(--rust-red);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.8);
  transform: translate(-2px, -2px);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px rgba(0,0,0,0);
}

.btn-primary {
  background: var(--rust-red);
  border-color: var(--rust-red);
  box-shadow: 4px 4px 0px var(--iron-black);
}

.btn-primary:hover {
  background: #991B1B;
  border-color: #991B1B;
}

/* INDUSTRIAL PAGE SECTIONS */
.section-padding {
  padding: 100px 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rust-red);
}

/* DYNAMIC SCROLL REVEAL EFFECT */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* INDEX LAYOUT GRIDS & FEATURES */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.image-frame {
  border: 8px solid var(--steel-charcoal);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(30%) contrast(110%);
}

.image-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--rust-red);
  pointer-events: none;
  margin: 5px;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: linear-gradient(180deg, var(--iron-black) 0%, #182232 50%, var(--iron-black) 100%);
  border-top: 4px solid var(--industrial-border);
  border-bottom: 4px solid var(--industrial-border);
  position: relative;
}

.testimonial-card {
  background: var(--iron-black);
  border: 2px solid var(--industrial-border);
  padding: 30px;
  position: relative;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--steel-plate-highlight);
}

.testimonial-author {
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--rust-red);
}

/* ABOUT PAGE INDUSTRIAL SPECS */
.cast-iron-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.industrial-list {
  list-style: none;
  margin-top: 30px;
}

.industrial-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.industrial-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--rust-red);
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

/* PRODUCTS PAGE FILTER & GRID */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--steel-charcoal);
  border: 2px solid var(--industrial-border);
  color: var(--concrete-grey);
  padding: 10px 20px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--rust-red);
  color: var(--steel-plate-highlight);
  border-color: var(--rust-red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--steel-charcoal);
  border: 4px solid var(--industrial-border);
  position: relative;
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--rust-red);
}

.product-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: grayscale(15%) contrast(105%);
  border-bottom: 4px solid var(--industrial-border);
}

.product-card:hover .product-img {
  filter: grayscale(0%) contrast(110%);
}

.product-info {
  padding: 25px;
}

.product-tag {
  color: var(--rust-red);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--steel-plate-highlight);
}

/* CONTACT PAGE FLOATING LABELS */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-form-container {
  background: var(--steel-charcoal);
  border: 4px solid var(--industrial-border);
  padding: 50px;
  position: relative;
}

.form-group {
  position: relative;
  margin-bottom: 35px;
}

.form-input {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--industrial-border);
  color: var(--steel-plate-highlight);
  font-size: 1rem;
  outline: none;
  font-family: 'Roboto Mono', monospace;
  transition: border-color var(--transition-speed) ease;
}

.form-input:focus {
  border-bottom-color: var(--rust-red);
}

.form-label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--concrete-grey);
  transition: all var(--transition-speed) ease;
  pointer-events: none;
  font-size: 1rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -15px;
  font-size: 0.8rem;
  color: var(--rust-red);
}

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

.map-container {
  height: 100%;
  min-height: 400px;
  background: var(--steel-charcoal);
  border: 4px solid var(--industrial-border);
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.map-placeholder svg {
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(185, 28, 28, 0.4));
}

/* COOKIE BANNER (GDPR) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #111827;
  border-top: 4px solid var(--rust-red);
  padding: 25px 40px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cookie-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--steel-plate-highlight);
}

.cookie-text p {
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--rust-red);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* LEGAL PAGES */
.legal-layout {
  max-width: 900px;
  margin: 0 auto;
}

.legal-layout h1 {
  margin-bottom: 20px;
}

.legal-layout h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--industrial-border);
  padding-bottom: 10px;
}

.legal-layout p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* INDUSTRIAL FOOTER */
footer {
  border-top: 8px solid var(--industrial-border);
  background: #0B0F19;
  padding: 80px 0 40px;
}

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

.footer-logo {
  font-weight: 900;
  font-size: 2rem;
  color: var(--steel-plate-highlight);
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--rust-red);
}

.footer-about p {
  max-width: 400px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  text-decoration: none;
  color: var(--concrete-grey);
  transition: color var(--transition-speed) ease;
}

.footer-links-list a:hover {
  color: var(--rust-red);
}

.footer-contact-info p {
  margin-bottom: 12px;
}

.footer-contact-info span {
  color: var(--steel-plate-highlight);
}

.footer-bottom {
  border-top: 1px solid var(--industrial-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--concrete-grey);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 20px;
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .cast-iron-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .grid-2col {
    grid-template-columns: 1fr;
  }
  .grid-3col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cookie-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}
