/* Header Contact Info - Horizontal Layout */

.header-call-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.call-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary, #0075c1);
    border-radius: 50%;
    flex-shrink: 0;
}

.phone-icon i {
    font-size: 18px;
    color: #fff;
    line-height: 1;
}

.call-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.call-label {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    line-height: 1.2;
}

.phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* Legacy selectors for compatibility */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 14px;
    color: var(--color-primary, #0075c1);
    line-height: 1;
}

.contact-text {
    color: #333;
    font-weight: 400;
    white-space: nowrap;
}

.contact-phone {
    font-weight: 600;
    font-size: 14px;
}

/* Free estimate button */
.free-estimate-btn {
    padding: 10px 20px;
    background-color: var(--color-primary, #0075c1);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.free-estimate-btn:hover {
    background-color: #005a94;
    transform: translateY(-2px);
}

/* Navbar scrolled state */
.navbar-fixed.on .header-call-section .call-label {
    color: #666;
}

.navbar-fixed.on .header-call-section .phone-number {
    color: #333;
}

.navbar-fixed.on .header-call-section .phone-icon {
    background-color: var(--color-primary, #0075c1);
}

.navbar-fixed.on .header-call-section .phone-icon i {
    color: #fff;
}

/* Legacy support */
.navbar-fixed.on .header-call-section .contact-text {
    color: #333;
}

.navbar-fixed.on .header-call-section .contact-icon i {
    color: var(--color-primary, #0075c1);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .header-call-section {
        gap: 15px;
        padding: 10px 0;
    }

    .phone-icon {
        width: 36px;
        height: 36px;
    }

    .phone-icon i {
        font-size: 16px;
    }

    .call-label {
        font-size: 11px;
    }

    .phone-number {
        font-size: 14px;
    }

    .free-estimate-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .header-call-section {
        display: none; /* Hide on mobile, use sticky call button instead */
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .contact-item {
        font-size: 12px;
    }

    .contact-icon i {
        font-size: 12px;
    }

    .contact-phone {
        font-size: 13px;
    }

    .free-estimate-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* Desktop large screens - better spacing */
@media (min-width: 1200px) {
    .header-call-section {
        gap: 25px;
    }

    .phone-icon {
        width: 44px;
        height: 44px;
    }

    .phone-icon i {
        font-size: 20px;
    }

    .call-label {
        font-size: 13px;
    }

    .phone-number {
        font-size: 18px;
    }

    .free-estimate-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}
