
/* =========================================
   SLAYFOX - PROFESSIONAL RESPONSIVE DESIGN
   Mobile | Tablet | Desktop
========================================= */

:root {
    --sf-primary: #0d6efd;
    --sf-primary-dark: #0957c9;
    --sf-text: #222831;
    --sf-muted: #667085;
    --sf-border: #e8edf3;
    --sf-bg: #f7f9fc;
    --sf-white: #ffffff;
    --sf-radius: 14px;
    --sf-shadow: 0 8px 30px rgba(16, 24, 40, .07);
    --sf-container: 1400px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sf-text);
    background: var(--sf-white);
    overflow-wrap: break-word;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .45);
    outline-offset: 4px;
}

.slayfox_container {
    width: 100%;
    max-width: var(--sf-container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* =========================================
   HEADER
========================================= */

.slayfox_header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--sf-border);
    box-shadow: 0 4px 20px rgba(16, 24, 40, .045);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.slayfox_header .slayfox_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
}

/* LOGO */

.slayfox_logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    color: var(--sf-primary);
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 800;
    line-height: 1.2;
}

.slayfox_logo img {
    width: auto;
    max-width: 220px;
    max-height: 64px;
    object-fit: contain;
}

/* DESKTOP MENU */

.slayfox_menu {
    margin-left: auto;
}

.slayfox_menu_list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    list-style: none;
}

.slayfox_menu_list li {
    list-style: none;
}
.slayfox_kurumsal_menu {
    position: relative;
}

.slayfox_kurumsal_altmenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    z-index: 9999;
}

.slayfox_kurumsal_menu:hover > .slayfox_kurumsal_altmenu,
.slayfox_kurumsal_menu:focus-within > .slayfox_kurumsal_altmenu {
    display: block;
}

.slayfox_kurumsal_altmenu li {
    display: block;
    width: 100%;
}

.slayfox_kurumsal_altmenu li a {
    display: block;
    padding: 11px 18px;
    color: #263447;
    text-decoration: none;
    white-space: nowrap;
}

.slayfox_kurumsal_altmenu li a:hover {
    background: #f0f5fb;
    color: #0759b8;
}

@media (max-width: 900px) {
    .slayfox_kurumsal_altmenu {
        position: static;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        padding-left: 15px;
    }

    .slayfox_kurumsal_menu:hover > .slayfox_kurumsal_altmenu {
        display: block;
    }
}
.slayfox_menu_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 15px;
    border-radius: 9px;
    color: var(--sf-text);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        background-color .2s ease,
        color .2s ease;
}

.slayfox_menu_list a:hover,
.slayfox_menu_list a:focus-visible,
.slayfox_menu_list a[aria-current="page"] {
    color: var(--sf-primary);
    background: #edf4ff;
}

/* HAMBURGER BUTTON */

.slayfox_mobile_toggle {
    display: none;
    position: relative;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    background: var(--sf-white);
    color: var(--sf-text);
    cursor: pointer;
    touch-action: manipulation;
}

.slayfox_mobile_toggle:hover {
    background: var(--sf-bg);
}

.slayfox_mobile_toggle svg {
    display: block;
    width: 25px;
    height: 25px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
    .slayfox_header .slayfox_container {
        min-height: 76px;
        gap: 16px;
    }

    .slayfox_logo img {
        max-width: 185px;
        max-height: 55px;
    }

    .slayfox_menu_list {
        gap: 2px;
    }

    .slayfox_menu_list a {
        padding-inline: 10px;
        font-size: 13px;
    }

    .wocline_reference_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wocline_reviews_grid {
        gap: 18px;
    }
}

/* =========================================
   MOBILE & SMALL TABLETS
========================================= */

