/*
Theme Name: Xboom Fitness
Author: Xboom
Description: Sarı, siyah ve beyaz Xboom Fitness teması.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: xboom-fitness
License: GPL v2 or later
*/

/* TEMEL RENKLER */
:root {
    --yellow: #ffcc00;
    --black: #1a1a18;
    --white: #ffffff;
    --muted: #bcbcbc;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #8bcaff;
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

.xb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.xb-skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 99999;
    padding: 15px 20px;
    background: var(--yellow);
    color: var(--black);
    font-weight: 700;
}

.xb-skip:focus {
    top: 45px;
}

/* ÜST İLETİŞİM ŞERİDİ */
.xb-topbar {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 11px 4.5%;
    background: var(--yellow);
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
}

.xb-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.xb-topbar a > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.xb-topbar .xb-top-email {
    margin-left: auto;
    font-size: 12px;
}

.xb-topbar a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* HEADER */
.xb-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 94px;
    padding: 18px 4.5%;
    background: #101010;
    border-bottom: 1px solid #303030;
}

.xb-brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1;
}

.xb-brand > span {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
}

.xb-brand-dot {
    color: var(--yellow);
}

.xb-brand small {
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: 7px;
}

.xb-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 60px;
    object-fit: contain;
}

#xb-nav {
    display: flex;
    align-items: center;
    gap: 29px;
}

#xb-nav > a {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: color .2s ease;
}

#xb-nav > a:not(.xb-button):hover {
    color: var(--yellow);
}

.xb-menu-button {
    display: none;
    padding: 9px 14px;
    background: transparent;
    color: var(--yellow);
    border: 1px solid #666;
}

/* BUTONLAR */
.xb-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 54px;
    padding: 15px 24px;
    border: 1px solid transparent;
    background: var(--yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .5px;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.xb-button:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}

.xb-small {
    min-height: 45px;
}

/* ÇAPRAZ KADIN / ERKEK AÇILIŞ */
.xb-hero {
    position: relative;
    height: min(780px, 85svh);
    min-height: 570px;
    overflow: hidden;
    background: #191919;
}

.xb-panel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #1a1a18;
}

.xb-women {
    z-index: 2;
    clip-path: polygon(
        0 0,
        58% 0,
        43% 100%,
        0 100%
    );
}

.xb-men {
    clip-path: polygon(
        58% 0,
        100% 0,
        100% 100%,
        43% 100%
    );
}

.xb-panel-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transition:
        transform .9s cubic-bezier(.2, .65, .2, 1),
        filter .6s ease;
}

.xb-women .xb-panel-art {
    background:
        radial-gradient(
            ellipse at 25% 30%,
            rgba(255, 204, 0, .14),
            transparent 65%
        ),
        linear-gradient(130deg, #292927, #101010);
}

.xb-men .xb-panel-art {
    background:
        radial-gradient(
            ellipse at 80% 25%,
            #393937,
            transparent 60%
        ),
        #121212;
}

.xb-panel-art img {
    position: absolute;
    display: block;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.xb-men .xb-panel-art img {
    right: 0;
}

.xb-panel-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, .8),
            rgba(0, 0, 0, .06) 85%
        );
    pointer-events: none;
}

.xb-art-x {
    position: absolute;
    top: -10px;
    left: 5%;
    color: var(--yellow);
    font-size: 640px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    opacity: .12;
    transform: rotate(-7deg);
    user-select: none;
}

.xb-men .xb-art-x {
    right: 5%;
    left: auto;
    color: #ffffff;
    opacity: .09;
}

.xb-panel-copy {
    position: absolute;
    z-index: 2;
    top: 27%;
    left: 7%;
    width: 34%;
}

.xb-men .xb-panel-copy {
    left: 64%;
    width: 31%;
}

.xb-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.7;
    letter-spacing: 2px;
}

.xb-panel .xb-eyebrow {
    color: var(--yellow);
}

