@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600&family=Poiret+One&family=Fira+Code&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

@font-face {
  font-family: 'ToTheMoon';
  src: url('ToTheMoon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* === RESET GENERAL === */

/* === HEADER & NAV COMUN PENTRU AMBELE PAGINI === */
header {
  position: sticky; /* Header-ul rămâne fixat în partea de sus pe măsură ce derulezi */
  top: 0; /* Rămâne lipit de partea de sus a paginii */
  z-index: 2000; /* Asigură că header-ul este vizibil deasupra altor elemente */
  background-color: rgba(0, 0, 0, 0.85); /* fundal negru cu transparență */
  box-shadow: none; /* Fără umbră la fundal */
}

header .container {
  max-width: 2000px; /* Lățimea maximă a containerului este de 1000px */
  margin: 0 auto; /* Centrează containerul pe pagină */
  position: relative; /* Poziționează relativ containerul pentru a manipula poziționarea internă */
  display: flex; /* Folosește flexbox pentru a aranja conținutul */
  flex-direction: column; /* Plasează elementele (de ex. logo și meniu) pe verticală */
  align-items: center; /* Centrează elementele pe axa orizontală */
  padding-top: 10px; /* Adaugă un spațiu de 10px deasupra */
  width: 100%;
  box-sizing: border-box;
}

.top-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 40px;
}



/* === Browser (Desktop) === */

.burger-menu {
  font-size: 2em;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  z-index: 2000;
  position: absolute;
  top: 15px;
  right: 0px;
}



@media (max-width: 768px) {
  nav.main-nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    position: fixed;
    top: 60px;
    right: 10px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 3000;
  }

  nav.main-nav.show {
    display: flex;
  }

  nav.main-nav a {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: white !important;
    padding: 10px 0;
    display: block;
    text-align: right;
  }
}

@media (min-width: 768px) {
  .burger-menu {
    display: none !important;
  }
}

/* === MENIU PRINCIPAL === */
@media (min-width: 769px) {
  .top-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
  }

  nav.main-nav.fullwidth {
    flex: 1;                     /* Ocupă tot spațiul disponibil în .top-header */
    display: flex;
    justify-content: space-evenly; /* Împarte egal linkurile */
    align-items: center;
    padding: 0;                  /* Eliminăm padding care ar strânge linkurile */
    box-sizing: border-box;
  }

  nav.main-nav a {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
    text-decoration: none;
    color: white !important;
    white-space: nowrap; /* împiedică textul să se rupă */
  }
}


/* === FUNDAL ESTOMPAT === */
.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/fundaldesktop.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  z-index: -1;
}

@media (max-width: 768px) {
  .background-layer {
    background-image: url("images/fundalmobil.webp");
  }
}

/* overlay alb pe fundal */
.background-layer::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .background-layer::after {
    background-color: rgba(255, 255, 255, 0.05);
  }
}

/* === PARTICULE JS === */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* sub content, peste background-layer */
  pointer-events: auto; /* lasă mouse-ul să interacționeze cu ce e peste */
}

.background-layer,
.background-layer::after {
  z-index: -1 !important; /* 🔧 fundalul e sub particule */
}

/* === CONȚINUT PRINCIPAL === */
.content-overlay {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  scroll-padding-top: 110px;
}

/* === HERO SECTION === */
/* === nu are legatura cu logoul === */
@media (max-width: 768px) {
  body.acasa .hero-home {
    height: 100vh;             /* Ocupă întreaga înălțime a ecranului */
    padding: 0 20px;           /* Spațiu lateral pentru a evita marginea ecranului */
    align-items: center;       /* Aliniază elementele pe orizontală (centru) */
    display: flex;             /* Activează Flexbox */
    flex-direction: column;    /* Aranjare verticală: logo, text etc. */
    text-align: center;        /* Centrează textul */
    box-sizing: border-box;    /* Include padding în dimensiunile totale */
    max-width: 700px;          /* Limitează lățimea pe mobil */
    margin: 0 auto;            /* Centrează pe orizontală */
    margin-top: 0;             /* 🔧 Logo urcă cât de sus posibil */
    margin-bottom: 20px;       /* Spațiu sub secțiune */
    gap: 15px;                 /* 🔧 Spațiu între logo și text */
  }

  .logo-rotativ {
    width: clamp(300px, 65vw, 900px) !important; /* Dimensiune logo mobil */
    margin-top: 70;                   /* 🔧 Fără spațiu de sus */
    margin-bottom: 0;                /* Spațiu mic între logo și text */
  }

  .logo-text {
    margin-top: 5px;                 /* 🔧 Text aproape de logo */
  }
}

