/*
Theme Name: ARCHER PRASANTA
Theme URI: https://archerprasanta.com/
Author: ARCHER PRASANTA
Description: Custom premium motorcycle restoration studio theme.
Version: 1.0.0
Text Domain: archer-prasanta
*/

/* =========================================================
   01. FOUNDATION
   ========================================================= */
:root{
    --ap-navy:#050A1F;
    --ap-navy-2:#07112A;
    --ap-navy-3:#0A1733;
    --ap-cyan:#6FEFFF;
    --ap-cyan-strong:#3DDBF4;
    --ap-white:#F5F7FA;
    --ap-muted:#91A0B5;
    --ap-border:rgba(111,239,255,.20);
    --ap-border-soft:rgba(255,255,255,.10);
    --ap-container:1440px;
    --ap-header-height:86px;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    margin:0;
    padding:0;
    scroll-behavior:smooth;
}

body.ap-custom-site,
body.ap-theme{
    margin:0;
    padding:0;
    background:var(--ap-navy);
    color:var(--ap-white);
    font-family:Arial,Helvetica,sans-serif;
    overflow-x:hidden;
}

body.ap-custom-site a{
    color:inherit;
    text-decoration:none;
}

body.ap-custom-site button,
body.ap-custom-site input,
body.ap-custom-site select,
body.ap-custom-site textarea{
    font:inherit;
}

body.ap-custom-site img{
    max-width:100%;
    height:auto;
}

.ap-site-main{
    min-height:60vh;
}

.ap-skip-link{
    position:fixed;
    top:10px;
    left:10px;
    z-index:100000;
    padding:10px 14px;
    background:var(--ap-cyan);
    color:#03101D!important;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    transform:translateY(-150%);
    transition:transform .2s ease;
}

.ap-skip-link:focus{
    transform:translateY(0);
}

/* =========================================================
   02. HEADER
   ========================================================= */
.ap-site-header{
    position:sticky;
    top:0;
    z-index:9999;
    width:100%;
    height:var(--ap-header-height);
    background:rgba(4,10,27,.88);
    border-bottom:1px solid rgba(111,239,255,.13);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    transition:
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.ap-site-header.ap-header-scrolled{
    background:rgba(3,8,22,.96);
    border-bottom-color:rgba(111,239,255,.22);
    box-shadow:0 12px 40px rgba(0,0,0,.28);
}

.ap-header-inner{
    width:min(calc(100% - 48px),var(--ap-container));
    height:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:30px;
}

/* =========================================================
   03. BRAND / LOGO
   ========================================================= */
.ap-brand,
.ap-brand-image{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    width:190px;
    min-width:190px;
}

.ap-brand-image .custom-logo-link{
    display:flex;
    align-items:center;
    width:100%;
}

.ap-brand-image .custom-logo{
    display:block;
    width:auto;
    max-width:178px;
    max-height:52px;
    object-fit:contain;
}

.ap-brand-wordmark{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.ap-brand-main{
    color:var(--ap-cyan);
    font-size:27px;
    font-weight:900;
    letter-spacing:-.06em;
}

.ap-brand-sub{
    margin-top:5px;
    padding-left:29px;
    color:var(--ap-cyan);
    font-size:9px;
    font-weight:800;
    letter-spacing:.48em;
}

/* =========================================================
   04. DESKTOP NAVIGATION
   ========================================================= */
.ap-main-nav{
    height:100%;
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:31px;
}

.ap-main-nav > a,
.ap-nav-parent{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:7px;
    height:100%;
    color:#DCE4EF!important;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    white-space:nowrap;
    transition:color .2s ease;
}

.ap-main-nav > a::after,
.ap-nav-parent::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:18px;
    height:1px;
    background:var(--ap-cyan);
    transform:scaleX(0);
    transform-origin:right;
    transition:transform .25s ease;
}

.ap-main-nav > a:hover,
.ap-nav-parent:hover{
    color:var(--ap-cyan)!important;
}

.ap-main-nav > a:hover::after,
.ap-nav-parent:hover::after{
    transform:scaleX(1);
    transform-origin:left;
}

.ap-nav-dropdown{
    position:relative;
    height:100%;
    display:flex;
    align-items:center;
}

.ap-nav-plus{
    color:var(--ap-cyan);
    font-size:17px;
    line-height:1;
    font-weight:400;
    margin-top:-1px;
}

.ap-nav-menu{
    position:absolute;
    top:calc(100% + 1px);
    left:50%;
    width:245px;
    padding:12px;
    transform:translate(-50%,10px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background:rgba(5,12,31,.97);
    border:1px solid rgba(111,239,255,.20);
    box-shadow:0 24px 55px rgba(0,0,0,.45);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.ap-nav-dropdown:hover .ap-nav-menu,
.ap-nav-dropdown:focus-within .ap-nav-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%,0);
}

.ap-nav-menu a{
    display:flex;
    align-items:center;
    min-height:43px;
    padding:0 13px;
    color:#C6D0DE!important;
    font-size:9px;
    font-weight:800;
    letter-spacing:.12em;
    border-bottom:1px solid rgba(255,255,255,.06);
    transition:
        color .2s ease,
        background .2s ease,
        padding .2s ease;
}

.ap-nav-menu a:last-child{
    border-bottom:0;
}

.ap-nav-menu a:hover{
    padding-left:17px;
    color:var(--ap-cyan)!important;
    background:rgba(111,239,255,.06);
}

/* =========================================================
   05. HEADER ACTIONS
   ========================================================= */
.ap-header-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:9px;
}

