
/* =========================================
   Kaf Club - Global Styles
========================================= */

/* Global Typography */
html,
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* همه عناصر از فونت سراسری استفاده کنند */
*,
*::before,
*::after {
    font-family: inherit;
}

/* Form Controls */
button,
input,
textarea,
select,
option {
    font-family: inherit;
}

/* Focus Styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Body */
body {
    margin-bottom: 60px;
    margin: 0;
}

/* Floating Labels */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}





/* =========================================
   Mobile Navigation
========================================= */

.cc-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
}

    .cc-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 3px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    /* Hamburger animation */

    .cc-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .cc-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .cc-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* Mobile */

@media (max-width: 991px) {

    .cc-header {
        position: relative;
    }

    .cc-menu-toggle {
        display: flex;
    }

    .cc-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #0F3D3E;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
        z-index: 1001;
    }

        .cc-nav.is-open {
            display: flex;
        }

        .cc-nav a {
            display: block;
            padding: 13px 15px;
            border-radius: 7px;
            text-align: right;
        }

            .cc-nav a:hover {
                background: rgba(255,255,255,0.08);
            }

    .cc-header__actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}


.cc-nav a.active {
    color: var(--cc-gold);
    position: relative;
}

    .cc-nav a.active::after {
        content: "";
        position: absolute;
        bottom: -8px;
        right: 0;
        width: 100%;
        height: 2px;
        background: var(--cc-gold);
        border-radius: 2px;
    }





@media (max-width: 680px) {
    .cc-nav a.active {
        background: rgba(198, 154, 80, 0.10);
        padding-right: 10px;
        border-radius: 6px;
    }

        .cc-nav a.active::after {
            display: none;
        }
}






