/* === GLOBAL STYLES === */
:root {
  --color-text: #000000;
  --color-heading: #000000;
  --font-family-main: 'Arial', sans-serif;
  --font-size-base: 16px;
  --font-size-title: 32px;
  --font-size-subtitle: 20px;
}

body {
  font-family: var(--font-family-main);
  color: var(--color-text);
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, .section-title {
  font-size: var(--font-size-title);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: center;
}

h2, h3, .section-subtitle {
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 12px;
  text-align: center;
}
.services-section p,
.services-section li,
.success-stories p,
.approach-section li,
.approach-section p {
  text-align: justify;
}




/* === SITE HEADER === */
.site-header {
  position: relative;
  width: 100%;
  background-color: white;
  text-align: center;
  padding: 20px 0;
  z-index: 10;
}

.logo {
  height: auto;
  width: auto;
  margin-top: -300px;
  max-height: 700px;
  max-width: 100%;
  display: inline-block;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 7000px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  object-fit: contain;
}

.container.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  z-index: 10;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* === SERVICES === */
.services-section {
  max-width: 100%;
  padding: 80px 60px;
  text-align: center;
}

.services-section h2{
 font-size: 32px;
}


.services-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.service-column {
  display: flex;
  flex-direction: row;
  align-items: center; /* ðŸ”¥ alinieazÄƒ vertical imaginea faÈ›Äƒ de text */
  justify-content: space-between;
  width: 48%;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

.service-content {
  flex: 1;
  padding-right: 40px; /* Ã®nainte era 20px, acum dublÄƒm spaÈ›iul */
}

.image-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 200px;
}

.service-image {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}


.service-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


.service-content {
  flex: 1;
}

.service-content ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.service-content li {
  margin-bottom: 10px;
}
.service-content h3{
 align-items: flex-start;

}

.service-image {
  width: 220px; /* mai latÄƒ */
  max-height: 240px;
  object-fit: contain;
  flex-shrink: 0;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px; /* spaÈ›iu interior Ã®ntre imagine È™i marginea containerului */
  border-radius: 12px;
  background-color: #f9f9f9; /* fundal subtil pentru imagine */
}

/* === SUCCESS STORIES === */
.success-stories {
  padding: 60px 40px;
  background: #fff;
  text-align: center;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.story-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  text-align: justify;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-card h3{
  font-size:24px;
}
.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.story-title {
  font-weight: 600;
  margin-bottom: -10px;
}

.story-card p {
  color: #000000;
  line-height: 1.5;
  margin-bottom: -10px; /* redus spaÈ›iul */
}


.story-line {
  text-align: center;
  font-size: var(--font-size-subtitle);
  color: #888;
  margin: 10px 0 20px;
}

.story-card p strong {
  display: inline;
  font-weight: 600;
  margin-bottom: 0; /* eliminÄƒ spaÈ›iu suplimentar */
}


/* === APPROACH BLOCKS === */
.approach-blocks {
  padding: 80px 40px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
}

.approach-section {
  flex: 1 1 22%;
  min-width: 0;
  box-sizing: border-box;
}

.approach-section h3 {
  margin-left: 20px;
  margin-bottom: 20px;
}

.approach-section {
  flex: 1 1 22%;
  min-width: 0;
  box-sizing: border-box;

  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.approach-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.approach-section h3 {
  margin-left: 0;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  color: #000000;
}

.approach-section ul {
  padding-left: 20px;
  list-style: disc;
}

.approach-section li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #000000;
}

.approach-section p {
  font-size:16px;
  color: #000000;
  line-height: 1.6;
}

/* === PAGE CONTAINER === */
.page-container {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tall-fix {
  max-width: 1900px;       /* mai îngustă */
  max-height: 920px;    /* mai joasă */
  object-fit: contain;  /* păstrează proporțiile fără să taie */
  display: block;
  
}



/* Mobile-specific styling for termeni.html + services.html */

@media (max-width: 2000px) {
  .logo {
  width: 100%;
  margin-top: -170px; 
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
  .services-section {
    padding: 40px 20px;
    text-align: center;
  }

  .page-container{
    padding:30px;
  }


.tall-fix {
  margin-left: 45px;
  max-width: 300px;       
  max-height: 900px;    
  object-fit: contain;  
  display: block;
  
}

.intro-text{
   background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding:15px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.intro-text:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


 .services-columns {
    flex-direction: column;
    align-items: stretch;
  }

  .service-column {
    flex-direction: column;              /* schimbat din row în column */
    align-items: flex-start;
    padding: 20px;
    width: 100%;
    max-width: 100%;
  }

  .service-content {
    padding-right: 0;                   /* elimină spațiul lateral */
  }

.service-image {
  max-width: 100%;      /* ✅ limitează lățimea la container */
  height: auto;         /* ✅ menține proporțiile corecte */
  display: block;
  margin: 20px auto 0 auto;
  object-fit: contain;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

  .success-stories {
    padding: 40px 20px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    padding:5px;
    gap: 30px;
  }

  .story-card {
    padding: 20px;
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 15px;
    text-align: center;
  }

  .footer-button {
    position: static;
    width: 80%;
    max-width: 250px;
    text-align: center;
    font-size: 16px;
    padding: 12px 0;
    background-color: #444;
    color: white;
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .footer-button:hover {
    background-color: #666;
  }

  .footer-button.left,
  .footer-button.right {
    left: auto;
    right: auto;
    transform: none;
  }

  .footer-text {
    order: 3;
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
  }
.approach-blocks {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 25px;
    gap: 20px;
  }

  .approach-section {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 12px;
    text-align: left;
  }

  .approach-section h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
  }

  .approach-section p,
  .approach-section li {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .section-subtitle{
  padding:5px;
}
 
 .section-title{
  padding:5px;
}
 
 
}


@media (max-width: 2000px) and (orientation: landscape) {
.logo {

 max-width: 500px;       /* ← mărit puțin față de 200px */
    max-height: 300px;       /* ← mărit puțin pentru claritate */
    width: auto;
    height: auto;

  transform: translateX(-50%);
  margin-top: -120px;
  display: block;
}
 .slideshow {
    margin-top: 10px;
    
    height: auto;
    max-height: none;   /* lasă imaginea să crească */
  }

  .slideshow .container {
    height: auto;
    max-height: none;   /* fără limită artificială */
  }

  .tall-fix {
    max-height: 1000px; /* sau cât vrei să fie imaginea maximă */
  }

  .slideshow img {
  width: 100% !important;
  height: auto !important;
  max-height: 90vh;      /* imagine mare dar nu mai înaltă decât viewport-ul */
  object-fit: contain;   /* păstrează proporțiile */
  display: block;
  margin: 0 auto;
}

}


