/* =========================
   RESET / BASE
========================= */

html, body {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: white;
  line-height: 1.6;
  background: url('/images/header.png') no-repeat center center fixed;
  background-size: cover;
}

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

/* =========================
   GLOBAL LAYOUT
========================= */

section {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

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

header {
  background: url('/images/header.png') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 20px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: dashed 2px white;
}

/* =========================
   LOGO
========================= */

.logo-container {
  border: 2px dashed white;
  border-radius: 15px;
  padding: 30px;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

#hero-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 650px;
  margin: 20px auto;
}

.hero-box {
  flex: 1 1 300px;
  background: rgba(0, 122, 204, 0.2);
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

/* =========================
   SERVICES (IT + 3D)
========================= */

.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-box {
  font-size: medium;
  border: 2px dashed white;
  border-radius: 15px;
  padding: 50px;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}
/* =========================
   REPAIR CAFES
========================= */

.services-container2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}
.service-box2 {
  border: 2px dashed white;
  border-radius: 15px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
@media (max-width: 900px) {
  .services-container2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
/* =========================
   FORMS
========================= */

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px;
  background: #007acc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* =========================
   NAV (mobile fix only)
========================= */

@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
  }

  nav ul li {
    list-style: none;
  }
}

/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  padding: 20px;
  color: red;
}

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 2px 0;
  font-size: 11px;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

/* =========================
   UTILITIES
========================= */

.accent {
  color: #e0af48;
}

/* =========================
   ANIMATIONS (kept)
========================= */

@keyframes slideFadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInItem {
  to { opacity: 1; }
}