.xb-panel-title {
    margin: 32px 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 5.1vw, 82px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    transition: color .35s ease;
}

.xb-panel-title small {
    display: block;
    margin-top: 14px;
    color: transparent;
    font-size: .45em;
    line-height: 1.2;
    letter-spacing: 6px;
    -webkit-text-stroke: 1px #eeeeee;
}

.xb-panel-copy p {
    margin: 24px 0 32px;
    color: #e0e0e0;
    font-size: 15px;
}

.xb-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    padding: 12px 0;
    color: #ffffff;
    border-bottom: 2px solid var(--yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.xb-hero-button span {
    display: inline-block;
    font-size: 26px;
    transition: transform .35s ease;
}

.xb-panel:focus-visible {
    outline: none;
}

.xb-panel:focus-visible .xb-hero-button {
    outline: 3px solid #8bcaff;
    outline-offset: 5px;
}

.xb-panel:hover .xb-panel-art,
.xb-panel:focus-visible .xb-panel-art {
    transform: scale(1.045);
    filter: brightness(1.16);
}

.xb-panel:hover .xb-hero-button span,
.xb-panel:focus-visible .xb-hero-button span {
    transform: translate(5px, -5px);
}

.xb-panel:hover .xb-panel-title,
.xb-panel:focus-visible .xb-panel-title {
    color: var(--yellow);
}

.xb-hero-bottom {
    position: absolute;
    z-index: 3;
    right: 4.5%;
    bottom: 24px;
    left: 4.5%;
    display: flex;
    justify-content: space-between;
    color: #d4d4d4;
    font-size: 9px;
    letter-spacing: 2px;
    pointer-events: none;
}

/* SARI SLOGAN ŞERİDİ */
.xb-ticker {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 26px;
    overflow: hidden;
    padding: 19px 20px;
    background: var(--yellow);
    color: var(--black);
    font-size: clamp(12px, 1.6vw, 23px);
    font-weight: 900;
    white-space: nowrap;
}

.xb-ticker > * {
    flex-shrink: 0;
}

.xb-ticker b {
    font-size: 30px;
}

/* GENEL BÖLÜMLER */
.xb-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 42px;
}

.xb-section h2 {
    margin: 22px 0;
    font-size: clamp(36px, 4.5vw, 66px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -2px;
}

.xb-section h2 span {
    color: var(--yellow);
}

.xb-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 80px;
}

.xb-intro > *,
.xb-app > * {
    min-width: 0;
}

.xb-intro p {
    max-width: 430px;
    color: var(--muted);
    font-size: 17px;
}

.xb-text-link {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    border-bottom: 1px solid #656565;
    font-size: 11px;
    font-weight: 800;
}

.xb-text-link span {
    color: var(--yellow);
}

/* ÜYELİKLER */
.xb-members {
    background: #f5f5f3;
    color: #101010;
}

.xb-section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.xb-section-top p {
    max-width: 350px;
    color: #5c5c5c;
    font-size: 14px;
}

.xb-selector {
    display: flex;
    gap: 5px;
    width: fit-content;
    margin: 30px 0 24px;
    padding: 5px;
    border: 1px solid #d7d7d2;
}

.xb-selector button {
    padding: 13px 30px;
    border: 0;
    background: transparent;
    color: #1a1a18;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: background .2s ease, color .2s ease;
}

.xb-selector button[aria-pressed="true"] {
    background: #111111;
    color: var(--yellow);
}

.xb-selector button[aria-pressed="false"]:hover {
    background: #e6e6e2;
}

.xb-group-title {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 400;
}

.xb-plans {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 18px;
}

.xb-plan {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #d7d7d2;
}

