/* ================================================= */
/* ALAP STÍLUSOK ÉS BEÁLLÍTÁSOK */
/* ================================================= */

.online_ico {
    display: flex;
    gap: 15px;
    grid-column: 1;
}

.mobile-text {
    display: none;
}

/* A GIF-es linkek egyedi formázása (hogy ne örököljék a sima menüpontok háttérszínét hoverkor) */
.online_ico a.gif-icon {
    display: inline-block;
    width: 40px;             /* Ikon szélessége */
    height: 40px;            /* Ikon magassága */
    padding: 0;              /* Nullázzuk a nav a-ból jövő paddingot */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Felülírjuk a nav a:hover-t az ikonoknál, hogy ne legyen kék hátterük, helyette pl. kicsit megmozdulnak */
.online_ico a.gif-icon:hover {
    background-color: transparent; 
    transform: scale(1.1);   /* Enyhe növekedés hover esetén */
}

/* Konkrét GIF fájlok (cseréld a saját eléréseidre) */
.icon-one {
    background-image: url('https://www.toldiface.hu/kepek/online-shop.gif');
}

.icon-two {
    background-image: url('https://www.toldiface.hu/kepek/idopontfogalo.gif');
}


/* --- TARTALOM SZEKCIÓK ÁLTALÁNOS STÍLUSAI --- */

.content-section {
    padding: 40px 20px;
    margin-bottom: 20px;

    /* Fehér háttér, sötét betűszínnel a kontraszt miatt */
    background-color: white;
    color: #333;

    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body {
    padding-top: 80px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #282E34;
    color: #F0F0F0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Konténer a tartalom központosításához */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header és Navigáció (Fekete háttér, Fehér vastag betű, FIXÁLT) --- */

header {
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
    padding: 20px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
	box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr auto; 
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
	flex-wrap: wrap;
	grid-column: 2;
}

header::after {
    content: "";
    display: block;
    width: 95px; /* A két 40px-es ikon + a 15px gap együttes szélessége */
    grid-column: 3; /* A harmadik oszlopba kerül */
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 10px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #0056B3;
    border-radius: 5px;
}

/* Hamburger menü ikon elrejtése alapértelmezett (desktop) nézetben */
.menu-toggle {
    display: none;
}

/* --- TARTALOM SZEKCIÓK ÁLTALÁNOS STÍLUSAI --- */

.content-section {
    padding: 40px 20px;
    margin-bottom: 20px;
    background-color: white;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================================================= */
/* 1. CÉGBEMUTATKOZÁS (3 KÉP) */
/* ================================================= */

.intro-section {
    margin-top: 0;
}

.intro-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.intro-item {
    flex: 1;
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    margin-bottom: 15px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    margin: 20px 0px 20px 0px;
}

.intro-item_22 {
    flex: 1;
    text-align: left;
}

.image-placeholder_22 {
    width: 100%;
    background-color: #ddd;
    margin-bottom: 15px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    margin: 20px 0px 20px 0px;
    padding: 15px;
}


/* ================================================= */
/* 2. SZOLGÁLTATÁSOK (SZÍNES TÉGLALAPOK KÉPPEL) */
/* ================================================= */
a.szolgok{
    text-decoration: none;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    transform: scale(1);
}
a.szolgok:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.services-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    text-align: center;
}

.service-tile {
    flex: 1 1 300px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.service-tile-2 {
    flex: 1 1 520px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

/* Színes téglalapok definíciója */
.tile-fotozas {
    background-color: #008000;
}

.tile-galeria {
    background-color: #F3A74E;
}

.tile-hangositas {
    background-color: #0B92F5;
}

.tile-szerviz {
    background-color: #015498;
}

.tile-munkalap {
    background-color: #005DDD;
}

.tile-hiba-bejelent {
    background-color: #CC9933;
}

.tile-pinter {
    background-color: #000000;
}

.tile-ertekel {
    background: conic-gradient(
    #4285f4 0% 25%, 
    #ea4335 25% 50%, 
    #fbbc05 50% 75%, 
    #34a853 75% 100%
  );
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tile-webshop {
    background-color: #980109;
}

.tile-terhelom {
    background-color: #002D7C;
}

.tile-konyha {
    background-color: #0083B3;
}

.tile-image-placeholder-image2025 {
    width: 150px;
    height: 150px;
}

.tile-image-placeholder-image2025-nikol {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.tile-image-placeholder {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.tile-image-placeholder-szerviz-mmm {
    display: grid;
    place-items: center;
    width: 200px;
    border-radius: 50%;
    margin: 0 auto 15px;
    align-items: center;
    justify-content: center;
}

/* Fő cselekvésre ösztönző gomb (CTA) */
.button {
    display: inline-block;
    background-color: #1E7E34;
    /* Sötét zöld */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #145924;
}

/* --- Footer (Fekete háttér, Fehér vastag betű) --- */

#bank_1{
    width: 100%;
  	text-decoration: none; 
  	text-transform: none; 
  	color: #000000;
}

#bank_2{
  	background-color: #ffffff;
}

#bank_3{
    width: 200Px;
	height: 100px;
}

.footers_h {
    width: 100%;
    color: #fff;
    text-align: left;
}

#footers {
    width: 100%;
    background-color: #000000;
    color: #fff;
    overflow: auto;
    height: 100%;
}

.footers_h_1 {
    width: 100%;
    font-size: large;
    font-weight: bolder;
    color: #fff;
    text-align: left;
}

#szov {
    width: 50%;
    padding: 25px;
    margin: 0px 0px 0px 0px;
    float: left;
    background-color: #000000;
    text-align: left;
}

footer {
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    /* BEÁLLÍTVA: 20px margó a main és a footer között */
    margin-top: 20px;
}

.fa {
    padding: 20px;
    font-size: 4em;
    width: 80px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    font-style: normal;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-mail {
    background: #555AA8;
    color: white;
}

.fa-mobil {
    background: #3BBBB8;
    color: white;
}

.fa-web {
    background: #658756;
    color: white;
}

.fa-ter {
    background: #980109;
    color: white;
}

.fa-user {
    background: #199801;
    color: white;
}

/* ================================================= */
/* Vissza a Tetejére Gomb Stílusa (Kör alakú) */
/* ================================================= */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    background-color: #1E7E34;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;

    /* Kör alak beállítása */
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 18px;

    /* Ikon középre igazítása */
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s, opacity 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #145924;
}

/* ================================================= */
/* FOTÓNÉZEGETŐ (CAROUSEL) STÍLUSAI */
/* ================================================= */

.img31{
    height: 700px;
}

.img32 {
    height: 700px;
}

.img33 {
    height: 700px;
}

.img34 {
    height: 700px;
}

.img35 {
    height: 700px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background-image: url('kepek/hatter_2025.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Képek elhelyezkedése */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    display: block;
    border-radius: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Navigációs gombok (nyilak) */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Sötét áttetsző gomb, fehér weboldal tartalom szekcióban */
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    line-height: 1;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity 0.3s, background 0.3s;
}

.carousel-button:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Oldaljelző pontok stílusa */
.carousel-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    background: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #333;
    /* Sötét keret fehér háttérhez */
    opacity: 0.7;
    transition: opacity 0.3s, background 0.3s;
}

.carousel-indicator.active {
    opacity: 1;
    background: #0056B3;
    /* Kék, a weboldal kék színét használva */
    border-color: #0056B3;
}


/* ================================================= */
/* MEDIA QUERIES (RESZPONZIVITÁS: Tablet és Mobil)   */
/* ================================================= */

/* Ezen a ponton (max 992px szélességig) lép életbe a hamburger menü és a mobilos elrendezés */
@media (max-width: 992px) {
	.mobile-text {
        display: block !important;
        grid-column: 2;
        grid-row: 1;
        text-align: center;
        justify-self: center;
        color: #FFFFFF;
        font-size: 18px;
        font-weight: bold;
        text-transform: uppercase;
    }

	.online_ico {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex;
        gap: 15px;
    }

	.menu-toggle {
        display: block !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
    }
	
	header {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
    }
	
	body {
        padding-top: 80px;
        /* Ezt finomhangold a menü tényleges magasságához */
    }
    .menu-toggle {
        display: block !important;
        color: #FFFFFF;
        z-index: 1021;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        font-size: 30px;
        line-height: 1;
        grid-column: 3;
        justify-self: end;
        align-self: center;
    }

    /* Lenyíló menü elrendezése mobilon */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        max-width: 300px;
        background-color: #0056B3;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 1020;
        padding: 10px 0;
        text-align: left;
		grid-column: 1 / span 3;
    }

    nav a {
        padding: 10px 20px;
        border-bottom: 1px solid #004085;
    }

    nav a:hover {
        background-color: #004085;
    }

    nav ul.active {
        display: flex;
    }

    /* Cégbemutatkozás oszlopok egymás alá mobilon */
    .intro-grid {
        flex-direction: column;
    }

    /* Szolgáltatás téglalapok teljes szélességen */
    .service-tile {
        flex: 1 1 100%;
    }
  
    .service-tile-2 {
        flex: 1 1 100%;
    }

    /* Vissza a Tetejére gomb pozíciója mobilon */
    #scrollToTopBtn {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

        .img31 {
            height: 300px;
        }
    
        .img32 {
            height: 300px;
        }
    
        .img33 {
            height: 300px;
        }
    
        .img34 {
            height: 300px;
        }
    
        .img35 {
            height: 300px;
        }

        #szov {
            width: 100%;
            padding: 10px;
        }
        
        .footers_h, .footers_h_1 {
            font-size: medium;
        }
}
/* ================================================= */
/* Speciális tartomány: 992px és 1375px között      */
/* ================================================= */

@media (min-width: 993px) and (max-width: 1534px) {
    header {
        /* Megnöveljük a header magasságát, hogy elférjen a két sor */
        height: auto;
        padding: 15px 10px;
    }

    nav ul {
        /* Engedélyezzük a sorok törését */
        flex-wrap: wrap;
        
    }

       /* Mivel a header magasabb lett, a body padding-ját is növelni kell, 
       hogy ne takarja ki a tartalom tetejét */
    body {
        padding-top: 100px;
        /* Ezt finomhangold a menü tényleges magasságához */
    }
}

.info-banner {
  align-items: center;
  display: flex;
  gap: 15px;
  padding: 16px;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-family: sans-serif;
}

.alert-warning {
  background-color: #fff9db;
  border-left: 5px solid #fab005;
  color: #664d03;
}

.banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 50px;
  object-fit: contain;
}

.banner-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.alert-danger {
  background-color: #fff5f5; 
  border-left: 5px solid #fa5252; 
  color: #c92a2a; 
}

.banner-content h3 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 480px) {
  .info-banner {
	flex-direction: row;
    gap: 12px;
    padding: 12px;
  }
}