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

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}


/* ============================================================
   HEADER
   ============================================================ */

/* Logo */
.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo a {
  text-decoration: none;
  color: white;
}

/* Nav */
.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Language switcher */
.lang {
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.lang a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
}


/* ============================================================
   BURGER MENU
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #2b6df3;
  transition: 0.3s;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }


/* ============================================================
   HERO — homepage full-screen
   ============================================================ */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../img/image.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  margin-bottom: 80px;
}

.hero-content h1 {
  font-size: 90px;
  letter-spacing: 6px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-content p {
  font-size: 24px;
  margin: 22px 0 44px;
  font-weight: 400;
  opacity: 0.9;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  background: #2b6df3;
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.3s;
}

.hero-btn:hover { background: #1e4ed8; }


/* ============================================================
   SECTION HERO — equipment.html & powders_group.html
   ============================================================ */
.powder-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Shared centered text block (overrides homepage .hero-content if needed) */
.powder-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.powder-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: normal;
}

.powder-hero .hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}


/* ============================================================
   EQUIPMENT — carousel section
   ============================================================ */
.equipment {
  padding: 120px 0;
  background: #e9e9e9;
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 80px;
}

/* Carousel */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 150px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Center item */
.center {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.center-item { transition: transform 0.4s ease, opacity 0.4s ease; }
.slide-out-left  { opacity: 0; transform: translateX(-60px); }
.slide-out-right { opacity: 0; transform: translateX(60px); }
.slide-in        { opacity: 1; transform: translateX(0); }

.center-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 18px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.center-item:hover { 
  transform: scale(1.04);
}

.center-item:hover .center-item-link,
.center-item:hover a {
  color: #2b6df3;
  border-color: #2b6df3;
}

.center-item img {
  max-width: 100%;
  height: 400px;
  object-fit: contain;
}

.center-item h3 {
  margin-top: 25px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.center-item .desc {
  margin-top: 10px;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Side panels */
.side {
  flex: 1;
  min-width: 0;
  height: 210px;
  background: white;
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.side-left  { border-top-right-radius: 105px; border-bottom-right-radius: 105px; }
.side-right { border-top-left-radius: 105px;  border-bottom-left-radius: 105px; }

.side-content {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 0 80px;
}

.side-content-left  { justify-content: right; position: relative; }
.side-content-right { position: relative; display: flex; justify-content: left; }

.side-item { text-align: center; }
.side-item img { height: 100px; width: auto; object-fit: contain; }
.side-item p {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Arrow buttons */
.arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2b6df3;
  border-radius: 50%;
  transition: 0.3s ease;
  cursor: pointer;
}

.arrow:hover { background-color: #1e4ed8; transform: scale(1.1); }

.material-symbols-outlined { display: block; color: white; }

#prev-btn { position: absolute; right: 280px; }
#next-btn  { position: absolute; left: 280px; z-index: 5; }


/* ============================================================
   SWIPER CARDS — equipment.html card grid
   ============================================================ */
.section {
  padding: 60px 5%;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: #2b6df3;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.dot-indicator { color: #2b6df3; font-size: 10px; }

.card-title {
  padding: 0 20px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.pros-list {
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.card-footer {
  padding: 12px 20px 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}


/* ============================================================
   MACHINE DETAIL — machine.html
   ============================================================ */
.machine-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

/* Specifications table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.specs-table th {
  font-weight: 600;
  color: #111;
  width: 220px;
  background: #fafafa;
}

.specs-table td { color: #555; }

.specs-table tr:hover td,
.specs-table tr:hover th { background: #f5f8ff; }

/* Application icons */
.app-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.app-icon-item {
  text-align: center;
  width: 70px;
}

.app-icon-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.app-icon-item p {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #555;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover { transform: scale(1.04); }

/* Pros list in machine detail */
.pros-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-check-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pros-check-list li::before {
  content: '✔';
  color: #2b6df3;
  font-weight: 700;
  flex-shrink: 0;
}

/* Section headings inside machine/detail pages */
.detail-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.detail-description {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}


/* ============================================================
   SOLUTIONS / LEFT-RIGHT BLOCK — homepage
   ============================================================ */
.solutions-container {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 1500px;
  width: 90%;
  margin: 0 auto;
}

.solutions-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  gap: 0;
}

.left-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
}

.left-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.left-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 600px;
}

.left-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.left-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: continuousZoom 20s ease-in-out infinite;
}

@keyframes continuousZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.main-image {
  width: 100%;
  max-width: 500px;
  height: 350px;
  background: linear-gradient(135deg, #555, #777);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-image:hover { transform: scale(1.05); }

.main-image img { width: 100%; height: 100%; object-fit: cover; }

.left-text-content {
  text-align: left;
  color: white;
  animation: fadeIn 0.6s ease-out;
}

.left-text-content h3 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.left-text-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #d0d0d0;
  max-width: 400px;
}

.read-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

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

.right-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 50px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.solution-header { margin-bottom: 40px; }

.solution-header h2 {
  font-size: 52px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.solution-description {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  max-width: 350px;
}

.solution-image-small {
  width: 300px;
  height: 120px;
  background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-image-small:hover { transform: scale(1.08); }
.solution-image-small img { width: 100%; height: 100%; object-fit: cover; }

/* Navigation controls */
.controls-section { display: flex; flex-direction: column; gap: 30px; }

.nav-buttons { display: flex; gap: 15px; align-items: center; }

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  color: #4a90e2;
  font-weight: 600;
}

.nav-btn:hover { border-color: #4a90e2; background: #f0f5ff; transform: scale(1.1); }
.nav-btn:active { transform: scale(0.95); }
.nav-btn.disabled { opacity: 0.3; cursor: not-allowed; }
.nav-btn.disabled:hover { border-color: #d0d0d0; background: white; transform: none; }

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #999;
  font-weight: 500;
}

.pagination strong { color: #4a90e2; font-size: 17px; font-weight: 700; }
.pagination-dash { color: #ddd; }


/* ============================================================
   POWDERS GROUP — powders_group.html
   ============================================================ */
.section-divider {
  width: 80px;
  height: 4px;
  background: #2b6df3;
  margin: 60px auto;
  border-radius: 2px;
}

.powder-link { text-decoration: none; }

.powder-tile {
  position: relative;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
}

.powder-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.powder-tile:hover img { transform: scale(1.08); }

.powder-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.205);
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.powder-overlay h4 { font-weight: 600; font-size: 18px; }

.powder-overlay p { font-size: 14px; opacity: 0.85; margin: 6px 0 0; }


/* ============================================================
   POWDER DETAIL / POWDERS LIST — powder_detail.html & powders.html
   ============================================================ */
.powder-page {
  min-height: 100vh;
  background: #f5f4f0;
  padding: 140px 0 100px;
}

.powder-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}

.powder-group-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111;
  text-align: center;
  margin-bottom: 3rem;
}

/* Big display name */
.powder-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 110px);
  line-height: 1;
  color: #111;
  letter-spacing: 2px;
  margin: 0;
}

/* Decorative line row */
.powder-line-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 48px;
}

.powder-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, #111 0%, transparent 100%);
}

.powder-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b6df3;
  flex-shrink: 0;
}

.powder-group-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2b6df3;
  flex-shrink: 0;
}

/* Info image card */
.powder-info-img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.09);
  margin-bottom: 60px;
}