.xb-plan h4 {
    margin: 30px 0;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.xb-plan h4 span {
    font-size: 18px;
}

.xb-price {
    margin: 0;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.xb-plan > small {
    margin-bottom: 30px;
    color: #5c5c5c;
    font-size: 11px;
}

.xb-plan .xb-button {
    margin-top: auto;
}

.xb-members .xb-button:hover {
    background: #1a1a18;
    color: #ffffff;
}

.xb-plan-empty {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #eeeee9;
}

.xb-plan-empty h4 {
    margin: 20px 0;
    font-size: 36px;
}

.xb-plan-empty p {
    max-width: 560px;
    color: #545454;
    font-size: 14px;
}

.xb-plan-empty .xb-button {
    flex-shrink: 0;
    margin: 0;
}

/* SPORŞİMDİ */
.xb-app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.xb-app-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    background:
        radial-gradient(
            ellipse,
            rgba(255, 204, 0, .16),
            transparent 68%
        );
}

.xb-app-art > img {
    display: block;
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.xb-phone {
    position: relative;
    width: 250px;
    padding: 34px 20px 25px;
    overflow: hidden;
    border: 7px solid #404040;
    border-radius: 38px;
    background: var(--yellow);
    color: var(--black);
    box-shadow: 25px 35px 0 #242424;
    transform: rotate(-9deg);
}

.xb-phone-notch {
    position: absolute;
    top: 10px;
    left: calc(50% - 37px);
    display: block;
    width: 75px;
    height: 9px;
    background: #282828;
    border-radius: 10px;
}

.xb-phone > small {
    font-size: 9px;
    font-weight: 700;
}

.xb-phone > strong {
    display: block;
    margin: 30px 0;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -2px;
}

.xb-phone > div {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    padding: 16px 12px;
    background: var(--black);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.xb-phone-mark {
    display: block;
    font-size: 110px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-align: right;
}

.xb-app-copy > p {
    max-width: 400px;
    color: var(--muted);
}

.xb-app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    color: #cecece;
    font-size: 11px;
}

.xb-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.xb-store {
    padding: 10px 18px;
    border: 1px solid #6c6c6c;
    font-size: 18px;
    transition: border-color .2s ease, color .2s ease;
}

.xb-store:hover {
    color: var(--yellow);
    border-color: var(--yellow);
}

.xb-store small {
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
}

/* İLETİŞİM */
.xb-contact {
    background: var(--yellow);
    color: #101010;
}

.xb-contact .xb-section {
    position: relative;
}

.xb-contact h2 {
    font-size: clamp(48px, 6vw, 84px);
}

.xb-contact h2 span {
    color: #101010;
}

.xb-contact-details {
    max-width: none;
    margin-top: 30px;
}

.xb-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.xb-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(26, 26, 24, .25);
}

.xb-contact .xb-button {
    background: #111111;
    color: #ffffff;
}

.xb-contact .xb-button:hover {
    background: #ffffff;
    color: #111111;
}

.xb-contact-phone {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.3;
}

.xb-email {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
    overflow-wrap: anywhere;
}

/* FOOTER */
.xb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 42px 4.5%;
    background: #101010;
}

.xb-wordmark {
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
}

.xb-footer > span,
.xb-footer small {
    color: #adadad;
    font-size: 10px;
    letter-spacing: 1px;
}

/* İÇ SAYFALAR */
.xb-page {
    min-height: 65vh;
}

.xb-content {
    max-width: 850px;
    overflow-wrap: anywhere;
}

.xb-content a {
    text-decoration: underline;
}

.xb-content img {
    height: auto;
}

.xb-page h1 {
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.1;
}

/* TABLET VE MOBİL MENÜ */
@media (max-width: 960px) {
    .xb-header {
        min-height: 80px;
    }

    .xb-menu-button {
        display: block;
    }

    #xb-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 25px 6%;
        background: #111111;
        border-bottom: 1px solid #555555;
    }

    #xb-nav.is-open {
        display: flex;
    }

    .xb-hero {
        height: 650px;
        min-height: 0;
    }

    .xb-panel-copy {
        left: 5%;
        width: 40%;
    }

    .xb-men .xb-panel-copy {
        left: 62%;
        width: 35%;
    }

    .xb-panel-title {
        font-size: 5.4vw;
        letter-spacing: -1.5px;
    }

    .xb-section {
        padding: 65px 26px;
    }

    .xb-intro,
    .xb-app {
        gap: 35px;
    }

    .xb-plan-empty {
        flex-direction: column;
        align-items: flex-start;
    }

    .xb-footer {
        flex-wrap: wrap;
    }
}

