/* ====== MOBILE-FIRST ENHANCEMENTS ====== */

/* Text central adaptiv */
.center-text {
  font-size: clamp(26px, 8vw, 80px);
}

/* Navbar tweaks */
@media (max-width: 768px) {
  .navbar { 
    height: 80px; 
  }
  
  .navbar-content { 
    width: 94%; 
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
  }

  /* Container logo + burger pe mobil */
  .logo-burger-container {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
  }

  .logo img { 
    max-height: 40px; 
  }

  /* Burger menu pe mobil */
  .nav-toggle {
    display: block;
    width: 44px; 
    height: 44px;
    background: transparent; 
    border: 0; 
    padding: 0; 
    margin: 0;
    cursor: pointer;
    position: relative;
  }

  .nav-toggle span {
    display: block;
    width: 24px; 
    height: 2px;
    background: #fff; 
    border-radius: 2px;
    position: absolute;
    left: 10px;
    transition: all 0.3s ease;
  }

  .nav-toggle span:nth-child(1) { top: 15px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 27px; }

  .phone-btn {
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 8px;
  }
}

/* Brand centrat pe mobil */
@media (max-width: 768px){
  .brand{
    justify-self: center;
    text-align: center;
    font-size: clamp(16px, 5vw, 22px);
    max-width: 60vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(6px);
  }

  /* înlocuim butonul cu o imagine fixă */
  .phone-btn{
    justify-self: end;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-btn img.label-call{
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  /* ascundem numărul pe mobil */
  .phone-btn .label-full{ display: none !important; }
}

/* Desktop: arată butonul cu numărul normal */
@media (min-width: 769px){
  .phone-btn .label-call{ display: none !important; }
}

/* Blocurile de conținut devin pe coloană */
@media (max-width: 1024px) {
  .content-block {
    flex-direction: column;
    height: auto;
  }
  .text-container, .image-container, .form-container {
    width: 100%;
  }
  .text-container { 
    padding: 22px; 
    max-height: none; 
  }
  .image-container { 
    height: 240px; 
  }
}

/* Formular de contact confortabil pe mobil */
@media (max-width: 768px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 16px;
    padding: 12px 14px;
  }
}

/* Spațiere servicii mai mică */
@media (max-width: 768px) {
  .services-block { padding: 16px; }
  .services-container { gap: 12px; }
  .service-card img { width: 160px; height: 160px; }
}

/* Footer pe o singură coloană */
@media (max-width: 900px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .footer-logo { height: 40px; }
}

/* ====== Galerie ca un carusel pe telefon ====== */
@media (max-width: 1024px) {
  .gallery-block.content-block {
    height: 320px;
  }
  .gallery {
    position: relative;
  }
  .gallery-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform .45s ease;
    animation: none !important;
    will-change: transform;
  }
  .gallery-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 0 0 100%;
  }

  /* Puncte de navigare */
  .gal-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
  }
  .gal-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.6);
  }
  .gal-dots button[aria-current="true"] {
    background: rgba(255,255,255,1);
  }

  /* Butoane Prev/Next */
  .gal-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    backdrop-filter: blur(4px);
  }
  .gal-ctrl:active { transform: translateY(-50%) scale(.98); }
  .gal-prev { left: 10px; }
  .gal-next { right: 10px; }
}

