/* =========================================
   Streamline Industrial Services N.V.
   Global Styles
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-navy: #0F203B;
  --color-charcoal: #2A2F35;
  --color-grey: #6E7985;
  --color-light-grey: #F4F6F9;
  --color-white: #FFFFFF;
  --color-orange: #E85A1D; /* Accent matching logo */
  --color-orange-hover: #C94A15;
  --color-steel-blue: #4A7A9C; /* Steel blue accent */
  --color-dark-overlay: rgba(15, 32, 59, 0.85);

  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Sizing */
  --max-width: 1280px;
  --nav-height: 80px;
  --nav-height-scrolled: 70px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* =========================================
   Reset & Base
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}

/* =========================================
   Floating WhatsApp Button
========================================= */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform var(--transition-fast);
}

.floating-wa:hover {
  transform: scale(1.1);
  color: white;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-orange);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-grey);
  max-width: 700px;
  margin-bottom: 3rem;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.btn-outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

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

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

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

/* =========================================
   Header & Navigation
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  transition: var(--transition-normal);
}

.header.scrolled .nav-container {
  height: var(--nav-height-scrolled);
}

.logo img {
  height: 50px;
  transition: var(--transition-normal);
}

.header.scrolled .logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  text-transform: uppercase;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-orange);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-navy);
}

/* =========================================
   Hero Section
========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--color-navy);
  background-image: url('../images/hero-bg-placeholder.jpg'); /* Placeholder image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 32, 59, 0.9) 0%, rgba(15, 32, 59, 0.7) 100%);
}

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

.hero-accent {
  width: 60px;
  height: 4px;
  background-color: var(--color-orange);
  margin-bottom: 1.5rem;
}

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

.hero p {
  color: #E2E8F0;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 32, 59, 0.9);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  z-index: 1;
}

.trust-bar-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badge {
  color: var(--color-white);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-badge i {
  color: var(--color-orange);
}

/* =========================================
   Page Header (for internal pages)
========================================= */
.page-header {
  padding: 10rem 0 5rem;
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  position: relative;
  background-image: url('../images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark-overlay);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

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

.page-header p {
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   Cards & Grids
========================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.card {
  background-color: var(--color-white);
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-5px);
  border-color: var(--color-orange);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  color: var(--color-orange);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Service Image Cards */
.service-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
  height: 200px;
  background-color: var(--color-navy);
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition-normal);
}

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

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-orange);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.service-link:hover {
  color: var(--color-navy);
}

/* =========================================
   Content Sections
========================================= */
.bg-light {
  background-color: var(--color-light-grey);
}

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

.bg-navy h2, .bg-navy h3, .bg-navy p {
  color: var(--color-white);
}

.bg-navy .section-subtitle {
  color: #A0AEC0;
}

/* Image + Text Section */
.img-text-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.img-text-content {
  flex: 1;
}

.img-text-image {
  flex: 1;
  position: relative;
}

.img-text-image img {
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-text-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-orange);
  border-radius: 4px;
  z-index: -1;
}

/* Timeline / Process */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background-color: #E2E8F0;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background-color: var(--color-white);
  border: 2px solid var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  font-weight: bold;
  font-family: var(--font-heading);
}

.timeline-content {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

/* =========================================
   Forms
========================================= */
.contact-form {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #CBD5E0;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232, 90, 29, 0.1);
}

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

.form-text {
  font-size: 0.85rem;
  color: var(--color-grey);
  margin-top: 0.5rem;
}

/* =========================================
   Footer
========================================= */
.footer {
  background-color: var(--color-navy);
  color: #A0AEC0;
  padding: 5rem 0 2rem;
  border-top: 5px solid var(--color-orange);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: #A0AEC0;
}

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

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--color-orange);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .img-text-section { flex-direction: column; gap: 2rem; }
  .img-text-image::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: var(--transition-normal);
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .header.scrolled .nav-menu {
    top: var(--nav-height-scrolled);
    height: calc(100vh - var(--nav-height-scrolled));
  }
  .nav-menu.active { left: 0; }
  .hero { height: auto; padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.5rem; }
  .trust-bar { position: relative; }
  .trust-bar-content { justify-content: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

