/* header szekcio */

:root {
    --dark-bg: #111827;
    --darker-bg: #0B111E;
    --accent: #E2B93B;
    --text: #ffffff;
    --text-secondary: #a0aec0;
    --transition: all 0.3s ease
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

.header {
    background-color: rgba(11, 17, 30, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 185, 59, .1)
}

.header.scrolled {
    padding: .5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3)
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 1001
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition)
}

.header.scrolled .logo-img {
    height: 35px
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: .5rem;
    color: var(--text);
    position: relative;
    transition: var(--transition)
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition)
}

.logo:hover .logo-text::after {
    width: 100%
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    transition: var(--transition)
}

.nav-item {
    margin: 0 .5rem;
    position: relative
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    padding: .5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
    display: block;
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition)
}

.nav-link.active,
.nav-link:hover {
    color: var(--accent)
}

.nav-link.active::after,
.nav-link:hover::after {
    width: calc(100% - 2rem)
}

.phone-button {
    background: linear-gradient(135deg, var(--accent), #d4a81e);
    color: var(--darker-bg);
    border: none;
    padding: .6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(226, 185, 59, .2);
    margin-left: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap
}

.phone-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: .5s
}

.phone-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(226, 185, 59, .3)
}

.phone-button:hover::before {
    left: 100%
}

.phone-icon {
    margin-right: 6px;
    flex-shrink: 0
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 20px;
    position: relative
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0);
    transition: var(--transition)
}

.hamburger span:nth-child(1) {
    top: 0
}

.hamburger span:nth-child(2) {
    top: 9px
}

.hamburger span:nth-child(3) {
    top: 18px
}

.hamburger.open span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
    background: var(--accent)
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -60px
}

.hamburger.open span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
    background: var(--accent)
}

@media (max-width:992px) {
    .container {
        padding: 0 1.5rem
    }

    .nav-link {
        padding: .5rem .8rem;
        font-size: .95rem
    }
}

@media (max-width:768px) {
    .hamburger {
        display: block
    }

    .nav-menu {
        position: fixed;
        flex-direction: column;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--dark-bg);
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, .5);
        transition: .5s ease-in-out;
        align-items: flex-start;
        overflow-y: auto;
        z-index: 1000
    }

    .nav-menu.open {
        right: 0
    }

    .nav-item {
        width: 100%;
        margin: .5rem 0
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.1rem
    }

    .nav-link::after {
        left: 0
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        width: 50px
    }

    .phone-button {
        margin: 1rem 0 0 0;
        width: 100%;
        text-align: center;
        justify-content: center
    }
}

@media (max-width:576px) {
    .logo-text {
        font-size: 1.5rem
    }
}

/* Footer Styles */
.footer {
    background-color: var(--darker-bg);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 0;
    margin-top: 4rem;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

/* Wave Animation */
.footer-waves {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230B111E'%3E%3C/path%3E%3C/svg%3E");
    background-size: 1200px 100%;
}

.wave1 {
    animation: wave-animation 30s linear infinite;
    z-index: 1;
    opacity: 0.2;
}

.wave2 {
    animation: wave-animation 15s linear infinite;
    z-index: 2;
    opacity: 0.3;
    bottom: 10px;
}

.wave3 {
    animation: wave-animation 20s linear infinite reverse;
    z-index: 3;
    opacity: 0.5;
    bottom: 5px;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer Top */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-logo {
    max-width: 350px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-contact-item svg {
    margin-right: 10px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.footer-contact-item:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Footer Navigation */
.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-nav-column {
    flex: 1;
    min-width: 200px;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
}

.footer-nav-links li {
    margin-bottom: 0.7rem;
}

.footer-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-nav-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    transition: var(--transition);
}

.footer-nav-links a:hover {
    color: var(--accent);
    padding-left: 20px;
}

.footer-nav-links a:hover::before {
    transform: scale(1.2);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(226, 185, 59, 0.1);
    color: var(--text);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.social-icon svg {
    stroke: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.heart {
    color: #e25555;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-logo {
        max-width: 100%;
    }
    
    .footer-navigation {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 3rem;
    }
    
    .footer-nav-column {
        min-width: 45%;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-nav-column {
        min-width: 100%;
    }
    
    .footer-navigation {
        flex-direction: column;
    }
}

/* Vissza a tetejere gomb */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #d4a81e);
    color: var(--darker-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
}

.scroll-top-btn svg {
    stroke-width: 2.5px;
}

.footer-nav-column,
.footer-logo,
.footer-contact {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.footer-nav-column.animate,
.footer-logo.animate,
.footer-contact.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-nav-column:nth-child(1).animate { transition-delay: 0.1s; }
.footer-nav-column:nth-child(2).animate { transition-delay: 0.2s; }
.footer-nav-column:nth-child(3).animate { transition-delay: 0.3s; }
.footer-nav-column:nth-child(4).animate { transition-delay: 0.4s; }

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 176, 59, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(227, 176, 59, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(51, 102, 204, 0);
    transform: scale(1);
  }
}

#cookieSettingsIcon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

#acceptAllCookies:hover, #saveSettings:hover {
  background-color: #b99130;
}

#acceptNecessaryCookies:hover {
  background-color: #252b38;
}

#openCookieSettings:hover {
  background-color: #11151f;
  border-color: #b99130;
  color: #b99130;
}

/* Toggle kapcsolók stílusa */
input:checked + span {
  background-color: #E3B03B;
}

input:checked + span span {
  transform: translateX(26px);
}

input:focus + span {
  box-shadow: 0 0 1px #E3B03B;
}

/* Reszponzív igazítások */
@media (max-width: 768px) {
  #cookieConsent {
    padding: 15px;
  }
  
  #cookieConsent .buttons {
    flex-direction: column;
  }
  
  #cookieSettingsModal > div {
    width: 95%;
    margin: 10px;
    padding: 15px;
  }
  
  button {
    margin-bottom: 8px;
    width: 100%;
  }
}