
/* HWT_SOCIAL_PREMIUM_V1 */

.hwt-social {
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.hwt-social-link {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    text-decoration:none!important;
    box-sizing:border-box;
    transition:transform .18s,box-shadow .18s;
}

.hwt-social-link:hover {
    transform:translateY(-2px);
}

.hwt-social-link:focus-visible {
    outline:2px solid #80b175;
    outline-offset:3px;
}

.hwt-social-icon {
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:8px;
    background:var(--social-color);
}

.hwt-social-icon img {
    display:block!important;
    width:17px!important;
    height:17px!important;
    max-width:none!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
}

/* Ust bar */

.site-header .topline .container {
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding-top:5px;
    padding-bottom:5px;
}

.hwt-topline-info {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    font-size:12px;
}

.hwt-social-topbar {
    gap:5px;
}

.hwt-social-topbar .hwt-social-icon {
    width:25px;
    height:25px;
    flex-basis:25px;
    border-radius:5px;
}

.hwt-social-topbar .hwt-social-icon img {
    width:13px!important;
    height:13px!important;
}

/* Header */

.hwt-social-header {
    display:none;
}

/* Footer */

.hwt-footer-social {
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.12);
}

.hwt-footer-social .container {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
}

.hwt-footer-social h3 {
    font-size:15px;
    color:inherit;
    margin:0;
}

.hwt-footer-social .hwt-social-icon {
    width:37px;
    height:37px;
    flex-basis:37px;
    border-radius:8px;
}

/* Floating sosyal medya */

.hwt-floating-social {
    position:fixed;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    z-index:800;
}

.hwt-floating-social>summary {
    display:none;
}

.hwt-social-floating {
    flex-direction:column;
    gap:7px;
}

.hwt-social-floating .hwt-social-link {
    position:relative;
}

.hwt-social-floating .hwt-social-icon {
    width:40px;
    height:40px;
    flex-basis:40px;
    border-radius:9px;
    box-shadow:0 3px 12px rgba(0,0,0,.13);
}

.hwt-social-floating .hwt-social-icon img {
    width:19px!important;
    height:19px!important;
}

.hwt-social-tooltip {
    display:block;
    position:absolute;
    left:calc(100% + 9px);
    top:50%;
    transform:translateY(-50%);
    padding:7px 10px;
    border-radius:5px;
    white-space:nowrap;
    background:#173b28;
    color:white;
    font-size:11px;
    pointer-events:none;
    opacity:0;
    transition:opacity .18s;
}

.hwt-social-floating a:hover .hwt-social-tooltip,
.hwt-social-floating a:focus-visible .hwt-social-tooltip {
    opacity:1;
}

/* Iletisim sayfasi */

.hwt-contact-social {
    padding:20px 0 28px;
}

.hwt-contact-social h2 {
    margin:0 0 5px;
    font-size:23px;
    color:#173b28;
}

.hwt-contact-social p {
    margin:0 0 15px;
    font-size:13px;
    color:#64766a;
}

.hwt-social-contact {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}

.hwt-social-contact .hwt-social-link {
    width:100%;
    min-width:0;
    justify-content:flex-start;
    gap:10px;
    padding:12px;
    background:#fff;
    border:1px solid #dce6de;
    border-radius:9px;
    color:#173b28;
}

.hwt-social-contact .hwt-social-link:hover {
    border-color:#6a9772;
    box-shadow:0 4px 15px rgba(20,55,32,.07);
}

.hwt-social-contact .hwt-social-icon {
    width:40px;
    height:40px;
    flex-basis:40px;
}

.hwt-social-details {
    flex:1;
    min-width:0;
}

.hwt-social-details b {
    display:block;
    font-size:13px;
    color:#173b28;
}

.hwt-social-details small {
    display:block;
    margin-top:4px;
    font-size:10px;
    color:#64766a;
    overflow-wrap:anywhere;
}

.hwt-social-arrow {
    font-size:16px;
    color:#54883e;
    margin-left:auto;
}

/* Belirgin mobil hamburger */

