/* ==========================================================================
   Header — Sticky, White, Shadow, Bold
   ========================================================================== */

.akkar-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.akkar-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* Logo */
.akkar-logo {
    text-decoration: none;
}

.akkar-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.akkar-logo-img,
.akkar-logo img,
.custom-logo {
    height: 90px;
    width: auto;
    max-width: none;
    display: block;
}

@media (max-width: 768px) {
    .akkar-logo-img,
    .akkar-logo img,
    .custom-logo {
        height: 60px;
    }
}

/* Navigation */
.akkar-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 36px;
}

.akkar-nav-list li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #0a0a0a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    position: relative;
}

.akkar-nav-list li a:hover,
.akkar-nav-list li a:focus,
.akkar-nav-list li a:active,
.akkar-nav-list li.current-menu-item a,
.akkar-nav-list li.current_page_item a {
    color: #e63946 !important;
}

.akkar-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: width 0.2s ease;
}

.akkar-nav-list li a:hover::after,
.akkar-nav-list li.current-menu-item a::after {
    width: 100%;
}

/* Mobile Toggle */
.akkar-menu-toggle {
    display: none;
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 6px;
    box-shadow: none !important;
}

.akkar-menu-toggle:hover,
.akkar-menu-toggle:focus,
.akkar-menu-toggle:active {
    background: none !important;
    box-shadow: none !important;
}

.akkar-menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: #0a0a0a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .akkar-header-inner {
        padding: 15px 20px;
    }

    .akkar-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .akkar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .akkar-nav.open {
        right: 0;
    }

    .akkar-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .akkar-nav-list li a {
        font-size: 18px;
    }

    /* Hamburger to X */
    .akkar-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .akkar-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .akkar-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.akkar-footer {
    background: #0a0a0a;
}

.akkar-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

/* Logo column */
.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 120px;
    width: auto;
}

.footer-logo-invert {
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

/* Social icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-brand {
    text-align: center;
}

.footer-social a {
    color: #999;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #fff;
}

/* Footer columns */
.footer-heading {
    color: #e63946;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    color: #999;
    font-size: 15px;
    line-height: 2;
}

.footer-list li a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list li a:hover {
    color: #fff;
}

/* Footer bottom bar */
.footer-bottom {
    background-color: #1d1d1d;
    border-top: 1px solid #222;
    padding: 20px 30px;
    text-align: center;
}

.footer-bottom span {
    color: #666;
    font-size: 13px;
}

/* ==========================================================================
   GDPR Cookie Bar
   ========================================================================== */

.akkar-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-top: 1px solid #222;
    z-index: 9999;
    display: none;
}

.akkar-cookie-bar.visible {
    display: block;
}

.cookie-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-bar-text {
    color: #ccc;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.cookie-bar-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border: none;
}

.cookie-btn:hover {
    opacity: 0.8 !important;
    background: inherit !important;
}

.cookie-accept {
    background: #fff !important;
    color: #0a0a0a !important;
}

.cookie-reject {
    background: transparent !important;
    color: #999 !important;
    border: 1px solid #444 !important;
}

.cookie-reject:hover {
    border-color: #999 !important;
    color: #fff !important;
}

/* Footer responsive */
@media (max-width: 768px) {
    .akkar-footer-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 20px 30px;
        text-align: center;
    }

    .footer-list,
    .footer-social {
        justify-content: center;
    }

    .cookie-bar-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-bar-text {
        font-size: 13px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .akkar-header-inner {
        padding: 12px 15px;
    }

    .akkar-logo-img,
    .akkar-logo img,
    .custom-logo {
        height: 50px;
    }

    .akkar-nav {
        width: 100%;
    }

    .footer-logo-img {
        height: 90px;
    }
}

/* ==========================================================================
   Main content spacing
   ========================================================================== */

.akkar-main {
    min-height: calc(100vh - 160px);
}