/* Logo pentru desktop (valoare implicită) */
.hero-logo {
  max-width: 1000px; /* Max width pentru logo */
  display: block; /* Face logo-ul vizibil */
  margin-left: auto; /* Centrează logo-ul pe orizontală */
  margin-right: auto;
  margin-top: 90px; /* Distanță de sus față de primul element */
  margin-bottom: 10px; /* Distanță de jos față de următorul element */
  filter: drop-shadow(
    0 4px 12px rgba(0, 0, 0, 0.3)
  ); /* Aplica umbra doar pe imagine */
}

/* Logo pentru mobil - Ascunde-l pe desktop */
.desktop-logo {
  display: block; /* Afișează logo-ul desktop pe desktop */
}

.mobile-logo {
  display: none; /* Ascunde logo-ul mobil pe desktop */
}

/* Media query pentru mobil */
@media (max-width: 768px) {
  /* Logo pentru desktop - Ascunde-l pe mobil */
  .desktop-logo {
    display: none; /* Ascunde logo-ul pentru desktop pe mobil */
  }

  /* Logo pentru mobil - Afișează-l pe mobil */
  .mobile-logo {
    display: block; /* Afișează logo-ul mobil pe mobil */
    max-width: 100%; /* Asigură că logo-ul mobil ocupă lățimea completă a containerului */
    margin-top: -50px; /* Adaugă spațiu deasupra logo-ului pe mobil */
    margin-bottom: 40px; /* Adaugă spațiu sub logo pe mobil */
    filter: drop-shadow(
      0 4px 12px rgba(0, 0, 0, 0.3)
    ); /* Aplica umbra doar pe imagine */
  }
}


/* textul Simplu, Sigur. */
.hero-tagline {
  font-family: "Poiret One", sans-serif;
  font-size: 2.8em;            /* desktop */
  font-weight: 400;
  color: white;
  line-height: 1.5;
  letter-spacing: 6px;
  text-align: center;
  margin-top: 20px;            /* spațiu de sus - desktop */
  margin-bottom: 0;
  padding: 0 30px;             /* opțional pentru margini laterale */
  position: relative;          /* pentru control suplimentar */
}

/* ✅ Control separat pe mobil */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.2em; 
    letter-spacing: 3px;         /* mai mic pe mobil */
    margin-top: 150px;         /* poți ajusta mai sus/jos doar pentru mobil */
    margin-bottom: 10px;
    padding: 0 20px;
  }
}

body.acasa {
  background-color: #0a0a0a;
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden !important;
}

/* === CONTINUA CU RESTUL CSS-ULUI TĂU MAI JOS === */
/* === FUNDAL PAGINA  === */
body.oferta {
  font-family: 'Roboto', sans-serif !important;
  background-color: #0c0c0c;
}

/* === PAGINA CU SERVICIILE NOASTRE === */
/* === Logo general (valoare implicită) === */
.servicii-logo {
  display: block;
  position: relative;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  z-index: 1000;
}

/* === Desktop: aliniere la stânga și mărime controlabilă === */
@media (min-width: 769px) {
  .servicii-logo {
    margin: 15px 0 3px 30px; /* sus | dreapta | jos | stânga */
    width: 300px;             /* ajustează după preferință */
    height: auto;
    text-align: left;
  }
}

/* === Mobil: centrare și dimensiune mai mică === */
@media (max-width: 768px) {
  .servicii-logo {
    margin: 15px auto 1px auto;
    width: 300px;
    height: auto;
    text-align: center;
  }
}




/* === Buline secțiune servicii === */
.buline-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin: 10px auto 20px auto;
  max-width: 1200px !important;  /* sau cât vrei tu */
  width: 100%;
  padding: 0 20px;
}

