/* ===================================
   CLEARINLAYS - INDUSTRIAL MODERN CSS
   Complete Stylesheet for All Pages
   =================================== */

/* CSS RESET & NORMALIZE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #E0E0E0;
  background-color: #1A1A1A;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style-position: inside;
}

/* TYPOGRAPHY - INDUSTRIAL MODERN */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #F5F5F5;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
  color: #CCCCCC;
}

strong {
  color: #F5F5F5;
  font-weight: 700;
}

/* CONTAINER & LAYOUT - FLEXBOX ONLY */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER - INDUSTRIAL STYLE */
header {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
  border-bottom: 3px solid #C78A2E;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(199, 138, 46, 0.3));
}

/* MAIN NAVIGATION - DESKTOP */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #E0E0E0;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #C78A2E;
  border-bottom-color: #C78A2E;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: #C78A2E;
  color: #1A1A1A;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #E8A547;
  transform: scale(1.05);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #2A2A2A;
  z-index: 1999;
  padding: 80px 30px 30px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.6);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 2px solid #C78A2E;
  color: #C78A2E;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: #C78A2E;
  color: #1A1A1A;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #E0E0E0;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #3A3A3A;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav a:hover {
  color: #C78A2E;
  padding-left: 10px;
}

/* HERO SECTION - INDUSTRIAL IMPACT */
.hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2C5F7C 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #C78A2E;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(199, 138, 46, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
  color: #F5F5F5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  color: #E0E0E0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.trust-indicators span {
  color: #C78A2E;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 16px;
  background: rgba(199, 138, 46, 0.1);
  border: 2px solid #C78A2E;
  border-radius: 4px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

/* BUTTONS - INDUSTRIAL STYLE */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: #C78A2E;
  color: #1A1A1A;
  border-color: #C78A2E;
  box-shadow: 0 4px 12px rgba(199, 138, 46, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #E8A547;
  border-color: #E8A547;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 165, 71, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #C78A2E;
  border-color: #C78A2E;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #C78A2E;
  color: #1A1A1A;
  transform: translateY(-2px);
}