.ap-icon-button{
    position:relative;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#DCE4EF!important;
    border:1px solid rgba(111,239,255,.22);
    background:rgba(8,18,42,.55);
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.ap-icon-button:hover{
    color:var(--ap-cyan)!important;
    border-color:rgba(111,239,255,.60);
    background:rgba(111,239,255,.08);
    transform:translateY(-1px);
}

.ap-icon-button svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.45;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ap-cart-count{
    position:absolute;
    top:-5px;
    right:-5px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:var(--ap-cyan);
    color:#04101E;
    font-size:8px;
    line-height:1;
    font-weight:900;
    border:2px solid #050A1F;
}

.ap-build-button{
    height:42px;
    min-width:160px;
    margin-left:5px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    color:#EAFBFF!important;
    border:1px solid rgba(111,239,255,.50);
    background:linear-gradient(90deg,rgba(111,239,255,.08),rgba(111,239,255,.025));
    font-size:9px;
    font-weight:900;
    letter-spacing:.13em;
    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.ap-build-button:hover{
    color:#03101D!important;
    background:var(--ap-cyan);
    border-color:var(--ap-cyan);
    transform:translateY(-1px);
    box-shadow:0 10px 30px rgba(111,239,255,.16);
}

.ap-build-dot{
    width:5px;
    height:5px;
    flex:0 0 5px;
    border-radius:50%;
    background:var(--ap-cyan);
    box-shadow:0 0 10px rgba(111,239,255,.85);
    transition:background .25s ease;
}

.ap-build-button:hover .ap-build-dot{
    background:#03101D;
    box-shadow:none;
}

.ap-build-arrow{
    margin-left:auto;
    font-size:17px;
    font-weight:400;
    line-height:1;
}

/* =========================================================
   06. MOBILE MENU
   ========================================================= */
.ap-mobile-toggle{
    display:none;
    width:42px;
    height:42px;
    padding:0;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border:1px solid rgba(111,239,255,.25);
    background:rgba(8,18,42,.55);
    color:#fff;
    cursor:pointer;
}

.ap-mobile-toggle span{
    display:block;
    width:17px;
    height:1px;
    background:currentColor;
    transition:transform .2s ease,opacity .2s ease;
}

.ap-mobile-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
}

.ap-mobile-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
}

.ap-mobile-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
}

.ap-mobile-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    max-height:calc(100vh - var(--ap-header-height));
    overflow-y:auto;
    background:rgba(4,10,27,.98);
    border-bottom:1px solid rgba(111,239,255,.18);
    box-shadow:0 25px 60px rgba(0,0,0,.45);
}

.ap-mobile-menu[hidden]{
    display:none;
}

.ap-mobile-menu-inner{
    width:min(calc(100% - 40px),680px);
    margin:0 auto;
    padding:12px 0 28px;
}

.ap-mobile-menu-inner > a,
.ap-mobile-menu summary{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#E5ECF5!important;
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
}

.ap-mobile-menu details{
    border-bottom:1px solid rgba(255,255,255,.08);
}

.ap-mobile-menu summary{
    list-style:none;
    cursor:pointer;
    border-bottom:0;
}

.ap-mobile-menu summary::-webkit-details-marker{
    display:none;
}

.ap-mobile-menu summary span{
    color:var(--ap-cyan);
    font-size:19px;
    font-weight:400;
}

.ap-mobile-submenu{
    padding:0 0 10px 15px;
}

.ap-mobile-submenu a{
    min-height:42px;
    display:flex;
    align-items:center;
    color:var(--ap-muted)!important;
    font-size:9px;
    font-weight:800;
    letter-spacing:.11em;
    border-left:1px solid rgba(111,239,255,.25);
    padding-left:14px;
}