.bulina {
  flex: 1 1 30%;
  min-width: 100px;
  max-width: 300px;
  aspect-ratio: 1/1;
  border: 2px solid white;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.bulina-titlu {
  font-family: 'Ubuntu', sans-serif;
  font-size: 5em;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 2px #ccc;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.bulina-sub {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2em;
  font-weight: 400;
  color: white;
  text-shadow: 1px 1px 2px #bbb;
  padding: 0 10px;
}

.bulina-sub.mic {
  font-size: 0.85em;
  line-height: 1.3;
}


/* === Mobil: bulinele  === */
@media (max-width: 768px) {
  .buline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px; /* spațiu între buline */
    padding: 0 10px;
    margin: 20px auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .bulina {
    flex: 0 1 calc(33.33% - 12px); /* forțează 3 pe rând */
    aspect-ratio: 1 / 1; /* cerc perfect */
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .bulina-titlu {
    font-size: 1em;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px #ccc;
    line-height: 1.2;
  }

  .bulina-sub {
    font-size: 0.9em;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px #bbb;
  }

  .bulina-sub.mic {
    font-size: 0.75em;
    line-height: 1.2;
  }
}



@media (min-width: 769px) {
  .bulina-titlu {
    font-size: 2.6em;
    font-weight: 700;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 10px;
  }

  .bulina-sub {
    font-size: 2.5em;              /* 🔥 creștem și linia de jos */
    line-height: 1.4;
    padding: 0 20px;
    font-weight: 600;
    text-shadow: 2px 2px 3px #000; /* efect clar pe fundalul închis */
  }

  .bulina-sub.mic {
    font-size: 1.2em;
    font-weight: 500;
  }

  .bulina {
    padding: 20px 20px;
  }
}






/* === TITLURI SECȚIUNI === */

.section  h1 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 2.4em;         /* 🔼 Mărit față de 2.5em */
  font-weight: 700;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fcfafa;
  text-shadow: 1px 1px 3px black;
}

.section h2 {
  font-family: 'Roboto', sans-serif !important;
  text-align: left;
  margin-bottom: 10px;
  color: #fcfafa;
  font-weight: 700;
  z-index: 1000;
  margin-top: 0;
}


.despresrt {
  font-family: 'Roboto', sans-serif !important;
  color: white;
  font-size: 1.1em;       /* 🔽 REDUS din 1.3em */
  line-height: 1.4;       /* 🔽 REDUS din 1.6 */
  font-weight: 300;         /* text label mai mare */
}

/* === CONTACT BOXUL CU HARTA === */

.section {
  width: 100%;
  max-width: 1000px;
  margin: 5px auto;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 100;
}

@media (min-width: 769px) {
  .card {
    max-width: 1000px; /* 🔧 ajustezi cât de lat să fie cardul */
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.1); /* fundal semitransparent alb */
    border: 2px solid white;
    border-radius: 16px;
    padding: 20px 25px;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.07);
  }
}


/* === CONTACT INFO === */
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 600;
  color: #5fb7e8;
}
/* === ADRESA DE EMAIL DE PE CONTACT === */
.contact p {
  margin: 0;
  padding-right: 20px;
  color: #5fb7e8;
}
/* === TEXTELE EMAIL SI TELEFON === */
#contact .contact p {
  font-size: 1.2em;
  margin: 5px 0;
  text-align: left;
  color: white; /* ✅ asigură culoarea corectă */
}
/* === ADRESA DE EMAIL DE PE CONTACT === */
#contact .contact a {
  text-decoration: none;
  font-weight: 600;
  color: #5fb7e8;
}

#contact .contact a:hover {
  text-decoration: none;
  color: #5fb7e8; /* opțional: verde mentă la hover */
}
/* === NR DE TELEFON === */
.contact a[href^="tel:"] {
  font-weight: 600;
  text-decoration: none;
  color: #5fb7e8 !important;
}




/* === FORMULAR === */
form {
  display: flex;
  flex-direction: column;
  gap: 5px;                 /* spațiu între câmpuri */
  width: 100%;
  max-width: 900px;          /* lățime mai mare */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 1.2em;          /* text general mai mare */
}

label,
.descriere-despre {
  color: white;
  padding: 4px 12px 6px 12px;
  display: block;
  font-size: 1.1em;          /* text label mai mare */
  margin-top: 0px;
  margin-bottom: 0px;
}

input,
textarea,
select {
  padding: 16px;
  font-size: 1.1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

button[type="submit"] {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  text-transform: uppercase;
  letter-spacing: 1px;

  background-color: rgba(255, 255, 255, 0.08); /* semitransparent alb */
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(3px); /* efect de sticlă */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.07);

  padding: 16px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  display: block;
  text-align: center;
}

