* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: #ffffff;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* FUNDAL CU LOGO */
.background-logo {
  position: fixed;
  inset: 0;
  background-image: url("img/logo_nova.jpeg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 38%;
  opacity: 0.9;
  z-index: -2;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: -1;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 122, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand h1 {
  font-size: 24px;
  letter-spacing: 1px;
}

.brand p {
  color: #cfcfcf;
  font-size: 14px;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* SOCIAL MEDIA SUS */
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 122, 0, 0.7);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: 0.25s;
}

.social-links a:hover {
  background: #ff7a00;
  color: #000000;
}

/* LIMBI */
.language-switch {
  display: flex;
  gap: 8px;
}

.language-switch button {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ff7a00;
  padding: 7px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.language-switch button.active {
  background: #ff7a00;
  color: #000000;
}

/* MENIU */
.menu-button {
  width: 42px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-button span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  border-left: 1px solid rgba(255, 122, 0, 0.35);
  z-index: 100;
  padding: 80px 35px;
  transition: right 0.35s ease;
}

.menu-overlay.open {
  right: 0;
}

.menu-overlay a {
  display: block;
  padding: 18px 0;
  font-size: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 40px;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 80px 6%;
}

.hero-content {
  max-width: 780px;
}

.small-label {
  color: #ff7a00;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-weight: bold;
}

.hero h2 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero p {
  font-size: 19px;
  color: #dddddd;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}

.primary-btn {
  background: #ff7a00;
  color: #000000;
}

.secondary-btn {
  border: 1px solid #ff7a00;
  color: #ffffff;
}

/* SECTIUNI */
.services-intro,
.work-section,
.contact-section {
  padding: 70px 6% 30px;
}

.services-intro h2,
.work-section h2,
.contact-section h2 {
  font-size: 42px;
  margin-bottom: 14px;
}

.services-intro p {
  color: #cccccc;
  font-size: 22px;
  line-height: 1.5;
}

/* SERVICII INDEX */
.service-tree {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 25px;
  padding: 40px 8%;
}

.service-link {
  min-height: 115px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 122, 0, 0.65);
  padding: 22px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: 0.25s;
}

.service-link span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

.service-link small {
  display: block;
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.4;
}

.service-link:hover {
  background: #ff7a00;
  color: #000000;
  transform: translateY(-5px);
}

.service-link:hover span,
.service-link:hover small {
  color: #000000;
}

/* HOW WE WORK */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.work-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 122, 0, 0.25);
  padding: 28px;
  min-height: 230px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.work-card span {
  display: block;
  color: #ff7a00;
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
}

.work-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.work-card p {
  color: #d3d3d3;
  line-height: 1.6;
  font-size: 17px;
}

/* CONTACT */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  padding-bottom: 80px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 122, 0, 0.25);
  padding: 30px;
  border-radius: 10px;
}

.contact-info p {
  margin: 14px 0;
  color: #dddddd;
}

.contact-info a {
  color: #ff9a2a;
}

.contact-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-social a {
  border: 1px solid rgba(255, 122, 0, 0.65);
  padding: 10px 14px;
  border-radius: 5px;
  color: #ffffff;
  transition: 0.25s;
}

.contact-social a:hover {
  background: #ff7a00;
  color: #000000;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 122, 0, 0.25);
  padding: 30px;
  border-radius: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 5px;
  outline: none;
}

.contact-form textarea {
  min-height: 145px;
  resize: vertical;
}

.contact-form button {
  background: #ff7a00;
  color: #000000;
  border: none;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

/* WHATSAPP */
.whatsapp-button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 80;
  background: #25d366;
  color: #000000;
  padding: 15px 22px;
  border-radius: 40px;
  font-weight: bold;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-button.move {
  transform: translateY(-18px);
}

/* FOOTER */
footer {
  padding: 24px 6%;
  text-align: center;
  color: #aaaaaa;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* PAGINI SERVICII */
.home-small-btn {
  border: 1px solid rgba(255, 122, 0, 0.65);
  color: #ffffff;
  padding: 9px 14px;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.25s;
}

.home-small-btn:hover {
  background: #ff7a00;
  color: #000000;
}

.service-hero-page {
  padding: 100px 6% 60px;
  max-width: 1100px;
}

.service-hero-page h2 {
  font-size: clamp(46px, 7vw, 90px);
  line-height: 1;
  margin-bottom: 24px;
}

.service-hero-page p {
  max-width: 850px;
  color: #dddddd;
  font-size: 20px;
  line-height: 1.7;
}

.service-hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* GALERIE PROIECTE */
.projects-section {
  padding: 40px 6% 90px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(255, 122, 0, 0.45);
  padding-bottom: 18px;
}

.section-title-row h2 {
  font-size: 42px;
  margin-bottom: 8px;
}

.section-title-row p {
  color: #cfcfcf;
  font-size: 18px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 122, 0, 0.65);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.project-title {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 122, 0, 0.45);
  background: rgba(0, 0, 0, 0.45);
}

.project-title span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project-title h3 {
  color: #ff7a00;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.2;
}

.project-images {
  display: grid;
  grid-template-columns: 1fr;
}

.project-image-box {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image-box span {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ff7a00;
  color: #000000;
  padding: 7px 11px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 2;
}

.project-card > p {
  padding: 18px;
  color: #dddddd;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100px;
}

/* RESPONSIVE */
@media (max-width: 1250px) {
  .service-tree {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .brand h1 {
    font-size: 18px;
  }

  .brand img {
    width: 55px;
    height: 55px;
  }

  .header-actions {
    gap: 12px;
  }

  .service-tree {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .background-logo {
    background-size: 72%;
    opacity: 0.13;
  }
}

@media (max-width: 700px) {
  .service-hero-page {
    padding-top: 70px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image-box {
    height: 250px;
  }

  .section-title-row h2 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 55px;
  }

  .services-intro h2,
  .work-section h2,
  .contact-section h2 {
    font-size: 34px;
  }

  .services-intro p {
    font-size: 18px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    text-align: center;
  }

  .background-logo {
    background-size: 95%;
    opacity: 0.11;
  }
}

.quote-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quote-popup-overlay.show {
  display: flex;
}

.quote-popup {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  color: #111111;
  border-radius: 24px;
  padding: 35px 28px;
  text-align: center;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  animation: popupFade 0.35s ease;
}

.quote-logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
}

.quote-popup h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #0f766e;
}

.quote-popup p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.quote-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 30px;
  font-weight: 700;
}

.quote-whatsapp:hover {
  background: #1ebe5d;
}

.quote-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #222222;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .quote-popup {
    padding: 30px 22px;
  }

  .quote-popup h2 {
    font-size: 22px;
  }

  .quote-popup p {
    font-size: 15px;
  }
}