/* ====================================================================
   LUXURY HEADER & FOOTER
   ==================================================================== */

/* ===== TOP BAR ===== */
.topbar {
    background: #0E131D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    padding: 8px 0;
}

.topbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.topbar-item {
    color: #888;
    padding: 0 12px;
}

.topbar-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-link:hover {
    color: #ff4b22;
}

.topbar-phone {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.topbar-lang {
    display: flex;
    gap: 4px;
    padding-left: 8px;
}

.topbar-lang-link {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s;
}

.topbar-lang-link:hover { color: #ff4b22; }
.topbar-lang-link.active { color: #ff4b22; background: rgba(255, 75, 34, 0.1); }

/* ===== HEADER override ===== */
header#site-header {
    background: #fff;
    z-index: 100;
    width: 100%;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

header#site-header.scroll {
    position: fixed;
    top: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-wrap {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 0;
}

.header-logo {
    margin-right: 40px;
    flex-shrink: 0;
}

.header-logo img {
    height: 44px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover img {
    transform: scale(1.03);
}

/* ===== NAV WITH MEGA DROPDOWN ===== */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav-item {
    position: relative;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 24px 16px;
    font-family: "Bauhaus", sans-serif;
    font-size: 15px;
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.header-nav-link:hover { color: #ff4b22; }

.nav-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #999;
    transition: all 0.3s;
    margin-left: 2px;
}

.header-nav-item:hover .nav-arrow {
    border-top-color: #ff4b22;
    transform: rotate(180deg);
}

/* ===== MEGA DROPDOWN ===== */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    margin-top: 10px;
    z-index: 1000;
    padding: 0;
    overflow: hidden;
}

.header-nav-item.has-mega:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.mega-inner {
    display: flex;
    padding: 28px 32px;
    gap: 32px;
}

.mega-col {
    flex: 1;
    min-width: 0;
}

.mega-heading {
    font-family: 'Bauhaus', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff4b22;
}

.mega-heading a {
    color: inherit;
    text-decoration: none;
}

.mega-heading a:hover { color: #ff4b22; }

.mega-link {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-link:hover {
    color: #ff4b22;
    padding-left: 6px;
}

.mega-link-all {
    margin-top: 8px;
    font-weight: 600;
    color: #ff4b22;
}

.mega-col-promo {
    min-width: 200px;
    max-width: 220px;
}

.mega-promo {
    background: linear-gradient(135deg, #0E131D 0%, #1a2332 100%);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-promo-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff4b22;
    margin-bottom: 8px;
}

.mega-promo-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 16px;
}

.mega-promo-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #ff4b22;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.mega-promo-btn:hover {
    background: #e0401a;
    color: #fff;
}

/* ===== SIMPLE DROPDOWN (for items with few children) ===== */
.header-nav-item.has-dropdown {
    position: relative;
}

.simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    margin-top: 10px;
    z-index: 1000;
    padding: 12px;
    overflow: hidden;
}

.header-nav-item.has-dropdown:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.simple-dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    line-height: 1.4;
}

.simple-dropdown-link:hover {
    background: #fff5f2;
    color: #ff4b22;
    padding-left: 18px;
}

.simple-dropdown-accent {
    color: #ff4b22;
    font-weight: 600;
}

.simple-dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 0;
}

/* ===== HEADER RIGHT (account + CTA) ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-account-link {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.header-account-link:hover {
    background: #f5f5f5;
    color: #ff4b22;
}

.header-account-icon {
    color: #22c55e;
    font-size: 8px;
    margin-right: 4px;
}

.header-account-logout {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    padding: 6px 8px;
    transition: color 0.2s;
}

.header-account-logout:hover { color: #ff4b22; }

.header-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #ff4b22;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 75, 34, 0.3);
    white-space: nowrap;
}

.header-cta-button:hover {
    background: #e0401a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 75, 34, 0.35);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-inner {
    padding: 20px;
    background: #fff;
}

.mobile-menu-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 12px 0;
}

.mobile-menu-secondary a {
    display: block;
    width: 50%;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.mobile-menu-secondary a:hover { color: #ff4b22; }

.mobile-menu-auth {
    padding: 16px 0 12px;
}

.mobile-menu-lang {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    justify-content: center;
}

.mobile-menu-lang a {
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-decoration: none;
    border-radius: 4px;
}

.mobile-menu-lang a.active { color: #ff4b22; background: #fff5f2; }

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.mobile-menu-contact a {
    font-size: 14px;
    color: #ff4b22;
    text-decoration: none;
    font-weight: 500;
}

/* ===== MASSIVE FOOTER ===== */

.footer-top {
    background: linear-gradient(135deg, #ff4b22 0%, #e0401a 100%);
    padding: 0;
}

.footer-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    gap: 40px;
}

.footer-cta-text h3 {
    font-family: 'Adineue', sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #fff;
    margin: 0 0 6px;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.footer-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #ff4b22;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-cta-btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

.footer-cta-phone {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: opacity 0.2s;
}

.footer-cta-phone:hover {
    opacity: 0.8;
    color: #fff;
}

/* Footer main area */
.footer-main {
    background: #0E131D;
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
}

.footer-col-brand {
    padding-right: 20px;
}

.footer-brand img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 16px;
}

.footer-brand-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #555;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-heading {
    font-family: 'Bauhaus', sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    display: block;
    color: #777;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-link:hover {
    color: #ff4b22;
    padding-left: 5px;
}

.footer-link-accent {
    color: #ff4b22;
    font-weight: 600;
    margin-top: 8px;
}

.footer-contact-block {
    margin-bottom: 14px;
}

.footer-contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 4px;
}

.footer-contact-value {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-contact-value:hover {
    color: #ff4b22;
}

/* Footer bottom bar */
footer .footer-bottom {
    background: #080c14;
    padding: 20px 0;
}

.footer-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #ff4b22; }

.footer-bottom-lang {
    display: flex;
    gap: 6px;
}

.footer-bottom-lang a {
    font-size: 12px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s;
}

.footer-bottom-lang a:hover { color: #ff4b22; }
.footer-bottom-lang a.active { color: #ff4b22; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .mega-dropdown { min-width: 500px; }
    .mega-col-promo { display: none; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .footer-grid .footer-col:nth-child(5),
    .footer-grid .footer-col:nth-child(6) { display: none; }
}

@media (max-width: 991px) {
    .topbar { display: none; }
    .header-nav.desktop { display: none; }
    .header-right.desktop { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-grid .footer-col:nth-child(5),
    .footer-grid .footer-col:nth-child(6) { display: block; }
    .footer-cta-bar { flex-direction: column; text-align: center; padding: 30px 0; }
    .footer-cta-text h3 { font-size: 24px; }
    .footer-cta-actions { flex-direction: column; gap: 12px; }
    .footer-bottom-wrap { flex-direction: column; text-align: center; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col-brand { padding-right: 0; }

    #collapseMenu .header-nav {
        text-align: left;
    }

    #collapseMenu .header-nav-item {
        padding: 4px 0;
    }

    #collapseMenu .header-nav-link {
        font-size: 18px;
        padding: 10px 0;
    }
}