@media(max-width:1024px) {

    .site-header .nav-toggle {
        width:48px!important;
        height:46px!important;
        min-width:48px!important;
        padding:10px!important;
        border:1px solid rgba(255,255,255,.35)!important;
        border-radius:9px!important;
        background:#54883e!important;
        box-shadow:0 2px 7px rgba(0,0,0,.14);
        flex-shrink:0;
        position:relative;
        z-index:2;
        cursor:pointer;
    }

    .site-header .nav-toggle span {
        display:block!important;
        width:25px!important;
        height:3px!important;
        margin:4px auto!important;
        border-radius:3px!important;
        background:#fff!important;
        opacity:1!important;
        visibility:visible!important;
    }

    .site-header .nav-toggle[aria-expanded="true"] {
        background:#30653f!important;
    }

    .hwt-social-contact {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .hwt-social-header {
        display:flex;
        padding:12px 0;
        margin-top:7px;
        border-top:1px solid rgba(128,160,135,.25);
    }
}

@media(max-width:768px) {

    .site-header .topline .container {
        display:flex!important;
        justify-content:space-between;
        gap:5px;
        padding:4px 12px!important;
    }

    .hwt-topline-info {
        font-size:10px;
    }

    .hwt-topline-info>span {
        display:none!important;
    }

    .hwt-social-topbar {
        gap:4px;
    }

    .hwt-social-topbar .hwt-social-icon {
        width:23px;
        height:23px;
        flex-basis:23px;
    }

    .hwt-floating-social {
        top:auto;
        bottom:18px;
        left:10px;
        transform:none;
    }

    .hwt-floating-social>summary {
        display:flex;
        width:43px;
        height:43px;
        align-items:center;
        justify-content:center;
        border-radius:50%;
        list-style:none;
        background:#30653f;
        color:#fff;
        cursor:pointer;
        box-shadow:0 3px 12px rgba(0,0,0,.2);
    }

    .hwt-floating-social>summary::-webkit-details-marker {
        display:none;
    }

    .hwt-floating-social .hwt-social-floating {
        display:none;
    }

    .hwt-floating-social[open] .hwt-social-floating {
        display:flex;
        position:absolute;
        bottom:52px;
        left:2px;
    }

    .hwt-social-floating .hwt-social-icon {
        width:37px;
        height:37px;
        flex-basis:37px;
    }

    .hwt-social-tooltip {
        display:none;
    }

    .hwt-contact-social {
        padding:16px 0 22px;
    }

    .hwt-contact-social h2 {
        font-size:20px;
    }

    .hwt-social-contact {
        gap:7px;
    }

    .hwt-social-contact .hwt-social-link {
        padding:9px;
        gap:7px;
    }

    .hwt-social-contact .hwt-social-icon {
        width:34px;
        height:34px;
        flex-basis:34px;
    }

    .hwt-social-arrow {
        display:none;
    }

    .hwt-footer-social {
        padding:13px 0;
    }
}

@media(prefers-reduced-motion:reduce) {
    .hwt-social-link,
    .hwt-social-tooltip {
        transition:none!important;
    }
}


/* HWT_MOBILE_SOCIAL_V2 */

/* Masaustu floating sosyal medya */

@media(min-width:769px) {

    .hwt-floating-social {
        left:auto!important;
        right:14px!important;
        top:50%!important;
        bottom:auto!important;
        transform:translateY(-50%)!important;
        z-index:800!important;
    }

    .hwt-social-floating {
        gap:7px!important;
    }

    .hwt-social-floating .hwt-social-icon {
        width:40px!important;
        height:40px!important;
        flex-basis:40px!important;
        border-radius:9px!important;
    }

    .hwt-social-tooltip {
        left:auto!important;
        right:calc(100% + 9px)!important;
    }
}

/* Mobil ve tablet hamburger */

@media(max-width:1024px) {

    .site-header .nav-toggle {
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:center!important;
        gap:0!important;
        position:relative!important;
        width:58px!important;
        min-width:58px!important;
        height:47px!important;
        min-height:47px!important;
        padding:0!important;
        margin:0!important;
        border-radius:8px!important;
        background:#54883e!important;
        border:1px solid #79a26b!important;
        box-sizing:border-box!important;
        overflow:hidden!important;
        box-shadow:none!important;
        font-size:0!important;
        color:transparent!important;
    }

    .site-header .nav-toggle > * {
        display:none!important;
    }

    .site-header .nav-toggle::before {
        content:"";
        display:block!important;
        position:absolute!important;
        top:8px!important;
        left:17px!important;
        width:22px!important;
        height:2px!important;
        background:#fff!important;
        border-radius:3px!important;
        box-shadow:
            0 6px 0 #fff,
            0 12px 0 #fff!important;
        transform:none!important;
    }

    .site-header .nav-toggle::after {
        content:"MENÜ";
        position:absolute!important;
        bottom:5px!important;
        left:0!important;
        width:100%!important;
        color:#fff!important;
        font:700 9px/1 Arial,sans-serif!important;
        text-align:center!important;
        letter-spacing:.8px!important;
    }

    .site-header .nav-toggle[aria-expanded="true"] {
        background:#30653f!important;
    }

    .site-header .nav-toggle[aria-expanded="true"]::before {
        content:"×";
        top:1px!important;
        left:0!important;
        width:100%!important;
        height:29px!important;
        background:none!important;
        box-shadow:none!important;
        color:#fff!important;
        font:400 32px/29px Arial,sans-serif!important;
        text-align:center!important;
    }

    .site-header .nav-toggle[aria-expanded="true"]::after {
        content:"KAPAT";
    }

    .site-header .nav-toggle:focus-visible {
        outline:2px solid white!important;
        outline-offset:3px!important;
    }

    /* Mobil menu icerigi */

    .site-header nav .nav-group {
        margin:0!important;
    }

    .site-header nav .nav-group>button,
    .site-header nav>a {
        min-height:42px!important;
        padding:11px 14px!important;
        font-size:13px!important;
        font-weight:600!important;
        line-height:1.4!important;
        box-sizing:border-box!important;
        border-radius:6px!important;
    }

    .site-header nav .dropdown a {
        padding:10px 17px!important;
        font-size:12px!important;
        line-height:1.45!important;
    }

    .site-header nav .dropdown {
        box-shadow:none!important;
        border-radius:6px!important;
    }

    .site-header .hwt-social-header {
        justify-content:center!important;
        padding:12px!important;
        gap:10px!important;
    }
}

/* Telefon ekranlari */

@media(max-width:768px) {

    .site-header .nav-wrap {
        gap:8px!important;
        padding-left:12px!important;
        padding-right:12px!important;
        box-sizing:border-box!important;
    }

    .site-header .nav-wrap .logo,
    .site-header .nav-wrap .brand {
        min-width:0!important;
        max-width:calc(100% - 70px)!important;
    }

    .site-header .nav-wrap .logo img,
    .site-header .nav-wrap .brand img {
        max-width:100%!important;
        object-fit:contain!important;
    }

    /* Alt navigasyon ile cakisma giderildi */

    .hwt-floating-social {
        position:fixed!important;
        top:auto!important;
        bottom:calc(76px + env(safe-area-inset-bottom, 0px))!important;
        left:auto!important;
        right:12px!important;
        transform:none!important;
        z-index:850!important;
    }

    .hwt-floating-social>summary {
        width:42px!important;
        height:42px!important;
        border-radius:12px!important;
        background:#30653f!important;
        border:1px solid #dce7de!important;
        color:white!important;
    }

    .hwt-floating-social[open] .hwt-social-floating {
        position:absolute!important;
        bottom:51px!important;
        left:auto!important;
        right:2px!important;
        gap:7px!important;
    }

    .hwt-social-floating .hwt-social-icon {
        width:38px!important;
        height:38px!important;
        flex-basis:38px!important;
        border-radius:8px!important;
    }

    .hwt-social-floating .hwt-social-icon img {
        width:18px!important;
        height:18px!important;
    }

    /* Iletisim sosyal medya kartlari */

    .hwt-contact-social {
        padding:18px 0!important;
    }

    .hwt-contact-social h2 {
        font-size:18px!important;
        line-height:1.3!important;
        margin-bottom:6px!important;
    }

    .hwt-contact-social p {
        font-size:12px!important;
        line-height:1.6!important;
        margin-bottom:12px!important;
    }

    .hwt-social-contact {
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }

    .hwt-social-contact .hwt-social-link {
        padding:9px!important;
        border-radius:8px!important;
        min-height:58px!important;
    }

    .hwt-social-details b {
        font-size:12px!important;
    }

    .hwt-social-details small {
        font-size:10px!important;
    }
}

