/* CSS Variables - Compatible with main site */
:root {
    --profok-primary: #26B9C4;
    --profok-primary-light: #26b4c4;
    --profok-primary-dark: #05658B;
    --profok-accent: #F2B441;
    --profok-accent-light: #FFB237;
    --profok-secondary: #32477E;
    --profok-light: #FAFBFC;
    --profok-white: #FFFFFF;
    --profok-gray: #A3A3B0;
    --profok-text: #32477E;
    --profok-emphasis: #13254B;
    --profok-link: #25B5B4;
    --profok-link-hover: #1A2980;
    --profok-success: #6DD989;
    --profok-warning: #FFB237;
    --profok-danger: #F35270;
    --profok-border: #EBEBED;
    --profok-gradient-primary: linear-gradient(320deg, #26B9C4, #2677c4);
    --profok-gradient-button-hover: linear-gradient(320deg, #26B9C4, #2684c4);
    --profok-gradient-button-active: linear-gradient(320deg, #26acc4, #2677c4);
    --profok-gradient-text-bg: linear-gradient(150deg, #1A2980, #15D1CF);
    --profok-shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --profok-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --profok-radius: 16px;
}

/* Main button style */
.profok-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--profok-gradient-primary);
    box-shadow: var(--profok-shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--profok-white);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.profok-contact-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--profok-shadow-lg);
}

.profok-contact-btn span {
    font-size: 11px;
    margin-top: 2px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

/* Panel style */
.profok-contact-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 240px;
    background: var(--profok-white);
    border-radius: var(--profok-radius);
    box-shadow: var(--profok-shadow-md);
    padding: 15px;
    z-index: 999;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.profok-contact-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.profok-contact-panel h4 {
    margin: 0 0 15px 0;
    color: var(--profok-primary);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    text-align: center;
}

.profok-contact-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--profok-text);
}

.profok-contact-item:hover {
    background: var(--profok-gradient-primary);
    color: var(--profok-white);
    transform: translateX(5px);
}

/* Phone number style */
.profok-phone-number {
    font-size: 13px;
    color: var(--profok-text);
    margin-top: 2px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Phone button works on all devices - same as other contact items */
.profok-phone-btn {
    cursor: pointer;
}

.profok-phone-btn:hover {
    background: var(--profok-gradient-primary);
    color: var(--profok-white);
    transform: translateX(5px);
}

.profok-contact-panel .profok-contact-item .uk-icon {
    margin-right: 12px;
    color: var(--profok-primary);
}

.profok-contact-item span {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
}

/* Description text styling */
.profok-description {
    display: block;
    font-size: 11px;
    color: var(--profok-gray);
    margin-top: 3px;
    line-height: 1.3;
    font-weight: 400;
    font-family: 'Work Sans', sans-serif;
}

.profok-contact-item:hover .profok-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Div container for text content */
.profok-contact-item div {
    flex: 1;
}

/* Close button */
.profok-contact-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profok-contact-close:hover {
    background: rgba(38, 185, 196, 0.1);
    color: var(--profok-accent);
}

/* Animation effect */
@keyframes profok-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(38, 185, 196, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(38, 185, 196, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(38, 185, 196, 0);
    }
}

.profok-contact-btn.pulse {
    animation: profok-pulse 2s infinite;
}

/* Special menu item colors */
.profok-contact-item[href^="tel:"] .uk-icon {
    color: #4CAF50 !important;
}

.profok-contact-item[href*="whatsapp"] .uk-icon {
    color: #25D366 !important;
}

.profok-contact-item[href*="sertlesme-sorunu-testi"] .uk-icon {
    color: var(--profok-primary) !important;
}

.profok-contact-item[href*="iletisim"] .uk-icon {
    color: var(--profok-accent) !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .profok-contact-btn {
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 15px;
    }

    .profok-contact-btn span {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.1;
        margin-top: 1px;
    }

    .profok-contact-panel {
        width: 220px;
        bottom: 95px;
        right: 15px;
    }
}

/* For small mobile devices */
@media (max-width: 480px) {
    .profok-contact-btn {
        width: 68px;
        height: 68px;
    }

    .profok-contact-btn span {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.1px;
        line-height: 1.1;
    }

    .profok-contact-panel {
        width: calc(100vw - 20px);
        max-width: 320px;
        bottom: 95px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }
}