/**
 * Footer stílusok
 */

/* Footer alapstílusok */
.site-footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-main-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Responsive grid layout */
@media (max-width: 768px) {
    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer szekciók */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: #5c5e6b;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-section li {
    color: #bdc3c7;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.footer-section li {
    position: relative;
    padding: 0.4rem 0.5rem 0.4rem 1.5rem;
    margin-bottom: 0.3rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-section li::before {
    content: '→';
    position: absolute;
    left: 0.3rem;
    color: #5c5e6b;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .footer-section li:hover {
        background: rgba(92, 94, 107, 0.1);
        transform: translateX(5px);
    }
    
    .footer-section li:hover::before {
        color: #ffffff;
        transform: translateY(-50%) translateX(3px);
    }

/* Footer linkek */
.footer-links {
    font-size: 0.95rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #5c5e6b;
}

/* Desktop nézetben oszlopok egységes magassága */
@media (min-width: 769px) {
    .footer-content {
        align-items: stretch;
        display: grid;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 100%;
    }
    
    .footer-section h3,
    .footer-section h4 {
        flex-shrink: 0;
    }
    
    .footer-section p {
        flex-shrink: 0;
    }
    
    .footer-contact {
        flex-shrink: 0;
    }
    
    .footer-section .footer-links,
    .footer-section .opening-hours {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        min-height: 0;
    }
    
    .footer-section ul.footer-links {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    
    .opening-hours {
        flex: 1;
    }
}

/* Kapcsolati információk */
.footer-contact-info .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-contact-info .footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-contact-info .footer-contact-icon {
    font-size: 1.1rem;
    color: #5c5e6b;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-contact-info .footer-contact-item:hover .footer-contact-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.footer-contact-info .footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-contact-info .footer-contact-item a:hover {
    color: #5c5e6b;
}

.footer-contact-info .footer-contact-item span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Social media linkek */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: #5c5e6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(92, 94, 107, 0.3);
}

/* Newsletter feliratkozás */
.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #34495e;
    background-color: #34495e;
    color: #ffffff;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #95a5a6;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #5c5e6b;
    box-shadow: 0 0 0 2px rgba(92, 94, 107, 0.2);
}

.newsletter-form .btn {
    width: 100%;
    background-color: #5c5e6b;
    border: 2px solid #5c5e6b;
    color: #ffffff;
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.newsletter-form .btn:hover {
    background-color: #464852;
    border-color: #464852;
    transform: translateY(-2px);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright {
    margin-bottom: 1rem;
}

.footer-bottom .copyright p {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.footer-bottom .footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom .footer-legal a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-bottom .footer-legal a:hover {
    color: #5c5e6b;
}

.footer-bottom .footer-legal .separator {
    color: #95a5a6;
}

/* Nyitvatartás */
.opening-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 1;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.5rem;
    margin-bottom: 0.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hours-item:last-child {
    margin-bottom: 0;
}

.hours-item span:first-child {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.7rem;
}

.footer-section .hours-item span:last-child {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.65rem;
    background: linear-gradient(135deg, #6c7a89 0%, #556270 100%);
    padding: 0.15rem 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05px;
}

/* Zárt napok megkülönböztetése */
.hours-item.day-closed {
    opacity: 0.75;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.hours-item.day-closed:hover {
    opacity: 0.85;
    background: rgba(231, 76, 60, 0.12);
}

.hours-item .closed-label {
    color: #ffffff;
    font-style: italic;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 1px solid rgba(231, 76, 60, 0.5);
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom .copyright {
        margin-bottom: 0;
    }
    
    .footer-bottom .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-bottom .footer-legal .separator {
        display: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact-info .footer-contact-item {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-section li {
        padding: 0.4rem 0.5rem 0.4rem 1.5rem;
        margin-bottom: 0.2rem;
        display: flex;
        align-items: center;
    }
    
    .footer-section li::before {
        left: 0.3rem;
        top: 50%;
        transform: translateY(-50%);
        line-height: 1;
    }
    
    /* Gyors linkek gap csökkentése mobil nézetben */
    .footer-section ul {
        gap: 0.2rem;
        justify-content: flex-start;
    }
    
    .hours-item {
        padding: 0.6rem 0.75rem;
        flex-wrap: wrap;
    }
    
    .hours-item span:first-child {
        min-width: 100px;
        font-size: 0.85rem;
    }
    
    .footer-section .hours-item span:last-child {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-contact-info .footer-contact-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .footer-section li {
        padding: 0.35rem 0.5rem 0.35rem 1.4rem;
        margin-bottom: 0.15rem;
        display: flex;
        align-items: center;
    }
    
    .footer-section li::before {
        left: 0.25rem;
        top: 50%;
        transform: translateY(-50%);
        line-height: 1;
    }
    
    /* Gyors linkek gap további csökkentése kis képernyőkön */
    .footer-section ul {
        gap: 0.1rem;
        justify-content: flex-start;
    }
    
    .hours-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .hours-item span:first-child {
        font-size: 0.8rem;
        min-width: auto;
        flex: 1;
    }
    
    .footer-section .hours-item span:last-child {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Animációk */
.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effektek */
.footer-section li:hover {
    color: #ffffff;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Focus stílusok */
.footer-section a:focus,
.social-links a:focus,
.newsletter-form input:focus,
.newsletter-form .btn:focus {
    outline: 2px solid #5c5e6b;
    outline-offset: 2px;
}

/* Print stílusok */
@media print {
    .site-footer {
        background-color: #ffffff;
        color: #000000;
        border-top: 2px solid #000;
    }
    
    .footer-section h3 {
        color: #000000;
    }
    
    .footer-section p,
    .footer-section li,
    .footer-section a {
        color: #000000;
    }
    
    .social-links,
    .newsletter-form {
        display: none;
    }
}

/* Cookie tájékoztató */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    border-top: 4px solid #5c5e6b;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-notice .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 600;
    min-width: 130px;
    transition: all 0.3s ease;
}

.btn-cookie-accept {
    background-color: #5c5e6b;
    border: 2px solid #5c5e6b;
    color: #ffffff;
}

.btn-cookie-accept:hover {
    background-color: #464852;
    border-color: #464852;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 94, 107, 0.4);
}

.btn-cookie-decline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-notice {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-notice .btn {
        width: 100%;
    }
}
