/* --- VARIABLES & GLOBALS --- */
:root {
  --color-primary: #0e1629;
  --color-primary-dark: #003843;
  --color-accent: orangered;
  --color-white: aliceblue;
  --color-black: #101828;
  --color-text: #0c121e;
  --color-shadow: rgba(19, 92, 106, 0.18);
  --color-footer: aliceblue;
  --font-main: "Exo 2", sans-serif;
  --font-size-lg: 3rem;
  --font-size-md: 1.8rem;
  --font-size-base: 1.2em;
  --font-size-sm: 1.1rem;
  --radius-lg: 2rem;
  --radius-md: 1.5rem;
  --radius-sm: 0.5rem;
  --transition: 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
body {
  background: linear-gradient(
    to right,
    var(--color-primary) 0%,
    var(--color-primary-dark) 10%,
    var(--color-primary-dark) 90%,
    var(--color-primary) 100%
  );
  overflow-x: hidden;
  line-height: 1.6;
}
.wapp {
  width: 50px;
  padding-left: 20px;
}

/* --- HERO --- */
.hero {
  max-width: 1920px;
  height: 720px;
  /* background-color: var(--color-accent); */
  margin: 0 auto;
  /* background: linear-gradient(
    to left,
    var(--color-primary) 80%,
    rgba(19, 92, 106, 0) 100%
  ); */
    background-image: url("./img/HEADER_BG2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-top: 2px solid #E1E5F1;
  border-right: 2px solid #E1E5F1;
  border-left: 2px solid #E1E5F1;
  border-bottom: 2px solid #E1E5F1;
}
@keyframes hero-bg-move {
  0% {
    background-position-x: 1000px;
  }
  50% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 1000px;
  }
}

/* --- HERO CONTENT --- */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  text-align: left;
  max-width: 100%;
  background-image: url("./img/HEADER_C.png");
  background-size: 90%;
  background-repeat: no-repeat;
  max-height: 1000px;
  gap: 2rem;
  padding: 0 0 0 25px;
}
.hero-text-container {
  font-size: var(--font-size-lg);
  font-weight: bold;
  color: var(--color-text);
}
.hero-buttons {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}
.hero-whatsapp {
  background-color: #4adb4f;
  color: var(--color-primary);
  padding: 0.5em 1em;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  font-size: var(--font-size-md);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.1s;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.hero-whatsapp:hover {
  border-radius: 25px;
}
.hero-button {
  background-color: #1c2433;
  color: var(--color-white);
  padding: 0.5em 1em;
  border: 2px solid var(--color-white);
  border-radius: 5px;
  font-size: var(--font-size-md);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.1s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-button:hover {
  border-radius: 25px;
}
.arrow {
  font-size: 24px;
  padding-left: 10px;
  transform: translateY(-2px);
}
.hero-subheader {
  display: inline-block;
  font-size: 1.25rem;
  color: var(--color-text);
  max-width: 800px;
  width: 100%;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

/* --- DEVICE --- */
.device-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
#device {
  display: inline-block;
  border: 2px solid #e1e5f1;
  font-weight: bold;
  font-size: var(--font-size-base);
  background: #1c2433;
  color: #e1e5f1;
  padding: 0em 0.5em;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}
#device:hover {
  border: 2px solid #e1e5f1;
  font-weight: bold;
  font-size: var(--font-size-base);
  background: aliceblue;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

/* --- SERVICES --- */
.services {
  max-width: 1920px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: var(--color-primary);
  border-right: 2px solid var(--color-white);
  border-left: 2px solid var(--color-white);
}
.services h2 {
  text-align: center;
  font-size: var(--font-size-lg);
  font-weight: bold;
  margin-bottom: 3rem;
  color: var(--color-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin: 0 auto;
  place-items: stretch;
  align-items: stretch;
  padding-bottom: 2rem;
}
.card {
  width: 100%;
  max-width: 390px;
  background-color: #E1E5F1;
  margin: 0 auto;
  padding: 0 0 2rem 0;
  -webkit-clip-path: polygon(0% 100%, 91% 100%, 100% 91%, 100% 0%, 0% 0%);
  clip-path: polygon(0% 100%, 91% 100%, 100% 91%, 100% 0%, 0% 0%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 100%;
  border: 3px solid aliceblue;
  cursor: default;
}
.card-image {
  width: 100%;
  height: 220px;
  border-bottom: 5px solid var(--color-primary);
  background-size: cover;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- CARD IMAGES --- */
.mentenanta {
  background-image: url("./img/mentenanta_pc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.servicii-pc-laptop {
  background-image: url("./img/servicii_pc.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.servicii-console {
  background-image: url("./img/servicii_console.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* Imagini pentru card-uri */
.reparatii-hardware {
  background-image: url("./img/reparatii_hardware.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.build-pc {
  background-image: url("./img/builduri_pc.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.switch {
  background-image: url("./img/switch.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.epson {
  background-image: url("./img/epson.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.troaca {
  background-image: url("./img/troaca.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.card-image svg {
  width: 90px;
  height: 90px;
  stroke: var(--color-card-border);
  fill: var(--color-card-border);
}
.card h3 {
  font-size: var(--font-size-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-family: inherit;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.2;
}
.card p,
.card ul {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin: 0 auto;
  font-family: inherit;
  text-align: center;
  list-style: none;
  padding-left: 0;
}

/* --- SVG --- */
.svg-separator {
  max-width: 1920px;
  margin: 0 auto;
}
.header-svg {
  transform: scaleY(-1) translateY(1px);
  background-color: transparent;
}

/* --- CONTACT --- */
.contact {
  max-width: 1920px;
  background-color: var(--color-white);
  padding: 2rem 1rem 2rem 1rem;
  margin: 0 auto;
}
.contact-container {
  background-color: var(--color-black);
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  box-shadow:
    0 8px 32px 0 rgba(19, 92, 106, 0.18),
    0 1.5px 6px 0 rgba(19, 92, 106, 0.1);
  border: 2px solid var(--color-white);
}
.contact-container h2 {
  text-align: center;
  font-size: var(--font-size-md);
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-weight: bold;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 768px) {
  .row {
    flex-direction: row;
  }
}
input,
textarea {
  padding: 1rem;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  resize: vertical;
  background: aliceblue;
  color: var(--color-text);
  transition: border-color var(--transition);
}
input {
  padding: 1rem;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: aliceblue;
  color: var(--color-text);
  transition: border-color var(--transition);
  /* ...restul codului... */
}

.textarea {
  height: 150px;
}
button {
  width: 25%;
  margin: 0 auto;
  background-color: #1c2433;
  color: var(--color-white);
  padding: 0.5em 1em;
  border: 2px solid var(--color-white);
  border-radius: 5px;
  font-size: var(--font-size-sm);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.1s;
  text-decoration: none;
}
button:hover {
  border-radius: 25px;
  background-color: #333;
}
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-white);
}
.form-checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}
.form-checkbox-group label {
  font-size: var(--font-size-sm);
  color: var(--color-white);
  display: flex;
  align-items: center;
}
.form-checkbox-group a {
  color: var(--color-accent);
  font-size: var(--font-size-sm);
}
.row input[type="text"] {
  width: 100%;
}

/* --- FOOTER --- */
.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background-color: #E1E5F1;
  max-width: 1920px;
  margin: 0 auto;
  color: #292b6e;
  border-left: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
}
.anpc {
  margin: 20px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* --- SVG --- */
.footer-separator {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background-color: var(--color-primary);
  margin-bottom: -8px;
}
.footer-separator2 {
  background-color: var(--color-white);
  transform: scaleY(-1);
}
.footer-link-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-link-a {
  color: var(--color-primary);
}
.footer-link-a:hover {
  text-decoration: none;
}
.sep2 {
  background-color: var(--color-white);
  border-left: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
}
.svg-container {
  margin: 0 auto;
  max-width: 1920px;
  background: var(--color-primary);
  border-left: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
}
.custom-shape {
  width: 100%;
  height: 100px;
  background-color: #101828;
  clip-path: polygon(
    0.12% 0%,
    0.12% 14.4%,
    5.95% 64.15%,
    94.03% 64.15%,
    99.94% 14.4%,
    99.94% 0%,
    100% 0%,
    100% 100%,
    99.99% 100%,
    99.84% 100%,
    0.12% 100%,
    0.04% 100%,
    -0.04% 100%,
    -0.04% 0%,
    0.12% 0%
  );
}

/* --- MAINTENANCE PAGE --- */
.maintenance-page {
  min-height: 100vh;
  background: linear-gradient(
    to right,
    var(--color-primary) 0%,
    var(--color-primary-dark) 10%,
    var(--color-primary-dark) 90%,
    var(--color-primary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.maintenance-card {
  background-color: var(--color-black);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  box-shadow:
    0 8px 32px 0 rgba(19, 92, 106, 0.18),
    0 1.5px 6px 0 rgba(19, 92, 106, 0.1);
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.maintenance-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.maintenance-title {
  font-size: var(--font-size-md);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.maintenance-subtitle {
  font-size: 1rem;
  color: var(--color-footer);
  margin: 0 auto 0.5rem;
  max-width: 560px;
}

.maintenance-help {
  font-size: 1rem;
  color: var(--color-footer);
}

.maintenance-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

@media (max-width: 1919px) {
  .hero-content {
    background-image: none;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    max-height: fit-content;
    max-width: 75%;
    margin: 0 auto;
    padding: 24px 24px 48px 24px;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid aliceblue;
  }
  .hero {
    animation: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-text-container {
    font-size: 2.8rem;
    text-align: center;
  }
  .hero-subheader {
    text-align: center;
  }
}
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-content p {
    text-align: center;
    max-width: 90%;
  }
  .device-row {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 1200px) {
  .hero-content {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid aliceblue;
    padding-bottom: 34px;
    border-radius: 0px;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.5);
  }
  .hero-text-container {
    font-size: 2.5rem;
  }
  #device {
    font-size: 2.5rem;
  }
  .hero-subheader {
    font-size: 1.1rem;
  }
  .hero-buttons {
    gap: 1.5rem;
  }
  .hero-button,
  .hero-whatsapp {
    font-size: 1.5rem;
  }
  .services h2 {
    font-size: 2.5rem;
  }
}
@media (max-width: 900px) {
  .footer-separator,
  .footer-separator2 {
    display: none;
  }
  .hero-content {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;

    max-width: 100%;
    max-height: 100%;
    padding-bottom: 34px;
    border-radius: 0px;
  }
  .submit-button {
    width: 50%;
    margin-top: 14px;
  }
}
@media (max-width: 700px) {
  .hero {
    max-height: fit-content;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text-container {
    font-size: 1.8rem;
  }
  #device {
    font-size: 1.8rem;
  }
  .hero-subheader {
    font-size: 1rem;
    max-width: 90%;
  }
  .hero-buttons {
    gap: 1rem;
    max-width: 90%;
    margin: 0 auto;
    flex-direction: column;
  }
  .hero-button,
  .hero-whatsapp {
    font-size: 1.2rem;
    width: 100%;
    justify-content: center;
  }
  .services h2 {
    font-size: 1.8rem;
  }
  .card h3 {
    font-size: 1.5rem;
  }
  .contact-container h2 {
    font-size: 1.5rem;
  }
  .anpc {
    flex-direction: column;
    gap: 1rem;
    margin: 10px 0 0 0;
  }
  .footer-separator {
    max-width: fit-content;
  }
}