@media (max-width: 900px) {
    .slayfox_container {
        padding-inline: 20px;
    }

    .slayfox_header .slayfox_container {
        position: relative;
        min-height: 72px;
        gap: 12px;
    }

    .slayfox_logo {
        max-width: calc(100% - 64px);
        font-size: 24px;
    }

    .slayfox_logo img {
        max-width: min(200px, 65vw);
        max-height: 52px;
    }

    .slayfox_mobile_toggle {
        display: inline-flex;
    }

    .slayfox_menu {
        display: block;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 10000;
        width: 100%;
        max-height: calc(100dvh - 73px);
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 0;
        padding: 8px 20px 20px;
        border-top: 1px solid var(--sf-border);
        border-bottom: 1px solid var(--sf-border);
        background: var(--sf-white);
        box-shadow: 0 16px 30px rgba(16, 24, 40, .10);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;
    }

    .slayfox_menu.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .slayfox_menu_list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        padding: 6px 0;
    }

    .slayfox_menu_list li {
        width: 100%;
    }

    .slayfox_menu_list a {
        justify-content: flex-start;
        width: 100%;
        min-height: 50px;
        padding: 13px 16px;
        border-radius: 9px;
        border-bottom: 0;
        font-size: 15px;
        white-space: normal;
    }

    .slayfox_menu_list a:hover,
    .slayfox_menu_list a:focus-visible {
        background: #edf4ff;
        color: var(--sf-primary);
    }

    .wocline_slide {
        height: clamp(390px, 65vw, 550px);
    }

    .wocline_slide_content {
        left: 24px;
        width: calc(100% - 48px);
        max-width: 650px;
    }

    .wocline_service_item,
    .wocline_service_item:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .wocline_service_image {
        flex: auto;
        width: 100%;
    }

    .wocline_service_image img {
        height: clamp(230px, 48vw, 390px);
    }

    .wocline_reference_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .wocline_reference_item {
        min-height: 130px;
        padding: 16px;
    }

    .wocline_reference_item img {
        height: 90px;
    }

    .wocline_reviews_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buharagroup_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575px) {
    html {
        scroll-padding-top: 78px;
    }

    .slayfox_container {
        padding-inline: 16px;
    }

    .slayfox_header .slayfox_container {
        min-height: 66px;
        gap: 10px;
    }

    .slayfox_logo {
        font-size: 21px;
    }

    .slayfox_logo img {
        max-width: min(175px, 68vw);
        max-height: 45px;
    }

    .slayfox_mobile_toggle {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .slayfox_menu {
        max-height: calc(100dvh - 67px);
        padding-inline: 16px;
    }

    .wocline_slide {
        height: 460px;
        min-height: 400px;
    }

    .wocline_slide::after {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, .66),
            rgba(0, 0, 0, .24)
        );
    }

    .wocline_slide img {
        object-position: center;
    }

    .wocline_slide_content {
        left: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }

    .wocline_slide_content h2 {
        margin-bottom: 14px;
        font-size: clamp(29px, 8vw, 39px);
        letter-spacing: -.4px;
    }

    .wocline_slide_content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .wocline_services,
    .wocline_references,
    .wocline_reviews {
        padding-block: 45px;
    }

    .wocline_service_item {
        margin-bottom: 42px;
        gap: 20px;
    }

    .wocline_service_image img {
        height: 240px;
        border-radius: 12px;
    }

    .wocline_service_content h3 {
        font-size: 25px;
    }

    .wocline_service_content p {
        font-size: 14px;
    }

    .wocline_button {
        width: 100%;
        min-height: 48px;
    }

    .wocline_title {
        margin-bottom: 28px;
    }

    .wocline_title h2 {
        font-size: 29px;
    }

    .wocline_reference_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wocline_reference_item {
        min-height: 115px;
        padding: 13px;
        border-radius: 11px;
    }

    .wocline_reference_item img {
        height: 85px;
    }

    .wocline_reviews_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .wocline_review_card {
        padding: 22px;
    }

    .buharagroup_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* =========================================
   EXTRA SMALL DEVICES
========================================= */

@media (max-width: 360px) {
    .slayfox_container {
        padding-inline: 12px;
    }

    .slayfox_logo img {
        max-width: 190px;
        max-width: min(190px, 62vw);
    }

    .slayfox_mobile_toggle {
        width: 42px;
        height: 42px;
    }

    .wocline_slide_content {
        left: 16px;
        width: calc(100% - 32px);
    }

    .wocline_slide_content h2 {
        font-size: 27px;
    }

    .wocline_reference_grid {
        gap: 8px;
    }

    .wocline_reference_item {
        padding: 10px;
    }
}

/* =========================================
   REDUCED MOTION & TOUCH
========================================= */

@media (hover: none) {
    .wocline_reference_item:hover,
    .wocline_button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