.powder-info-img img { width: 100%; display: block; object-fit: contain; }

/* Entrance animations */
.powder-name,
.powder-line-row,
.powder-info-img {
  opacity: 0;
  transform: translateY(20px);
  animation: up 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.powder-line-row { animation-delay: 0.1s; }
.powder-info-img  { animation-delay: 0.18s; }

@keyframes up {
  to { opacity: 1; transform: translateY(0); }
}


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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fade-out {
  animation: fadeOut 0.3s ease-out;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1470px) {
  .carousel { gap: 60px; }
  .center-item img { height: 300px; }
  #prev-btn { right: 200px; }
  #next-btn  { left: 200px; }
}

@media (max-width: 1024px) {
  .solutions-wrapper { grid-template-columns: 1fr; min-height: auto; }
  .left-section  { min-height: 400px; padding: 40px 30px; }
  .right-section { padding: 40px 30px; }
  .solution-header h2  { font-size: 40px; }
  .left-text-content h3 { font-size: 28px; }
}

@media (max-width: 980px) {
  .carousel { flex-direction: column; }
  .side-content { position: relative; }
  .arrow { position: absolute; }
  .side-left  { order: 2; }
  .side-right { order: 2; }
  .side-item  { display: none; }
  #prev-btn { top: 0; }
  #next-btn  { top: -60px; }
  .center { order: 1; }
  .center-item img { height: 220px; }
  .center-item h3  { font-size: 24px; }
  .center-item .desc { font-size: 14px; }
}

@media (max-width: 768px) {
  .header { height: 60px; background-color: #fff; }
  .logo { color: black; font-size: 20px; }

  .nav {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 40px 20px;
    gap: 25px;
    transition: 0.3s ease;
  }

  .nav a { color: black; font-size: 18px; }
  .nav.active { right: 0; }
  .lang { display: none; }
  .burger { display: flex; }

  .hero-content h1 { font-size: 46px; letter-spacing: 3px; }
  .hero-content p  { font-size: 19px; }

  .equipment { padding: 80px 20px; }
  .section-title { font-size: 34px; margin-bottom: 50px; }

  .left-section  { min-height: 350px; padding: 30px 20px; }
  .main-image    { height: 250px; margin-bottom: 30px; }

  .left-text-content h3 { font-size: 22px; }
  .left-text-content p  { font-size: 14px; }

  .right-section  { padding: 30px 20px; }
  .solution-header h2 { font-size: 34px; }
  .nav-buttons { flex-wrap: wrap; }

  .powder-inner { padding: 0 20px; }
  .powder-name  { font-size: clamp(48px, 14vw, 80px); }

  .machine-page { padding-top: 80px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
