@charset "utf-8";

/* CSS Document */
/*
Theme Name: Az eredetvizsgálat
Theme URI: https://www.azeredetisegvizsgalat.hu
Author: tigaman
Author URI: https://www.tigaman.hu
Description: Az eredetvizsgálat egy kötelező hatósági ellenőrzés, amely azt hivatott igazolni, hogy a jármű azonosító adatai (alvázszám, motorszám) valódiak, és az autó nem bűncselekményből származik.
Version: 1.0
*/
@import url("cookie-bar.css");
@import url("velemenyek.css");
@import url("cf7.css");
@import url("404.css");



@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900; 
  font-stretch: 75% 125%; 
  font-style: normal;
  font-display: swap; /* Javasolt: gyorsabb betöltési élmény */
}
@font-face {
  font-family: 'Dosis';
  src: url('fonts/Dosis/Dosis-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800; /* A Dosis valós tartománya */
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body {
	font-size: 1.5vw;
	font-family: 'Roboto', sans-serif;
	background-color: #195894;
	background-image: radial-gradient(circle, rgba(25,88,148,1) 0%, rgba(0,0,0,.7) 71%), url(images/logo.webp);
	margin: 0;
	padding: 0;
	background-size: auto, 200px auto;
}
a { transition: all 1s; text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5{ font-family: 'Dosis', sans-serif; letter-spacing: .08vw; text-transform: uppercase; font-weight: 500; }
.clear { clear: both; }

details {
    border: none;
    background: transparent;
    color: inherit;
    margin: 0;
}
details summary {
    list-style: none;
    cursor: pointer;
    opacity: 0.7; 
    font-size: 0.9rem;
    outline: none;
}

details summary::-webkit-details-marker {
    display: none;
}
details[open] summary {
    margin-bottom: 10px;
    opacity: 1;
}
.dosis { font-family: 'Dosis', sans-serif; }
.frosted { color: #FFFFFF; background-color: rgba(0,0,0,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 5px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); padding: 1em 2em; }
header { width: 100%; display: flex; justify-content: center; align-items: center; position: sticky; top: 0; z-index: 1000; }
header nav { display: flex; align-items: center; justify-content: center; width: 100%; position: relative; }
header nav .logo img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 50px; width: auto; }
header nav ul { display: flex; list-style: none; margin: 0; padding: 0; z-index: 1; transition: max-height 0.3s ease; overflow: hidden; }
header nav ul li { position: relative; margin: 0 1em; }
header nav ul li a { display: block; color: #fff; text-transform: uppercase; font-weight: 600; padding: 0.5em 0; transition: color 0.3s; }
header nav ul li a:hover { color: rgba(245,208,0,1.0); }
header nav ul li::after { content: ""; position: absolute; top: 50%; right: -0.7em; transform: translateY(-50%); width: 1px; height: 60%; background-color: #fff; }
header nav ul li:last-child::after { content: none; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; background: none; border: none; cursor: pointer; z-index: 2; }
.hamburger span { display: block; height: 3px; width: 100%; background: #fff; border-radius: 3px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.container { width: 95%; margin: 0 auto; }
.homecontainer { display: grid; grid-template-columns: 1fr 2fr; gap: .5em; margin: 1em auto; }
.head { border-radius: 5px; overflow: hidden; display: flex; }
.head img { width: 100%; height: 100%; object-fit: cover; display: block; }
.head_info {
	text-align: left;
	letter-spacing: 0.2vw;
	text-transform: uppercase;
	font-weight: 600;
}
.content { font-weight: 400; font-size: 90%; margin: 1em 0; }
.content h1 { margin-top: 0; letter-spacing: 0.2vw; }
.content h2 { font-weight: bold; color: #ffcc00; }
.services-list { list-style: none; padding: 0; }
.services-list li { margin-bottom: 0.8em; padding-left: 1.2em; position: relative; }
.services-list li::before { content: "✓"; position: absolute; left: 0; color: #ffcc00; }
.arak { list-style: none; padding: 0; margin: 1em 0; }
.arak li { display: flex; justify-content: space-between; padding: 0.5em 1em; border-bottom: 1px dashed rgba(255,255,255,0.3); font-weight: 600; text-transform: uppercase; }
.arak li:last-child { border-bottom: none; }
.szolgaltatas { color: #fff; flex: 1; }
.ar { color: #ffcc00; margin-left: 1em; white-space: nowrap; }

footer { position: relative; margin: 2em 0 0 0; padding-top: 3em; }
.top { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 40px; height: 40px; background-color: #ffcc00; border-radius: 20%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform 0.2s; }
.top:hover { transform: translate(-50%, -50%) scale(1.2); }
.copy { font-size: 60%; font-weight: bold; }
.copy a { color: #ffcc00; }

.map-responsive{
position:relative;
padding-bottom:56.25%;
height:0;
overflow:hidden;
max-width:100%;
}
.map-responsive iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border:0;
}

@media (max-width: 768px) {
    body { font-size: 18px; }
    .arak li { flex-direction: column; align-items: flex-start; }
    .ar { margin-left: 0; margin-top: 0.3em; }
    .homecontainer { grid-template-columns: 1fr; width: 95%; }
    .head img { height: 350px; }

    header nav ul { position: absolute; top: 100%; left: 0; right: 0; background: rgba(0,0,0,0.9); flex-direction: column; max-height: 0; }
    header nav ul.open { max-height: 500px; }
    header nav ul li { margin: 0; text-align: center; }
    header nav ul li::after { display: none; }
    .hamburger { display: flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
}
