/* Header-specifikus változók */
:root {
    --header-shadow: 0 2px 5px rgba(0,0,0,0.1);
    --menu-spacing: 30px;
    --hamburger-height: 2px;
    --hamburger-spacing: 6px;
    --header-transition: 0.3s ease-in-out;
}

/* Header alapstílusok */
.site-header {
    box-shadow: var(--header-shadow);
    background: #fff;
}

/* Felső információs sáv */
.top-bar {
    background: #005c8b;
	/*background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);*/
    padding: 8px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--header-transition);
}

/* Fő menüsáv */
.main-nav {
    background: #fff;
    padding: 15px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 50px;
    width: auto;
}

/* Menü konténer */
.menu-container {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Menü lista */
.main-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.main-menu li {
    margin-left: var(--menu-spacing);
}

.main-menu a {
	text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8em;
    position: relative;
}

.main-menu a:hover {
    color: #333;
}

/* Menü aláhúzás animáció */
.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #333;
    transition: width var(--header-transition);
}

.main-menu a:hover::after {
    width: 100%;
}

/* Hamburger menü */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: var(--hamburger-height);
    background: #333;
    position: relative;
    transition: background var(--header-transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: var(--hamburger-height);
    background: #333;
    transition: transform var(--header-transition);
}

.hamburger::before {
    top: calc(-1 * var(--hamburger-spacing));
}

.hamburger::after {
    bottom: calc(-1 * var(--hamburger-spacing));
}

/* Aktív hamburger állapot */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobil nézet */
@media (max-width: 767px) {
    .site-header {
        position: fixed; /* sticky helyett fixed */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
        max-width: 100%;
        background: #fff;
    }
	
	.contact-info {
		justify-content: center !important;
	}
	
	body {
        padding-top: 80px; /* Header magasságával megegyező padding */
    }
	
    .main-nav {
        padding: 10px 0;
    }

    /* Hamburger jobb oldalra igazítása */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Jobb oldali igazítás */
        height: 40px;
        padding: 0;
        margin: 0;
        position: absolute; /* Abszolút pozicionálás */
        right: 15px; /* Jobb oldali távolság */
        top: 50%; /* Függőleges középre */
        transform: translateY(-50%); /* Függőleges középre igazítás */
    }
	
    /* Container és row igazítások */
    .container {
        position: relative; /* A menu-toggle miatt */
    }

    .logo {
        height: 40px;
    }

    .logo img {
        max-height: 40px;
    }

    /* Menü konténer igazítások */
    .menu-container {
        display: none;
        position: fixed;
        top: 150px; /* Header magasságával megegyező */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px); /* Viewport magasság mínusz header */
        background: #fff;
        padding: 0;
        box-shadow: var(--header-shadow);
        box-sizing: border-box;
        overflow-y: auto;
    }

    .menu-container.active {
        display: block;
    }
	
    /* Logo igazítások */
    .logo {
        height: 40px;
        padding-left: 15px; /* Bal oldali padding */
    }
	
    .logo img {
        max-height: 40px;
    }

    .main-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .main-menu li {
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    .main-menu a {
        display: block;
        padding: 5px 0;
        width: 100%;
    }

    .mobile-contact {
        margin: 0;
        padding: 15px;
        border-top: 1px solid #eee;
    }

    .mobile-contact a {
        display: block;
        padding: 10px 0;
        color: #666;
        text-decoration: none;
    }

    .row.align-items-center {
        min-height: 60px;
        position: relative; /* A menu-toggle miatt */
    }
}
  /* Alap stílus az értesítő sávhoz */
  .notification-bar {
    width: 100%;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    z-index: 1000;
  }
  
  /* Aktív ügyfélfogadási idő stílus - zöld háttér */
  .notification-bar.available {
    background-color: #28a745;
  }
  
  /* Inaktív ügyfélfogadási idő stílus - piros háttér */
  .notification-bar.unavailable {
    background-color: #dc3545;
  }
  
  /* Üzenet stílusa */
  .notification-message {
    color: white;
    text-align: center;
    font-weight: 500;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    position: relative;
    animation: scrollText 15s linear infinite;
  }
  
  /* Animáció a szöveg jobbról balra futtatásához */
  @keyframes scrollText {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* Reszponzív beállítások */
  @media (max-width: 767px) {
    .notification-bar {
      padding: 6px 0;
    }
    
    .notification-message {
      font-size: 14px;
    }
  }