.ap-mobile-submenu a:hover{
    color:var(--ap-cyan)!important;
}

.ap-mobile-build{
    margin-top:18px;
    padding:0 16px;
    border:1px solid rgba(111,239,255,.45)!important;
    background:rgba(111,239,255,.06);
}

.ap-mobile-build span{
    color:var(--ap-cyan);
    font-size:18px;
}

/* =========================================================
   07. TEMPORARY FOOTER / BASE CONTENT
   ========================================================= */
.ap-site-footer{
    background:#030817;
    border-top:1px solid rgba(111,239,255,.12);
}

.ap-footer-inner{
    width:min(calc(100% - 48px),var(--ap-container));
    margin:0 auto;
    padding:55px 0;
    display:flex;
    justify-content:space-between;
    gap:40px;
}

.ap-footer-inner > div{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.ap-footer-inner strong{
    color:var(--ap-cyan);
    font-size:18px;
    letter-spacing:.08em;
}

.ap-footer-inner span{
    color:var(--ap-muted);
    font-size:9px;
    letter-spacing:.12em;
}

.ap-footer-meta{
    text-align:right;
}

.ap-page-shell{
    width:min(calc(100% - 48px),1200px);
    margin:0 auto;
    padding:100px 0;
}

.ap-content-page h1{
    margin:0 0 30px;
    color:var(--ap-white);
    font-size:clamp(42px,6vw,92px);
    line-height:.92;
    letter-spacing:-.05em;
}

.ap-entry-content{
    color:#B6C1D0;
    line-height:1.8;
}

/* =========================================================
   08. RESPONSIVE
   ========================================================= */
@media (max-width:1180px){
    .ap-header-inner{
        width:min(calc(100% - 34px),var(--ap-container));
        gap:18px;
    }

    .ap-brand,
    .ap-brand-image{
        width:170px;
        min-width:170px;
    }

    .ap-main-nav{
        gap:20px;
    }

    .ap-main-nav > a,
    .ap-nav-parent{
        font-size:10px;
    }

    .ap-build-button{
        min-width:145px;
    }
}

@media (max-width:980px){
    :root{
        --ap-header-height:76px;
    }

    .ap-main-nav{
        display:none;
    }

    .ap-mobile-toggle{
        display:flex;
    }

    .ap-brand,
    .ap-brand-image{
        width:180px;
        min-width:180px;
    }

    .ap-header-actions{
        margin-left:auto;
    }

    .ap-build-button{
        min-width:145px;
    }

    .ap-footer-inner{
        flex-direction:column;
    }

    .ap-footer-meta{
        text-align:left;
    }
}

@media (max-width:620px){
    :root{
        --ap-header-height:68px;
    }

    .ap-header-inner{
        width:calc(100% - 24px);
    }

    .ap-brand,
    .ap-brand-image{
        width:150px;
        min-width:150px;
    }

    .ap-brand-image .custom-logo{
        max-width:145px;
        max-height:42px;
    }

    .ap-brand-main{
        font-size:23px;
    }

    .ap-brand-sub{
        padding-left:24px;
        font-size:7px;
    }

    .ap-icon-button{
        width:38px;
        height:38px;
    }

    .ap-icon-button svg{
        width:16px;
        height:16px;
    }

    .ap-build-button{
        display:none;
    }

    .ap-mobile-toggle{
        width:38px;
        height:38px;
    }

    .ap-page-shell{
        width:calc(100% - 30px);
        padding:70px 0;
    }

    .ap-footer-inner{
        width:calc(100% - 30px);
        padding:40px 0;
    }
}

@media (max-width:390px){
    .ap-brand,
    .ap-brand-image{
        width:125px;
        min-width:125px;
    }

    .ap-brand-image .custom-logo{
        max-width:120px;
    }

    .ap-header-actions{
        gap:5px;
    }

    .ap-icon-button{
        width:35px;
        height:35px;
    }

    .ap-mobile-toggle{
        width:35px;
        height:35px;
    }
}

/* =========================================================
   09. WORDPRESS / THE7 CONTAINMENT OVERRIDES
   These make the custom theme independent from old content
   width rules while the staging site is being rebuilt.
   ========================================================= */
body.ap-theme #page,
body.ap-theme .wf-wrap,
body.ap-theme .wf-container,
body.ap-theme .content,
body.ap-theme .page-content,
body.ap-theme .elementor,
body.ap-theme .elementor-section{
    max-width:none;
}

body.ap-theme .ap-site-header,
body.ap-theme .ap-site-main,
body.ap-theme .ap-site-footer{
    width:100%;
}
