/**
 * Copyright (C) 2025 Deutsche Lufthansa AG. All rights reserved.
 *
 * This software is the confidential and proprietary information of Deutsche Lufthansa AG.
 */
/* ============================================
   Footer New Design - B2B Neo
   ============================================ */

/* Base Footer Styles */
.footer-new-design {
    /*background-color: #1E3A8A;  Lufthansa Blue */
    background: linear-gradient(
        135deg,
        #2254BB 0%,
        #021959 100%
      );
    color: #FFFFFF;
    padding: 0;
    margin: 0;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

/* ============================================
   Footer Header Section (Logo + Tagline)
   ============================================ */
.footer-header {
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-tagline {
    margin: 0;
}

.footer-tagline h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    color: #FFFFFF;
}

/* ============================================
   Footer Bottom Section
   ============================================ */
.footer-bottom {
    padding: 24px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Copyright */
.footer-copyright {
    font-size: 14px;
    color: #FFFFFF;
    order: 1;
    flex: 0 0 auto;
}

/* Footer Links */
.footer-links {
    order: 2;
    flex: 1 1 auto;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 0.8;
    text-decoration: underline;
}

/* Social and Language Actions */
.footer-actions {
    display: flex;
    flex-direction: row;
    gap: 24px;
    order: 3;
    flex: 0 0 auto;
    align-items: center;
}

.footer-social a {
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-bottom: 0px;
}

.footer-social a:hover,
.footer-social a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Language Selector Styling */
.footer-language {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-language .dcep-country-and-language-selection {
    /* Styles will be inherited from the language selector component */
}

.footer-links .link-list ul.horizontal li a {
	margin-bottom: 0px;
}

@media (max-width: 768px) {
	.footer-actions {
		width: 100%;
    }

	.footer-links .link-list ul.horizontal li a {
        margin-bottom: 20px;
    }
}

/* ============================================
   Tablet Breakpoint (768px and up)
   ============================================ */
@media (min-width: 768px) {
    .footer-header {
        padding: 56px 40px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .footer-logo {
        max-width: 220px;
    }

	.footer-actions {
		width: 100%;
    }

    .footer-tagline h2 {
        font-size: 32px;
        text-align: right;
    }

    .footer-bottom {
        padding: 32px 40px;
    }

    .footer-links ul {
        justify-content: flex-start;
    }

	.footer-logo-section {
    	width: 50%;
	}

}

/* ============================================
   Desktop Breakpoint (1024px and up)
   ============================================ */
@media (min-width: 1024px) {
    .footer-header {
        padding: 64px 80px;
        gap: 60px;
    }

    .footer-logo {
        max-width: 240px;
    }

	.footer-actions {
		width: auto;
    }

    .footer-tagline h2 {
        font-size: 40px;
    }

    .footer-bottom {
    	border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding: 32px 80px;
    }

    .footer-bottom-content {
        flex-wrap: nowrap;
        gap: 32px;
    }

    .footer-links ul {
        gap: 16px 32px;
    }

    .footer-links a {
        font-size: 15px;
    }

}

/* ============================================
   Large Desktop Breakpoint (1440px and up)
   ============================================ */
@media (min-width: 1440px) {
    .footer-header {
        padding: 80px 120px;
    }

    .footer-bottom {
        padding: 40px 120px;
    }
}

/* ============================================
   Accessibility & Print Styles
   ============================================ */

/* Focus visible styles */
.footer-new-design a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer-new-design {
        border-top: 2px solid #FFFFFF;
    }

    .footer-social a {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer-new-design * {
        transition: none !important;
    }
}

/* Print styles */
@media print {
    .footer-new-design {
        background-color: transparent;
        color: #000000;
        border-top: 1px solid #000000;
    }

    .footer-tagline h2,
    .footer-links a,
    .footer-copyright {
        color: #000000;
    }

    .footer-social,
    .footer-language {
        display: none;
    }
}