button[type="submit"]:hover {
  background-color: #5fb7e8;
  color: white;
  border-color: #5fb7e8;
}


/* === ✅ PERSONALIZARE CHECKBOX-URI ÎN FORMULAR === */

/* Stil pentru fiecare etichetă de checkbox:
   - Folosește flex ca să pună checkbox-ul ÎNAINTEA textului
   - Aliniază vertical checkbox-ul și textul
   - Adaugă spațiu între ele (gap)
*/
form label {
  display: flex;              /* Pune checkbox-ul și textul pe același rând */
  align-items: left;        /* Le aliniază pe mijloc pe verticală */
  gap: 12px;                  /* Spațiu între checkbox și text */
  font-size: 1em;             /* Dimensiune text */
  color: white;               /* Text alb, ca restul site-ului */
  cursor: pointer;            /* Cursorul arată ca pe un buton când treci peste */
}

/* Stil pentru checkbox:
   - Mărime mai mare (20x20px)
   - Culoare accent personalizată (albastru deschis)
*/
form input[type="checkbox"] {
  width: 20px;                /* Lățime checkbox */
  height: 20px;               /* Înălțime checkbox */
  accent-color: #5fb7e8;      /* Culoarea când este bifat */
  cursor: pointer;            /* Cursorul se schimbă pe hover */
}



.sectiune-form {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.8em;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 0px;
}


.oferta-titlu {
  font-family: 'Roboto', sans-serif !important;
  font-size: 2.6em;  /* 🔧 ajustează cât de mare vrei */
  font-weight: 700;
  color: white;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 0px;
  text-transform: uppercase;
  letter-spacing: 2px;
}


/* === TESTIMONIALE === */
.testimonial {
  background-color: #fff;
  border-left: 5px solid #696464;
  padding: 20px;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 2px 5px rgba(66, 65, 65, 0.1);
}

.testimonial p {
  font-weight: 400;
  text-align: left;
  color: #4e4c4c;
}

.testimonial strong {
  color: #4e4c4c;
  font-weight: 600;
}

.testimonial .stars {
  color: #5fb7e8;
  font-size: 1.2em;
}


/* === ANCORE === */
.anchor-target {
  scroll-margin-top: 120px;
  padding-top: 20px;
  display: block;
}

/* === BUTOANE FIXE === */
.floating-btn {
  z-index: 3000 !important;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 50px;
  max-height: 50px;
}

.floating-btn.call {
  bottom: 12px;
  right: 12px;
  background-color: #5fb7e8;
  padding: 15px;
  border-radius: 8px;
  width: 60px;
  height: 60px;
  box-shadow: 0 2px 10px rgba(3, 3, 3, 0.2);
}

.floating-btn.email {
  bottom: 70px;
  right: 12px;
  background-color: #5fb7e8;
  padding: 10px;
  border-radius: 8px;
  width: 60px;
  height: 60px;
  box-shadow: 0 2px 8px rgba(3, 3, 3, 0.2);
}
/* === EFECTE PENTRU PAGINA ACASA=== */
/* === LOGOUL CARE SE ROTESTE PE MOBIL=== */
.logo-rotativ {
  width: clamp(180px, 35vw, 280px);
  max-width: 100%;
  height: auto;
  transition: transform 1s ease-in-out;
  transform-origin: center;
  display: block;
  margin: 40px auto 20px auto;

  /* ✅ UMBRĂ LA BAZĂ */
  filter: drop-shadow(0px 25px 20px rgba(0, 0, 0, 0.35));
}
/* Ascunde logo-ul rotativ pe ecrane mai mari (desktop) */
@media (min-width: 769px) {
  #logo-animat {
    display: none;
  }
}
/* ✅ LOGO PE MOBIL - variantă suprascrisă */
@media (max-width: 768px) {
  .logo-rotativ {
    width: clamp(300px, 65vw, 900px) !important; /* Logo mai mare pe mobil */
    margin-top: 70px;  /* Poziție verticală controlabilă */
    margin-bottom: 0px;
  }
}
/* ===TEXTUL DE LOGO DE PE PRIMA PAGINA=== */


.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'ToTheMoon', sans-serif;
  text-align: center;
  margin-top: 0px;
  gap: 5px;
}

.logo-line1 {
  font-weight: 400;
  color: #5fb7e8;
}

@media (max-width: 768px) {
  .logo-line1 {
    font-size: 14px;
    letter-spacing: 9px;
  }
}

