*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
* p, * figcaption, * button, * a{
    font-size: 20px;
}
* h1{
    font-size: 50px;
}
* h2{
    font-size: 40px;
}
* h3{
    font-size: 30px;
}
html, body{
    width: 100%;
    scroll-behavior: smooth;
    cursor: url('images/maxtire-pointer-small.png'), auto;
}
/*header*/
#hdr{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 0 25px;
    position: sticky;
    top: 0;
    z-index: 10;
}
#hdr .logo{
    width: 25%;
}
#hdr .logo a img{
    width: 50%;
}
#nv{
    width: 50%;
}
#nv ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#nv ul li{ 
    list-style: none;
}
#nv ul li a{
    color: #ffffff;
    text-decoration: none;
}
#hdr #nv ul li a:hover{
    text-decoration: underline;
    color: #fbbd1a;
}
#hdr .header-phone{
    width: 25%;
    display: flex;
    justify-content: end;
    align-items: center;
}
#hdr .header-phone a{
    color: yellow;
    text-decoration: none;
}
.hamburger-menu {
    display: none;
}
#palyazat{
    padding: 25px;
}
#palyazat h2{
    margin: 25px 0;
    color: #000000;
}
#palyazat p{
    margin-bottom: 12.5px;
}
#palyazat a{
    text-decoration-color: #000000;
}
#dimop{
    padding: 25px;
}
#dimop p{
    margin-bottom: 25px;
}
/*hero rész*/
#hero{
    position: relative;
    background-image: url('images/maxtire-banner.jpg');
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
#hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(to left, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 60%
    );    
    pointer-events: none;
}
#container{
    color: #000;    
    position: absolute;
    top: 25%;
    margin-left: 25px;
}
#container h1{
    color: #fbbd1a;
    margin-bottom: 25px;
}
#container h2{
    color: #fff;
    margin-bottom: 25px;
}
#container a{
    cursor: pointer;
    background-color: #fbbd1a;
    color: #fff;
    padding: 12.5px;
    margin-right: 25px;
    text-decoration: none;
    border: none;
    border-radius: 12px;
}
#logo-container img{
    width: 12.5%;
    position: relative;
    left: 100%;
    transform: translate(-100%);
}
/*rolunk*/
#rolunk{
    display: flex;
    background-color: #fff;
    align-items: center;
    gap: 5px;
}
#left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding-left: 25px;
}
#right img{
    width: 100%;
}

#left .brd{
    border-top: 1px solid #fbbd1a;
    width: 50%;
}
#video video {
    width: 100%;
}
#szolgaltatasok{
    text-align: center;
}
#szolgaltatasok h2{
    margin: 25px 0;
}

#szolgaltatasok h3{
    margin: 25px 0;
    color: #fbbd1a;
    border-bottom: 1px solid #fbbd1a;
    display: inline-block;
}
#button-container{
    display: flex;
    justify-content: center;
}
#button-container a{
    background-color: #fbbd1a;
    color: #fff;
    border-radius: 12px;
    padding: 12.5px;
    cursor: pointer;
    margin: 5px 5px;
    text-decoration: none;
}
#gumi-1{
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 0 25px;
    margin: 25px 0;
}
#gumi-1 figure{
    width: 33.3%;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 0px 0px 5px 5px #000000;
}
#gumi-1 figure figcaption{
    background-color: #fff;
    text-align: center;
    padding: 5px;
    box-shadow: 0px 0px 5px 5px #000000;
}
#gumi-2{
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0 25px;
}
#gumi-2 figure{
    width: 33.3%;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 0px 5px 5px #000000;
}
#gumi-2 figure figcaption{
    background-color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 20px;
}
#auto{
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0 25px;
}
#auto figure{
    width: 33.3%;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 0px 5px 5px #000000;
}
#auto figure figcaption{
    background-color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 20px;
}
#egyeb-1{
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0 25px;    
    margin: 25px 0;    
}
#egyeb-1 figure{
    width: 25%;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 0px 5px 5px #000000;
}
#egyeb-1 figure figcaption{
    background-color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 20px;
}
#egyeb-2{
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0 25px;
}
#egyeb-2 figure{
    width: 33.3%;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 0px 5px 5px #000000;
}
#egyeb-2 figure figcaption{
    background-color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 20px;
}
.hidden-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}
.contact-section {
    padding: 100px 20px;
    background-color: #f8f9fa; /* Finom világosszürke háttér, hogy elkülönüljön */
    text-align: center;
}

.contact-section h3 {
    color: #000;
    margin-bottom: 10px;
}

.contact-section p {
    color: #000;
    margin-bottom: 40px;
}
/* Az űrlapot befogadó fehér doboz */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Nagyon finom, prémium árnyék */
    text-align: left; /* A dobozon belül balra zárunk mindent */
}

/* Egy-egy beviteli blokk (label + input) */
.form-group {
    margin-bottom: 25px;
}

/* A mezők feletti feliratok */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 20px;
}

/* Az inputok és a textarea közös formázása */
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #000;
    border-radius: 6px;
    font-size: 20px;
    color: #000;
    background-color: #ffffff;
    font-family: sans-serif;
    transition: all 0.3s ease; /* Sima animáció a fókuszhoz */
}

/* Placeholderek halványítása */
.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #aaaaaa;
}

/* FÓKUSZ ÁLLAPOT: Amikor a felhasználó belekattint a mezőbe */
.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;               /* Eltünteti a gyári csúnya kék keretet */
    border-color: #007bff;       /* Modern kék keretet kap helyette */
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15); /* Finom kék izzás a mező körül */
}

/* Textarea átméretezhetőségének korlátozása (hogy ne húzhassák szét a dizájnt) */
.custom-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* KÜLDÉS GOMB */
.form-submit-btn {
    display: block;
    width: 100%;
    background-color: #fbbd1a;   /* Barátságos zöld szín a küldéshez */
    color: #ffffff;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
    transition: all 0.3s ease;
}

/* Gomb hover állapota (ráviszi az egeret) */
.form-submit-btn:hover {
    background-color: #fbbd1a;   /* Sötétebb zöld */
    transform: translateY(-2px); /* Kicsit megemelkedik */
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

/* Gomb lenyomott állapota (kattintáskor) */
.form-submit-btn:active {
    transform: translateY(0);
}

#ftr{
    background-color: #000000;
    display: flex;
    justify-content: space-between;
}
#kapcsolatok{
    color: #fff;
    width: 33.3%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#kapcsolatok h2{
    margin: 25px 0;
}
#kapcsolatok a{
    color: #fff;
    display: block;
    margin: 12.5px 0px;
}
#terkep{
    height: 50vh;
    width: 33.3%;
}
#footer-logo{
    width: 33.3%;    
    display: flex;
    align-items: center;    
}
#footer-logo img{
    width: 50%;
    margin: 0 auto;
    display: block;
}