/* --- Hero Text Styling --- */
.hero-main-title {
    font-size: 3rem;        /* Adjust as needed */
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
}

.mini-title {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Optional: Add a subtle highlight effect to the main heading text */
.highlighted-text {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    /* Example: underline effect */
    box-shadow: inset 0 -8px 0 rgba(255,255,255,0.15);
}

/* --- Button Styling --- */
.common-btn.modern-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;  /* Slightly smaller button */
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover animation: a white overlay "fills" the button */
.common-btn.modern-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.3s ease;
}

.common-btn.modern-btn:hover {
    color: #000; /* Text becomes black on hover */
}

.common-btn.modern-btn:hover::before {
    width: 100%;
}

/* Smooth scrolling for in-page anchor links (optional) */
html {
    scroll-behavior: smooth;
}












/* unsere-dienstleistungen */

























/* --- SECTION WRAPPER --- */
#unsere-dienstleistungen {
  width: 100%;
  padding: 60px 5%;
  background-color: #111;
  color: #fff;
  font-family: sans-serif;
  box-sizing: border-box;
  text-align: center;
}

#unsere-dienstleistungen h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- CONTAINER: 2 BOXES, SIDE-BY-SIDE --- */
.services-container {
  display: flex;              /* side by side */
  justify-content: space-between;
  align-items: stretch;
  width: 100%;                /* occupy full width */
  max-width: 1400px;          /* optional max-width */
  margin: 0 auto;             /* center the container if max-width is set */
  gap: 20px;                  /* space between boxes */
  /* IMPORTANT: remove or override any "flex-wrap: wrap" from old code */
}

/* --- SERVICE BOX: 50% EACH --- */
.service-box {
  position: relative;
  width: 50%;
  min-height: 450px;          /* or 500px if you want them taller */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

/* --- BACKGROUND IMAGE --- */
.service-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(20%) brightness(0.7);
}

/* --- CONTENT OVERLAY --- */
.service-content {
  position: relative;
  z-index: 1;                  /* above background */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);  /* optional glass effect */
}

/* --- TITLE --- */
.service-title {
  font-size: 1.8rem;
  margin: 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- PARAGRAPH --- */
.service-content p {
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 90%;
  text-align: center;
}

/* --- PRICE --- */
.service-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #CE2029; /* your main red color */
  margin-bottom: 20px;
}

/* --- BUTTON --- */
.service-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: #CE2029;
  border: 2px solid #CE2029;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 20px;
}

.service-btn:hover {
  background-color: #CE2029;
  color: #CE2029;
}

/* Desktop styles remain unchanged */
.choose-us-contain {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .choose-us-contain {
    flex-direction: column;
    align-items: center;
  }
  .choose-us-img,
  .choose-us-info {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  /* Optionally force the image to appear on top */
  .choose-us-img {
    order: 1;
    margin-bottom: 20px;
  }
  .choose-us-info {
    order: 2;
    padding: 0 15px;
  }
  /* Adjust headings and spacing */
  .ak-section-heading .background-text {
    font-size: 1.5rem;
  }
  .ak-section-title {
    font-size: 1.8rem;
  }
  .ak-section-subtitle {
    font-size: 1rem;
  }
  .stroke-heading-text h3 {
    font-size: 1rem;
    margin: 5px 0;
  }
  .get-started-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

.get-started-btn {
    display: inline-block;
    background-color: #E63946; /* Roșu */
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.get-started-btn:hover {
    background-color: #c1272d; /* Roșu mai închis la hover */
}

.get-started-btn:active {
    background-color: #777; /* Gri când este apăsat */
    transform: scale(0.98); /* Ușoară micșorare la apăsare */
}


/* Mobile-specific styles: adjust breakpoint as needed */
@media (max-width: 768px) {
  /* Reduce padding for a more compact layout */
  .ak-bg {
    padding: 40px 0;
  }

  /* Scale down the faded background text so it doesn’t overwhelm */
  .background-text {
    font-size: 3rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 3px; /* Slightly reduced letter spacing */
  }

  /* Center section heading remains centered, but smaller font */
  .ak-section-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  /* Subtitle becomes smaller and stays centered */
  .ak-section-subtitle {
    font-size: 0.95rem;
    max-width: 90%; /* Let it be a bit wider on mobile */
    margin: 0 auto;
  }
  
  /* Adjust any vertical spacing utility classes if needed */
  .ak-height-125 {
    height: 50px !important;
  }
  .ak-height-lg-50 {
    height: 30px !important;
  }
}
@media (max-width: 768px) {
  /* Center the entire heading block */
  .ak-section-heading.ak-style-1.ak-type-1 {
    text-align: center !important;
  }
  
  /* Ensure the title and subtitle are also centered */
  .ak-section-heading.ak-style-1.ak-type-1 .ak-section-title,
  .ak-section-heading.ak-style-1.ak-type-1 .ak-section-subtitle {
    margin: 0 auto;
    text-align: center;
  }
}
.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 20px; /* Spațiu pentru efect */
}

.image-container img {
    width: 100%;
    display: block;
    transform: skewY(-5deg);
    position: relative;
    z-index: 1;
}

.image-container::before {
    content: "";
    position: absolute;
    bottom: -50px; /* Ajustare pentru efect */
    left: -50px;
    width: 100%;
    height: 110%;
    background: linear-gradient(to right, rgba(255, 0, 0, 0.4), rgba(255, 0, 0, 0.1)); /* Gradient pentru efect estompat */
    transform: skewY(-5deg);
    z-index: 0;
    filter: blur(12px); /* Blur mai accentuat */
    opacity: 0.6; /* Face roșul mai subtil */
}

.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 10px; /* Reducem spațiul pentru efect */
    max-width: 80%; /* Limităm dimensiunea containerului */
}

.image-container img {
    width: 80%; /* Reducem dimensiunea imaginii */
    height: auto; /* Păstrează proporțiile */
    display: block;
    transform: skewY(-5deg);
    position: relative;
    z-index: 1;
}