/* PAGE SECTIONS */
.page-hero {
  background: linear-gradient(135deg, #2A2A2A 0%, #1A4459 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 3px solid #C78A2E;
  margin-bottom: 40px;
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 16px;
}

/* PROBLEM SECTION */
.problems {
  background: #2A2A2A;
  padding: 60px 20px;
  margin-bottom: 40px;
}

.problems h2 {
  text-align: center;
  margin-bottom: 32px;
  color: #C78A2E;
}

.problem-list {
  max-width: 800px;
  margin: 0 auto 24px;
}

.problem-list li {
  padding: 16px 0;
  border-bottom: 1px solid #3A3A3A;
  color: #E0E0E0;
  font-size: 18px;
}

/* SOLUTION SECTION */
.solution {
  padding: 60px 20px;
  background: #1A1A1A;
}

.solution h2 {
  text-align: center;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.step {
  background: #2A2A2A;
  padding: 24px;
  border-left: 4px solid #C78A2E;
  flex: 1 1 200px;
  max-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #C78A2E;
}

.success-metric {
  text-align: center;
  font-size: 20px;
  color: #E8A547;
  margin-top: 32px;
}

/* SERVICE GRIDS - FLEXBOX LAYOUT */
.service-grid,
.service-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.service-card,
.service-detail-card {
  background: #2A2A2A;
  padding: 32px 24px;
  border: 2px solid #3A3A3A;
  border-radius: 4px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover,
.service-detail-card:hover {
  border-color: #C78A2E;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(199, 138, 46, 0.2);
}

.service-card h3,
.service-detail-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #F5F5F5;
}

.service-detail-card .price {
  font-size: 28px;
  font-weight: 700;
  color: #C78A2E;
  margin-bottom: 16px;
}

.service-detail-card.featured {
  border: 3px solid #C78A2E;
  background: linear-gradient(135deg, #2A2A2A 0%, #1A4459 100%);
}

.badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #C78A2E;
  color: #1A1A1A;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #3A3A3A;
  color: #CCCCCC;
}

/* CASE STUDIES & TESTIMONIALS */
.case-grid,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.case-card,
.testimonial-card {
  background: #2A2A2A;
  padding: 24px;
  border-left: 4px solid #C78A2E;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.testimonial-card {
  background: #F5F5F5;
  color: #1A1A1A;
  border-left: 4px solid #2C5F7C;
}

.testimonial-card p {
  color: #2A2A2A;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author {
  color: #1A4459;
  font-weight: 700;
  font-style: normal;
}

.rating {
  text-align: center;
  font-size: 18px;
  color: #C78A2E;
  font-weight: 700;
}

/* TEAM SECTION */
.team-grid,
.team-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.team-member,
.team-contact-card {
  background: #2A2A2A;
  padding: 24px;
  border: 2px solid #3A3A3A;
  border-radius: 4px;
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
}

.team-member h3,
.team-contact-card h3 {
  color: #C78A2E;
  margin-bottom: 8px;
}

.role {
  color: #B0B0B0;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* STATS GRID */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.stat {
  background: #2A2A2A;
  padding: 32px 24px;
  border: 2px solid #C78A2E;
  border-radius: 4px;
  text-align: center;
  flex: 1 1 180px;
  max-width: 200px;
}

.stat h3 {
  font-size: 36px;
  color: #C78A2E;
  margin-bottom: 8px;
}

.stat p {
  color: #E0E0E0;
  font-size: 14px;
}

/* PROCESS STEPS */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.process-step {
  background: #2A2A2A;
  padding: 24px;
  border-left: 4px solid #C78A2E;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 200px;
  position: relative;
}

.process-step h3 {
  color: #C78A2E;
  margin-bottom: 8px;
}

/* PRICING SECTION */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.pricing-card {
  background: #2A2A2A;
  padding: 32px 24px;
  border: 2px solid #3A3A3A;
  border-radius: 4px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: #C78A2E;
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 3px solid #C78A2E;
  background: linear-gradient(135deg, #2A2A2A 0%, #1A4459 100%);
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.pricing-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #C78A2E;
  margin-bottom: 16px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #3A3A3A;
  color: #CCCCCC;
}

.for-who {
  color: #B0B0B0;
  font-size: 14px;
  font-style: italic;
}

/* CONTACT OPTIONS */
.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-option {
  background: #2A2A2A;
  padding: 32px 24px;
  border: 2px solid #3A3A3A;
  border-radius: 4px;
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
}

.contact-option h3 {
  color: #C78A2E;
  margin-bottom: 16px;
}

/* LISTS */
ul, ol {
  margin-bottom: 24px;
}

ul li, ol li {
  margin-bottom: 12px;
  color: #CCCCCC;
  padding-left: 8px;
}

/* LEGAL PAGES */
.legal-page {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 24px;
  color: #C78A2E;
}

.legal-page h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: #F5F5F5;
}

.last-updated,
.effective-date {
  color: #B0B0B0;
  font-size: 14px;
  margin-bottom: 24px;
}

/* FOOTER */
footer {
  background: #1A1A1A;
  border-top: 3px solid #C78A2E;
  padding: 60px 20px 30px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  color: #C78A2E;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-column nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column nav a {
  color: #B0B0B0;
  transition: color 0.3s ease;
}

.footer-column nav a:hover {
  color: #C78A2E;
}

.footer-column p {
  color: #B0B0B0;
  font-size: 14px;
}

.copyright {
  text-align: center;
  color: #7A7A7A;
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid #3A3A3A;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2A2A2A;
  border-top: 3px solid #C78A2E;
  padding: 20px;
  z-index: 1998;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.cookie-banner p {
  color: #E0E0E0;
  margin: 0;
  flex: 1 1 300px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-accept,
.cookie-reject,
.cookie-settings {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cookie-accept {
  background: #C78A2E;
  color: #1A1A1A;
  border-color: #C78A2E;
}

.cookie-accept:hover {
  background: #E8A547;
}

.cookie-reject,
.cookie-settings {
  background: transparent;
  color: #C78A2E;
  border-color: #C78A2E;
}

.cookie-reject:hover,
.cookie-settings:hover {
  background: #C78A2E;
  color: #1A1A1A;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: #2A2A2A;
  border: 3px solid #C78A2E;
  border-radius: 4px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 2px solid #C78A2E;
  color: #C78A2E;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: #C78A2E;
  color: #1A1A1A;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 16px;
  background: #1A1A1A;
  border-left: 4px solid #C78A2E;
}

.cookie-category h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    max-width: 100%;
  }
  
  .service-grid,
  .service-detail-grid,
  .case-grid,
  .testimonial-grid,
  .team-grid,
  .stats-grid,
  .process-steps,
  .pricing-grid,
  .contact-options {
    flex-direction: column;
  }
  
  .service-card,
  .service-detail-card,
  .case-card,
  .testimonial-card,
  .team-member,
  .team-contact-card,
  .stat,
  .process-step,
  .pricing-card,
  .contact-option {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-accept,
  .cookie-reject,
  .cookie-settings {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-card,
  .service-detail-card,
  .pricing-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .case-card,
  .testimonial-card {
    flex: 1 1 calc(50% - 24px);
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #C78A2E;
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }
}