/* --- *** --- */

body {
    background-color: #f0f0f0;
    margin: 0;
	padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    color: #1f2f41;
    line-height: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
	color: #1f2f41;
	text-decoration: none;
}

a:hover {
	color: #1f2f41;
	/*text-shadow: 0.4px 0.4px #666;*/
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
a img {
	border: none;
}

p {
	line-height: 1.6;
	padding: 0;
	margin: 15px 0;
}

h1, h2, h3 {
	margin: 20px 0;
	line-height: 1.4;
	font-size: 24px;
	color: #c9105e;
}

h4, h5, h6 {
	margin: 20px 0;
	line-height: 1.4;
	font-size: 20px;
}

#lap {
    width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
}

#cikk {
	padding: 15px 30px;
}

@media screen and (max-width:500px) {
  #cikk {
    padding: 15px 15px;
  }  
  #cikk .row img {
    padding-left: 0 !important;
  }
}

#cikk2 {
	padding: 15px 30px;
}

@media screen and (max-width:500px) {
  #cikk2 {
    padding: 15px 15px;
  }  
  #cikk2 .row img {
    padding-left: 0 !important;
  }
}


/* --- HEADER --- */

header {
	background-color: #ffffff;
    padding: 0;
	margin: 0;
	line-height: 0;
	color: #333333;
}

header h1 {
    background-color: #fff;
	margin: 0;
	padding: 10px;
}

header a {
	color: #333333;
	text-decoration: none;
}

header a:hover {
	color: #333333;
	text-decoration: none;
}

header a:active {
	text-decoration: none;
}

header .fejlkep img {
    width: 100%;
    height: auto;
}



/* --- LOGO - TELEFON --- */

.logotel {
	padding: 10px 15px;
	line-height: 0;
}

.logotel div.bal {
    float: left;
	text-align: left;
    width: 40%;
}
.logotel div.jobb {
    float: right;
	text-align: right;
    width: 60%;
	font-size: 130%;
}

.logotel div.jobb h2 {
	font-size: 160%;
	font-weight: 600;
	margin-top: 25px;
	padding-bottom: 5px;
	color: #c9105e;
}

.logotel div.jobb p {
	font-size: 180%;
	font-weight: 600;
	line-height: 0;
	margin: 0px 0 5px 0;
	padding-bottom: 10px;
}

@media screen and (max-width:875px) {
	.logotel div.jobb h2{
		margin-top: 10px;
	}
}


@media screen and (max-width:875px) {
	.logotel div.jobb, .logotel div.bal{
		text-align: center;
		width: 100%;
	}
}

@media screen and (max-width:530px) {
	.logotel div.jobb {
		font-size: 95%;
	}
}

@media screen and (max-width:400px) {
	.logotel div.jobb {
		font-size: 90%;
	}
}

@media screen and (max-width:355px) {
	.logotel div.jobb {
		font-size: 80%;
	}
}

@media screen and (max-width:325px) {
	.logotel div.jobb {
		font-size: 70%;
	}
}

@media screen and (max-width:285px) {
	.logotel div.jobb {
		font-size: 65%;
	}
}

/* --- NAV --- */

.clear:before,
.clear:after {
	content:" ";
	display: table;
}

.clear:after { clear: both;}

/* --- Nyilak --- */
.arrow {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 5px;
	vertical-align: middle;
}

