@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
/* Service card styles */
.service-card {
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px);
}

.service-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #F1E5AC 100%);
    color: #1a1a1a;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-shadow: 0 1px 2px rgba(255,255,255,0.4);
    border-radius: 4px;
    border-top: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(0,0,0,0.3);
}

.service-details {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.service-details:not(.hidden) {
    max-height: 1000px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.toggle-btn i {
    transition: transform 0.3s ease;
}

.toggle-btn i.rotate-180 {
    transform: rotate(180deg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

*{
    box-sizing: border-box;
}


/*kep csuszka proba*/

/* BEFORE / AFTER SLIDER */

.ba-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: clip-path;
  user-select: none;
  -webkit-user-drag: none;
}

.ba-img.after {
  clip-path: inset(0 50% 0 0); /* indulás közép */
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: gold;
  cursor: ew-resize;
  z-index: 10;
  will-change: transform;
  user-select: none;
}

.ba-wrapper,
.ba-wrapper img,
.ba-handle {
  user-select: none;
  -webkit-user-drag: none;
}

/* fancy központi gomb */

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: gold;
  cursor: ew-resize;
  z-index: 20;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle-circle {
  width: 48px;
  height: 48px;
  background: black;
  border: 2px solid gold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto; /* most már fogható a kör is */
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

.arrow {
  color: gold;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  font-family: sans-serif;
}

.arrow.left { margin-right: 2px; }
.arrow.right { margin-left: 2px; }

.certificate-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