/* İLETİŞİM MOBİL DÜZENİ */
@media (max-width: 700px) {
    .xb-topbar {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .xb-topbar a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .xb-topbar .xb-top-email {
        width: 100%;
        margin: 0;
        font-size: 11px;
    }

    .xb-contact-grid {
        grid-template-columns: 1fr;
    }

    .xb-contact-phone {
        font-size: 28px;
    }
}

/* TELEFON */
@media (max-width: 600px) {
    html {
        scroll-padding-top: 20px;
    }

    .xb-header {
        padding: 15px 20px;
    }

    .xb-brand > span {
        font-size: 28px;
    }

    .xb-brand img {
        max-width: 155px;
        max-height: 52px;
    }

    /* Mobilde çapraz sınırla alt alta */
    .xb-hero {
        height: 730px;
    }

    .xb-women {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 46%,
            0 56%
        );
    }

    .xb-men {
        clip-path: polygon(
            0 56%,
            100% 46%,
            100% 100%,
            0 100%
        );
    }

    .xb-panel-copy,
    .xb-men .xb-panel-copy {
        top: 7%;
        left: 8%;
        width: 84%;
    }

    .xb-men .xb-panel-copy {
        top: 59%;
    }

    .xb-panel-title {
        margin: 18px 0 12px;
        font-size: clamp(36px, 11vw, 49px);
        letter-spacing: -2px;
    }

    .xb-panel-title small {
        margin-top: 9px;
        font-size: 21px;
        letter-spacing: 5px;
    }

    .xb-panel-copy p {
        margin: 16px 0 8px;
        font-size: 13px;
    }

    .xb-hero-button {
        padding: 8px 0;
        font-size: 10px;
    }

    .xb-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .xb-panel-art img {
        width: 100%;
        height: 56%;
        object-position: center 35%;
    }

    .xb-men .xb-panel-art img {
        top: 46%;
        height: 54%;
    }

    .xb-art-x {
        top: -40px;
        left: 35%;
        font-size: 430px;
    }

    .xb-men .xb-art-x {
        top: 340px;
        right: 0;
        left: auto;
    }

    .xb-hero-bottom {
        display: none;
    }

    .xb-ticker {
        justify-content: flex-start;
        gap: 22px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .xb-ticker b {
        font-size: 22px;
    }

    .xb-section {
        padding: 55px 22px;
    }

    .xb-intro,
    .xb-app {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .xb-section-top {
        display: block;
    }

    .xb-section h2 {
        letter-spacing: -1.5px;
    }

    .xb-intro p {
        font-size: 15px;
    }

    .xb-selector {
        width: 100%;
    }

    .xb-selector button {
        flex: 1;
        padding: 13px 15px;
    }

    .xb-plans {
        grid-template-columns: 1fr;
    }

    .xb-plan {
        padding: 25px;
    }

    .xb-plan-empty h4 {
        font-size: 30px;
    }

    .xb-plan-empty .xb-button {
        width: 100%;
    }

    .xb-app-art {
        min-height: 420px;
    }

    .xb-phone {
        width: min(250px, 78%);
        box-shadow: 15px 25px 0 #242424;
    }

    .xb-app-copy {
        padding-top: 15px;
    }

    .xb-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 22px;
    }
}

/* HAREKET AZALTMA TERCİHİ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .xb-panel:hover .xb-panel-art,
    .xb-panel:focus-visible .xb-panel-art,
    .xb-button:hover,
    .xb-hero-button span {
        transform: none !important;
    }
}