@media (min-width: 769px) {
  .logo-line1 {
    font-size: 28px;
    letter-spacing: 17px;
  }
}


/* Efect glow temporar */
.glow-effect {
  text-shadow: 0 0 8px #5fb7e8, 0 0 16px #5fb7e8;
  transition: text-shadow 0.3s ease-in-out;
}
/* === TEXT CARE SE MIȘCĂ INFINIT DE LA STÂNGA LA DREAPTA === */
.text-marquee-wrapper {
  width: 100%;
  overflow: hidden; /* Ascunde ce depășește containerul */
  white-space: nowrap;
  box-sizing: border-box;
  padding: 10px 0;
  margin-top: 150px;
  text-align: center;
}

.text-marquee {
  display: inline-block;
  font-family: "Poiret One", sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  color: white;
  letter-spacing: 10px;
  animation: scroll-text 20s linear infinite;
  padding-left: 100%; /* pornește din afara ecranului */
}

/* Animația propriu-zisă */
@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive pentru mobil */
@media (max-width: 768px) {
  .text-marquee {
    font-size: 1.2em;
    animation-duration: 14s;
  }
}

@media (max-width: 768px) {
  .hero-home {
    max-width: 100% !important;
    width: 100%;
  }

  .content-overlay {
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1;
}

main {
  flex: 1;
}

/* Footerul va sta jos când pagina e scurtă */
footer {
  background-color: #1d1d1d;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3em;
  color: white;
  text-align: center;
  padding: 30px;
  margin-top: auto; /* 🔥 cheia pentru sticky footer */
}



@media (max-width: 768px) {
  body.index, body.index html {
    overflow: hidden;
    height: 100vh;
    max-height: 100vh;
    max-width: 100vw;
    touch-action: pan-y;
  }

  .hero-home {
    height: 100vh;
    overflow: hidden;
    position: relative;
  }

  #particles-js {
    pointer-events: auto; /* permite interacțiunea cu degetul */
    touch-action: auto;   /* permite mișcarea liberă fără scroll */
  }
}

@media (max-width: 768px) {
  .logo-rotativ,
  .logo-text,
  .text-marquee-wrapper {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
  }

  .hero-home {
    overflow: hidden;
    height: 100vh;
    flex: 1 0 auto;
    justify-content: center;
  }

  .content-overlay {
    overflow: hidden;
  }
}

@media (min-width: 769px) {
  .desktop-logo {
    display: block !important;
  }
  .mobile-logo {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hero-logo {
    width: 800px;
    max-width: 800px;
  }
}


/* Ascunde SVG-ul camerei pe mobil */
.camera-desktop-only {
  display: none;
}

@media screen and (min-width: 1025px) {
  .camera-desktop-only {
    display: block;
    position: absolute;
    top: 100px; /* Poți ajusta */
    right: 100px; /* Poți ajusta */
    z-index: 100;
  }
}

#camera-object {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: center;
  transition: transform 1s ease-in-out;
}




/* === GRID CU SERVICII === */
.servicii-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 🔧 fix 4 coloane */
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .servicii-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔧 fix 4 coloane */
  }
}

main {
  flex: 1 0 auto;
}
/* === CARD INDIVIDUAL === */
.serviciu-box {
  position: relative;
  border: 2px solid white;
  border-radius: 16px;
  padding: 3px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  backdrop-filter: blur(4px);
 
}

.serviciu-box:hover {
  background-color: rgba(255,255,255,0.15);
  transform: translateY(-5px);

}

.serviciu-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* 🔧 poți ajusta după gust */
  z-index: 0;
}

.serviciu-text {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0px 0px;
}

/* === TITLU DIN CARD === */
.serviciu-box h3 {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 650;
  color: black; /* 🔁 schimbat din white în black */
  font-size: 1.6em;
  margin: 0;
  text-align: left;
  align-self: flex-start;
  text-shadow: none; /* 🔁 eliminată umbra */
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
  .serviciu-box h3 {
    font-size: 0.95em !important;
    line-height: 1;
    padding: 0 1px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin-top: 1px !important;
  }
  .serviciu-text {
    padding-top: 1px !important;     /* mută tot blocul text puțin mai sus */
  }

}


a {
  text-decoration: none;
}


.serviciu-box h3 {
  text-shadow: none;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 600px) {
  #google_translate_element {
      
    top: 0px !important;

  }
}
  