.arrow.down {
	border-top: 4px solid;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.arrow.up {
	border-bottom: 4px solid;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

/* --- Menu csik --- */
nav {
	width: 100%;
	background: #333333;
}

nav ul {
	margin: 0;
	padding: 0;
	border: 0;
}

nav a {
	text-decoration:none;
	}

/* --- Menu kontener --- */
nav .menu-kontener {
	width: 95%;
	margin:0 auto;
	padding: 5px 0;
}

/* --- Hamburger menu --- */
nav .menu-mobil {
	cursor: pointer;
	display: none;
	float: left;
	padding: 2px;
	margin: 2px;
	background: #333333; 
}

/* --- Hamburger ikon --- */
nav .hamburger {
	background-color: #fff;
	display: block;
	width: 22px;
	height: 4px;
}

nav .hamburger + .hamburger {margin-top: 4px;}

/* --- Menupontok --- */
nav .menu ul {
	float: left;
}

nav .menu li {
	float: left; 
	list-style: none;
}

/* Fomenupontok-almenupontok? */
nav .menu li a,
nav .almenu {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	position: relative;
	display: block;
	padding: 6px 14px;
	transition: color .3s;
}

nav .menu li a:hover,
nav .almenu:hover,
nav .menu li a.aktiv,
nav .almenu.aktiv,
nav .almenu.active {
	color: #c9105e;
	text-shadow: 0.4px 0.4px #333;
	transition: color .5s;
}

nav .menu-mobil.active .hamburger {
	background-color: #fff; 
	transition: background-color .5s;
}

/* Almenupontok box */
nav .menu ul ul {
	display: none;
	float: none;
	position: absolute;
	background: #333333;
	z-index: 100;	
}

/* Almenupontok */
nav .menu ul ul li {
	float: none;
	border: 0;
}

nav .menu ul ul a {
	font-weight: normal;
}

nav .menu ul ul a:hover {
	font-weight: normal;
	transition: color .3s;
}

/* --- 915 alatt --- */
@media(max-width: 915px) {
	nav .logo {padding-top: 8px;}
	nav .menu-mobil {display: inline-block;}
	nav .menu {display: none; clear: both;} 
	nav .menu > ul {float: none;} 
	nav .menu li {width: 100%; border: 0;} 
	nav .menu li:last-child {margin: 0 0 15px 0;} 
	
	nav .menu li a,
	nav .almenu { 
		display: block;
		background: #333333; 
		border-radius: 0px;
		padding: 10px;
		margin: 2px 0 0 0;
		border-bottom: 1px solid rgba(151, 151, 151, 0.5);
	}
	
	nav .menu ul ul { 
		position: static; 
		background: transparent; 
		display:none;
	}
	
	nav .menu ul ul a {background: transparent;} 
	/*nav .menu ul ul a:hover {background: #FFBB22;}*/ /* Almenuk hover szine */
}

/* --- STICKY --- */

#sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 100; 
}

/* --- KAPCSOLAT --- */

.kapcsolat div.bal {
    float: left;
    width: 50%;
	text-align: center;
}
.kapcsolat div.jobb {
    float: right;
    width: 50%;
	text-align: center;
}

@media screen and (max-width:750px) {
	.kapcsolat div.bal, .kapcsolat div.jobb {
		width: 100%;
		text-align: center;
	}
}

/* --- FOOTER --- */

footer {
    display: block;
	color: #fff;
	background-color: #c9105e;
	padding: 3px 15px 3px;
}

footer p {
	line-height: 1.0;
	padding: 0;
	margin: 10px 0;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
	text-decoration: none;
}

footer a:active {
	text-decoration: none;
}

/* ---OSZLOPOK--- */

* {
    box-sizing: border-box;
}
.row::after {
    content: "";
    clear: both;
    display: block;
}
[class*="col-"] {
    float: left;
    /*padding: 15px;*/
}

[class*="col-"] {
    width: 100%;
}
@media only screen and (min-width: 550px) {
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}

@media only screen and (min-width: 750px) {
    .col-2-1 {width: 10%;}
    .col-2-2 {width: 20%;}
    .col-2-3 {width: 30%;}
    .col-2-4 {width: 40%;}
    .col-2-5 {width: 50%;}
    .col-2-6 {width: 60%;}
    .col-2-7 {width: 70%;}
    .col-2-8 {width: 80%;}
    .col-2-9 {width: 90%;}
    .col-2-10 {width: 100%;}
}
@media only screen and (min-width: 700px) {
    img.koz {padding: 0 15px;}
}

/* BALRA IGAZITOTT KEP */

.balkep {
    float: left;
	margin: 10px 20px 10px 0;
	}

@media screen and (max-width: 700px) {
	.balkep {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		}
}

/* JOBBRA IGAZITOTT KEP */

.jobbkep {
    float: right;
	margin: 10px 0 10px 20px;
	}

@media screen and (max-width: 700px) {
	.jobbkep {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		}
}

/* KOZEPRE IGAZITOTT KEP */

.kozepkep {
    float: none;
	display: block;
	margin: 10px auto;
	}

/* --- KEPGALERIA --- */

    .gallery {
      display: flex;
      flex-wrap: wrap;
	  width: 100%;
    }

    .gallery-item {
      flex: 1 1 auto;
      flex-basis: 175px;
      margin: .5em;
      max-width: 530px;
      max-height: 300px;
      position: relative;
      cursor: pointer;
      overflow: hidden;
      border: 0px solid #c9105e;
    }

	 .gallery-item.item-5x8 {
      flex-basis: calc(175px * 0.625);
    }
    .gallery-item.item-2x3 {
      flex-basis: calc(175px * 0.666);
    }
    .gallery-item.item-3x4 {
      flex-basis: calc(175px * 0.75);
    }
    .gallery-item.item-1x1 {
      flex-basis: 175px;
    }
    .gallery-item.item-4x3 {
      flex-basis: calc(175px * 1.333);
    }
    .gallery-item.item-3x2 {
      flex-basis: calc(175px * 1.5);
    }
    .gallery-item.item-8x5 {
      flex-basis: calc(175px * 1.6);
    }
    .gallery-item.item-2x1 {
      flex-basis: calc(175px * 2);
    }

    .gallery-item::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      opacity: 0;
      background-color: rgba(0, 0, 0, 0.4);
      background-image: url("magnifier.png");
      background-position: center;
      background-size: 1.85rem;
      background-repeat: no-repeat;
      transition: opacity 250ms;
      z-index: 10;
    }
    .gallery-item .caption {
      position: absolute;
      text-align: center;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 1em 0;
      line-height: 1em;
      color: #fff;
      background-color: rgba(0, 0, 0, 0.6);
      transform: translateY(4em);
      transition: transform 250ms;
      z-index: 20;
    }
    .gallery-item .caption span {
      display: inline-block;
      max-width: calc(100% - 2em);
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }

    .gallery-item:hover .thumb {
      transform: scale(1.05);
    }
    @media (hover: hover) {
      .gallery-item:hover::after {
        opacity: 1;
      }
      .gallery-item:hover .caption {
        transform: translateY(0);
      }
    }
    .gallery-item .thumb {
      display: inline-block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: unset;
      text-align: center;
      background-color: #333;
      transition: filter 500ms, transform 500ms;
    }
    .ie-fix .gallery-item .thumb {
      width: auto;
    }

    .gallery-item .placeholder {
      filter: blur(20px);
    }	
	
    .lightbox-wrapper {
      display: none;
      background-color: #2e2e35;
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9999;
    }
    .lightbox .lightbox-slides-wrapper {
      flex-grow: 1;
      display: flex;
      overflow: hidden;
      position: relative;
    }

    .lightbox {
      display: flex;
      flex-direction: column;
      height: 100%;
      color: white;
    }

    .lightbox .lightbox-header {
      flex-shrink: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.3);
      padding: 1em;
      font-weight: 600;
      text-align: center;
    }
    .lightbox .lightbox-header > * {
      opacity: .75;
    }

    .lightbox .lightbox-close {
      position: relative;
      height: 1.85rem;
      width: 1.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      padding: 0;
      border: none;
    }
    .lightbox .lightbox-close::before, .lightbox .lightbox-close::after {
      position: absolute;
      content: "";
      height: 4px;
      width: 80%;
      background-color: #fff;
    }
    .lightbox .lightbox-close::before {
      transform: rotate(-45deg);
    }
    .lightbox .lightbox-close::after {
      transform: rotate(45deg);
    }
    .lightbox .lightbox-close:hover {
      opacity: 1;
    }

    .lightbox .lightbox-arrow {
      position: absolute;
      top: 50%;
      width: 4rem;
      height: 4rem;
      padding: .5rem;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 1.5em;
      opacity: .75;
      cursor: pointer;
      filter: drop-shadow(0 0 7px #000);
    }
    .lightbox .lightbox-arrow:hover {
      opacity: 1;
    }
    .lightbox .lightbox-arrow.arrow-left {
      left: 0;
      background-image: url("leftarrow.png");
    }
    .lightbox .lightbox-arrow.arrow-right {
      right: 0;
      background-image: url("rightarrow.png");
    }

    .lightbox .lightbox-slide {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-grow: 1;
      transition: all 0ms ease;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }
    .lightbox .lightbox-slide[data-state="prev"] {
      transform: translateX(-100%);
      opacity: 0;
    }
    .lightbox .lightbox-slide[data-state="next"] {
      transform: translateX(100%);
      opacity: 0;
    }
    .lightbox .lightbox-image {
      display: none;
      max-width: 100%;
      max-height: 100%;
    }
    .lightbox .spinner {
      display: none;
    }
	
/* --- Gomb --- */

.button {
  background-color: #000;
  border: none;
  color: #d9ad10;
  padding: 10px 12px;
  text-align: center;
  font-size: 15px;
  margin: 4px 2px;
  opacity: 1;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 250px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
	opacity: 0.8;
	color: #d9ad10;
}

/* --- Szolgaltatasok --- */

.szolgaltatasok {
    text-align: center;
    font-size: 170%;
	font-weight: bold;
    letter-spacing: 1px;
	color: #594b43;
	background-color: #b3b3b3;
	padding: 10px 10px;
	margin: 0;
}

/* --- ARLISTA --- */

.arlista div.bal {
    float: left;
    width: 60%;
	text-align: left;
}
.arlista div.jobb {
    float: right;
    width: 40%;
	text-align: left;
}

@media screen and (max-width:1000px) {
	.arlista div.bal {
		width: 100%;
		text-align: left;
	}
	.arlista div.jobb {
		width: 100%;
		text-align: center;
	}
}

.arlista2 div.bal {
    float: left;
    width: 50%;
	text-align: center;
}
.arlista2 div.jobb {
    float: right;
    width: 50%;
	text-align: center;
}

@media screen and (max-width:500px) {
	.arlista2 div.bal, .arlista2 div.jobb {
		width: 100%;
		text-align: center;
	}
}

/* --- Mini galeria  --- */

.minigallery {
    text-align: center;
    font-size: 170%;
	font-weight: bold;
    letter-spacing: 1px;
	color: #594b43;
	background-color: #333333;
	padding: 40px 10px;
	margin: 0;
}

/* --- Keret --- */
.keret {
	border-style: solid;
	border-color: #c9105e;
	margin: 20px;
	padding: 10px;
}

/* PROJEKT SZÁMLÁLÓ */
        :root {
            --design-main: #c9105e;
            --design-light: #f0f8ff;
            --text-main: #c9105e;
        }

        .counter-section {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #ffffff;
            padding: 30px 20px;
            display: flex;
            justify-content: center;
        }

        .counter-container {
            max-width: 1100px;
            width: 100%;
            display: grid;
            /* ALAPHELYZET: Fixen 3 oszlop asztali nézetben */
            grid-template-columns: repeat(3, 1fr); 
            gap: 25px;
        }

        .counter-card {
            background: #ffffff;
            padding: 40px 20px;
            border-radius: 0px;
            text-align: center;
            border: 1px solid #e1e8ed;
            box-shadow: 0 12px 30px rgba(0, 119, 182, 0.08);
            transition: all 0.4s ease;
        }

        .counter-card:hover {
            transform: translateY(-10px);
            border-color: var(--design-main);
            box-shadow: 0 15px 40px rgba(0, 119, 182, 0.15);
        }

        /* IKONOK KERETE */
        .icon-wrapper {
            width: 100px;
            height: 74px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--design-light);
            border-radius: 16px;
            color: var(--design-main);
        }

        .icon-wrapper svg {
            width: 36px;
            height: 36px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* SZÁMOK ÉS FELIRATOK */
        .counter-number {
            font-size: 3.2rem;
            font-weight: 800;
            color: var(--text-main);
            margin: 10px 0;
            display: block;
            line-height: 1;
        }

        .counter-label {
            font-size: 1rem;
            font-weight: 600;
            color: #5a7184;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        /* TÖRDELÉSI LOGIKA (Reszponzivitás) */
        @media (max-width: 990px) {
            .counter-number { font-size: 2.6rem; }
        }

        /* 768px alatt rögtön 1 oszlopos lesz */
        @media (max-width: 768px) {
            .counter-container {
                grid-template-columns: 1fr;
                max-width: 450px;
            }
            .counter-section { padding: 40px 20px; }
            .counter-card { padding: 40px 20px; }
        }	
	
/* --- GYIK --- */
.faq-container {
    max-width: 1000px;
    margin: 30px auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: #c9105e;
    box-shadow: 0 4px 15px rgba(201, 16, 94, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #1f2f41;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #c9105e;
}

.faq-icon {
    font-size: 22px;
    color: #c9105e;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #fafbfc;
    border-top: 0px solid #e1e8ed;
    transition: max-height 0.35s ease, padding 0.35s ease, border-top 0.35s ease;
    text-align: justify;
}

.faq-answer p {
    margin: 15px 0;
    color: #333333;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #333333;
}

/* Aktív / Nyitott állapot */
.faq-item.active {
    border-color: #c9105e;
    box-shadow: 0 4px 15px rgba(201, 16, 94, 0.12);
}

.faq-item.active .faq-question {
    color: #c9105e;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 20px 20px 20px;
    border-top: 1px solid #e1e8ed;
}