/* FIX GALERIE pe mobil: fără buline, layout stabil */
@media (max-width: 1024px){
  .gal-dots{ display: none !important; }

  .gallery-block.content-block{
    padding: 0 !important;
    height: 320px !important;
    min-height: 320px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
    border-radius: 15px !important;
  }

  .gallery-track{
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    animation: none !important;
    transition: transform .45s ease !important;
    will-change: transform;
  }

  .gallery-track img{
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* DOAR PRIMUL BLOC: text SUS (scroll), video JOS */
@media (max-width: 768px){
  .content-block:not(.gallery-block):first-of-type{
    display: grid !important;
    grid-template-rows: 1fr 22vh !important;
    height: 80vh !important;
    min-height: 560px;
    overflow: hidden;
    border-radius: 15px;
  }

  .content-block:not(.gallery-block):first-of-type .text-container{
    grid-row: 1;
    overflow-y: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 16px 14px !important;
    background: rgba(255,255,255,0.6);
    border-radius: 15px 15px 0 0;
    box-sizing: border-box;
  }

  .content-block:not(.gallery-block):first-of-type .text-container ul{
    padding-left: 10px !important;
    margin-left: 0 !important;
  }
  .content-block:not(.gallery-block):first-of-type .text-container ul li{
    padding-left: 22px !important;
    text-indent: 0 !important;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  .content-block:not(.gallery-block):first-of-type .text-container ul li::before{
    left: 0 !important;
  }

  .content-block:not(.gallery-block):first-of-type .image-container{
    grid-row: 2;
    height: auto !important;
    min-height: 160px;
    max-height: 280px;
    width: 100%;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
  }
  .content-block:not(.gallery-block):first-of-type .image-container video,
  .content-block:not(.gallery-block):first-of-type .image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* CONTACT / RESERVATION pe mobil — TRANSPARENT + aceeași lățime */
@media (max-width: 768px){
  .contact-block.content-block{
    width: 90% !important;
    max-width: 1400px !important;
    margin: 20px auto !important;
    padding: 14px !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.50) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.50) !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .contact-block .text-container,
  .contact-block .form-container{
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .contact-block .text-container{
    margin-bottom: 12px !important;
  }

  .contact-block .text-container h2{
    font-size: 28px !important;
    color: #0e4f7a !important;
    margin-bottom: 8px !important;
    text-align: left;
  }

  .contact-block .text-container p{
    font-size: 15px !important;
    color: #0b3c5d !important;
    text-align: justify;
    line-height: 1.4;
  }

  .contact-block .contact-form input,
  .contact-block .contact-form textarea{
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(26,128,182,0.7);
    color: #0b3c5d;
  }

  .contact-block .contact-form textarea{
    min-height: 120px;
    resize: vertical;
  }

  .contact-block .contact-form button{
    background: rgba(26,128,182,0.9);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s ease;
  }

  .contact-block .contact-form button:hover{
    background: rgba(16,78,122,0.95);
  }

  body .contact-block.content-block{
    background-color: transparent !important;
  }
}

/* SERVICII: imaginile din carduri — dimensiune uniformă */
@media (max-width: 1600px){
  .services-container{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }

  .service-card img{
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 10px 10px 0 0;
    display: block;
  }
}

/* pe ecrane mici, imagini puțin mai compacte */
@media (max-width: 768px){
  .service-card img{
    height: 180px !important;
  }
}

/* FOOTER: emailul sub numărul de telefon */
.site-footer .footer-col a[href^="tel"],
.site-footer .footer-col a[href^="mailto"] {
  display: block !important;
  margin: 4px 0;
  line-height: 1.4;
}

.site-footer .footer-col a[href^="tel"] {
  font-weight: 700;
  color: #ffffff;
}

.site-footer .footer-col a[href^="mailto"] {
  color: #e0edf7;
  font-weight: 500;
}

/* ULTIMUL BLOC CU CARDURI (SERVICES / OUR SERVICES) */
@media (max-width: 1024px){
  .services-block{
    width: 90% !important;
    max-width: 1400px !important;
    margin: 20px auto !important;
    box-sizing: border-box;
    border-radius: 15px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    overflow: hidden;
  }

  .services-block *{
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .services-container{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 16px !important;
  }

  .service-card{
    width: 100% !important;
    margin: 0 !important;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .service-card img{
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  .service-card h3{
    font-size: 18px;
    margin: 10px 0 6px;
    color: #1a80b6;
  }
  .service-card p{
    font-size: 15px;
    padding: 0 8px 14px;
    color: #0b3c5d;
  }
}


@media (max-width: 768px){
  .navbar { 
    height: 80px; 
  }
  
  .navbar-content { 
    width: 94%; 
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
  }

  /* Container logo + burger pe mobil */
  .logo-burger-container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-self: start;
  }

  .logo img { 
    max-height: 40px; 
  }

  /* Burger menu pe mobil - FĂRĂ CHENAR */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
    transition: transform 0.3s ease;
  }

  .nav-toggle:hover {
    transform: scale(1.1);
  }

  .nav-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .brand{
    justify-self: center;
    text-align: center;
    font-size: clamp(16px, 5vw, 22px);
    max-width: 60vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(6px);
  }

  .phone-btn{
    justify-self: end;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-btn img.label-call{
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .phone-btn .label-full{ display: none !important; }
}

/* Desktop: arată butonul cu numărul normal */
@media (min-width: 769px){
  .phone-btn .label-call{ display: none !important; }
  
  /* Burger menu pe desktop - FĂRĂ CHENAR */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
    transition: transform 0.3s ease;
  }

  .nav-toggle:hover {
    transform: scale(1.1);
  }

  .nav-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}

/* ====== REPARAȚII NAVBAR PE ECRANE FOARTE MICI ====== */
@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }
  
  .navbar-content {
    width: 98%;
    padding: 0 5px;
    gap: 5px;
  }
  
  .logo-burger-container {
    gap: 5px;
  }
  
  .logo img {
    max-height: 30px;
  }
  
  .nav-toggle {
    width: 30px;
    height: 30px;
  }
  
  .nav-toggle span {
    width: 18px;
    height: 2px;
  }
  
  .center-text {
    font-size: 14px;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
  }
  
  .phone-btn {
    padding: 5px 8px;
    font-size: 11px;
    min-width: auto;
  }
  
  .phone-btn img.label-call {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 360px) {
  .center-text {
    font-size: 12px;
    max-width: 45%;
  }
  
  .logo img {
    max-height: 25px;
  }
  
  .nav-toggle {
    width: 25px;
    height: 25px;
  }
  
  .nav-toggle span {
    width: 15px;
    height: 2px;
  }
  
  .phone-btn {
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .phone-btn img.label-call {
    width: 30px;
    height: 30px;
  }
}

/* ====== REPARAȚII FOOTER PE ECRANE MICI ====== */
@media (max-width: 480px) {
  .site-footer .footer-content {
    width: 98%;
    padding: 12px 0;
    gap: 10px;
  }
  
  .footer-col {
    padding: 0 10px;
  }
  
  .footer-logo {
    height: 25px;
  }
  
  .footer-title {
    font-size: 13px;
  }
  
  .footer-tagline,
  .footer-address,
  .footer-col a {
    font-size: 11px;
  }
  
  .social-icon-full {
    width: 20px;
    height: 20px;
  }
}

/* ====== PREVENIRE SUPRAAPUNERE NAVBAR ====== */
@media (max-width: 320px) {
  .navbar-content {
    justify-content: space-between;
  }
  
  .center-text {
    display: none; /* Ascunde textul central pe ecrane foarte mici */
  }
  
  .logo-burger-container {
    flex: 1;
    justify-content: flex-start;
  }
  
  .phone-btn {
    flex: 0 0 auto;
  }
}

/* ====== GRID ADAPTIV PENTRU FOOTER ====== */
@media (max-width: 767px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-col {
    align-items: center;
    margin-bottom: 15px;
  }
  
  .footer-col:last-child {
    margin-bottom: 0;
  }
  
  .footer-col h4 {
    text-align: center;
  }
  
  .footer-col a {
    text-align: center;
  }
}

/* ====== ASIGURĂ CĂ ELEMENTELE NU DEPĂȘESC CONTAINERUL ====== */
.navbar-content > * {
  max-width: 100%;
  overflow: hidden;
}

.logo {
  flex-shrink: 0;
}

.brand {
  flex-shrink: 1;
  min-width: 0;
}

.phone-btn {
  flex-shrink: 0;
}

/* ====== OUR SERVICES - OPTIMIZĂRI MOBILE ====== */

@media (max-width: 768px) {
  .services-block {
    width: 92%;
    margin: clamp(12px, 2.5vw, 20px) auto;
    padding: clamp(12px, 2.5vw, 20px);
  }
  
  .services-container {
    grid-template-columns: 1fr;
    gap: clamp(10px, 2vw, 15px);
  }
  
  .service-card {
    padding: clamp(10px, 2vw, 16px);
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }
  
  .service-card img {
    height: clamp(100px, 20vw, 150px);
  }
  
  .service-card h3 {
    font-size: clamp(15px, 2.8vw, 18px);
  }
  
  .service-card p {
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .services-block {
    width: 90%;
    padding: clamp(10px, 2vw, 15px);
    border-radius: 12px;
  }
  
  .services-block .section-header h2 {
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: clamp(6px, 1.2vw, 8px);
  }
  
  .services-block .section-header p {
    font-size: clamp(12px, 2.2vw, 14px);
    line-height: 1.3;
  }
  
  .services-container {
    gap: clamp(8px, 1.5vw, 12px);
  }
  
  .service-card {
    padding: clamp(8px, 1.8vw, 14px);
    border-radius: 10px;
  }
  
  .service-card img {
    height: clamp(80px, 18vw, 120px);
    margin-bottom: clamp(8px, 1.8vw, 12px);
    border-radius: 6px;
  }
  
  .service-card h3 {
    font-size: clamp(14px, 2.5vw, 16px);
    margin-bottom: clamp(6px, 1.2vw, 8px);
  }
  
  .service-card p {
    font-size: clamp(11px, 1.8vw, 13px);
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .services-block {
    width: 88%;
    padding: 12px 10px;
  }
  
  .services-container {
    gap: 10px;
  }
  
  .service-card {
    padding: 12px 10px;
  }
  
  .service-card img {
    height: 70px;
  }
  
  .service-card h3 {
    font-size: 14px;
  }
  
  .service-card p {
    font-size: 11px;
  }
}

/* ====== TABLET OPTIMIZATIONS ====== */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(15px, 2vw, 18px);
  }
  
  .service-card {
    padding: clamp(15px, 2vw, 18px);
  }
  
  .service-card img {
    height: clamp(140px, 20vw, 160px);
  }
}

/* ====== LARGE DESKTOP OPTIMIZATIONS ====== */
@media (min-width: 1400px) {
  .services-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .service-card {
    padding: 25px 20px;
  }
  
  .service-card img {
    height: 200px;
  }
}

/* ====== PREVENIRE DEPĂȘIRE TEXT ====== */
.service-card h3,
.service-card p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ====== ASIGURĂ CĂ CARDURILE SUNT EGALE ====== */
.services-container {
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ====== LOADING STATES ====== */
.service-card img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.service-card img[src] {
  background: none;
  animation: none;
}

/* ====== OUR SERVICES - OPTIMIZĂRI MOBILE CU IMAGINI CONSTANTE ====== */

@media (max-width: 768px) {
  .services-block {
    width: 92%;
    margin: clamp(12px, 2.5vw, 20px) auto;
    padding: clamp(12px, 2.5vw, 20px);
  }
  
  .services-container {
    grid-template-columns: 1fr;
    gap: clamp(10px, 2vw, 15px);
  }
  
  .service-card {
    padding: clamp(10px, 2vw, 16px);
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }
  
  /* Înălțime constantă pentru imagini pe mobil */
  .service-card .card-image-container {
    height: 180px; /* Puțin mai mic pe mobil, dar constant */
  }
  
  .service-card h3 {
    font-size: clamp(15px, 2.8vw, 18px);
  }
  
  .service-card p {
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .services-block {
    width: 90%;
    padding: clamp(10px, 2vw, 15px);
    border-radius: 12px;
  }
  
  .services-block .section-header h2 {
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: clamp(6px, 1.2vw, 8px);
  }
  
  .services-block .section-header p {
    font-size: clamp(12px, 2.2vw, 14px);
    line-height: 1.3;
  }
  
  .services-container {
    gap: clamp(8px, 1.5vw, 12px);
  }
  
  .service-card {
    padding: clamp(8px, 1.8vw, 14px);
    border-radius: 10px;
  }
  
  /* Înălțime constantă pentru imagini pe telefoane mici */
  .service-card .card-image-container {
    height: 160px;
    margin-bottom: clamp(8px, 1.8vw, 12px);
    border-radius: 6px;
  }
  
  .service-card h3 {
    font-size: clamp(14px, 2.5vw, 16px);
    margin-bottom: clamp(6px, 1.2vw, 8px);
  }
  
  .service-card p {
    font-size: clamp(11px, 1.8vw, 13px);
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .services-block {
    width: 88%;
    padding: 12px 10px;
  }
  
  .services-container {
    gap: 10px;
  }
  
  .service-card {
    padding: 12px 10px;
  }
  
  /* Înălțime constantă pentru imagini pe ecrane foarte mici */
  .service-card .card-image-container {
    height: 140px;
  }
  
  .service-card h3 {
    font-size: 14px;
  }
  
  .service-card p {
    font-size: 11px;
  }
}

/* ====== TABLET OPTIMIZATIONS ====== */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(15px, 2vw, 18px);
  }
  
  .service-card {
    padding: clamp(15px, 2vw, 18px);
  }
  
  /* Înălțime constantă pentru imagini pe tabletă */
  .service-card .card-image-container {
    height: 180px;
  }
}

/* ====== LARGE DESKTOP OPTIMIZATIONS ====== */
@media (min-width: 1400px) {
  .services-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .service-card {
    padding: 25px 20px;
  }
  
  /* Înălțime constantă pentru imagini pe desktop mare */
  .service-card .card-image-container {
    height: 200px;
  }
}

/* ====== PREVENIRE DEPĂȘIRE TEXT ====== */
.service-card h3,
.service-card p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ====== ASIGURĂ CĂ CARDURILE SUNT EGALE ====== */
.services-container {
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== NAVBAR MOBILE — SYMMETRIC FIX (2025-11-11) ===== */
@media (max-width: 768px){
  .navbar { height: 80px !important; }

  .navbar-content{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    height: 80px !important;
    padding: 0 16px !important;
  }

  /* Burger left */
  .nav-toggle{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 48px !important;
    height: 48px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 6px !important;
  }
  .nav-toggle span{
    width: 30px !important;
    height: 3px !important;
    background: #fff !important;
    border-radius: 2px !important;
  }

  /* Brand centered (no absolute) */
  .center-text{
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    font-size: clamp(22px, 6vw, 28px) !important;
    letter-spacing: .5px !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 6px !important;
  }

  /* Phone right */
  .phone-btn{
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .phone-btn img.label-call{
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
  }
  .phone-btn .label-full{ display: none !important; }
}

/* ===== SERVICES CARD IMAGE FIX (2025-11-11) =====
   Make images fill the container consistently, respecting margins and clarity.
*/
.services-container .service-card .card-image-container{
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;      /* raport stabil (4:3) */
  overflow: hidden !important;
  border-radius: 10px !important;
  display: block !important;
  margin: 0 auto clamp(12px, 2vw, 16px) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35) !important;
}

/* imaginea propriu-zisă */
.services-container .service-card .card-image-container img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;  /* umple perfect containerul */
  display: block !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  border-radius: 10px !important;
}

/* pe ecrane foarte mici (telefoane) — imagine pătrată */
@media (max-width: 480px){
  .services-container .service-card .card-image-container{
    aspect-ratio: 1 / 1 !important;
  }
}

/* neutralizează reguli vechi care setau înălțimi fixe */
.services-container .service-card img{
  height: auto !important;
  max-height: none !important;
}
