/* =========================================================
   custom.css — rafinari tipografice subtile (incarcat DUPA main.css)
   Scop: text mai clar / mai curat, FARA a modifica layout-ul temei.
   Sigur de reglat/revenit — nu atinge dimensiuni, culori sau spatieri mari.
   ========================================================= */

/* 1. Redare mai crisp a fonturilor (mai ales cele subtiri) */
body,
input, textarea, select, button,
.theme_button,
h1, h2, h3, h4, h5, h6 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2. Paragrafe / text de continut un pic mai aerisite si mai lizibile */
p {
  line-height: 1.72;
}
.grey {
  line-height: 1.72;
}

/* 3. Titluri uppercase — un strop de letter-spacing pentru un aspect mai curat */
.section_header,
h1, h2, h3 {
  letter-spacing: 0.3px;
}

/* 4. Reducere gap gol intre sectiunea Recenzii si Despre */
#about { padding-top: 70px; }

/* 5. Subtitlul din hero -> alb (lizibilitate pe poza de fundal) */
.intro_section p.lightfont { color: #ffffff; }

/* 6. Footer: aliniere sus a celor 3 coloane (logo | descriere | adresa) */
.page_footer .col-md-4 > *:first-child { margin-top: 0; }
.page_footer .col-md-4 .topmargin_15 { margin-top: 0; }
.page_footer .col-md-4 > p { margin-top: 0; }

/* 7. Galerie: thumbnail-uri uniforme 4:3 (fix afisare mobil, poze cu orientari mixte) */
.gallery-item .item-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 8. HERO full-screen: poza cover + overlay, continut centrat vertical (mobil + desktop) */
.intro_section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;          /* centrare verticala robusta, fara truc-ul :before */
}
.intro_section.page_mainslider > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* acopera tot ecranul, taie din imagine, fara deformare */
  object-position: center;
  opacity: 1;                   /* suprascrie opacity 0.2 din tema */
  z-index: 0;
}
.intro_section::after {          /* strat intunecat pentru lizibilitatea textului */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0.62));
  z-index: 1;
}
.intro_section.page_mainslider .container {   /* override pozitia absoluta din tema -> flex item centrat */
  position: relative;
  z-index: 3;
  width: 100%;
}
.intro_section .slide_description_wrapper {   /* scoatem wrapper-ul din absolute + truc-ul :before */
  position: static;
  height: auto;
  padding: 90px 20px 70px;      /* spatiu sub navbar (sus) + jos, ca textul sa nu se lipeasca */
}
.intro_section .slide_description_wrapper:before { display: none; }
.intro_section .big.grey { color: #fff; }     /* titlu alb, crisp peste poza */
.intro_section .slide_description { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }

/* 9. Header peste hero: fundal aproape solid, uniform (poza vie facea transparenta 0.8 sa para ciudata) */
.intro_section + .page_header_wrapper .header_darkgrey,
.intro_section + .page_header.header_darkgrey {
  background-color: rgba(23, 23, 23, 0.95);
}

/* 10. Buton "Vezi toate recenziile pe Google" din sectiunea Recenzii */
#reviews .reviews-cta {
  margin-top: 44px;
  text-align: center;
}
#reviews .reviews-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
  color: #232323;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
#reviews .reviews-google-btn:hover,
#reviews .reviews-google-btn:focus {
  color: #232323;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}
#reviews .reviews-google-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
